MeVisLab Web Toolkit Reference
Loading...
Searching...
No Matches
MLAB.GUI.RemoteRenderingWidget Class Reference
Inheritance diagram for MLAB.GUI.RemoteRenderingWidget:
MLAB.GUI.RemoteRenderingWidgetBase MLAB.GUI.Widget MLAB.Core.Object

Public Member Functions

Signals

See MLAB.Core.Object about use.

#

 viewerRepainted (metaInformation)
 Is emitted when the viewer shows a new image.
 contextMenuRequested (position)
 Is emitted when a context menu was requested on the viewer.
Public Member Functions inherited from MLAB.GUI.RemoteRenderingWidgetBase
 getMaximumSize ()
 Returns the maximum size of the viewport.
 getMinimumSize ()
 Returns the minimum size of the viewport.
 getViewport ()
 Returns the viewport DOM element.
 getViewportSize ()
 Returns the viewport size.
 resizeViewport (w, h, deviceWidth, deviceHeight)
 Resizes the viewport.
 resizeViewportToSizeHint ()
 This method resizes the viewport to the size hint, or the viewport size if the size hint is invalid.
 setMaximumSize (size)
 Sets the maximum size of the viewport.
 setMinimumSize (size)
 Sets the maximum size of the viewport.
 setScaleImageOnResize (flag)
 Sets if scaling of the image on the canvas is done on resize.
 setSizeHint (sizeHint)
 Sets the size hint for the viewport.
 slaveWasAdded ()
 Called from the slave when it is added.
 useSizeHintHeight ()
 Returns true if the height of the size hint should be used.
 useSizeHintWidth ()
 Returns true if the width of the size hint should be used.
 viewportSizeChanged (width, height)
 Is emitted when the size of the viewport has changed.
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.

Additional Inherited Members

Protected Member Functions inherited from MLAB.GUI.RemoteRenderingWidgetBase
 _setDOMElementVisible ()
 Sets the visibility of this widget.

Detailed Description

Definition at line 1105 of file GUI.py.

Member Function Documentation

◆ contextMenuRequested()

MLAB.GUI.RemoteRenderingWidget.contextMenuRequested ( position)

Is emitted when a context menu was requested on the viewer.

Parameters
positiona position object with x and y coordinate

Definition at line 1120 of file GUI.py.

◆ viewerRepainted()

MLAB.GUI.RemoteRenderingWidget.viewerRepainted ( metaInformation)

Is emitted when the viewer shows a new image.

Parameters
metaInformationthe meta information object associated with the current image

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