Defines | |
| #define | pvSetColumnWith pvSetColumnWidth |
Functions | |
| int | pvSetCaption (PARAM *p, const char *text) |
| int | pvPlaySound (PARAM *p, const char *filename) |
| int | pvBeep (PARAM *p) |
| int | pvStatusMessage (PARAM *p, int r, int g, int b, const char *format,...) |
| int | pvToolTip (PARAM *p, int id, const char *text) |
| int | pvSetText (PARAM *p, int id, const char *text) |
| int | pvPrintf (PARAM *p, int id, const char *format,...) |
| int | pvSetValue (PARAM *p, int id, int value) |
| int | pvClear (PARAM *p, int id) |
| int | pvChangeItem (PARAM *p, int id, int index, const char *bmp_file, const char *text) |
| int | pvInsertItem (PARAM *p, int id, int index, const char *bmp_file, const char *text) |
| int | pvRemoveItem (PARAM *p, int id, int index) |
| int | pvRemoveItemByName (PARAM *p, int id, const char *name) |
| int | pvAddColumn (PARAM *p, int id, const char *text, int size) |
| int | pvSetTableText (PARAM *p, int id, int x, int y, const char *text) |
| int | pvSetTableCheckBox (PARAM *p, int id, int x, int y, int state, const char *text) |
| int | pvSetTableComboBox (PARAM *p, int id, int x, int y, int editable, const char *textlist) |
| int | pvTablePrintf (PARAM *p, int id, int x, int y, const char *format,...) |
| int | pvMysqldump (PARAM *p, int id, const char *command) |
| int | pvCSVdump (PARAM *p, int id, const char *filename, char delimitor='\t') |
| int | pvCSVcreate (PARAM *p, const char *command, const char *filename) |
| int | pvCSV (PARAM *p, int id, const char *command, char delimitor='\t') |
| int | pvSetListViewText (PARAM *p, int id, const char *path, int column, const char *text) |
| int | pvListViewPrintf (PARAM *p, int id, const char *path, int column, const char *format,...) |
| int | pvSetColumnWidth (PARAM *p, int id, int column, int width) |
| int | pvSetWordWrap (PARAM *p, int id, int wrap) |
| int | pvSetPixmap (PARAM *p, int id, const char *bmp_file) |
| int | pvSetTablePixmap (PARAM *p, int id, int x, int y, const char *bmp_file) |
| int | pvSetSource (PARAM *p, int id, const char *html_file) |
| int | pvSetImage (PARAM *p, int id, const char *filename) |
| int | pvSetBackgroundColor (PARAM *p, int id, int r, int g, int b) |
| int | pvSetPaletteBackgroundColor (PARAM *p, int id, int r, int g, int b) |
| int | pvSetPaletteForegroundColor (PARAM *p, int id, int r, int g, int b) |
| int | pvSetFontColor (PARAM *p, int id, int r, int g, int b) |
| int | pvSetFont (PARAM *p, int id, const char *family, int pointsize, int bold, int italic, int underline, int strikeout) |
| int | pvDisplayNum (PARAM *p, int id, int num) |
| int | pvDisplayFloat (PARAM *p, int id, float val) |
| int | pvDisplayStr (PARAM *p, int id, const char *str) |
| int | pvAddTab (PARAM *p, int id, int id_child, const char *str) |
| int | pvSetListViewPixmap (PARAM *p, int id, const char *path, const char *bmp_file, int column) |
| int | pvRemoveListViewItem (PARAM *p, int id, const char *path) |
| int | pvRemoveIconViewItem (PARAM *p, int id, const char *text) |
| int | pvSetIconViewItem (PARAM *p, int id, const char *bmp_file, const char *text) |
| int | pvSetDateOrder (PARAM *p, int id, int order) |
| int | pvSetDate (PARAM *p, int id, int year, int month, int day) |
| int | pvSetMinDate (PARAM *p, int id, int year, int month, int day) |
| int | pvSetMaxDate (PARAM *p, int id, int year, int month, int day) |
| int | pvSetTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0) |
| int | pvSetMinTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0) |
| int | pvSetMaxTime (PARAM *p, int id, int hour, int minute, int second=0, int msec=0) |
| int | pvEnsureCellVisible (PARAM *p, int id, int row, int col=1) |
|
|
|
|
||||||||||||||||||||
|
Add a Column in a QListView. Allowed widgets: QListView |
|
||||||||||||||||||||
|
Add a Tab to an QTabDialog |
|
|
Output a beep. |
|
||||||||||||||||||||||||
|
Set the content of a widget. if bmp_file == NULL no pixmap is drawn else bmp_file = name of an 8bpp bitmap file Allowed widgets: QListBox |
|
||||||||||||
|
Clear the content of a widget. Allowed widgets: QListBox, QComboBox, QMultiLineEdit, QListView, QIconView |
|
||||||||||||||||||||
|
dump CSV file to table=id by calling "command". |
|
||||||||||||||||
|
create CSV file by calling "command > filename". |
|
||||||||||||||||||||
|
dump CSV file and populate table.
Allowed widgets: QTable |
|
||||||||||||||||
|
Display float on a QLCDNumber |
|
||||||||||||||||
|
Display num on a QLCDNumber |
|
||||||||||||||||
|
Display string on a QLCDNumber |
|
||||||||||||||||||||
|
Ensure that the table cell is visible, scroll if necessary allowed widgets: QTable |
|
||||||||||||||||||||||||
|
Insert an item. if bmp_file == NULL no pixmap is drawn else bmp_file = name of an 8bpp bitmap file if index == -1 append text at the end of the list Allowed widgets: QListBox, QComboBox |
|
||||||||||||||||||||||||||||
|
Set the text of a ListViewItem. Works as printf(format,...); example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Allowed widgets: QListView |
|
||||||||||||||||
|
Run mysqldump and populate table. See: mysqldump --help Runs: mysqldump -X command
Allowed widgets: QTable |
|
||||||||||||
|
Play Sound. filename should point to a *.wav audio file. First pvDownloadFile(PARAM *p, const char *filename); |
|
||||||||||||||||||||
|
Set the text of a widget. The functions works like printf() Allowed widgets: QLabel, QPushButton, QLineEdit, QMultiLineEdit, QComboBox, QRadioButton, QCheckBox, QTextBrowser |
|
||||||||||||||||
|
Remove a QIconView item |
|
||||||||||||||||
|
Remove an item. Allowed widgets: QListBox, QComboBox |
|
||||||||||||||||
|
Remove an item by it's name. Allowed widgets: QListBox, QComboBox |
|
||||||||||||||||
|
example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Remove a QListView item |
|
||||||||||||||||||||||||
|
Set the background color of the widget. Allowed widgets: QLabel, QDraw |
|
||||||||||||
|
Set program Title. |
|
||||||||||||||||||||
|
Set the width of a table column. if column == -1 then set border width Allowed widgets: QTable |
|
||||||||||||||||||||||||
|
Set date allowed widgets: QDateEdit, QDateTimeEdit |
|
||||||||||||||||
|
Set date order, enum Order { DMY, MDY, YMD, YDM }
allowed widgets: QDateEdit, QDateTimeEdit
|
|
||||||||||||||||||||||||||||||||||||
|
Set the font of the widget. The font will be propagated to all children. pointsize (in pitch) bold = 0|1 italic = 0|1 underline = 0|1 strikeout = 0|1 Allowed widgets: all widgets |
|
||||||||||||||||||||||||
|
Set the font color of the widget. r=-1,g=-1,b=-1 := unsetPalette() Allowed widgets: QMultiLineEdit |
|
||||||||||||||||||||
|
Insert a QIconViewItem pixmap and text |
|
||||||||||||||||
|
Set a new image in an existing image. Allowed widgets: QImage |
|
||||||||||||||||||||||||
|
example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Set a QListView pixmap |
|
||||||||||||||||||||||||
|
Set the text of a ListViewItem. example: path = "/dir/subdir/subsubdir" path := similar to a unix directory path Allowed widgets: QListView |
|
||||||||||||||||||||||||
|
Set max date allowed widgets: QDateEdit, QDateTimeEdit |
|
||||||||||||||||||||||||||||
|
Set time allowed widgets: QTimeEdit, QDateTimeEdit |
|
||||||||||||||||||||||||
|
Set min date allowed widgets: QDateEdit, QDateTimeEdit |
|
||||||||||||||||||||||||||||
|
Set time allowed widgets: QTimeEdit, QDateTimeEdit |
|
||||||||||||||||||||||||
|
Set the background color of the widget. r=-1,g=-1,b=-1 := unsetPalette() Allowed widgets: all widgets |
|
||||||||||||||||||||||||
|
Set the foreground color of the widget. r=-1,g=-1,b=-1 := unsetPalette() Allowed widgets: all widgets |
|
||||||||||||||||
|
Set the pixmap. bmp_file = name of an 8bpp bitmap file if bmp_file == NULL reset pixmap Allowed widgets: QPushButton |
|
||||||||||||||||
|
Set the file to show in QTextBrowser. html_file = file to start with Allowed widgets: QTextBrowser |
|
||||||||||||||||||||||||||||
|
Set a table cell to CheckBox. Allowed widgets: QTable |
|
||||||||||||||||||||||||||||
|
Set a table cell to ComboBox.
example: pvSetTableComboBox(p,Table1,2,1,1,"choice1,choice2,choice3");
Allowed widgets: QTable |
|
||||||||||||||||||||||||
|
Set the pixmap of a table cell. bmp_file = name of an 8bpp bitmap file Allowed widgets: QTable |
|
||||||||||||||||||||||||
|
Set the text of a table cell. if x == -1 then set row text if y == -1 then set column text
Example for colored table cells: pvTableText(p,Table1,0,0,"color(255,0,0)this is the cell text"); prepend: color(r,g,b)
Allowed widgets: QTable |
|
||||||||||||||||
|
Set the text of a widget. Allowed widgets: QLabel, QPushButton, QLineEdit, QMultiLineEdit, QComboBox, QRadioButton, QCheckBox, QTextBrowser |
|
||||||||||||||||||||||||||||
|
Set time allowed widgets: QTimeEdit, QDateTimeEdit |
|
||||||||||||||||
|
Set the value of a widget. Allowed widgets: QSlider, QSpinBox, QDial, QProgressBar, QTabWidget, QToolBox |
|
||||||||||||||||
|
Set word wrap for table. wrap = 0 | 1 Allowed widgets: QTable |
|
||||||||||||||||||||||||||||
|
Output status message. If r = g = b = -1 -> normal background color |
|
||||||||||||||||||||||||||||
|
Set the text of a table cell. Works as printf(format,...); if x == -1 then set row text if y == -1 then set column text
Example for colored table cells: pvTablePrintf(p,Table1,0,0,"color(255,0,0)this is the cell text"); prepend: color(r,g,b)
Allowed widgets: QTable |
|
||||||||||||||||
|
Set a QToolTip for the widget. It will be displayed near the widget when you move over. |
1.4.6