Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation.

This commit is contained in:
bourcier 2013-08-28 09:38:03 +00:00
parent a27b03972c
commit 30bb71dac9

View 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="");