PyKDE - Python Bindings for KDE
class KFontDialog
Table of contents
Modules
kdeui Classes
All Classes
Module
kdeui
Class
KFontDialog
Inherits
KDialogBase
methods
KFontDialog
(parent = 0, name = "", onlyFixed = 0, modal = 0, fontlist = QStringList(), makeFrame = 1, diff = 0, sizeIsRelativeState = 0)
returns
a KFontDialog instance
Argument
Type
Default
parent
QWidget
0
name
string
""
onlyFixed
bool
0
modal
bool
0
fontlist
QStringList
QStringList()
makeFrame
bool
1
diff
bool
0
sizeIsRelativeState
QButton.ToggleState
0
font
()
returns
(QFont)
fontSelected
(font)
returns
nothing
Argument
Type
Default
font
QFont
getFont
(theFont, onlyFixed = False, parent = 0, makeFrame = True, sizeIsRelative = QButton.Off)
returns
(int) sizeIsRelative (QButton.ToggleState),
static
Argument
Type
Default
theFont
QFont
onlyFixed
bool
False
parent
QWidget
0
makeFrame
bool
True
sizeIsRelative
QButton.ToggleState
QButton.Off
getFontAndText
(theFont, theString, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = QButton.Off)
returns
(int) sizeIsRelative (QButton.ToggleState),
static
Argument
Type
Default
theFont
QFont
theString
QString
onlyFixed
bool
False
parent
QWidget
0
makeFrame
bool
true
sizeIsRelative
QButton.ToggleState
QButton.Off
getFontDiff
(theFont, diffFlags, onlyFixed = False, parent = 0, makeFrame = true, sizeIsRelative = QButton.Off)
returns
(int) sizeIsRelative (QButton.ToggleState),
static
Argument
Type
Default
theFont
QFont
diffFlags
int
onlyFixed
bool
False
parent
QWidget
0
makeFrame
bool
true
sizeIsRelative
QButton.ToggleState
QButton.Off
setFont
(font, onlyFixed = 0)
returns
nothing
Argument
Type
Default
font
QFont
onlyFixed
bool
0
setSizeIsRelative
(relative)
returns
nothing
Argument
Type
Default
relative
QButton.ToggleState
sizeIsRelative
()
returns
(QButton.ToggleState)