X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetFileSelector.h;h=744770c61d9087afa07cfcb70cc5dd938a767939;hb=c93898acb58bc77dbfef4f5cba260885d31379fe;hp=06ca8bf5cf7d4a54de28013413f29cc7ca731e56;hpb=5b24ea6ca4e9754fa89f7c742dce060abb2f3cda;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetFileSelector.h b/src/ModuleBase/ModuleBase_WidgetFileSelector.h index 06ca8bf5c..744770c61 100644 --- a/src/ModuleBase/ModuleBase_WidgetFileSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetFileSelector.h @@ -21,6 +21,7 @@ class QWidget; class QLineEdit; /** +* \ingroup GUI * Implementation of model widget for open file widget. * It can be defined as following: * \code @@ -45,12 +46,8 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW const std::string& theParentId); virtual ~ModuleBase_WidgetFileSelector(); - virtual bool storeValue() const; - virtual bool restoreValue(); - QWidget* getControl() const; - virtual QList getControls() const; /// Returns true if a file on the current path in the line edit @@ -64,6 +61,11 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW /// Processing of path changing void onPathChanged(); +protected: + /// Saves the internal parameters to the given feature + /// \return True in success + virtual bool storeValueCustom() const; + protected: /// Returns string containing formats QString formatsString() const; @@ -75,9 +77,6 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW /// A control for path input QLineEdit* myPathField; - /// Container - QWidget* myMainWidget; - /// A title of open file dialog box QString myTitle;