Home · All Classes · Modules

QIcon Class Reference
[QtGui module]

Types

Methods

Static Methods


Detailed Description


Type Documentation

QIcon.Mode

QIcon.State


Method Documentation

QIcon.__init__ (self)

QIcon.__init__ (self, QPixmap)

QIcon.__init__ (self, QIcon)

QIcon.__init__ (self, QString)

QIcon.__init__ (self, QIconEngine)

The QIconEngine argument has it's ownership transferred to Qt.

QIcon.__init__ (self, QIconEngineV2)

The QIconEngineV2 argument has it's ownership transferred to Qt.

QIcon.__init__ (self, QVariant variant)

QSize QIcon.actualSize (self, QSize, Mode mode = QIcon.Normal, State state = QIcon.Off)

QIcon.addFile (self, QString, QSize size = QSize(), Mode mode = QIcon.Normal, State state = QIcon.Off)

QIcon.addPixmap (self, QPixmap, Mode mode = QIcon.Normal, State state = QIcon.Off)

list-of-QSize QIcon.availableSizes (self, Mode mode = QIcon.Normal, State state = QIcon.Off)

int QIcon.cacheKey (self)

QIcon QIcon.fromTheme (QString, QIcon fallback = QIcon())

bool QIcon.hasThemeIcon (QString)

bool QIcon.isDetached (self)

bool QIcon.isNull (self)

QString QIcon.name (self)

QIcon.paint (self, QPainter, QRect, Qt.Alignment alignment = Qt.AlignCenter, Mode mode = QIcon.Normal, State state = QIcon.Off)

QIcon.paint (self, QPainter, int, int, int, int, Qt.Alignment alignment = Qt.AlignCenter, Mode mode = QIcon.Normal, State state = QIcon.Off)

QPixmap QIcon.pixmap (self, QSize, Mode mode = QIcon.Normal, State state = QIcon.Off)

QPixmap QIcon.pixmap (self, int, int, Mode mode = QIcon.Normal, State state = QIcon.Off)

QPixmap QIcon.pixmap (self, int, Mode mode = QIcon.Normal, State state = QIcon.Off)

int QIcon.serialNumber (self)

QIcon.setThemeName (QString)

QIcon.setThemeSearchPaths (QStringList)

QString QIcon.themeName ()

QStringList QIcon.themeSearchPaths ()


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0