32 #ifndef pqProxyGroupMenuManager_h 33 #define pqProxyGroupMenuManager_h 49 typedef QObject Superclass;
61 QMenu* menu,
const QString& resourceTagName,
bool supportsQuickLaunch =
true);
67 QMenu*
menu()
const {
return static_cast<QMenu*
>(this->parent()); }
80 QWidget* widgetActionsHolder()
const;
85 QList<QAction*> actions()
const;
90 vtkSMProxy* getPrototype(QAction* action)
const;
95 void addProxy(
const QString& xmlgroup,
const QString& xmlname);
100 void removeProxy(
const QString& xmlgroup,
const QString& xmlname);
106 QStringList getToolbarCategories()
const;
111 QList<QAction*> actions(
const QString& category);
116 QList<QAction*> actionsInToolbars();
121 bool hideForTests(
const QString& category)
const;
131 void addProxyDefinitionUpdateListener(
const QString& proxyGroupName);
132 void removeProxyDefinitionUpdateListener(
const QString& proxyGroupName);
142 QMenu* getFavoritesMenu();
147 QString categoryLabel(
const QString& category);
161 void lookForNewDefinitions();
166 void removeProxyDefinitionUpdateObservers();
171 void addProxyDefinitionUpdateObservers();
176 void setEnabled(
bool enable);
185 void triggered(
const QString& group,
const QString&
name);
191 void menuPopulated();
196 void switchActiveServer();
197 void updateMenuStyle();
203 void populateRecentlyUsedMenu();
209 void populateFavoritesMenu();
218 void loadRecentlyUsedItems();
219 void saveRecentlyUsedItems();
224 void loadFavoritesItems();
229 QAction* getAction(
const QString& pgroup,
const QString& proxyname);
231 QAction* getAddToCategoryAction(
const QString& path);
237 pqInternal* Internal;
238 bool SupportsQuickLaunch;
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server
This is used by vtkPVXMLParser to represent an XML document starting at the root element.