X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPVViewer%2FPVViewer_GUIElements.h;h=ff46492eb7b35c977ec66bc6c4548798e924c3c2;hb=d0b0c10e5649e0338079df4a53cf95044792d989;hp=57c2e735e1f0df5553280ece6d082e9e5e915f1a;hpb=937f01ec04af9394b2621622df7633b8a0fa96c6;p=modules%2Fgui.git diff --git a/src/PVViewer/PVViewer_GUIElements.h b/src/PVViewer/PVViewer_GUIElements.h index 57c2e735e..ff46492eb 100644 --- a/src/PVViewer/PVViewer_GUIElements.h +++ b/src/PVViewer/PVViewer_GUIElements.h @@ -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 @@ -18,22 +18,22 @@ // // Author: Adrien Bruneton (CEA) -#ifndef PVVIEWERGUIELEMENTS_H_ -#define PVVIEWERGUIELEMENTS_H_ +#ifndef PVVIEWER_GUIELEMENTS_H +#define PVVIEWER_GUIELEMENTS_H #include "PVViewer.h" #include #include -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 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