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

The base class for widgets. More...

Inheritance diagram for MLAB.GUI.Widget:
MLAB.Core.Object MLAB.GUI.Box MLAB.GUI.Button MLAB.GUI.CheckBox MLAB.GUI.ColorEdit MLAB.GUI.ComboBox MLAB.GUI.DateTime MLAB.GUI.HyperText MLAB.GUI.Image MLAB.GUI.ItemModelView MLAB.GUI.ItemView MLAB.GUI.Label MLAB.GUI.LineEdit MLAB.GUI.NumberEdit MLAB.GUI.Panel MLAB.GUI.ProgressBar MLAB.GUI.RemoteRenderingWidgetBase MLAB.GUI.Separator MLAB.GUI.Slider MLAB.GUI.Splitter MLAB.GUI.SplitterHandle MLAB.GUI.SplitterResizeIndicator MLAB.GUI.TabBar MLAB.GUI.TabView MLAB.GUI.Table MLAB.GUI.TextView MLAB.JQuery.Window MLAB.YUI.Widget

Public Member Functions

 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.

Detailed Description

The base class for widgets.

Definition at line 1442 of file GUI.py.

Member Function Documentation

◆ 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