Salome HOME
Adding the public member IsSelectionActivated() to access the selection status of...
authorbourcier <bourcier>
Wed, 28 Aug 2013 09:38:03 +0000 (09:38 +0000)
committerbourcier <bourcier>
Wed, 28 Aug 2013 09:38:03 +0000 (09:38 +0000)
src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.h

index d36efd9290d00860791a9cb2e3bc4a72e3157443..6651ff1981e3f3fe9ce48add99ce4d45043e2b82 100644 (file)
@@ -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="");