Reaction to support saving/restoring main window geometry/layout. More...
#include <pqLoadRestoreWindowLayoutReaction.h>
Public Member Functions | |
pqLoadRestoreWindowLayoutReaction (bool load, QAction *parent=nullptr) | |
~pqLoadRestoreWindowLayoutReaction () override | |
Public Member Functions inherited from pqReaction | |
pqReaction (QAction *parent, Qt::ConnectionType type=Qt::AutoConnection) | |
Constructor. More... | |
~pqReaction () override | |
QAction * | parentAction () const |
Provides access to the parent action. More... | |
Protected Member Functions | |
void | onTriggered () override |
Called when the action is triggered. More... | |
Additional Inherited Members | |
Protected Slots inherited from pqReaction | |
virtual void | updateEnableState () |
virtual void | updateMasterEnableState (bool) |
Protected Attributes inherited from pqReaction | |
bool | IsMaster |
Reaction to support saving/restoring main window geometry/layout.
This reaction can support both loading and restoring window geometry. Use separate instances of this reaction to each role, passing appropriate value for the load
argument to the constructor.
Definition at line 16 of file pqLoadRestoreWindowLayoutReaction.h.
pqLoadRestoreWindowLayoutReaction::pqLoadRestoreWindowLayoutReaction | ( | bool | load, |
QAction * | parent = nullptr |
||
) |
|
override |
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.