1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, 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.
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 // VISU VISUGUI : GUI of VISU component
21 // File : VisuGUI_FeatureEdgesPanel.h
22 // Author : Oleg Uvarov
25 #ifndef VISUGUI_FEATUREEDGESPANEL_H
26 #define VISUGUI_FEATUREEDGESPANEL_H
28 #include "VisuGUI_Panel.h"
33 class SalomeApp_DoubleSpinBox;
37 class VisuGUI_FeatureEdgesPanel: public VisuGUI_Panel
42 VisuGUI_FeatureEdgesPanel( VisuGUI* theModule, QWidget* theParent = 0 );
43 virtual ~VisuGUI_FeatureEdgesPanel ();
46 virtual void keyPressEvent( QKeyEvent* theEvent );
47 virtual void showEvent( QShowEvent* theEvent );
50 virtual void onModuleActivated();
51 virtual void onModuleDeactivated();
54 virtual void onApply();
55 virtual void onClose();
56 virtual void onHelp();
58 void onSelectionEvent();
61 VISU_Actor* getSelectedActor() const;
66 SalomeApp_DoubleSpinBox* myAngleSpinBox;
67 QCheckBox* myFeatureEdgesCB;
68 QCheckBox* myBoundaryEdgesCB;
69 QCheckBox* myManifoldEdgesCB;
70 QCheckBox* myNonManifoldEdgesCB;
71 QCheckBox* myColoringCB;