20 #ifndef PartSet_WidgetSketchCreator_H
21 #define PartSet_WidgetSketchCreator_H
25 #include <ModuleBase_WidgetSelector.h>
73 virtual bool setSelection(QList<std::shared_ptr<ModuleBase_ViewerPrs>>& theValues,
74 const bool theToValidate);
85 virtual bool isValidSelection(
const std::shared_ptr<ModuleBase_ViewerPrs>& theValue);
93 void openExtrusionTransaction();
113 void activateSelectionControl();
117 void setVisibleSelectionControl(
const bool theSelectionControl);
135 bool isSelectionMode()
const;
139 bool hasSubObjects()
const;
145 void onSelectionTypeChanged();
151 bool startSketchOperation(
const QList<std::shared_ptr<ModuleBase_ViewerPrs>>& theValues);
154 static void setSketchObjectToList(
const CompositeFeaturePtr& theFeature,
155 const AttributePtr& theAttribute);
159 bool validateSelectionList()
const;
165 const bool theEnabled);
168 std::string myAttributeListID;
174 bool myIsCustomAttribute;
182 QStringList myShapeTypes;
191 std::string myDefMode;
A Choice control.
Definition: ModuleBase_ChoiceCtrl.h:42
Class which provides access to Workshop object services.
Definition: ModuleBase_IWorkshop.h:48
Base class for all operations.
Definition: ModuleBase_Operation.h:53
Implementation of Partset module.
Definition: PartSet_Module.h:69
A class to show/hide sketch preview planes.
Definition: PartSet_PreviewPlanes.h:37