|
KanoopGuiQt 1.3.0
Qt GUI utility library
|
|
QMdiSubWindow subclass that persists geometry and emits a closing() signal. More...
#include <mdisubwindow.h>
Inheritance diagram for MdiSubWindow:
Collaboration diagram for MdiSubWindow:Public Slots | |
| virtual void | onPreferencesChanged () |
| Called when application preferences change; override to react. | |
Signals | |
| void | closing () |
| Emitted just before the sub-window closes. | |
Public Member Functions | |
| MdiSubWindow (QWidget *parent=nullptr) | |
| Construct with an optional parent. | |
| int | type () const |
| Return the application-defined sub-window type integer. | |
| void | setType (int value) |
| Set the application-defined sub-window type integer. | |
QMdiSubWindow subclass that persists geometry and emits a closing() signal.
MdiSubWindow saves and restores its position and size via GuiSettings and emits closing() before the window is destroyed so that parent windows can clean up. An integer type() property allows the application to categorize open sub-windows.
Definition at line 13 of file mdisubwindow.h.
|
explicit |
Construct with an optional parent.
| parent | Optional QWidget parent |
|
inline |
Set the application-defined sub-window type integer.
| value | Sub-window type value |
Definition at line 33 of file mdisubwindow.h.
|
inline |
Return the application-defined sub-window type integer.
Definition at line 27 of file mdisubwindow.h.