A class for managing view visualization states. More...
#include <ModelRightMenu.hh>
Inherits QObject.
Public Slots | |
| void | Callback () |
| QT callback for the QAction. More... | |
Public Member Functions | |
| ViewState (ModelRightMenu *_parent, const std::string &_checkRequest, const std::string &_uncheckRequest) | |
| Constructor. More... | |
Public Attributes | |
| QAction * | action |
| Action for this view. More... | |
| std::string | checkRequest |
| Name of the request to send when checked. More... | |
| bool | globalEnable |
| True if the view visualization is enabled globally. More... | |
| std::map< std::string, bool > | modelStates |
| State of all the models for this view. More... | |
| ModelRightMenu * | parent |
| Pointer to the ModelRightMenu. More... | |
| std::string | uncheckRequest |
| Name of the request to send when unchecked. More... | |
A class for managing view visualization states.
Used by ModelRightMenu.
| ViewState | ( | ModelRightMenu * | _parent, |
| const std::string & | _checkRequest, | ||
| const std::string & | _uncheckRequest | ||
| ) |
Constructor.
| [in] | _parent | Pointer to the MOdelRightMenu |
| [in] | _checkRequest | Name of the request to send when checked. |
| [in] | _uncheckRequest | Name of the request to send when unchecked. |
|
slot |
QT callback for the QAction.
| QAction* action |
Action for this view.
| std::string checkRequest |
Name of the request to send when checked.
| bool globalEnable |
True if the view visualization is enabled globally.
| std::map<std::string, bool> modelStates |
State of all the models for this view.
| ModelRightMenu* parent |
Pointer to the ModelRightMenu.
| std::string uncheckRequest |
Name of the request to send when unchecked.