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
Coincidence to rectangle macro feature: 1. Get point of sub-feature to set coincidenc...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Preferences.cpp
diff --git
a/src/ModuleBase/ModuleBase_Preferences.cpp
b/src/ModuleBase/ModuleBase_Preferences.cpp
index 1cd5e702f07e0c517ccde10f55606aa749fa74e3..03aec786b07bbbb57d7f2efa1c44308e45803801 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Preferences.cpp
+++ b/
src/ModuleBase/ModuleBase_Preferences.cpp
@@
-26,7
+26,7
@@
SUIT_ResourceMgr* ModuleBase_Preferences::myResourceMgr = 0;
SUIT_ResourceMgr* ModuleBase_Preferences::resourceMgr()
{
if (!myResourceMgr) {
SUIT_ResourceMgr* ModuleBase_Preferences::resourceMgr()
{
if (!myResourceMgr) {
- myResourceMgr = new SUIT_ResourceMgr("
NewGeom
");
+ myResourceMgr = new SUIT_ResourceMgr("
SHAPER
");
myResourceMgr->setCurrentFormat("xml");
}
return myResourceMgr;
myResourceMgr->setCurrentFormat("xml");
}
return myResourceMgr;
@@
-301,6
+301,10
@@
void ModuleBase_PreferencesDlg::createMenuPage(int thePageId)
"rows_number");
myPreferences->setItemProperty("min", 1, aRowsNb);
myPreferences->setItemProperty("max", 6, aRowsNb);
"rows_number");
myPreferences->setItemProperty("min", 1, aRowsNb);
myPreferences->setItemProperty("max", 6, aRowsNb);
+
+ myPreferences->addItem(tr("Show Status Bar"), aSizeGroup,
+ SUIT_PreferenceMgr::Bool, ModuleBase_Preferences::MENU_SECTION,
+ "status_bar");
}
void ModuleBase_PreferencesDlg::accept()
}
void ModuleBase_PreferencesDlg::accept()