Salome HOME
PAL9391 - remarks
[modules/visu.git] / src / VISUGUI / VisuGUI_CutLinesDlg.h
index c33b15669dec0241fb601b5657ec135529b2f25a..f196660e1b36519e59d9e0e4902969a713c99040 100644 (file)
@@ -17,6 +17,7 @@
 #include <qvalidator.h>
 
 class SUIT_ViewManager;
+class SalomeApp_Module;
 
 namespace VISU{
   class CutLines_i;
@@ -27,7 +28,7 @@ class VisuGUI_CutLinesDlg: public QDialog
     Q_OBJECT
 
 public:
-    VisuGUI_CutLinesDlg (QWidget* parent, bool theIsCreation = true, bool theIsModal = true);
+    VisuGUI_CutLinesDlg (SalomeApp_Module* theModule);
     ~VisuGUI_CutLinesDlg();
 
     void initFromPrsObject (VISU::CutLines_i* thePrs);
@@ -48,6 +49,7 @@ private slots:
   void DrawTable();
   void onValueChanged (int theRow, int theCol);
   void onPreviewCheck (bool thePreview);
+  void onAllCurvesInvertedCheck(bool theInvert);
   void onRotation (double theValue);
   void onPlanePos (const QString& theValue);
   //jfa tmp:void onWindowActivated (SUIT_ViewWindow*);
@@ -55,6 +57,7 @@ private slots:
 private:
   void createPlanes();
   void deletePlanes();
+  void updateGlyphs(bool update);
 
   QHButtonGroup* mySelPlane;
   QtxDblSpinBox* myRotXSpn;
@@ -87,16 +90,17 @@ private:
   void setOrientation2 (const VISU::CutPlanes::Orientation orient);
 
   SALOME_Actor* myPreviewActor;
+  SALOME_Actor* myPreviewActorGlyphs;
   QCheckBox* myPreviewCheck;
+  QCheckBox* myAllCurvesInvertedCheck;
 
   VISU::CutLines_i* myPrs;
 
   //jfa tmp:SUIT_ViewManager *myMgr;
   //jfa tmp:SUIT_ViewWindow *myStudyWnd;
 
-  bool myIsCreation;
-
   static bool MYGenerateTable;
   static bool MYGenerateCurve;
 };
+
 #endif // VISUGUI_CUTLINESDLG_H