return new PartSet_Module(theWshop);
}
-
PartSet_Module::PartSet_Module(XGUI_Workshop* theWshop)
{
- myWorkshop = theWshop;
+ myWorkshop = theWshop;
}
-
PartSet_Module::~PartSet_Module()
{
}
void PartSet_Module::featureCreated(XGUI_Command* theFeature)
{
QString aFtId = theFeature->getId();
- if(aFtId == "new_point") {
+ if (aFtId == "new_point") {
theFeature->connectTo(this, SLOT(onCommandTriggered()));
}
}
std::string aPluginName = aModuleReader.pluginsList().front();
Config_FeatureReader* aReader = new Config_FeatureReader(aPluginName);
XGUI_Command* aCmd = dynamic_cast<XGUI_Command*>(sender());
- std::string aXMLWidgetCfg =
- aReader->featureWidgetCfg(aCmd->getId().toStdString());
+ std::string aXMLWidgetCfg = aReader->featureWidgetCfg(aCmd->getId().toStdString());
delete aReader;
}