+//=================================================================================
+// function : editor()
+// purpose : returns editor
+//=================================================================================
+QLineEdit* SMESHGUI_SpinBox::editor() const
+{
+ return QtxDoubleSpinBox::lineEdit();
+}
+
+//=================================================================================
+// function : validator()
+// purpose : returns validator
+//=================================================================================
+QDoubleValidator* SMESHGUI_SpinBox::validator() const
+{
+ return (QDoubleValidator*)editor()->validator();
+}
+