#include <ModelAPI_AttributeSelection.h>
#include <ModelAPI_AttributeSelectionList.h>
#include <ModelAPI_Validator.h>
+#include <ModelAPI_Events.h>
#include <SketchPlugin_SketchEntity.h>
#include <FeaturesPlugin_CompositeBoolean.h>
#include <ModuleBase_OperationFeature.h>
#include <Config_WidgetAPI.h>
+#include <Events_Loop.h>
+
#include <QLabel>
#include <QLineEdit>
#include <QFormLayout>
myTextLine->setToolTip(aToolTip);
myTextLine->installEventFilter(this);
+ myLabel->setToolTip(aToolTip);
+
QString aUseBody = QString::fromStdString(theData->getProperty(USE_BODY));
if(!aUseBody.isEmpty()) {
myUseBody = QVariant(aUseBody).toBool();
if (aCompFeature->numberOfSubs() == 0)
return ModuleBase_ModelWidget::focusTo();
- connect(myModule, SIGNAL(operationResumed(ModuleBase_Operation*)), SLOT(onResumed(ModuleBase_Operation*)));
+ connect(myModule, SIGNAL(resumed(ModuleBase_Operation*)), SLOT(onResumed(ModuleBase_Operation*)));
SessionPtr aMgr = ModelAPI_Session::get();
// Open transaction that is general for the previous nested one: it will be closed on nested commit
bool aIsOp = aMgr->isOperation();
}
}
}
+ else {
+ // this is a workarount to display the feature results in the operation selection mode
+ // if this is absent, sketch point/line local selection is available on extrusion cut result
+ static Events_ID anUpdateEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED);
+ ModelAPI_EventCreator::get()->sendUpdated(feature(), anUpdateEvent);
+ updateObject(feature());
+ }
}
}