class KFontDialog


Table of contents
Modules
kdeui Classes
All Classes
Module kdeui
Namespace global
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