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
Collaboration diagram for pqEqualizeLayoutReaction:
Collaboration graph

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


Definition at line 20 of file pqEqualizeLayoutReaction.h.

Constructor & Destructor Documentation

◆ pqEqualizeLayoutReaction()

pqEqualizeLayoutReaction::pqEqualizeLayoutReaction ( Orientation  orientation,
QAction *  parent 

◆ ~pqEqualizeLayoutReaction()

pqEqualizeLayoutReaction::~pqEqualizeLayoutReaction ( )

Member Function Documentation

◆ onTriggered()

void pqEqualizeLayoutReaction::onTriggered ( )

Called when the action is triggered.

Reimplemented from pqReaction.

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