Salome HOME
Copyright update 2022
[modules/gui.git] / src / PVViewer / PVViewer_GUIElements.h
index 57c2e735e1f0df5553280ece6d082e9e5e915f1a..ff46492eb7b35c977ec66bc6c4548798e924c3c2 100644 (file)
@@ -1,4 +1,4 @@
-// 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;
 
 /*!
@@ -45,10 +45,10 @@ class PVVIEWER_EXPORT PVViewer_GUIElements: public QObject
   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();
@@ -58,14 +58,14 @@ public:
   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;
@@ -98,7 +98,7 @@ private:
   QToolBar* dataToolbar;
   
   QMainWindow* myDesktop;
-  bool    myPVWidgetsFlag;
+  bool myPVWidgetsFlag;
 
 public:
   QAction* mainAction;
@@ -113,4 +113,4 @@ public:
   QAction* dataAction;
 };
 
-#endif /* PVVIEWERGUIELEMENTS_H_ */
+#endif // PVVIEWER_GUIELEMENTS_H