KDE 4.7 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

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)
 setFontSize (self, int size)

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.

int fontSize (   self )
setFontSize (  self,
int  size
)
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal