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 class SalomeApp_Module;
28 class VisuGUI_StreamLinesDlg: public QDialog
32 VisuGUI_StreamLinesDlg (SalomeApp_Module* theModule);
33 ~VisuGUI_StreamLinesDlg() {};
35 void initFromPrsObject(VISU::StreamLines_i* thePrs);
36 int storeToPrsObject(VISU::StreamLines_i* thePrs);
37 void setColor( QColor color );
38 void enableMagnColor( bool enable );
44 void onSelectionActive(bool theActive);
45 void StepLengthChanged(double theValue);
46 void IntegrationStepChanged(double theValue);
47 void PropagationTimeChanged(double theValue);
48 void onSourceTypeChange(int theIndex);
51 VISU::Mesh_ptr createMesh(VISU::VISUType theType, QString theName);
53 QtxDblSpinBox* myStepLen;
54 QtxDblSpinBox* myIntegStepLen;
55 QtxDblSpinBox* myPropTime;
56 QComboBox* myDirCombo;
57 QCheckBox* myUseScalar;
58 QPushButton* SelColor;
60 //QCheckBox* myUseSrcChk;
61 QComboBox* myUseSrcCombo;
62 QtxDblSpinBox* myPntPercent;
63 QComboBox* mySrcCombo;
65 VisuGUI_ScalarBarPane* myScalarPane;
67 QValueList<VISU::Prs3d_var> myPrsList;
68 QValueList<VISU::Prs3d_var> myEntityList;
69 QValueList<VISU::Prs3d_var> myFamilyList;
70 QValueList<VISU::Prs3d_var> myGroupList;
71 QStringList myEntitiesLst;
72 QStringList myFamilisLst;
73 QStringList myGroupsLst;
76 _PTR(SObject) mySelectionObj;
77 VISU::StreamLines_i* myPrs;
78 SalomeApp_Module* myVisuGUI;
82 void enableSetColor();
85 #endif //VISUGUI_STREAMLINESDLG_H