X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSHAPERGUI%2FSHAPERGUI_NestedButton.h;h=030ac4442cf73f0b9dadef3fc712b8cfd5c89043;hb=8d8cd4bfaf5af5db0fe563e3e75b2526e472dbe0;hp=bb2bb7cb490a28c5a9b490bb2cb3359c1ed14cfb;hpb=4d84ccf9dfa30be18dea333e6a77495e0516ba92;p=modules%2Fshaper.git diff --git a/src/SHAPERGUI/SHAPERGUI_NestedButton.h b/src/SHAPERGUI/SHAPERGUI_NestedButton.h index bb2bb7cb4..030ac4442 100644 --- a/src/SHAPERGUI/SHAPERGUI_NestedButton.h +++ b/src/SHAPERGUI/SHAPERGUI_NestedButton.h @@ -1,3 +1,22 @@ +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// +// 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 +// + /* * SHAPERGUI_NestedButton.h * @@ -5,8 +24,8 @@ * 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 @@ -40,7 +59,7 @@ class SHAPERGUI_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 SHAPERGUI_NestedButton : public QWidgetAction QToolButton* myThisButton; ///< main button }; -#endif /* SRC_NEWGEOM_NEWGEOM_NESTEDBUTTON_H_ */ +#endif /* SRC_SHAPERGUI_NESTEDBUTTON_H_ */