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
[PythonAPI] Use _fillAttribute() in some sketch functions
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_IPrefMgr.h
diff --git
a/src/ModuleBase/ModuleBase_IPrefMgr.h
b/src/ModuleBase/ModuleBase_IPrefMgr.h
index db473211cdd8202e527f1814f89e6e5178e63d40..3d4e7cefddded08acd1b920dc654137d5c43f956 100644
(file)
--- a/
src/ModuleBase/ModuleBase_IPrefMgr.h
+++ b/
src/ModuleBase/ModuleBase_IPrefMgr.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: ModuleBase_IPrefMgr.h
// Created: 10 Sept 2014
// Author: Vitaly SMETANNIKOV
// File: ModuleBase_IPrefMgr.h
// Created: 10 Sept 2014
// Author: Vitaly SMETANNIKOV
@@
-6,17
+8,24
@@
#ifndef ModuleBase_IPrefMgr_H
#define ModuleBase_IPrefMgr_H
#ifndef ModuleBase_IPrefMgr_H
#define ModuleBase_IPrefMgr_H
+#include "ModuleBase.h"
+
#include <QString>
#include <SUIT_PreferenceMgr.h>
/**
#include <QString>
#include <SUIT_PreferenceMgr.h>
/**
+* \ingroup GUI
* An interface class which provides incapsulation of SUIT_PreferenceMgr class instance
* It is used in order to make common interface to Preference manager in Salome
* and this application
*/
* An interface class which provides incapsulation of SUIT_PreferenceMgr class instance
* It is used in order to make common interface to Preference manager in Salome
* and this application
*/
-class ModuleBase_IPrefMgr
+class M
ODULEBASE_EXPORT M
oduleBase_IPrefMgr
{
public:
{
public:
+ /// Default constructor
+ ModuleBase_IPrefMgr();
+ /// Virtual destructor
+ virtual ~ModuleBase_IPrefMgr();
/**
* Add preference item into preference dialog box
/**
* Add preference item into preference dialog box
@@
-31,6
+40,12
@@
public:
SUIT_PreferenceMgr::PrefItemType theType,
const QString& theSection, const QString& theName ) = 0;
SUIT_PreferenceMgr::PrefItemType theType,
const QString& theSection, const QString& theName ) = 0;
+ /**
+ * \brief Set property of an item
+ * \param thePropName the property name
+ * \param theValue the value of the property
+ * \param theId id of the property
+ */
virtual void setItemProperty(const QString& thePropName,
const QVariant& theValue,
const int theId = -1) = 0;
virtual void setItemProperty(const QString& thePropName,
const QVariant& theValue,
const int theId = -1) = 0;