ProcessViewBrowser-ServerProgramming
Functions
Input

Functions

int pvWaitpid (PARAM *p)
 
int pvText (PARAM *p, int id)
 
int pvRequestJpeg (PARAM *p, int id)
 
int pvRequestGeometry (PARAM *p, int id)
 
int pvRequestParentWidgetId (PARAM *p, int id)
 
int pvSelection (PARAM *p, int id)
 
int pvRequestSvgBoundsOnElement (PARAM *p, int id, const char *objectname)
 
int pvRequestSvgMatrixForElement (PARAM *p, int id, const char *objectname)
 

Detailed Description

These are the input routines

Function Documentation

◆ pvRequestGeometry()

int pvRequestGeometry ( PARAM p,
int  id 
)
Request the geometry from the widget. The text will arrive in an TEXT_EVENT.
geometry:x,y,width,height
Allowed widgets: all widgets

◆ pvRequestJpeg()

int pvRequestJpeg ( PARAM p,
int  id 
)
Request a jpeg from the widget. The jpeg will arrive in an CLIPBOARD_EVENT.
Allowed widgets: QWidget, QImage, QDraw, QwtPlot

◆ pvRequestParentWidgetId()

int pvRequestParentWidgetId ( PARAM p,
int  id 
)
Request the parent id for the widget. The text will arrive in an TEXT_EVENT.
parent:parent
Allowed widgets: all widgets

◆ pvRequestSvgBoundsOnElement()

int pvRequestSvgBoundsOnElement ( PARAM p,
int  id,
const char *  objectname 
)
Request the bounds of an object within a SVG graphic.
The response will arrive in a TEXT_EVENT
Response: name=x,y,width,height
Allowed widgets: QDrawWidget

◆ pvRequestSvgMatrixForElement()

int pvRequestSvgMatrixForElement ( PARAM p,
int  id,
const char *  objectname 
)
Request the matrix for an object within a SVG graphic.
The response will arrive in a TEXT_EVENT
Response: name=m11, m12, m21, m22, det, dx, dy
Allowed widgets: QDrawWidget

◆ pvSelection()

int pvSelection ( PARAM p,
int  id 
)
Request the selected items from a QListBox or QListView. The text will arrive in an SELECTION_EVENT.
Allowed widgets: QListBox, QListView

◆ pvText()

int pvText ( PARAM p,
int  id 
)
Request the text from the widget. The text will arrive in an TEXT_EVENT.
In case of a QMultiLineEdit the text will arrive in a CLIPBOARD_EVENT.
Allowed widgets: QLabel, QPushButton, QLineEdit, QMultiLineEdit

◆ pvWaitpid()

int pvWaitpid ( PARAM p)
Request a waitpid() call on the client.
The response is send as TEXT_MESSAGE with id=ID_MAINWINDOW.
waitpid_response=d