pqConfigureCategoriesDialog is the Configure Categories dialog used by ParaView.
More...
#include <pqConfigureCategoriesDialog.h>
Inherits QDialog.
pqConfigureCategoriesDialog is the Configure Categories dialog used by ParaView.
It allows to create and remove categories and organize filters in them.
The tree of categories mirrors the menu bar: the top-level categories are under a "Filters" item, as they are sub-menus of the Filters menu, unless they are shown as menus of the menu bar, in which case they are beside it.
Definition at line 29 of file pqConfigureCategoriesDialog.h.
◆ pqConfigureCategoriesDialog()
| pqConfigureCategoriesDialog::pqConfigureCategoriesDialog |
( |
pqProxyGroupMenuManager * |
manager, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
◆ ~pqConfigureCategoriesDialog()
| pqConfigureCategoriesDialog::~pqConfigureCategoriesDialog |
( |
| ) |
|
|
override |
◆ createNewCategory
| void pqConfigureCategoriesDialog::createNewCategory |
( |
| ) |
|
|
protectedslot |
Create a category at the top level of the tree.
◆ onAddPressed
| void pqConfigureCategoriesDialog::onAddPressed |
( |
| ) |
|
|
protectedslot |
Add selected item from the default configuration tree to the top level of the tree.
◆ onRemovePressed
| void pqConfigureCategoriesDialog::onRemovePressed |
( |
| ) |
|
|
protectedslot |
Remove selected item (filters/categories) from custom tree.
When removing a category, its children are removed too.
◆ resetToApplicationCategories
| void pqConfigureCategoriesDialog::resetToApplicationCategories |
( |
| ) |
|
|
protectedslot |
Reset the custom tree to match the application default tree.
◆ onSetIconPressed
| void pqConfigureCategoriesDialog::onSetIconPressed |
( |
| ) |
|
|
protectedslot |
Set an icon for the selected filter.
◆ onAccepted
| void pqConfigureCategoriesDialog::onAccepted |
( |
| ) |
|
|
protectedslot |
Save current categories tree and exit.
◆ onSearchTextChanged
| void pqConfigureCategoriesDialog::onSearchTextChanged |
( |
const QString & |
pattern | ) |
|
|
protectedslot |
Update filters visibility according the search pattern.
◆ onItemChanged
| void pqConfigureCategoriesDialog::onItemChanged |
( |
QTreeWidgetItem * |
, |
|
|
int |
|
|
) |
| |
|
protectedslot |
Ensure category name is unique when item text is changed.
◆ updateToolbarState
| void pqConfigureCategoriesDialog::updateToolbarState |
( |
| ) |
|
|
protectedslot |
Update category toolbar property from checkbox state.
◆ updateMenuBarState
| void pqConfigureCategoriesDialog::updateMenuBarState |
( |
| ) |
|
|
protectedslot |
Update the "show in menu bar" state of the selected category from the checkbox state, and move its item beside the "Filters" item, or under it.
The documentation for this class was generated from the following file: