QIcon

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
@QMetaType.Type.QIcon
struct QIcon {}

Constructors

this
this(const(QPixmap) pixmap)
Undocumented in source.
this
this(const(QIcon) other)
Undocumented in source.
this
this(const(QString) fileName)
Undocumented in source.
this
this(QIconEngine* engine)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

DataPtr
alias DataPtr = QIconPrivate*
Undocumented in source.

Enums

Mode
enum Mode
Undocumented in source.
State
enum State
Undocumented in source.

Functions

actualSize
QSize actualSize(const(QSize) size, Mode mode, State state)
Undocumented in source.
actualSize
QSize actualSize(QWindow* window, const(QSize) size, Mode mode, State state)
Undocumented in source.
addFile
void addFile(const(QString) fileName, const(QSize) size, Mode mode, State state)
Undocumented in source.
addPixmap
void addPixmap(const(QPixmap) pixmap, Mode mode, State state)
Undocumented in source.
availableSizes
QList!(QSize) availableSizes(Mode mode, State state)
Undocumented in source.
cacheKey
qint64 cacheKey()
Undocumented in source.
data_ptr
DataPtr data_ptr()
Undocumented in source. Be warned that the author may not have intended to support it.
detach
void detach()
Undocumented in source.
isDetached
bool isDetached()
Undocumented in source.
isMask
bool isMask()
Undocumented in source.
isNull
bool isNull()
Undocumented in source.
name
QString name()
Undocumented in source.
paint
void paint(QPainter* painter, const(QRect) rect, qt.core.namespace.Alignment alignment, Mode mode, State state)
Undocumented in source.
paint
void paint(QPainter* painter, int x, int y, int w, int h, qt.core.namespace.Alignment alignment, Mode mode, State state)
Undocumented in source. Be warned that the author may not have intended to support it.
pixmap
QPixmap pixmap(const(QSize) size, Mode mode, State state)
Undocumented in source.
pixmap
QPixmap pixmap(int w, int h, Mode mode, State state)
Undocumented in source. Be warned that the author may not have intended to support it.
pixmap
QPixmap pixmap(int extent, Mode mode, State state)
Undocumented in source. Be warned that the author may not have intended to support it.
pixmap
QPixmap pixmap(QWindow* window, const(QSize) size, Mode mode, State state)
Undocumented in source.
setIsMask
void setIsMask(bool isMask)
Undocumented in source.

Static functions

fallbackSearchPaths
QStringList fallbackSearchPaths()
Undocumented in source.
fallbackThemeName
QString fallbackThemeName()
Undocumented in source.
fromTheme
QIcon fromTheme(const(QString) name)
Undocumented in source.
fromTheme
QIcon fromTheme(const(QString) name, const(QIcon) fallback)
Undocumented in source.
hasThemeIcon
bool hasThemeIcon(const(QString) name)
Undocumented in source.
setFallbackSearchPaths
void setFallbackSearchPaths(const(QStringList) paths)
Undocumented in source.
setFallbackThemeName
void setFallbackThemeName(const(QString) name)
Undocumented in source.
setThemeName
void setThemeName(const(QString) path)
Undocumented in source.
setThemeSearchPaths
void setThemeSearchPaths(const(QStringList) searchpath)
Undocumented in source.
themeName
QString themeName()
Undocumented in source.
themeSearchPaths
QStringList themeSearchPaths()
Undocumented in source.

Meta