#include <QPushButton>
ModuleBase_IModule::ModuleBase_IModule(ModuleBase_IWorkshop* theParent)
- : QObject(theParent), myWorkshop(theParent)
+ : QObject(theParent), myWorkshop(theParent)
{
connect(myWorkshop, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
void ModuleBase_IModule::launchOperation(const QString& theCmdId)
{
/// selection should be obtained from workshop before ask if the operation can be started as
- /// the canStartOperation method performs commit/abort of previous operation.
+ /// the canStartOperation method performs commit/abort of previous operation.
/// Sometimes commit/abort may cause selection clear(Sketch operation) as a result
/// it will be lost and is not used for preselection.
ModuleBase_ISelection* aSelection = myWorkshop->selection();
- QList<ModuleBase_ViewerPrsPtr> aPreSelected =
+ QList<ModuleBase_ViewerPrsPtr> aPreSelected =
aSelection->getSelected(ModuleBase_ISelection::AllControls);
if (!myWorkshop->canStartOperation(theCmdId))
return !aFOperation || !aFOperation->hasObject(theObject);
}
-void ModuleBase_IModule::operationResumed(ModuleBase_Operation* theOperation)
+void ModuleBase_IModule::operationResumed(ModuleBase_Operation* theOperation)
{
emit resumed(theOperation);
}