Public Types | Public Member Functions | Protected Member Functions | List of all members
pqEqualizeLayoutReaction Class Reference

Reaction for resizing views inside the active layout. More...

#include <pqEqualizeLayoutReaction.h>

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

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
 

Detailed Description

Reaction for resizing views inside the active layout.

Resize can occur only Vertically, Horizontally or both.

Definition at line 14 of file pqEqualizeLayoutReaction.h.

Member Enumeration Documentation

◆ Orientation

Enumerator
HORIZONTAL 
VERTICAL 
BOTH 

Definition at line 20 of file pqEqualizeLayoutReaction.h.

Constructor & Destructor Documentation

◆ pqEqualizeLayoutReaction()

pqEqualizeLayoutReaction::pqEqualizeLayoutReaction ( Orientation  orientation,
QAction *  parent 
)

◆ ~pqEqualizeLayoutReaction()

pqEqualizeLayoutReaction::~pqEqualizeLayoutReaction ( )
overridedefault

Member Function Documentation

◆ onTriggered()

void pqEqualizeLayoutReaction::onTriggered ( )
overrideprotectedvirtual

Called when the action is triggered.

Reimplemented from pqReaction.


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