MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
MLAB.GUI.WindowController Class Reference

A window controller creates MDL controls for modules using the MLAB.GUI.WidgetControlFactory from the MDL description of the module. More...

Inheritance diagram for MLAB.GUI.WindowController:
MLAB.Core.Object

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.

Detailed Description

A window controller creates MDL controls for modules using the MLAB.GUI.WidgetControlFactory from the MDL description of the module.

Definition at line 1614 of file GUI.py.

Constructor & Destructor Documentation

◆ __init__()

MLAB.GUI.WindowController.__init__ ( )

Creates a new window controller.

Definition at line 1617 of file GUI.py.

Member Function Documentation

◆ control()

MLAB.GUI.WindowController.control ( controlName)

Returns the first widget control with the given name.

null is returned if none is found.

Parameters
controlNameThe control name.
Returns
An MLAB.GUI.WidgetControl instance or null if none was found.

Definition at line 1625 of file GUI.py.

◆ createPanel()

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.

Definition at line 1633 of file GUI.py.

◆ windowCreated()

MLAB.GUI.WindowController.windowCreated ( windowControl)

Is emitted when a Window is created.

Parameters
windowControlthe created Window, a MLAB.GUI.WidgetControl

Definition at line 1644 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