|
ProcessViewBrowser-ServerProgramming
|
Functions | |
| int | pvMoveContent (PARAM *p, int id, int pos) |
| int | pvSetGeometry (PARAM *p, int id, int x, int y, int w, int h) |
| int | pvSetMinSize (PARAM *p, int id, int w, int h) |
| int | pvSetMaxSize (PARAM *p, int id, int w, int h) |
| int | pvSetAlignment (PARAM *p, int id, int alignment) |
| int | pvSetChecked (PARAM *p, int id, int state) |
| int | pvMove (PARAM *p, int id, int x, int y) |
| int | pvResize (PARAM *p, int id, int w, int h) |
| int | pvHide (PARAM *p, int id) |
| int | pvShow (PARAM *p, int id) |
| int | pvSetParent (PARAM *p, int id, int id_parent) |
| int | pvSetMultiSelection (PARAM *p, int id, int mode) |
| int | pvSetEchoMode (PARAM *p, int id, int mode) |
| int | pvSetEditable (PARAM *p, int id, int editable) |
| int | pvSetEnabled (PARAM *p, int id, int enabled) |
| int | pvSetFocus (PARAM *p, int id) |
| int | pvTableSetEnabled (PARAM *p, int id, int x, int y, int enabled) |
| int | pvTableSetHeaderResizeEnabled (PARAM *p, int id, int horizontal, int enabled, int section) |
| int | pvSetSorting (PARAM *p, int id, int column, int mode) |
| int | pvSetTabPosition (PARAM *p, int id, int pos) |
| int | pvEnableTabBar (PARAM *p, int id, int state) |
| int | pvSetNumRows (PARAM *p, int id, int num) |
| int | pvSetNumCols (PARAM *p, int id, int num) |
| int | pvInsertRows (PARAM *p, int id, int row, int count=1) |
| int | pvInsertColumns (PARAM *p, int id, int col, int count=1) |
| int | pvRemoveRow (PARAM *p, int id, int row) |
| int | pvRemoveColumn (PARAM *p, int id, int col) |
| int | pvSetCurrentItem (PARAM *p, int id, int index) |
| int | pvSetTimeEditDisplay (PARAM *p, int id, int hour, int minute, int second, int ampm) |
| int | pvListViewEnsureVisible (PARAM *p, int id, const char *path) |
| int | pvListViewSetOpen (PARAM *p, int id, const char *path, int open) |
| int | pvListViewSetHidden (PARAM *p, int id, int column, int hidden) |
| int | pvListViewSetStandardPopupMenu (PARAM *p, int id, int standard_menu) |
| int | pvSetStyle (PARAM *p, int id, int shape, int shadow, int line_width, int margin) |
| int | pvSetMovie (PARAM *p, int id, int background, const char *filename) |
| int | pvMovieControl (PARAM *p, int id, int step) |
| int | pvMovieSpeed (PARAM *p, int id, int speed) |
| int | pvAddTabIcon (PARAM *p, int id, int position, const char *bmp_file, int download_icon=1) |
| int | pvSetCellWidget (PARAM *p, int id, int parent, int row, int column) |
| int | pvSetContentsMargins (PARAM *p, int id, int xleft, int ytop, int xright, int ybottom) |
| int | pvSetSpacing (PARAM *p, int id, int param) |
These are the state routines
| int pvAddTabIcon | ( | PARAM * | p, |
| int | id, | ||
| int | position, | ||
| const char * | bmp_file, | ||
| int | download_icon = 1 |
||
| ) |
add tab icon
Allowed widgets QTabWidget QToolBox
| int pvEnableTabBar | ( | PARAM * | p, |
| int | id, | ||
| int | state | ||
| ) |
Enable the TabBar 0=disable | 1=enable Allowed widgets QTabWidget
| int pvHide | ( | PARAM * | p, |
| int | id | ||
| ) |
Hide the widget. See also MainWindowIds.
| int pvInsertColumns | ( | PARAM * | p, |
| int | id, | ||
| int | col, | ||
| int | count = 1 |
||
| ) |
Insert count columns Allowed widgets QTable
| int pvInsertRows | ( | PARAM * | p, |
| int | id, | ||
| int | row, | ||
| int | count = 1 |
||
| ) |
Insert count rows Allowed widgets QTable
| int pvListViewEnsureVisible | ( | PARAM * | p, |
| int | id, | ||
| const char * | path | ||
| ) |
Ensures that the given item is visible. example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Allowed widgets QListView
| int pvListViewSetHidden | ( | PARAM * | p, |
| int | id, | ||
| int | column, | ||
| int | hidden | ||
| ) |
Hide or show column
| int pvListViewSetOpen | ( | PARAM * | p, |
| int | id, | ||
| const char * | path, | ||
| int | open | ||
| ) |
Opens/Closes the given item. open = 0 | 1 example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Allowed widgets QListView
| int pvListViewSetStandardPopupMenu | ( | PARAM * | p, |
| int | id, | ||
| int | standard_menu | ||
| ) |
Set standard popup menu of list view. standard_menu = 0 do not show standard popup menu standard_menu = 1 show standard popup menu and do not allow to hide column 1 standard_menu = N show standard popup menu and do not allow to hide column N
| int pvMove | ( | PARAM * | p, |
| int | id, | ||
| int | x, | ||
| int | y | ||
| ) |
Move the widget to a new position.
| int pvMoveContent | ( | PARAM * | p, |
| int | id, | ||
| int | pos | ||
| ) |
Move within html page.
pos = Home|Backward|Forward|Reload
or
pos = Qt::KeyboardModifiers ored with ascii key. Where key >= ' ' && key < 128
Qt::NoModifier 0x00000000 No modifier key is pressed.
Qt::ShiftModifier 0x02000000 A Shift key on the keyboard is pressed.
Qt::ControlModifier 0x04000000 A Ctrl key on the keyboard is pressed.
Qt::AltModifier 0x08000000 An Alt key on the keyboard is pressed.
Allowed widgets: QTextBrowser
| int pvMovieControl | ( | PARAM * | p, |
| int | id, | ||
| int | step | ||
| ) |
step == -2 restart step == -1 unpause step == 0 pause step > 0 step step steps
Allowed widgets QLabel
| int pvMovieSpeed | ( | PARAM * | p, |
| int | id, | ||
| int | speed | ||
| ) |
speed in percent
Allowed widgets QLabel
| int pvRemoveColumn | ( | PARAM * | p, |
| int | id, | ||
| int | col | ||
| ) |
Remove a colum Allowed widgets QTable
| int pvRemoveRow | ( | PARAM * | p, |
| int | id, | ||
| int | row | ||
| ) |
Remove a row Allowed widgets QTable
| int pvResize | ( | PARAM * | p, |
| int | id, | ||
| int | w, | ||
| int | h | ||
| ) |
Resize the widget. See also MainWindowIds.
| int pvSetAlignment | ( | PARAM * | p, |
| int | id, | ||
| int | alignment | ||
| ) |
Set Alignment. AlignmentFlags Allowed widgets: QLabel QLineEdit
| int pvSetCellWidget | ( | PARAM * | p, |
| int | id, | ||
| int | parent, | ||
| int | row, | ||
| int | column | ||
| ) |
set cell widget within a table
Allowed widgets QTable
| int pvSetChecked | ( | PARAM * | p, |
| int | id, | ||
| int | state | ||
| ) |
Set the state (0,1) of a button Allowed widgets: QRadioButton, QCheckBox
| int pvSetContentsMargins | ( | PARAM * | p, |
| int | id, | ||
| int | xleft, | ||
| int | ytop, | ||
| int | xright, | ||
| int | ybottom | ||
| ) |
set margins within layout
Allowed widgets Layouts
| int pvSetCurrentItem | ( | PARAM * | p, |
| int | id, | ||
| int | index | ||
| ) |
Set current item Allowed widgets QComboBox
| int pvSetEchoMode | ( | PARAM * | p, |
| int | id, | ||
| int | mode | ||
| ) |
Set echo mode of QLineEdit. mode = 0=NoEcho|1=Normal|2=Password
| int pvSetEditable | ( | PARAM * | p, |
| int | id, | ||
| int | editable | ||
| ) |
Set editable 0|1 Allowed widgets QLineEdit, QMultiLineEdit, QTable, QComboBox
| int pvSetEnabled | ( | PARAM * | p, |
| int | id, | ||
| int | enabled | ||
| ) |
Set enabled 0|1 Allowed widgets all widgets
| int pvSetFocus | ( | PARAM * | p, |
| int | id | ||
| ) |
Set keyboad focus Allowed widgets all widgets
| int pvSetGeometry | ( | PARAM * | p, |
| int | id, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Set the Geometry of the widget.
| int pvSetMaxSize | ( | PARAM * | p, |
| int | id, | ||
| int | w, | ||
| int | h | ||
| ) |
Set the Maximum Size of the widget.
| int pvSetMinSize | ( | PARAM * | p, |
| int | id, | ||
| int | w, | ||
| int | h | ||
| ) |
Set the Minimum Size of the widget.
| int pvSetMovie | ( | PARAM * | p, |
| int | id, | ||
| int | background, | ||
| const char * | filename | ||
| ) |
Set to an animated MNG or GIF background = 0|1
Allowed widgets QLabel
| int pvSetMultiSelection | ( | PARAM * | p, |
| int | id, | ||
| int | mode | ||
| ) |
Set multi selection of QListBox, QListView. mode = 0=SingleSelection|1=MultiSelection|2=NoSelection
| int pvSetNumCols | ( | PARAM * | p, |
| int | id, | ||
| int | num | ||
| ) |
Set num cols in table Allowed widgets QTable
| int pvSetNumRows | ( | PARAM * | p, |
| int | id, | ||
| int | num | ||
| ) |
Set num rows in table Allowed widgets QTable
| int pvSetParent | ( | PARAM * | p, |
| int | id, | ||
| int | id_parent | ||
| ) |
Reparent a widget All widgets allowed
| int pvSetSorting | ( | PARAM * | p, |
| int | id, | ||
| int | column, | ||
| int | mode | ||
| ) |
Sort column mode=0 decending mode=1 ascendin column=-1 do not allow sorting (this is the default) Allowed widgets QListView
| int pvSetSpacing | ( | PARAM * | p, |
| int | id, | ||
| int | param | ||
| ) |
set spacing within layout
Allowed widgets Layouts
| int pvSetStyle | ( | PARAM * | p, |
| int | id, | ||
| int | shape, | ||
| int | shadow, | ||
| int | line_width, | ||
| int | margin | ||
| ) |
| int pvSetTabPosition | ( | PARAM * | p, |
| int | id, | ||
| int | pos | ||
| ) |
Set tab position 0=Top | 1=Bottom | 2=West | 3=East Allowed widgets QTabWidget
| int pvSetTimeEditDisplay | ( | PARAM * | p, |
| int | id, | ||
| int | hour, | ||
| int | minute, | ||
| int | second, | ||
| int | ampm | ||
| ) |
Set display of time edit values may be 0 or 1 Allowed widgets QTimeEdit
| int pvShow | ( | PARAM * | p, |
| int | id | ||
| ) |
Show the widget. See also MainWindowIds.
| int pvTableSetEnabled | ( | PARAM * | p, |
| int | id, | ||
| int | x, | ||
| int | y, | ||
| int | enabled | ||
| ) |
Set enabled 0|1 Allowed widgets QTable
| int pvTableSetHeaderResizeEnabled | ( | PARAM * | p, |
| int | id, | ||
| int | horizontal, | ||
| int | enabled, | ||
| int | section | ||
| ) |
horizontal = 0 is vertical horizontal = 1 is horizontal enabled := 0|1 section := section in horizontal or vertical direction Allowed widgets QTable
1.8.14