Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/cgt/devCEA'
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetFileSelector.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetFileSelector.h
b/src/ModuleBase/ModuleBase_WidgetFileSelector.h
index ba6a4e019f8506ab16a7ad734e30ffb142ae478f..2f6612413951aabad827ffcb0c8e4be4c285c170 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetFileSelector.h
+++ b/
src/ModuleBase/ModuleBase_WidgetFileSelector.h
@@
-44,10
+44,8
@@
class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW
/// Constructor
/// \param theParent the parent object
/// \param theData the widget configuration. The attribute of the model widget is obtained from
/// Constructor
/// \param theParent the parent object
/// \param theData the widget configuration. The attribute of the model widget is obtained from
- /// \param theParentId is Id of a parent of the current attribute
ModuleBase_WidgetFileSelector(QWidget* theParent,
ModuleBase_WidgetFileSelector(QWidget* theParent,
- const Config_WidgetAPI* theData,
- const std::string& theParentId);
+ const Config_WidgetAPI* theData);
virtual ~ModuleBase_WidgetFileSelector();
virtual QList<QWidget*> getControls() const;
virtual ~ModuleBase_WidgetFileSelector();
virtual QList<QWidget*> getControls() const;
@@
-66,7
+64,7
@@
class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
- virtual bool storeValueCustom()
const
;
+ virtual bool storeValueCustom();
virtual bool restoreValueCustom();
virtual bool restoreValueCustom();
@@
-103,7
+101,10
@@
protected:
QString mySelectedFilter;
/// A title of open file dialog box
QString mySelectedFilter;
/// A title of open file dialog box
- enum { WFS_OPEN, WFS_SAVE } myType;
+ enum {
+ WFS_OPEN, ///< open file
+ WFS_SAVE ///< save file
+ } myType; ///< type of dialog
/// Default path
QString myDefaultPath;
/// Default path
QString myDefaultPath;