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)
25 class SALOMEDSClient_SObject;
31 class VisuGUI_StreamLinesDlg: public QDialog
35 VisuGUI_StreamLinesDlg(QWidget* parent);
36 ~VisuGUI_StreamLinesDlg() {};
38 void initFromPrsObject(VISU::StreamLines_i* thePrs);
39 int storeToPrsObject(VISU::StreamLines_i* thePrs);
40 void setColor( QColor color );
41 void enableMagnColor( bool enable );
47 void onSelectionActive(bool theActive);
48 void StepLengthChanged(double theValue);
49 void IntegrationStepChanged(double theValue);
50 void PropagationTimeChanged(double theValue);
51 void onSourceTypeChange(int theIndex);
54 VISU::Mesh_ptr createMesh(VISU::VISUType theType, QString theName);
56 QtxDblSpinBox* myStepLen;
57 QtxDblSpinBox* myIntegStepLen;
58 QtxDblSpinBox* myPropTime;
59 QComboBox* myDirCombo;
60 QCheckBox* myUseScalar;
61 QPushButton* SelColor;
63 //QCheckBox* myUseSrcChk;
64 QComboBox* myUseSrcCombo;
65 QtxDblSpinBox* myPntPercent;
66 QComboBox* mySrcCombo;
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;
75 SALOMEDSClient_SObject* mySelectionObj;
77 VisuGUI_ScalarBarPane* myScalarPane;
78 VISU::StreamLines_i* myPrs;
82 void enableSetColor();
85 #endif //VISUGUI_STREAMLINESDLG_H