]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SHAPERGUI/SHAPERGUI_NestedButton.h
Salome HOME
updated copyright message
[modules/shaper.git] / src / SHAPERGUI / SHAPERGUI_NestedButton.h
index eb4eb2ea1245aa561d2443233a178dff8159e384..17189fd05a16ebe2395972ce8e4904644d4b7e6e 100644 (file)
@@ -1,12 +1,31 @@
+// Copyright (C) 2014-2023  CEA, EDF
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 /*
- * NewGeom_NestedButton.h
+ * SHAPERGUI_NestedButton.h
  *
  *  Created on: Apr 13, 2015
  *      Author: sbh
  */
 
-#ifndef SRC_NEWGEOM_NEWGEOM_NESTEDBUTTON_H_
-#define SRC_NEWGEOM_NEWGEOM_NESTEDBUTTON_H_
+#ifndef SRC_SHAPERGUI_NESTEDBUTTON_H_
+#define SRC_SHAPERGUI_NESTEDBUTTON_H_
 
 #include <QWidgetAction>
 
@@ -19,15 +38,15 @@ class QToolButton;
  * \ingroup Salome
  * Custom (nested) button in salome mode.
  */
-class NewGeom_NestedButton : public QWidgetAction
+class SHAPERGUI_NestedButton : public QWidgetAction
 {
   Q_OBJECT
  public:
    /// Constructor
    /// \param theParent a parent objects
    /// \param theNestedActions a list of nested actions
-  NewGeom_NestedButton(QObject* theParent, const QList<QAction*>& theNestedActions);
-  virtual ~NewGeom_NestedButton();
+  SHAPERGUI_NestedButton(QObject* theParent, const QList<QAction*>& theNestedActions);
+  virtual ~SHAPERGUI_NestedButton();
 
  private slots:
   /// Shows/hides the additional buttons widget
@@ -40,7 +59,7 @@ class NewGeom_NestedButton : public QWidgetAction
   /// Creates the button representation
   /// \param theParent a parent widget
   virtual QWidget * createWidget(QWidget * theParent);
-  
+
   virtual bool event(QEvent* theEvent);
 
  private:
@@ -50,4 +69,4 @@ class NewGeom_NestedButton : public QWidgetAction
   QToolButton* myThisButton; ///< main button
 };
 
-#endif /* SRC_NEWGEOM_NEWGEOM_NESTEDBUTTON_H_ */
+#endif /* SRC_SHAPERGUI_NESTEDBUTTON_H_ */