Wiki Markup |
---|
{alias:qsetfont} |
Name
qsetfont — set widget font
...
The qsetfont command sets the font for the given widget. If the widget is not provide the current widget is used.
Use qgetfontdialog to display a font selection dialog.
Arguments
font
A font object. A font object is returned by the qgetfontdialog command, which displays a font dialog.
Examples
See qgetfontdialog.