From: bourcier Date: Wed, 28 Aug 2013 09:38:03 +0000 (+0000) Subject: Adding the public member IsSelectionActivated() to access the selection status of... X-Git-Tag: V7_3_0a1~181 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=30bb71dac9f1c7b880f976cad510ef7ee122047b;p=modules%2Fsmesh.git Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation. --- diff --git a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h index d36efd929..6651ff198 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h +++ b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h @@ -80,6 +80,15 @@ public: bool IsObjectSelected(unsigned i=0) const { return i < myObjects.size() && !CORBA::is_nil(myObjects[i]); } + /*! + * \brief Get the selection status + * + * Useful to know which Object Reference param widget is activated + * to be able to activate the next one when the content of this + * one has been modified + */ + bool IsSelectionActivated() const { return mySelectionActivated; } + void AvoidSimultaneousSelection( StdMeshersGUI_ObjectReferenceParamWdg* other); void SetDefaultText(QString defaultText="", QString styleSheet="");