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

Base class for MLAB.GUI.WidgetControl which is an interface for all module related communication. More...

Inheritance diagram for MLAB.GUI.WidgetControlModuleInterface:
MLAB.Core.Object MLAB.GUI.WidgetControl MLAB.GUI.BaseBoxControl MLAB.GUI.ButtonControl MLAB.GUI.CheckBoxControl MLAB.GUI.ColorEditControl MLAB.GUI.ComboBoxControl MLAB.GUI.CommonButtonGroupControl MLAB.GUI.DateTimeControl MLAB.GUI.EmptyControl MLAB.GUI.FieldControl MLAB.GUI.FrameControl MLAB.GUI.GridControl MLAB.GUI.HyperTextControl MLAB.GUI.IconItemViewControl MLAB.GUI.ImageControl MLAB.GUI.LabelControl MLAB.GUI.LineEditControl MLAB.GUI.MLItemModelViewControl MLAB.GUI.NumberEditControl MLAB.GUI.PanelControl MLAB.GUI.ProgressBarControl MLAB.GUI.RemoteRenderingControl MLAB.GUI.SeparatorControl MLAB.GUI.SliderControl MLAB.GUI.SplitterControl MLAB.GUI.TabViewControl MLAB.GUI.TableControl MLAB.GUI.TextViewControl MLAB.GUI.VectorEditControl MLAB.GUI.WindowControl

Public Member Functions

 createSubControl (mdlTree)
 Calls MLAB.Core.Module.createControl() and returns the control, or null if it could not be created.
 field (fieldName)
 Looks for a field and it by calling MLAB.Core.Module.getFieldByRawName().
 getDOMDocument ()
 Returns the owner document of this.
 getModule ()
 Returns the module.
 log (message)
 Logs a message by calling MLAB.Core.Module.log().
 logError (error)
 Logs an error message by calling MLAB.Core.Module.logError().
 logException (exception)
 Logs an exception by calling MLAB.Core.Module.logException().
 sendBaseFieldMessage (baseFieldMessageClass, data)
 Creates a base field message using the provided class and data.
 sendGenericRequest (request, args)
 Passes the request and arguments to MLAB.Core.Module.sendGenericRequest().
 sendMessage (message)
 Sends the message via MLAB.Core.Module.sendMessage() to the server.
 setDOMDocument (A)
 Sets a new owner document to this.
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

Base class for MLAB.GUI.WidgetControl which is an interface for all module related communication.

It stores a reference to the MLAB.Core.Module with which it works.

Definition at line 1511 of file GUI.py.

Member Function Documentation

◆ createSubControl()

MLAB.GUI.WidgetControlModuleInterface.createSubControl ( mdlTree)

Calls MLAB.Core.Module.createControl() and returns the control, or null if it could not be created.

Parameters
mdlTreeA MLAB.Core.MLABTree instance descriping the control

Definition at line 1530 of file GUI.py.

◆ field()

MLAB.GUI.WidgetControlModuleInterface.field ( fieldName)

Looks for a field and it by calling MLAB.Core.Module.getFieldByRawName().

Parameters
fieldNameThe field name string.
Returns
Returns the MLAB.Core.Field, or null if it was not found.

Definition at line 1566 of file GUI.py.

◆ getDOMDocument()

MLAB.GUI.WidgetControlModuleInterface.getDOMDocument ( )

Returns the owner document of this.

Returns
A document object.

Definition at line 1516 of file GUI.py.

◆ getModule()

MLAB.GUI.WidgetControlModuleInterface.getModule ( )

Returns the module.

Returns
The MLAB.Core.Module.

Definition at line 1558 of file GUI.py.

◆ log()

MLAB.GUI.WidgetControlModuleInterface.log ( message)

Logs a message by calling MLAB.Core.Module.log().

Parameters
messageThe log message string.

Definition at line 1537 of file GUI.py.

◆ logError()

MLAB.GUI.WidgetControlModuleInterface.logError ( error)

Logs an error message by calling MLAB.Core.Module.logError().

Parameters
errorThe error message string.

Definition at line 1544 of file GUI.py.

◆ logException()

MLAB.GUI.WidgetControlModuleInterface.logException ( exception)

Logs an exception by calling MLAB.Core.Module.logException().

Parameters
exceptionThe exception.

Definition at line 1551 of file GUI.py.

◆ sendBaseFieldMessage()

MLAB.GUI.WidgetControlModuleInterface.sendBaseFieldMessage ( baseFieldMessageClass,
data )

Creates a base field message using the provided class and data.

Calls MLAB.Core.Module.sendBaseFieldMessage().

Parameters
baseFieldMessageClassThe message class. See Remote Messages for possible messages.
dataA mapping object containing the attributes that required by the message, e.g.: {pox_x: 10, pox_y: 52}

Definition at line 1575 of file GUI.py.

◆ sendGenericRequest()

MLAB.GUI.WidgetControlModuleInterface.sendGenericRequest ( request,
args )

Passes the request and arguments to MLAB.Core.Module.sendGenericRequest().

Parameters
requestThe request name string.
argsA list of arguments for the request.

Definition at line 1583 of file GUI.py.

◆ sendMessage()

MLAB.GUI.WidgetControlModuleInterface.sendMessage ( message)

Sends the message via MLAB.Core.Module.sendMessage() to the server.

Parameters
messageA MLAB.Core.RemoteMessage instance.

Definition at line 1590 of file GUI.py.

◆ setDOMDocument()

MLAB.GUI.WidgetControlModuleInterface.setDOMDocument ( A)

Sets a new owner document to this.

Parameters
Adocument object.

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