#include <pqCategoryToolbarsBehavior.h>
Inherits QObject.
|
| void | updateToolbars () |
| | Called when menuManager fires the menuPopulated() signal. 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 26 of file pqCategoryToolbarsBehavior.h.
◆ pqCategoryToolbarsBehavior()
| pqCategoryToolbarsBehavior::pqCategoryToolbarsBehavior |
( |
pqProxyGroupMenuManager * |
menuManager, |
|
|
QMainWindow * |
mainWindow |
|
) |
| |
◆ updateToolbars
| void pqCategoryToolbarsBehavior::updateToolbars |
( |
| ) |
|
|
protectedslot |
Called when menuManager fires the menuPopulated() signal.
◆ prepareForTest
| void pqCategoryToolbarsBehavior::prepareForTest |
( |
| ) |
|
|
protectedslot |
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).
The documentation for this class was generated from the following file: