The base class for widgets.
More...
|
| | isEnabled () |
| | Returns if the widget is enabled.
|
| | isVisible () |
| | Returns if the widget is visible.
|
| | visitChildren () |
| | Visits all children recursively and calls visitor with each child as argument.
|
| | __init__ () |
| | Creates a new MLAB.Core.Object.
|
| | blockSignals (blocked) |
| | Sets if signals are blocked, which means that signals are suppressed in situations where they would have been emitted.
|
| | connect (signal, receiver, slot) |
| | Connects a signal of this object to the slot of the receiver.
|
| | connectCallback (signal, callback) |
| | Connects a signal of this object to the given callback function.
|
| | connectSignal (signal, receiver, targetSignal) |
| | Connects a signal of this object to the signal of the receiver, so that if this signal is emitted, the target signal on the receiver is also emitted.
|
| | disconnect (signal, receiver, signal) |
| | Disconnects a signal of this object from the slot of the receiver.
|
| | disconnectCallback (signal, callback) |
| | Disconnects a signal of this object from the given callback function.
|
| | disconnectReceiver (signal, receiver) |
| | Disconnects a signal of this object from all slots of the receiver.
|
| | emit (signal) |
| | Emits a signal.
|
| | isSignalRegistered () |
| | Returns true if the given signal is registered.
|
| | registerSignal (signal) |
| | Registers a signal.
|
| | signalsBlocked () |
| | Returns true if signals are blocked.
|
The base class for widgets.
Definition at line 1442 of file GUI.py.
◆ isEnabled()
| MLAB.GUI.Widget.isEnabled |
( |
| ) |
|
Returns if the widget is enabled.
It may return false even if isEnabledToParent() returns true, because the parent may be disabled.
Definition at line 1458 of file GUI.py.
◆ isVisible()
| MLAB.GUI.Widget.isVisible |
( |
| ) |
|
Returns if the widget is visible.
It may return false even if isVisibleToParent() returns true, because the parent may be invisible.
Definition at line 1446 of file GUI.py.
◆ visitChildren()
| MLAB.GUI.Widget.visitChildren |
( |
| ) |
|
Visits all children recursively and calls visitor with each child as argument.
If baseClass is given, then only children that inherit the base class will be visited.
Definition at line 1452 of file GUI.py.
The documentation for this class was generated from the following file:
- C:/jh/mevislab/5.0_0/build/doc.gen/public/SDK/MeVisLabWebToolkitReference/source/MLAB/GUI.py