ProcessViewBrowser-ServerProgramming
Functions
Input

Functions

int pvText (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

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
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
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
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
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
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
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines