Public Member Functions | Protected Slots | List of all members
pqConfigureCategoriesDialog Class Reference

pqConfigureCategoriesDialog is the Configure Categories dialog used by ParaView. More...

#include <pqConfigureCategoriesDialog.h>

Inherits QDialog.

Public Member Functions

 pqConfigureCategoriesDialog (pqProxyGroupMenuManager *manager, QWidget *parent=nullptr)
 
 ~pqConfigureCategoriesDialog () override
 

Protected Slots

void createNewCategory ()
 Create a category at the top level of the tree. More...
 
void onAddPressed ()
 Add selected item from the default configuration tree to the top level of the tree. More...
 
void onRemovePressed ()
 Remove selected item (filters/categories) from custom tree. More...
 
void resetToApplicationCategories ()
 Reset the custom tree to match the application default tree. More...
 
void onSetIconPressed ()
 Set an icon for the selected filter. More...
 
void onAccepted ()
 Save current categories tree and exit. More...
 
void onSearchTextChanged (const QString &pattern)
 Update filters visibility according the search pattern. More...
 
void onItemChanged (QTreeWidgetItem *, int)
 Ensure category name is unique when item text is changed. More...
 
void updateToolbarState ()
 Update category toolbar property from checkbox state. More...
 

Detailed Description

pqConfigureCategoriesDialog is the Configure Categories dialog used by ParaView.

It allows to create and remove categories and organize filters in them.

Definition at line 25 of file pqConfigureCategoriesDialog.h.

Constructor & Destructor Documentation

◆ pqConfigureCategoriesDialog()

pqConfigureCategoriesDialog::pqConfigureCategoriesDialog ( pqProxyGroupMenuManager manager,
QWidget *  parent = nullptr 
)

◆ ~pqConfigureCategoriesDialog()

pqConfigureCategoriesDialog::~pqConfigureCategoriesDialog ( )
override

Member Function Documentation

◆ 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.


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