-// Copyright (C) 2014-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// Author: Adrien Bruneton (CEA)
-#ifndef PVVIEWERGUIELEMENTS_H_
-#define PVVIEWERGUIELEMENTS_H_
+#ifndef PVVIEWER_GUIELEMENTS_H
+#define PVVIEWER_GUIELEMENTS_H
#include "PVViewer.h"
#include <QObject>
#include <QList>
-class pqPropertiesPanel;
-class pqPipelineBrowserWidget;
-class pqPipelineModel;
+class QAction;
class QMainWindow;
class QMenu;
class QToolBar;
-class QAction;
class pqAnimationTimeToolbar;
+class pqPipelineBrowserWidget;
+class pqPipelineModel;
+class pqPropertiesPanel;
class pqVCRToolbar;
/*!
Q_OBJECT
public:
- static PVViewer_GUIElements * GetInstance(QMainWindow * desk);
+ static PVViewer_GUIElements* GetInstance(QMainWindow*);
- pqPropertiesPanel * getPropertiesPanel();
- pqPipelineBrowserWidget * getPipelineBrowserWidget();
+ pqPropertiesPanel* getPropertiesPanel();
+ pqPipelineBrowserWidget* getPipelineBrowserWidget();
QMenu* getFiltersMenu();
QMenu* getSourcesMenu();
QMenu* getMacrosMenu();
+ QMenu* getCatalystMenu();
pqVCRToolbar* getVCRToolbar();
pqAnimationTimeToolbar* getTimeToolbar();
- void setToolBarVisible(bool show);
- void setToolBarEnabled(bool enabled);
+ void setToolBarVisible(bool);
+ void setToolBarEnabled(bool);
QList<QToolBar*> getToolbars();
- void setVCRTimeToolBarVisible(bool show);
+ void setVCRTimeToolBarVisible(bool);
private:
- PVViewer_GUIElements(QMainWindow* desk);
+ PVViewer_GUIElements(QMainWindow*);
virtual ~PVViewer_GUIElements() {}
static PVViewer_GUIElements* theInstance;
QMenu* sourcesMenu;
QMenu* filtersMenu;
QMenu* macrosMenu;
+ QMenu* catalystMenu;
// Toolbars also need to be instanciated early:
QToolBar* mainToolBar;
QToolBar* dataToolbar;
QMainWindow* myDesktop;
- bool myPVWidgetsFlag;
+ bool myPVWidgetsFlag;
public:
QAction* mainAction;
QAction* dataAction;
};
-#endif /* PVVIEWERGUIELEMENTS_H_ */
+#endif // PVVIEWER_GUIELEMENTS_H