NAME
Qt::Gui::QIcon
PUBLIC METHODS
- QIcon()
- QIcon(const QPixmap & pixmap)
- QIcon(const QIcon & other)
- QIcon(const QString & fileName)
- QIcon(QIconEngine * engine)
- QIcon(QIconEngineV2 * engine)
- ~QIcon()
- QSize actualSize(const QSize & size, QIcon::Mode mode, QIcon::State state)
- QSize actualSize(const QSize & size, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- QSize actualSize(const QSize & size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void addFile(const QString & fileName, const QSize & size, QIcon::Mode mode, QIcon::State state)
- void addFile(const QString & fileName, const QSize & size, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- void addFile(const QString & fileName, const QSize & size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void addFile(const QString & fileName, const QSize & size = QSize(), QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void addPixmap(const QPixmap & pixmap, QIcon::Mode mode, QIcon::State state)
- void addPixmap(const QPixmap & pixmap, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- void addPixmap(const QPixmap & pixmap, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state)
- QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state = QIcon::Off)
- QList<QSize> availableSizes(QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- qint64 cacheKey()
- QIconPrivate * & data_ptr()
- void detach()
- static QIcon fromTheme(const QString & name, const QIcon & fallback)
- static QIcon fromTheme(const QString & name, const QIcon & fallback = QIcon())
- static bool hasThemeIcon(const QString & name)
- bool isDetached()
- bool isNull()
- QString name()
- QVariant operator QVariant()
- QIcon & operator=(const QIcon & other)
- void paint(QPainter * painter, const QRect & rect, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode, QIcon::State state)
- void paint(QPainter * painter, const QRect & rect, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- void paint(QPainter * painter, const QRect & rect, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void paint(QPainter * painter, const QRect & rect, QFlags<Qt::AlignmentFlag> alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void paint(QPainter * painter, int x, int y, int w, int h, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode, QIcon::State state)
- void paint(QPainter * painter, int x, int y, int w, int h, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- void paint(QPainter * painter, int x, int y, int w, int h, QFlags<Qt::AlignmentFlag> alignment, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- void paint(QPainter * painter, int x, int y, int w, int h, QFlags<Qt::AlignmentFlag> alignment = Qt::AlignCenter, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- QPixmap pixmap(const QSize & size, QIcon::Mode mode, QIcon::State state)
- QPixmap pixmap(const QSize & size, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- QPixmap pixmap(const QSize & size, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- QPixmap pixmap(int extent, QIcon::Mode mode, QIcon::State state)
- QPixmap pixmap(int extent, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- QPixmap pixmap(int extent, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- QPixmap pixmap(int w, int h, QIcon::Mode mode, QIcon::State state)
- QPixmap pixmap(int w, int h, QIcon::Mode mode, QIcon::State state = QIcon::Off)
- QPixmap pixmap(int w, int h, QIcon::Mode mode = QIcon::Normal, QIcon::State state = QIcon::Off)
- int serialNumber()
- static void setThemeName(const QString & path)
- static void setThemeSearchPaths(const QStringList & searchpath)
- static QString themeName()
- static QStringList themeSearchPaths()
ENUM VALUES
- Normal
- Disabled
- Active
- Selected
- On
- Off
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.