sourcesMenu(0),
filtersMenu(0),
macrosMenu(0),
+ catalystMenu(0),
myPVWidgetsFlag(false)
{
}
pqParaViewMenuBuilders::buildMacrosMenu(*macrosMenu);
}
+ // Catalyst Menu
+ if (!catalystMenu) {
+ catalystMenu = new QMenu(0);
+ pqParaViewMenuBuilders::buildCatalystMenu(*catalystMenu);
+ }
+
mainToolBar = new pqMainControlsToolbar(myDesktop)
<< pqSetName("MainControlsToolbar");
mainToolBar->layout()->setSpacing(0);
return macrosMenu;
}
+QMenu* PVViewer_GUIElements::getCatalystMenu() {
+ buildPVWidgets();
+ return catalystMenu;
+}
+
void PVViewer_GUIElements::publishExistingSources() {
vtkSMSessionProxyManager* pxm = pqActiveObjects::instance().proxyManager();
pqServerManagerModel* smmodel = pqApplicationCore::instance()->getServerManagerModel();
QMenu* getFiltersMenu();
QMenu* getSourcesMenu();
QMenu* getMacrosMenu();
+ QMenu* getCatalystMenu();
pqVCRToolbar* getVCRToolbar();
pqAnimationTimeToolbar* getTimeToolbar();
QMenu* sourcesMenu;
QMenu* filtersMenu;
QMenu* macrosMenu;
+ QMenu* catalystMenu;
// Toolbars also need to be instanciated early:
QToolBar* mainToolBar;