Font string
The font defines how individual characters in e.g. text fields, trend widgets, tables, selection lists, spin buttons, combo boxes, etc. will be implemented. Font strings are specified in a QT internal format, which are dealt with in the relevant manuals. This subject will not be dealt with here. For programming Control scripts, a dialog box can be opened from the script editor, which can be used to automatically insert the string with the required font into the script (see also chapter Font).
Example
main()
{
int x;
x=setValue("textfield1", "font", "Lucida Calligraphy,-1,11,5,50,0,0,0,0,0");
}
The setValue/getValue functions for the font cannot be used for a primitive text.