From: nds Date: Thu, 17 Dec 2015 15:38:31 +0000 (+0300) Subject: It removes SketchShapePlugin from plugins X-Git-Tag: V_2.1.0~147 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3cd1029fded28f2f18ffbbfeee975e7467a27019;p=modules%2Fshaper.git It removes SketchShapePlugin from plugins First code for Status Bar. --- diff --git a/src/Config/plugins.xml b/src/Config/plugins.xml index 45903311b..90a80b50b 100644 --- a/src/Config/plugins.xml +++ b/src/Config/plugins.xml @@ -5,7 +5,6 @@ - diff --git a/src/ModuleBase/ModuleBase_IModule.cpp b/src/ModuleBase/ModuleBase_IModule.cpp index 35d09d0de..a4fb01757 100644 --- a/src/ModuleBase/ModuleBase_IModule.cpp +++ b/src/ModuleBase/ModuleBase_IModule.cpp @@ -129,6 +129,7 @@ void ModuleBase_IModule::createFeatures() void ModuleBase_IModule::actionCreated(QAction* theFeature) { + theFeature->setStatusTip(theFeature->text()); connect(theFeature, SIGNAL(triggered(bool)), this, SLOT(onFeatureTriggered())); } diff --git a/src/ModuleBase/ModuleBase_Preferences.cpp b/src/ModuleBase/ModuleBase_Preferences.cpp index 1cd5e702f..bc7864833 100644 --- a/src/ModuleBase/ModuleBase_Preferences.cpp +++ b/src/ModuleBase/ModuleBase_Preferences.cpp @@ -301,6 +301,10 @@ void ModuleBase_PreferencesDlg::createMenuPage(int thePageId) "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()