1 // Copyright (C) 2014-2015 OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #if !defined(__CANRECPLUGINGUI_CANONICALRECONGNITION_H)
21 #define __CANRECPLUGINGUI_CANONICALRECONGNITION_H
23 #include <GEOMBase_Skeleton.h>
24 #include <GEOM_GenericObjPtr.h>
27 class SalomeApp_DoubleSpinBox;
33 class CANRECPluginGUI_CanonicalRecognitionDlg : public GEOMBase_Skeleton
38 CANRECPluginGUI_CanonicalRecognitionDlg( GeometryGUI*, QWidget* = 0 );
39 ~CANRECPluginGUI_CanonicalRecognitionDlg();
42 virtual GEOM::GEOM_IOperations_ptr createOperation();
43 virtual bool isValid( QString& );
44 virtual bool execute( ObjectList& );
48 void enterEvent( QEvent* );
52 virtual void ClickOnCancel();
55 void ActivateThisDialog();
56 void SelectionIntoArgument();
57 void SetEditCurrentArgument();
58 void SetDoubleSpinBoxStep( double );
62 QPushButton* PButton1;
63 SalomeApp_DoubleSpinBox* SpinBoxTol;
64 QCheckBox* CheckButton1;
65 QCheckBox* CheckButton2;
68 GEOM::GeomObjPtr myObject;
71 #endif // __CANRECPLUGINGUI_CANONICALRECONGNITION_H