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_FilterScalarsDlg.h 00022 // Author : vsv 00023 // Module : VISU 00024 // 00025 #ifndef VISUGUI_FILTERSCALARSDLG_H 00026 #define VISUGUI_FILTERSCALARSDLG_H 00027 00028 #include <QDialog> 00029 00030 #include "SALOME_GenericObjPointer.hh" 00031 00032 class VisuGUI; 00033 00034 class QLineEdit; 00035 class QGroupBox; 00036 00037 namespace VISU 00038 { 00039 class ColoredPrs3d_i; 00040 } 00041 00042 00043 class VisuGUI_FilterScalarsDlg: public QDialog 00044 { 00045 Q_OBJECT; 00046 00047 public: 00048 VisuGUI_FilterScalarsDlg( VisuGUI* theModule ); 00049 ~VisuGUI_FilterScalarsDlg(); 00050 00051 protected slots: 00052 00053 virtual void accept(); 00054 virtual void reject(); 00055 00056 private slots: 00057 00058 void onHelp(); 00059 void onSelectionEvent(); 00060 00061 private: 00062 VisuGUI* myVisuGUI; 00063 SALOME::GenericObjPtr< VISU::ColoredPrs3d_i > myColoredPrs3d; 00064 00065 QGroupBox* myRangeBox; 00066 QLineEdit* myMinEdit; 00067 QLineEdit* myMaxEdit; 00068 }; 00069 00070 00071 #endif