class KFontDialog


Module kdeui
Namespace
Class KFontDialog
Inherits KDialog
A font selection dialog.

The KFontDialog provides a dialog for interactive font selection. It is basically a thin wrapper around the KFontChooser widget, which can also be used standalone. In most cases, the simplest use of this class is the static method KFontDialog.getFont(), which pops up the dialog, allows the user to select a font, and returns when the dialog is closed.

Example:

QFont myFont;
int result = KFontDialog.getFont( myFont );
if ( result == KFontDialog.Accepted )
...

Author Preston Brown , Bernd Wuebben



methods