This class describes a window. More...
Public Types | |
| enum | WindowOption { NoOptions , Citable , Lockable , Resizable , Savable } |
| Window options. More... | |
Geometry | |
| SBGWindowData * | dataPointer |
| int | height () const |
| Returns the height of the window. | |
| int | width () const |
| Returns the width of the window. | |
| QSize | size () const |
| Returns the size of the window. | |
| void | center () |
| centers the window on screen | |
| SB_DECLARE_DATA (SBGWindow) | |
| void | closed () |
| Emitted when the window is closed by the user. | |
| void | locked (bool) |
| Emitted when the window is locked or unlocked. | |
| void | shown (bool) |
| Emitted when the window is shown or hidden. | |
| void | changeEvent (QEvent *event) |
| void | paintEvent (QPaintEvent *event) |
| void | resizeEvent (QResizeEvent *event) |
| void | wheelEvent (QWheelEvent *event) |
| void | hideEvent (QHideEvent *event) |
| void | showEvent (QShowEvent *event) |
| void | closeEvent (QCloseEvent *event) |
Constructors and destructor | |
| SBGWindow (QWidget *parent, SBGWindowDialog *dialog) | |
| Constructs a SAMSON window that wraps a SAMSON dialog. | |
| SBGWindow (QWidget *parent, SBGWindowWidget *widget) | |
| Constructs a SAMSON window that wraps a SAMSON widget. | |
| SBGWindow (QWidget *parent, QDialog *dialog, QString name="", int format=SBGWindow::NoOptions, QPixmap logo=QPixmap(), SBUUID uuid=SBUUID("")) | |
| Constructs a SAMSON window that wraps a Qt dialog. | |
| SBGWindow (QWidget *parent, QWidget *widget, QString name="", int format=SBGWindow::NoOptions, QPixmap logo=QPixmap(), SBUUID uuid=SBUUID("")) | |
| Constructs a SAMSON window that wraps a Qt widget. | |
| virtual | ~SBGWindow () |
| Destructs the SAMSON window. | |
Identity | |
| SBUUID | getUUID () const |
| Returns the UUID of the window. | |
| QPixmap | getLogo () const |
| Returns the logo of the window. | |
| int | getFormat () const |
| Returns the format of the window. | |
| QString | getName () const |
| Returns the name of the window. | |
| void | setName (const QString &name) |
| Sets the name of the window. | |