20 #ifndef ModuleBase_IPrefMgr_H
21 #define ModuleBase_IPrefMgr_H
23 #include "ModuleBase.h"
26 #include <SUIT_PreferenceMgr.h>
52 SUIT_PreferenceMgr::PrefItemType theType,
53 const QString& theSection,
const QString& theName ) = 0;
62 const QVariant& theValue,
63 const int theId = -1) = 0;
An interface class which provides incapsulation of SUIT_PreferenceMgr class instance It is used in or...
Definition: ModuleBase_IPrefMgr.h:35
virtual SUIT_PreferenceMgr * prefMgr() const =0
Returns incapsulated preference manager.
virtual void setItemProperty(const QString &thePropName, const QVariant &theValue, const int theId=-1)=0
Set property of an item.
virtual int addPreference(const QString &theLbl, int pId, SUIT_PreferenceMgr::PrefItemType theType, const QString &theSection, const QString &theName)=0
Add preference item into preference dialog box.