}
return false;
}
+
+/*!
+ \brief This function is called when the spinbox recieves show event.
+*/
+void SalomeApp_DoubleSpinBox::showEvent( QShowEvent* )
+{
+ setText( myTextValue );
+}
bool findVariable( const QString&, double& ) const;
+protected:
+ virtual void showEvent( QShowEvent* );
+
protected slots:
void onEditingFinished();
void onTextChanged( const QString& );
}
return false;
}
+
+/*!
+ \brief This function is called when the spinbox recieves show event.
+*/
+void SalomeApp_IntSpinBox::showEvent( QShowEvent* )
+{
+ setText( myTextValue );
+}
bool findVariable( const QString&, int& ) const;
+protected:
+ virtual void showEvent( QShowEvent* );
+
protected slots:
void onEditingFinished();
void onTextChanged( const QString& );