X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetFileSelector.h;h=744770c61d9087afa07cfcb70cc5dd938a767939;hb=c93898acb58bc77dbfef4f5cba260885d31379fe;hp=3b183d7031a83f71c86059d3143d45d99fd09382;hpb=a2686c838648dcf05659df3c31d9b90aca42b792;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetFileSelector.h b/src/ModuleBase/ModuleBase_WidgetFileSelector.h index 3b183d703..744770c61 100644 --- a/src/ModuleBase/ModuleBase_WidgetFileSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetFileSelector.h @@ -46,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 @@ -65,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; @@ -76,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;