qsetfont - set widget font

Name

qsetfont — set widget font

Syntax

qsetfont [widget] font

qsetfont font

Description

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.