pqPersistentMainWindowStateBehavior saves and restores the MainWindow state on shutdown and restart.
More...
#include <pqPersistentMainWindowStateBehavior.h>
Inherits QObject.
pqPersistentMainWindowStateBehavior saves and restores the MainWindow state on shutdown and restart.
Simply instantiate this behavior if you want your main window layout to be persistent.
Definition at line 18 of file pqPersistentMainWindowStateBehavior.h.
◆ pqPersistentMainWindowStateBehavior()
pqPersistentMainWindowStateBehavior::pqPersistentMainWindowStateBehavior |
( |
QMainWindow * |
parent | ) |
|
Parent cannot be nullptr.
◆ ~pqPersistentMainWindowStateBehavior()
pqPersistentMainWindowStateBehavior::~pqPersistentMainWindowStateBehavior |
( |
| ) |
|
|
override |
◆ restoreState() [1/2]
static void pqPersistentMainWindowStateBehavior::restoreState |
( |
QMainWindow * |
| ) |
|
|
static |
◆ saveState() [1/2]
static void pqPersistentMainWindowStateBehavior::saveState |
( |
QMainWindow * |
| ) |
|
|
static |
◆ saveState [2/2]
void pqPersistentMainWindowStateBehavior::saveState |
( |
| ) |
|
|
protectedslot |
◆ restoreState [2/2]
void pqPersistentMainWindowStateBehavior::restoreState |
( |
| ) |
|
|
protectedslot |
The documentation for this class was generated from the following file: