static SUIT_ResourceMgr* resourceMgr();
/// Sets a resource manager
- /// It is used in case of necessity to define external resource manager (not NewGeom)
+ /// It is used in case of necessity to define external resource manager (not SHAPER)
/// \param theMgr resource manager
static void setResourceMgr(SUIT_ResourceMgr* theMgr) { myResourceMgr = theMgr; }
/// Updates Config_PropManager properties by module from SUIT_ResourceMgr
static void updateConfigByResources();
- /// Updates SUIT_ResourceMgr values by Config_PropManager properties
- static void updateResourcesByConfig();
-
- /// Set default values to the Config_PropManager properties
- static void resetConfig();
-
/// Loads properties defined by module to Config_PropManager
static void loadCustomProps();
/// \param thePage an id of a page
static void createEditContent(ModuleBase_IPrefMgr* thePref, int thePage);
+ /// Retrieve preferences of resource manage to default state
+ static void resetResourcePreferences(SUIT_PreferenceMgr* thePref);
+
+ /// Retrieve preferences of config prop to default state
+ static void resetConfigPropPreferences(SUIT_PreferenceMgr* thePref);
+
private:
+ /// Updates SUIT_ResourceMgr values by Config_PropManager properties
+ static void updateResourcesByConfig();
+
+ /// Set default values to the Config_PropManager properties
+ static void resetConfig();
+
/// Creates content of preferences editing widget
static void createCustomPage(ModuleBase_IPrefMgr* thePref, int thePageId);