Public Member Functions | Protected Member Functions | List of all members
pqLoadRestoreWindowLayoutReaction Class Reference

Reaction to support saving/restoring main window geometry/layout. More...

#include <pqLoadRestoreWindowLayoutReaction.h>

Inheritance diagram for pqLoadRestoreWindowLayoutReaction:
Inheritance graph
[legend]
Collaboration diagram for pqLoadRestoreWindowLayoutReaction:
Collaboration graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ pqLoadRestoreWindowLayoutReaction()

pqLoadRestoreWindowLayoutReaction::pqLoadRestoreWindowLayoutReaction ( bool  load,
QAction *  parent = nullptr 
)

◆ ~pqLoadRestoreWindowLayoutReaction()

pqLoadRestoreWindowLayoutReaction::~pqLoadRestoreWindowLayoutReaction ( )
override

Member Function Documentation

◆ onTriggered()

void pqLoadRestoreWindowLayoutReaction::onTriggered ( )
overrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.


The documentation for this class was generated from the following file: