Reaction for resizing views inside the active layout. More...
#include <pqEqualizeLayoutReaction.h>
Public Types | |
enum | Orientation { Orientation::HORIZONTAL, Orientation::VERTICAL, Orientation::BOTH } |
Public Member Functions | |
pqEqualizeLayoutReaction (Orientation orientation, QAction *parent) | |
~pqEqualizeLayoutReaction () override=default | |
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 for resizing views inside the active layout.
Resize can occur only Vertically, Horizontally or both.
Definition at line 14 of file pqEqualizeLayoutReaction.h.
|
strong |
Enumerator | |
---|---|
HORIZONTAL | |
VERTICAL | |
BOTH |
Definition at line 20 of file pqEqualizeLayoutReaction.h.
pqEqualizeLayoutReaction::pqEqualizeLayoutReaction | ( | Orientation | orientation, |
QAction * | parent | ||
) |
|
overridedefault |
|
overrideprotectedvirtual |
Called when the action is triggered.
Reimplemented from pqReaction.