X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FVISUGUI%2FVisuGUI_ScalarBarDlg.h;h=4f53a39bdc4e221c2cb076d7ff432af730d5795b;hb=953451df51750a1d9910c0325f01d5ca7b6e0330;hp=33c55f963a00f7f129da10b59560dd424e653b63;hpb=05fcd1667c01e2dd0a0882460a44b137d418320d;p=modules%2Fvisu.git diff --git a/src/VISUGUI/VisuGUI_ScalarBarDlg.h b/src/VISUGUI/VisuGUI_ScalarBarDlg.h index 33c55f96..4f53a39b 100644 --- a/src/VISUGUI/VisuGUI_ScalarBarDlg.h +++ b/src/VISUGUI/VisuGUI_ScalarBarDlg.h @@ -60,7 +60,7 @@ class QToolButton; class QtxDblSpinBox; class SalomeApp_Module; -class VisuGUI_FontWg; +class SVTK_FontWidget; class VISU_ScalarMapAct; class VisuGUI_TextPrefDlg: public QDialog @@ -78,8 +78,8 @@ class VisuGUI_TextPrefDlg: public QDialog { (isVisible)? myTitleEdt->show() : myTitleEdt->hide(); } public: - VisuGUI_FontWg* myTitleFont; - VisuGUI_FontWg* myLabelFont; + SVTK_FontWidget* myTitleFont; + SVTK_FontWidget* myLabelFont; private: QLineEdit* myTitleEdt; @@ -95,6 +95,7 @@ class VisuGUI_ScalarBarPane : public QVBox ~VisuGUI_ScalarBarPane() {}; void setRange( double imin, double imax, /*double fmin, double fmax,*/ bool sbRange ); + void setDefaultRange(double imin, double imax); bool isIRange() {return RBIrange->isChecked();} double getMin() {return MinEdit->text().toDouble();} double getMax() {return MaxEdit->text().toDouble();} @@ -156,6 +157,7 @@ class VisuGUI_ScalarBarPane : public QVBox void changeDefaults( int ); void changeRange( int ); void XYChanged( double ); + void changeScalarMode( int ); void onTextPref(); void onPreviewCheck(bool thePreview); void updatePreview(); @@ -167,6 +169,8 @@ class VisuGUI_ScalarBarPane : public QVBox QCheckBox* myPreviewCheck; VISU_ScalarMapAct* myPreviewActor; VISU::ScalarMap_i* myScalarMap; + + bool myBusy; };