Version: 6.3.1

src/VISUGUI/VisuGUI_FeatureEdgesPanel.h

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 //  VISU VISUGUI : GUI of VISU component
00021 //  File   : VisuGUI_FeatureEdgesPanel.h
00022 //  Author : Oleg Uvarov
00023 //  Module : VISU
00024 //
00025 #ifndef VISUGUI_FEATUREEDGESPANEL_H
00026 #define VISUGUI_FEATUREEDGESPANEL_H
00027 
00028 #include "VisuGUI_Panel.h"
00029 
00030 class QCheckBox;
00031 class QGroupBox;
00032 
00033 class SalomeApp_DoubleSpinBox;
00034 
00035 class VISU_Actor;
00036 
00037 class VisuGUI_FeatureEdgesPanel: public VisuGUI_Panel
00038 {
00039   Q_OBJECT
00040 
00041 public:
00042   VisuGUI_FeatureEdgesPanel( VisuGUI* theModule, QWidget* theParent = 0 );
00043   virtual ~VisuGUI_FeatureEdgesPanel ();
00044 
00045 protected:
00046   virtual void              keyPressEvent( QKeyEvent* theEvent );
00047   virtual void              showEvent( QShowEvent* theEvent );
00048 
00049 protected slots:
00050   virtual void              onModuleActivated();
00051   virtual void              onModuleDeactivated();
00052 
00053 private slots:
00054   virtual void              onApply();
00055   virtual void              onClose();
00056   virtual void              onHelp();
00057 
00058   void                      onSelectionEvent();
00059 
00060 private:
00061   VISU_Actor*               getSelectedActor() const;
00062 
00063 private:
00064   QGroupBox*                myGrp;
00065 
00066   SalomeApp_DoubleSpinBox*  myAngleSpinBox;
00067   QCheckBox*                myFeatureEdgesCB;
00068   QCheckBox*                myBoundaryEdgesCB;
00069   QCheckBox*                myManifoldEdgesCB;
00070   QCheckBox*                myNonManifoldEdgesCB;
00071   QCheckBox*                myColoringCB;
00072 
00073   VISU_Actor*               myActor;
00074 };
00075 
00076 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS