1 // VISU VISUGUI : GUI of VISU component
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
7 // File : VisuGUI_StreamLinesDlg.h
8 // Author : Vitaly SMETANNIKOV
11 #ifndef VISUGUI_STREAMLINESDLG_H
12 #define VISUGUI_STREAMLINESDLG_H
14 #include "VisuGUI_ScalarBarDlg.h"
17 #include <qcombobox.h>
18 #include <qcheckbox.h>
19 #include <qstringlist.h>
21 #include "SALOMEconfig.h"
22 #include CORBA_CLIENT_HEADER(VISU_Gen)
24 class SalomeApp_Module;
26 class SALOMEDSClient_SObject;
32 class VisuGUI_StreamLinesDlg: public QDialog
36 VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule);
37 ~VisuGUI_StreamLinesDlg() {};
39 void initFromPrsObject(VISU::StreamLines_i* thePrs);
40 int storeToPrsObject(VISU::StreamLines_i* thePrs);
41 void setColor( QColor color );
42 void enableMagnColor( bool enable );
48 void onSelectionActive(bool theActive);
49 void StepLengthChanged(double theValue);
50 void IntegrationStepChanged(double theValue);
51 void PropagationTimeChanged(double theValue);
52 void onSourceTypeChange(int theIndex);
55 VISU::Mesh_ptr createMesh(VISU::VISUType theType, QString theName);
57 QtxDblSpinBox* myStepLen;
58 QtxDblSpinBox* myIntegStepLen;
59 QtxDblSpinBox* myPropTime;
60 QComboBox* myDirCombo;
61 QCheckBox* myUseScalar;
62 QPushButton* SelColor;
64 //QCheckBox* myUseSrcChk;
65 QComboBox* myUseSrcCombo;
66 QtxDblSpinBox* myPntPercent;
67 QComboBox* mySrcCombo;
69 VisuGUI_ScalarBarPane* myScalarPane;
71 QValueList<VISU::Prs3d_var> myPrsList;
72 QValueList<VISU::Prs3d_var> myEntityList;
73 QValueList<VISU::Prs3d_var> myFamilyList;
74 QValueList<VISU::Prs3d_var> myGroupList;
75 QStringList myEntitiesLst;
76 QStringList myFamilisLst;
77 QStringList myGroupsLst;
80 _PTR(SObject) mySelectionObj;
81 VISU::StreamLines_i* myPrs;
82 SalomeApp_Module* myVisuGUI;
86 void enableSetColor();
89 #endif //VISUGUI_STREAMLINESDLG_H