pqCategoryToolbarsBehavior is used when the application wants to enable categories from a pqProxyGroupMenuManager to show up in a toolbar. More...
#include <pqCategoryToolbarsBehavior.h>
Inherits QObject.
Public Member Functions | |
pqCategoryToolbarsBehavior (pqProxyGroupMenuManager *menuManager, QMainWindow *mainWindow) | |
~pqCategoryToolbarsBehavior () override | |
Protected Slots | |
void | updateToolbars () |
Create, delete toolbars. More... | |
void | prepareForTest () |
This slot gets attached to a pqEventDispatcher so that some toolbars can be hidden before each test starts (to prevent small test-image differences due to layout differences between machines). More... | |
pqCategoryToolbarsBehavior is used when the application wants to enable categories from a pqProxyGroupMenuManager to show up in a toolbar.
ex. One may want to have a toolbar listing all the filters in "Common" category. This behavior also ensures that as plugins are loaded, if new categories request that the be added as a toolbar, new toolbars for those are added and also if new items get added to a category already shown as a toolbar, then the toolbar is updated.
Definition at line 29 of file pqCategoryToolbarsBehavior.h.
pqCategoryToolbarsBehavior::pqCategoryToolbarsBehavior | ( | pqProxyGroupMenuManager * | menuManager, |
QMainWindow * | mainWindow | ||
) |
|
override |
|
protectedslot |
Create, delete toolbars.
|
inlineprotectedslot |
This slot gets attached to a pqEventDispatcher so that some toolbars can be hidden before each test starts (to prevent small test-image differences due to layout differences between machines).
Definition at line 51 of file pqCategoryToolbarsBehavior.h.