ParaView
Public Member Functions | Protected Slots
pqCategoryToolbarsBehavior Class Reference

pqCategoryToolbarsBehavior is used when the application wants to enable categories from a pqProxyGroupMenuManager to show up in a toolbar. More...

#include <pqCategoryToolbarsBehavior.h>

List of all members.

Public Member Functions

 pqCategoryToolbarsBehavior (pqProxyGroupMenuManager *menuManager, QMainWindow *mainWindow)

Protected Slots

void updateToolbars ()
 Called when menuManager fires the menuPopulated() signal.

Detailed Description

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 51 of file pqCategoryToolbarsBehavior.h.


Constructor & Destructor Documentation

pqCategoryToolbarsBehavior::pqCategoryToolbarsBehavior ( pqProxyGroupMenuManager menuManager,
QMainWindow *  mainWindow 
)

Member Function Documentation

void pqCategoryToolbarsBehavior::updateToolbars ( ) [protected, slot]

Called when menuManager fires the menuPopulated() signal.


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