+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
/*
* ModuleBase_Operation.h
*
class ModuleBase_IPropertyPanel;
class ModuleBase_ISelection;
class ModuleBase_IViewer;
-class ModuleBase_WidgetValueFeature;
class QKeyEvent;
ModuleBase_IPropertyPanel* propertyPanel() const { return myPropertyPanel; }
- /// Activates widgets by preselection if it is accepted
- virtual bool activateByPreselection();
+ /// Activates widgets by preselection if it is accepted. Emits signal if the activation is correct
+ virtual void activateByPreselection();
/// If the operation works with feature which is sub-feature of another one
/// then this variable has to be initialised by parent feature
void stopped(); /// the operation is aborted or committed
void resumed(); /// the operation is resumed
void postponed(); /// the operation is postponed
+ void activatedByPreselection(); /// the operation is filled with existing preselection
public slots:
/// Starts operation
virtual void afterCommitOperation() {}
/// Send update message by loop
- //void flushUpdated();
+ void flushUpdated();
/// Send created message by loop
void flushCreated();
QStringList myNestedFeatures;
/// List of pre-selected object
- QList<ModuleBase_WidgetValueFeature*> myPreSelection;
+ QList<ModuleBase_ViewerPrs> myPreSelection;
/// Access to property panel
ModuleBase_IPropertyPanel* myPropertyPanel;