mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-04 06:00:33 +05:00
Adding the public member IsSelectionActivated() to access the selection status of the widget from dialog boxes implementation.
This commit is contained in:
parent
a27b03972c
commit
30bb71dac9
@ -80,6 +80,15 @@ public:
|
|||||||
bool IsObjectSelected(unsigned i=0) const
|
bool IsObjectSelected(unsigned i=0) const
|
||||||
{ return i < myObjects.size() && !CORBA::is_nil(myObjects[i]); }
|
{ 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 AvoidSimultaneousSelection( StdMeshersGUI_ObjectReferenceParamWdg* other);
|
||||||
|
|
||||||
void SetDefaultText(QString defaultText="", QString styleSheet="");
|
void SetDefaultText(QString defaultText="", QString styleSheet="");
|
||||||
|
Loading…
Reference in New Issue
Block a user