pqViewMenuManager keeps ParaView View menu populated with all the available dock widgets and toolbars.
More...
#include <pqViewMenuManager.h>
Inherits QObject.
|
void | buildMenu () |
| build the menu from scratch. More...
|
|
virtual void | updateMenu () |
| This is called to update items in the menu that are not static and may change as a result of loading of plugins, for example viz. More...
|
|
pqViewMenuManager keeps ParaView View menu populated with all the available dock widgets and toolbars.
This needs special handling since new dock widget/toolbars may get added when plugins are loaded.
Definition at line 20 of file pqViewMenuManager.h.
◆ pqViewMenuManager()
pqViewMenuManager::pqViewMenuManager |
( |
QMainWindow * |
mainWindow, |
|
|
QMenu * |
menu |
|
) |
| |
◆ buildMenu
void pqViewMenuManager::buildMenu |
( |
| ) |
|
|
protectedslot |
build the menu from scratch.
Clears all existing items in the menu before building it.
◆ updateMenu
virtual void pqViewMenuManager::updateMenu |
( |
| ) |
|
|
protectedvirtualslot |
This is called to update items in the menu that are not static and may change as a result of loading of plugins, for example viz.
actions for controlling visibilities of toolbars are dock panels. It removes any actions for those currently present and adds actions for toolbars and panels in the application. This slot is called when the menu triggers aboutToShow
signal.
◆ Menu
QPointer<QMenu> pqViewMenuManager::Menu |
|
protected |
◆ ToolbarsMenu
QPointer<QMenu> pqViewMenuManager::ToolbarsMenu |
|
protected |
◆ DockPanelSeparators
QPointer<QAction> pqViewMenuManager::DockPanelSeparators[2] |
|
protected |
◆ ShowFrameDecorationsAction
QPointer<QAction> pqViewMenuManager::ShowFrameDecorationsAction |
|
protected |
The documentation for this class was generated from the following file: