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.
| 
 Signals | 
|  | fontSizeChanged (, int a0) | 
| 
 Methods | 
|  | __init__ (self, QObject parent) | 
|  | __init__ (self, QString text, QObject parent) | 
|  | __init__ (self, KIcon icon, QString text, QObject parent) | 
|  | actionTriggered (self, QAction action) | 
| int | fontSize (self) | 
|  | fontSizeChanged (self, int a0) | 
|  | setFontSize (self, int size) | 
Method Documentation
| actionTriggered | ( | self, |  | 
|  |  | QAction | action | 
|  | ) |  |  |  | 
 
This function is called whenever an action from the selections is triggered.
 
| fontSizeChanged | ( | self, |  | 
|  |  | int | a0 | 
|  | ) |  |  |  | 
 
- Signal syntax:
- QObject.connect(source, SIGNAL("fontSizeChanged(int)"), target_slot)
 
| setFontSize | ( | self, |  | 
|  |  | int | size | 
|  | ) |  |  |  |