1 // VISU VISUGUI : GUI of VISU component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24 // File : VisuGUI_InputPane.h
25 // Author : Oleg UVAROV
28 #ifndef VISUGUI_INPUTPANE_H
29 #define VISUGUI_INPUTPANE_H
31 #include "VISUConfig.hh"
33 #include "SALOME_ListIO.hxx"
35 #include <qgroupbox.h>
43 class SalomeApp_Module;
44 class LightApp_SelectionMgr;
46 class VisuGUI_ListBox;
47 class VisuGUI_Prs3dDlg;
48 class VisuGUI_FieldFilter;
56 class VisuGUI_InputPane : public QGroupBox
61 VisuGUI_InputPane( VISU::VISUType theType,
62 SalomeApp_Module* theModule,
63 VisuGUI_Prs3dDlg* theDialog );
64 virtual ~VisuGUI_InputPane();
70 void initFromPrsObject( VISU::ColoredPrs3d_i* );
71 int storeToPrsObject( VISU::ColoredPrs3d_i* );
73 bool eventFilter (QObject* object, QEvent* event);
76 virtual void onSelectionChanged();
77 virtual void onReInitialize( bool );
78 virtual void changeTimeStamp( int );
82 void onListDoubleClicked( QListBoxItem* theItem );
87 SalomeApp_Module* myModule;
88 VisuGUI_Prs3dDlg* myDialog;
89 VISU::ColoredPrs3d_i* myPrs;
91 QGroupBox* myUseGroupsGroupBox;
92 VisuGUI_ListBox* myAllGroups;
93 VisuGUI_ListBox* mySelectedGroups;
94 QToolButton* myAddButton;
95 QToolButton* myRemoveButton;
97 QGroupBox* myDataSourceGroupBox;
99 QLineEdit* myMeshName;
100 QLineEdit* myEntityName;
101 QLineEdit* myFieldName;
102 QComboBox* myTimeStamps;
105 VISU::Result_var myResult;
108 VisuGUI_FieldFilter* myFieldFilter;
109 SALOME_ListIO mySavedSelection;