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

KFontSizeAction Class Reference

from PyKDE5.kwidgetsaddons import *

Inherits: KSelectAction → 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, QIcon 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,
QIcon  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

  • karchive
  • kcoreaddons
  • kguiaddons
  • kitemmodels
  • kitemviews
  • kplotting
  • kwidgetsaddons
  • solid
  • sonnet
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal