- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Scalable icons in different modes and states
Java wrapper for Qt's class QIcon
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QIcon::Modestatic enum
Java wrapper for Qt enum QIcon::StateNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQIcon()
See QIcon::QIcon()QIcon
(QIconEngine engine) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSize
actualSize
(QSize size) Overloaded function foractualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final QSize
actualSize
(QSize size, QIcon.Mode mode) Overloaded function foractualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final QSize
actualSize
(QSize size, QIcon.Mode mode, QIcon.State state) final QSize
actualSize
(QWindow window, QSize size) Deprecated.Use actualSize(size) insteadfinal QSize
actualSize
(QWindow window, QSize size, QIcon.Mode mode) Deprecated.Use actualSize(size) insteadfinal QSize
actualSize
(QWindow window, QSize size, QIcon.Mode mode, QIcon.State state) Deprecated.Use actualSize(size) insteadfinal void
Overloaded function foraddFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final void
Overloaded function foraddFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final void
addFile
(String fileName, QSize size, QIcon.Mode mode) Overloaded function foraddFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
addFile
(String fileName, QSize size, QIcon.Mode mode, QIcon.State state) final void
Overloaded function foraddPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final void
addPixmap
(QPixmap pixmap, QIcon.Mode mode) Overloaded function foraddPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
addPixmap
(QPixmap pixmap, QIcon.Mode mode, QIcon.State state) Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
availableSizes
(QIcon.Mode mode) Overloaded function foravailableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.availableSizes
(QIcon.Mode mode, QIcon.State state) final long
cacheKey()
clone()
final void
detach()
static QStringList
static String
static QIcon
static QIcon
static boolean
hasThemeIcon
(String name) final boolean
final boolean
isMask()
final boolean
isNull()
final String
name()
final void
final void
paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment) final void
paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function forpaint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
paint
(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) final void
final void
paint
(QPainter painter, QRect rect, Qt.Alignment alignment) final void
paint
(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function forpaint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final void
paint
(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) final QPixmap
pixmap
(int extent) Overloaded function forpixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final QPixmap
pixmap
(int w, int h) Overloaded function forpixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final QPixmap
pixmap
(int w, int h, QIcon.Mode mode) Overloaded function forpixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final QPixmap
pixmap
(int w, int h, QIcon.Mode mode, QIcon.State state) final QPixmap
pixmap
(int extent, QIcon.Mode mode) Overloaded function forpixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final QPixmap
pixmap
(int extent, QIcon.Mode mode, QIcon.State state) final QPixmap
Overloaded function forpixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final QPixmap
Overloaded function forpixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
final QPixmap
pixmap
(QSize size, double devicePixelRatio, QIcon.Mode mode) Overloaded function forpixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final QPixmap
pixmap
(QSize size, double devicePixelRatio, QIcon.Mode mode, QIcon.State state) final QPixmap
pixmap
(QSize size, QIcon.Mode mode) Overloaded function forpixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
.final QPixmap
pixmap
(QSize size, QIcon.Mode mode, QIcon.State state) final QPixmap
Deprecated.Use pixmap(size, devicePixelRatio) insteadfinal QPixmap
pixmap
(QWindow window, QSize size, QIcon.Mode mode) Deprecated.Use pixmap(size, devicePixelRatio) insteadfinal QPixmap
pixmap
(QWindow window, QSize size, QIcon.Mode mode, QIcon.State state) Deprecated.Use pixmap(size, devicePixelRatio) insteadvoid
readFrom
(QDataStream arg__1) static void
setFallbackSearchPaths
(Collection<String> paths) static void
setFallbackThemeName
(String name) final void
setIsMask
(boolean isMask) static void
setThemeName
(String path) static void
setThemeSearchPaths
(Collection<String> searchpath) final void
static String
static QStringList
toString()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QIcon
public QIcon()See QIcon::QIcon()
-
QIcon
-
QIcon
-
QIcon
-
QIcon
-
QIcon
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
actualSize
@Deprecated @QtUninvokable public final QSize actualSize(QWindow window, QSize size, QIcon.Mode mode) Deprecated.Use actualSize(size) insteadOverloaded function for
actualSize(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
actualSize
Deprecated.Use actualSize(size) insteadOverloaded function for
actualSize(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
actualSize
@Deprecated @QtUninvokable public final QSize actualSize(QWindow window, QSize size, QIcon.Mode mode, QIcon.State state) Deprecated.Use actualSize(size) instead -
actualSize
Overloaded function for
actualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
actualSize
Overloaded function for
actualSize(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
actualSize
-
addFile
Overloaded function for
addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
addFile
Overloaded function for
addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
addFile
Overloaded function for
addFile(java.lang.String, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
size = new io.qt.core.QSize()
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
addFile
@QtUninvokable public final void addFile(String fileName, QSize size, QIcon.Mode mode, QIcon.State state) -
addPixmap
Overloaded function for
addPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
addPixmap
Overloaded function for
addPixmap(io.qt.gui.QPixmap, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
addPixmap
-
availableSizes
Overloaded function for
availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
availableSizes
Overloaded function for
availableSizes(io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
availableSizes
-
cacheKey
-
detach
-
isDetached
-
isMask
-
isNull
-
name
-
writeTo
-
readFrom
-
paint
@QtUninvokable public final void paint(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function for
paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
paint
Overloaded function for
paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
paint
Overloaded function for
paint(io.qt.gui.QPainter, io.qt.core.QRect, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
alignment = new io.qt.core.Qt.Alignment(132)
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
paint
@QtUninvokable public final void paint(QPainter painter, QRect rect, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) -
paint
@QtUninvokable public final void paint(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode) Overloaded function for
paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
paint
@QtUninvokable public final void paint(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment) Overloaded function for
paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
paint
Overloaded function for
paint(io.qt.gui.QPainter, int, int, int, int, io.qt.core.Qt.Alignment, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
alignment = new io.qt.core.Qt.Alignment(132)
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
paint
@QtUninvokable public final void paint(QPainter painter, int x, int y, int w, int h, Qt.Alignment alignment, QIcon.Mode mode, QIcon.State state) -
pixmap
Deprecated.Use pixmap(size, devicePixelRatio) insteadOverloaded function for
pixmap(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
pixmap
Deprecated.Use pixmap(size, devicePixelRatio) insteadOverloaded function for
pixmap(io.qt.gui.QWindow, io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
pixmap
@Deprecated @QtUninvokable public final QPixmap pixmap(QWindow window, QSize size, QIcon.Mode mode, QIcon.State state) Deprecated.Use pixmap(size, devicePixelRatio) instead -
pixmap
Overloaded function for
pixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
pixmap
Overloaded function for
pixmap(io.qt.core.QSize, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
pixmap
-
pixmap
Overloaded function for
pixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
pixmap
Overloaded function for
pixmap(io.qt.core.QSize, double, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
pixmap
@QtUninvokable public final QPixmap pixmap(QSize size, double devicePixelRatio, QIcon.Mode mode, QIcon.State state) -
pixmap
Overloaded function for
pixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
pixmap
Overloaded function for
pixmap(int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
pixmap
-
pixmap
Overloaded function for
pixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
withstate = io.qt.gui.QIcon.State.Off
. -
pixmap
Overloaded function for
pixmap(int, int, io.qt.gui.QIcon.Mode, io.qt.gui.QIcon.State)
with:
mode = io.qt.gui.QIcon.Mode.Normal
state = io.qt.gui.QIcon.State.Off
-
pixmap
-
setIsMask
-
swap
-
fallbackSearchPaths
-
fallbackThemeName
-
fromTheme
-
fromTheme
-
hasThemeIcon
-
setFallbackSearchPaths
-
setFallbackThemeName
-
setThemeName
-
setThemeSearchPaths
-
themeName
-
themeSearchPaths
-
toString
-
clone
-