QIcon Class Reference
Constructor
- void QIcon()
- void QIcon(QIcon other)
- void QIcon(QPixmap pixmap)
- void QIcon(String fileName)
Constructor Properties
- prototype: The QIcon prototype object
- QIcon fromTheme(String name, QIcon fallback)
- bool hasThemeIcon(String name)
- void setThemeName(String path)
- void setThemeSearchPaths(List searchpath)
- String themeName()
- List themeSearchPaths()
- On
- Off
- State( value )
- Normal
- Disabled
- Active
- Selected
- Mode( value )
Prototype Object Properties
- QSize actualSize(QSize size, Mode mode, State state)
- void addFile(String fileName, QSize size, Mode mode, State state)
- void addPixmap(QPixmap pixmap, Mode mode, State state)
- List availableSizes(Mode mode, State state)
- qint64 cacheKey()
- bool isNull()
- String name()
- void paint(QPainter painter, QRect rect, Alignment alignment, Mode mode, State state)
- QPixmap pixmap(QSize size, Mode mode, State state)
- void swap(QIcon other)
Instance Properties
QIcon objects have no special properties beyond those inherited from the QIcon prototype object.