X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_ClippingDlg.h;h=592409d27b9dfc50df893c82aabf4dd7a787848f;hb=cb55604f37e3d2583272fd436bb6557b041948b5;hp=4c0f0e3d0b587e3336e7238a74bb61839cc3cc33;hpb=b0a908c0d20341651771d0249fb10882f54b2aad;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_ClippingDlg.h b/src/SMESHGUI/SMESHGUI_ClippingDlg.h index 4c0f0e3d0..592409d27 100644 --- a/src/SMESHGUI/SMESHGUI_ClippingDlg.h +++ b/src/SMESHGUI/SMESHGUI_ClippingDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -60,6 +60,8 @@ class SALOME_Actor; class SMESHGUI; class SMESH_Actor; class QtxDoubleSpinBox; +class QtxDoubleSpinSlider; +class QtxIntSpinSlider; class vtkActor; class vtkDataSetMapper; class vtkPlaneSource; @@ -79,7 +81,7 @@ namespace SMESH public: static OrientedPlane *New(); static OrientedPlane *New(SVTK_ViewWindow* theViewWindow); - vtkTypeMacro (OrientedPlane, vtkPlane); + vtkTypeMacro (OrientedPlane, vtkPlane) QPointer myViewWindow; SMESH::Orientation myRelativeOrientation; @@ -133,7 +135,7 @@ namespace SMESH typedef std::vector TPlaneVector; typedef std::vector TPlaneDataVector; -}; +} //================================================================================= // class : SMESHGUI_ClippingDlg @@ -224,12 +226,9 @@ private: QLabel* TextLabelDistance; QLabel* TextLabelRotation1; QLabel* TextLabelRotation2; - QLabel* TLValueDistance; - QLabel* TLValueRotation1; - QLabel* TLValueRotation2; - QSlider* SliderDistance; - QSlider* SliderRotation1; - QSlider* SliderRotation2; + QtxDoubleSpinSlider* SpinSliderDistance; + QtxIntSpinSlider* SpinSliderRotation1; + QtxIntSpinSlider* SpinSliderRotation2; QComboBox* CBRelativeOrientation; QCheckBox* PreviewCheckBox; @@ -266,9 +265,6 @@ public slots: void ClickOnApply(); void ClickOnHelp(); - void SliderDistanceHasMoved(int); - void SliderRotation1HasMoved(int); - void SliderRotation2HasMoved(int); void onSelectAbsoluteOrientation( int ); void onSelectRelativeOrientation( int ); void onReset();