| 
    MeVisLab Scripting Reference
    
   | 
 
#include <mlRemoteRenderingWebChannelWrapper.h>
Inherits QObject, and ml::RemoteRendering::SlaveListener.
Public Slots | |
Scripting access  | |
  | |
| void | reset () | 
| void | sendMouseEvent (const QString &type, int clientX, int clientY, int button, bool shiftKey, bool ctrlKey, bool altKey, qlonglong timeStamp) | 
| void | sendWheelEvent (double deltaX, double deltaY, int deltaMode, bool shiftKey, bool ctrlKey, bool altKey) | 
| void | sendKeyEvent (const QString &type, const QString &key, int location, bool shiftKey, bool ctrlKey, bool altKey, bool repeat) | 
| void | resize (int x, int y) | 
| void | startStreaming () | 
| void | stopStreaming () | 
| void | acknowledgeImageReceived () | 
Signals | |
Signals  | |
  | |
| void | cursorChanged (const QByteArray &cursorStyle) | 
| void | imageReceived (const QByteArray &imageDataURL, const QVariantMap &metaInformation) | 
| void | sizeHintsChanged () | 
QObject wrapper for a single RemoteRendering slave, to be registered with a WebEngineView control.
The first method to call on a slave is setRenderSize(); otherwise, the remote side does not know the reference viewport for the events and the image rendering.
You will also not get image updates before startStreaming is called.
      
  | 
  slot | 
Acknowledges an image received through streaming.
      
  | 
  signal | 
Emitted when the cursor changed.
      
  | 
  signal | 
Emitted when an image was received.
      
  | 
  slot | 
Resets the stored state (e.g., after a reload).
      
  | 
  slot | 
Sets the requested size of rendering/viewport.
      
  | 
  slot | 
Sends a key event (to be called from JavaScript).
      
  | 
  slot | 
Sends a mouse event (to be called from JavaScript).
      
  | 
  slot | 
Sends a wheel event (to be called from JavaScript).
      
  | 
  signal | 
Emitted when the size hints have changed.
      
  | 
  slot | 
Starts the image update streaming.
      
  | 
  slot | 
Stops the image update streaming.