KFontSizeAction Class Reference
from PyKDE4.kdeui import *
Inherits: KSelectAction → KAction → QWidgetAction → QAction → QObject
Detailed Description
An action to allow changing of the font size.
This action will be shown as a combobox on a toolbar with a proper set of font sizes.
Signal Documentation
fontSizeChanged |
( |
int |
a0 |
|
) |
|
|
|
- Signal syntax:
QObject.connect(source, SIGNAL("fontSizeChanged(int)"), target_slot)
Method Documentation
__init__ |
( |
self, |
|
|
|
QObject |
parent |
|
) |
|
|
|
__init__ |
( |
self, |
|
|
|
QString |
text, |
|
|
QObject |
parent |
|
) |
|
|
|
__init__ |
( |
self, |
|
|
|
KIcon |
icon, |
|
|
QString |
text, |
|
|
QObject |
parent |
|
) |
|
|
|
actionTriggered |
( |
self, |
|
|
|
QAction |
action |
|
) |
|
|
|
This function is called whenever an action from the selections is triggered.
setFontSize |
( |
self, |
|
|
|
int |
size |
|
) |
|
|
|