5 #ifndef pqFavoritesDialog_h
6 #define pqFavoritesDialog_h
8 #include "pqComponentsModule.h"
14 class QTreeWidgetItem;
28 typedef QDialog Superclass;
38 void createCategory();
44 void onAddFavoritePressed();
50 void onRemoveFavoritePressed();
60 void onItemChanged(QTreeWidgetItem*,
int);
65 void onSearchTextChanged(QString pattern);
71 void populateFavoritesTree();
76 void populateFiltersTree(
const QVariant& filtersList);
87 QString populateSettingsValue(
const QString&
value, QTreeWidgetItem* item);
89 QTreeWidgetItem* getSelectedCategory();
91 bool eventFilter(QObject*
object, QEvent* event)
override;
94 QScopedPointer<Ui::pqFavoritesDialog>
Ui;