|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
25 #include <QMdiSubWindow>
57 closeEventAccepted =
false;
61 closeEventAccepted =
true;
65 return closeEventAccepted;
74 virtual void closeEvent(QCloseEvent* closeEvent);
75 virtual QSize sizeHint()
const;
void setCloseEventRejected()
Definition: RMdiChildQt.h:56
virtual void updateModifiedListener(const RStorage *storage)=0
Called by the document whenever the current transaction stack changes.
void getDocument()
Returns the current RDocument or undefined.
Definition: simple.js:59
void setCloseEventAccepted()
Definition: RMdiChildQt.h:60
RDocumentInterface * documentInterface
Definition: RMdiChildQt.h:78
void closeAccepted(RMdiChildQt *mdiChild)
void getDocumentInterface()
Returns the current RDocumentInterface or undefined.
Definition: simple.js:80
Q_DECLARE_METATYPE(RMath *)
MDI child window.
Definition: RMdiChildQt.h:41
static RDocumentInterface * diLast
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RMdiChildQt.h:79
void modifiedStatusChanged(RMdiChildQt *mdiChild)
QWidget based 2d graphics view.
Definition: RGraphicsViewQt.h:55
bool closeEventAccepted
Definition: RMdiChildQt.h:80
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
Abstract base class for classes that are interested in the current state of a storage (modified or un...
Definition: RModifiedListener.h:34
#define QCADGUI_EXPORT
Definition: gui_global.h:10
This is the abstract base class for all storage implementations.
Definition: RStorage.h:64
void closeRequested(RMdiChildQt *mdiChild)
bool isCloseEventAccepted()
Definition: RMdiChildQt.h:64
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:85