roviz  0.7
Code Documentation of roviz
Public Slots | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
GuiManagerPrivate Class Reference
Inheritance diagram for GuiManagerPrivate:
Inheritance graph
Collaboration diagram for GuiManagerPrivate:
Collaboration graph

Public Slots

void saveState ()
 
void loadMainWindowState ()
 

Public Member Functions

 GuiManagerPrivate (GuiManager *parent)
 
bool nameUsed (QString const &name)
 
bool validParent (QString const &name, QAction *action)
 Checks if the name is a valid parent to action. More...
 
QString registerAction (QAction *action, QString const &parent, bool recursive=true)
 
void unregisterAction (QString const &name, QString const &parent)
 unregisterAction removes an action from the internal QHash More...
 
void unregisterActions (QStringList const &list)
 
void setupGui ()
 
void connectProjectManager ()
 

Static Public Member Functions

static bool isType (QWidget *widget, WidgetType type, QString const &name)
 

Public Attributes

GuiManager *const q_ptr
 
QMainWindow * _mainWindow
 
QList< std::function< bool()> > _closeApplicationCallbacks
 
class GuiPluginManager_uiPluginManager
 
QHash< QString, Widget_widgets
 
QHash< QString, Action_actions
 
bool _initialized = false
 
GuiMode _mode = GuiMode::ShowGui
 

Protected Member Functions

bool eventFilter (QObject *, QEvent *)
 

Member Function Documentation

◆ unregisterAction()

void GuiManagerPrivate::unregisterAction ( QString const &  name,
QString const &  parent 
)

unregisterAction removes an action from the internal QHash

Parameters
namename of the action
parentparent of the action

◆ validParent()

bool GuiManagerPrivate::validParent ( QString const &  name,
QAction *  action 
)

Checks if the name is a valid parent to action.

Parameters
nameName of the Parent, must be an action that is a menu, a menubar when the action is a menu or a toolbar when the action isn't a menu
actionmustn't be NULL
Returns
true when

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