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

KGuiItem Class Reference

from PyKDE5.kwidgetsaddons import *

Detailed Description

An abstract class for GUI data such as ToolTip and Icon.

Author:
Holger Freyther <freyher@yahoo.com>
See also:
KStandardGuiItem


Methods

 __init__ (self)
 __init__ (self, QString text, QString iconName=QString(), QString toolTip=QString(), QString whatsThis=QString())
 __init__ (self, QString text, QIcon icon, QString toolTip=QString(), QString whatsThis=QString())
 __init__ (self, KGuiItem rhs)
bool hasIcon (self)
QIcon icon (self)
QString iconName (self)
bool isEnabled (self)
QString plainText (self)
 setEnabled (self, bool enable)
 setIcon (self, QIcon iconset)
 setIconName (self, QString iconName)
 setText (self, QString text)
 setToolTip (self, QString tooltip)
 setWhatsThis (self, QString whatsThis)
QString text (self)
QString toolTip (self)
QString whatsThis (self)

Static Methods

 assign (QPushButton button, KGuiItem item)

Method Documentation

__init__ (   self )
__init__ (  self,
QString  text,
QString  iconName=QString(),
QString  toolTip=QString(),
QString  whatsThis=QString()
)
__init__ (  self,
QString  text,
QIcon  icon,
QString  toolTip=QString(),
QString  whatsThis=QString()
)
__init__ (  self,
KGuiItem  rhs
)
bool hasIcon (   self )
QIcon icon (   self )
QString iconName (   self )
bool isEnabled (   self )
QString plainText (   self )
setEnabled (  self,
bool  enable
)
setIcon (  self,
QIcon  iconset
)
setIconName (  self,
QString  iconName
)
setText (  self,
QString  text
)
setToolTip (  self,
QString  tooltip
)
setWhatsThis (  self,
QString  whatsThis
)
QString text (   self )
QString toolTip (   self )
QString whatsThis (   self )

Static Method Documentation

assign ( QPushButton  button,
KGuiItem  item
)
  • 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