|
MeVisLab Web Toolkit Reference
|
A window controller creates MDL controls for modules using the MLAB.GUI.WidgetControlFactory from the MDL description of the module. More...
Public Member Functions | |
| __init__ () | |
| Creates a new window controller. | |
| control (controlName) | |
| Returns the first widget control with the given name. | |
| createPanel () | |
| Creates a panel from an MDL window. | |
Signals | |
See MLAB.Core.Object about use. # | |
| windowCreated (windowControl) | |
| Is emitted when a Window is created. | |
| 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. | |
A window controller creates MDL controls for modules using the MLAB.GUI.WidgetControlFactory from the MDL description of the module.
| MLAB.GUI.WindowController.__init__ | ( | ) |
| MLAB.GUI.WindowController.control | ( | controlName | ) |
Returns the first widget control with the given name.
null is returned if none is found.
| controlName | The control name. |
| MLAB.GUI.WindowController.createPanel | ( | ) |
Creates a panel from an MDL window.
A panel is handled like a window by the window controller, except that its widget is a panel instead of a window. This means you cannot create a window and a panel with same name as you cannot create two windows with the same name. You can access the panel using getWindow() also.
| MLAB.GUI.WindowController.windowCreated | ( | windowControl | ) |
Is emitted when a Window is created.
| windowControl | the created Window, a MLAB.GUI.WidgetControl |