X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationFeatureEdit.h;h=267b494c67d2bc75b0a5833e1982e0b667481fe1;hb=d22fc665c79c31c9eea0625e04c2e941adfdf7be;hp=682cf91ff71cd8aa44f5aad58f47d04f146fac6a;hpb=c58d52e4c1562a78b91e222190b2fd6e5bba0ef0;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationFeatureEdit.h b/src/PartSet/PartSet_OperationFeatureEdit.h index 682cf91ff..267b494c6 100644 --- a/src/PartSet/PartSet_OperationFeatureEdit.h +++ b/src/PartSet/PartSet_OperationFeatureEdit.h @@ -124,6 +124,10 @@ Q_OBJECT CompositeFeaturePtr theCompositeFeature = CompositeFeaturePtr()); protected: + void fillFeature2Attribute(const QList& thePresentations, + ModuleBase_IViewer* theViewer, + std::map >& theFeature2Attribute); + /// Emits a signal about the selection blocking. Emits a signal to change the selection. /// If the block is true, the signal clear selection, otherwise if restore selection flag allows, /// the internal operation features are to be selected @@ -132,15 +136,21 @@ Q_OBJECT //void blockSelection(bool isBlocked, const bool isRestoreSelection = true); /// Sends the features - void sendFeatures(); + /// \param theIsAllFeatures a boolean value whether all features should be send or only the highlighted ones + void sendFeatures(const bool theIsAllFeatures); + + /// Sends signal about the current features are to be deactivated + void emitFeaturesDeactivation(); private: // the next map should be removed when selection is processed in the move function - std::map > myFeature2Attribute; /// a map of a feature to attributes + std::map > myHighlightedFeature2Attribute; /// a map of a feature to attributes + std::map > myAllFeature2Attribute; /// a map of a feature to attributes Point myCurPoint; ///< the current 3D point clicked or moved bool myIsBlockedSelection; ///< the state of the last state of selection blocked signal - bool myIsMultiOperation; // the state whether the operation is used for some features + bool myIsBlockedByDoubleClick; ///< the block value by double click is processed to avoid + ///< the mouse button release processing before the double click is finished }; #endif