First code for Status Bar.
<plugin library="InitializationPlugin"/>
<plugin library="PartSetPlugin" configuration="plugin-PartSet.xml"/>
<plugin library="SketchPlugin" configuration="plugin-Sketch.xml"/>
- <plugin library="SketchShapePlugin" configuration="plugin-SketchShape.xml"/>
<plugin library="ConstructionPlugin" configuration="plugin-Construction.xml"/>
<plugin library="FeaturesPlugin" configuration="plugin-Features.xml"/>
<plugin library="ExchangePlugin" configuration="plugin-Exchange.xml"/>
void ModuleBase_IModule::actionCreated(QAction* theFeature)
{
+ theFeature->setStatusTip(theFeature->text());
connect(theFeature, SIGNAL(triggered(bool)), this, SLOT(onFeatureTriggered()));
}
"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()