X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationSketchBase.cpp;h=4113c3cba83fbab23eed59174fbd7e08d98cb4a3;hb=1d7a043abfadf964bf38802e8adb5a4773fec900;hp=c372bc72f96a4a174434649131e6c24e09691f2e;hpb=9417f62889b68490dd9624e479d9c0b18556a9e9;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationSketchBase.cpp b/src/PartSet/PartSet_OperationSketchBase.cpp index c372bc72f..4113c3cba 100644 --- a/src/PartSet/PartSet_OperationSketchBase.cpp +++ b/src/PartSet/PartSet_OperationSketchBase.cpp @@ -6,6 +6,8 @@ #include +#include + #ifdef _DEBUG #include #endif @@ -14,9 +16,8 @@ using namespace std; PartSet_OperationSketchBase::PartSet_OperationSketchBase(const QString& theId, QObject* theParent) -: ModuleBase_PropPanelOperation(theId, theParent) +: ModuleBase_Operation(theId, theParent) { - setEditMode(false); } PartSet_OperationSketchBase::~PartSet_OperationSketchBase() @@ -30,3 +31,23 @@ boost::shared_ptr PartSet_OperationSketchBase::preview( boost::dynamic_pointer_cast(theFeature); return aFeature->preview(); } + +boost::shared_ptr PartSet_OperationSketchBase::createFeature() +{ + boost::shared_ptr aFeature = ModuleBase_Operation::createFeature(); + emit featureConstructed(aFeature, FM_Activation); + return aFeature; +} + + +void PartSet_OperationSketchBase::mousePressed(QMouseEvent* theEvent, Handle_V3d_View theView) +{ +} +void PartSet_OperationSketchBase::mouseReleased(QMouseEvent* theEvent, Handle_V3d_View theView, + const std::list& theSelected) +{ +} +void PartSet_OperationSketchBase::mouseMoved(QMouseEvent* theEvent, Handle(V3d_View) theView, + const std::list& theSelected) +{ +}