|
MeVisLab Web Toolkit Reference
|
Public Member Functions | |
| setUnchecksOnClick (unchecksOnClick) | |
| Sets if the button is unchecked when it is clicked and checked. | |
| Public Member Functions inherited from MLAB.GUI.Widget | |
| 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. | |
| Public Member Functions inherited from MLAB.Core.Object | |
| __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. | |
| MLAB.GUI.Button.setUnchecksOnClick | ( | unchecksOnClick | ) |
Sets if the button is unchecked when it is clicked and checked.
This is true by default. MLAB.GUI.PushButtonGroupControl uses this when the buttons are exclusive, because at least one button must be checked.
| unchecksOnClick | A boolean. |