Version: 6.3.1

src/VISUGUI/VisuGUI_SelectionPrefDlg.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 //  File   : VisuGUI_SelectionPrefDlg.cxx
00021 //  Author : Oleg UVAROV
00022 //  Module : SALOME
00023 //
00024 #ifndef VisuGUI_SELECTIONPREFDLG_H
00025 #define VisuGUI_SELECTIONPREFDLG_H
00026 
00027 #include <QDialog>
00028 
00029 class QComboBox;
00030 class QGroupBox;
00031 class QPushButton;
00032 
00033 class QtxColorButton;
00034 class SalomeApp_DoubleSpinBox;
00035 class SalomeApp_IntSpinBox;
00036 
00037 class VisuGUI_SelectionPrefDlg : public QDialog
00038 { 
00039   Q_OBJECT
00040 
00041 public:
00042   VisuGUI_SelectionPrefDlg( QWidget* parent = 0 );
00043   ~VisuGUI_SelectionPrefDlg();
00044     
00045 public:
00046   void                      update();
00047 
00048 private:
00049   void                      keyPressEvent( QKeyEvent* e );
00050     
00051 protected slots:
00052   void                      accept();
00053 
00054   void                      onApply();
00055   void                      onHelp();
00056   
00057 private:
00058   SalomeApp_DoubleSpinBox*  myCursorSizeSpinBox;
00059   SalomeApp_DoubleSpinBox*  myPyramidHeightSpinBox;
00060   QtxColorButton*           mySelectionColorButton;
00061   SalomeApp_DoubleSpinBox*  myPointToleranceSpinBox;
00062 
00063   QGroupBox*                myInfoWindowGroup;
00064   SalomeApp_IntSpinBox*     myTransparencySpinBox;
00065   QComboBox*                myPositionComboBox;
00066 
00067   QGroupBox*                myCameraGroup;
00068   SalomeApp_DoubleSpinBox*  myZoomFactorSpinBox;
00069   SalomeApp_IntSpinBox*     myStepNumberSpinBox;
00070 
00071   QPushButton*              myButtonOk;
00072   QPushButton*              myButtonApply;
00073   QPushButton*              myButtonCancel;
00074   QPushButton*              myButtonHelp;
00075 };
00076 
00077 #endif // VisuGUI_SELECTIONPREFDLG_H
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