Salome HOME
Construction elements are auxiliary entities:
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetLineEdit.h
index 0e47acbb8d5649f1edc3f22c6cf47fd61a4a85f0..965049db6cc8d0ed5cb69559b4e2e079ca06705e 100644 (file)
@@ -21,6 +21,7 @@ class QWidget;
 class QLineEdit;
 
 /**
+* \ingroup GUI
 * Implementation of model widget for line edit widget.
 * It can be defined with "stringvalue" keyword.
 */
@@ -37,24 +38,22 @@ class MODULEBASE_EXPORT ModuleBase_WidgetLineEdit : public ModuleBase_ModelWidge
                                 const std::string& theParentId);
   virtual ~ModuleBase_WidgetLineEdit();
 
-  virtual bool storeValue() const;
-
   virtual bool restoreValue();
 
-  QWidget* getControl() const;
-
   virtual QList<QWidget*> getControls() const;
 
  public slots:
    /// A slot for processing text changed event
   void onTextChanged();
 
- private:
+protected:
+  /// Saves the internal parameters to the given feature
+  /// \return True in success
+  virtual bool storeValueCustom() const;
+
+private:
    /// A line edit control
   QLineEdit* myLineEdit;
-
-  /// A container widget
-  QWidget* myMainWidget;
 };
 
 #endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */