- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QIcon extends QtObject implements Cloneable
Scalable icons in different modes and states
Java wrapper for Qt class QIcon
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QIcon.Mode
Java wrapper for Qt enum QIcon::Modestatic class
QIcon.State
Java wrapper for Qt enum QIcon::State -
Constructor Summary
Constructors Modifier Constructor Description QIcon()
See QIcon::QIcon()QIcon(QIcon other)
QIcon(QIconEngine engine)
QIcon(QPixmap pixmap)
protected
QIcon(QtObject.QPrivateConstructor p)
Constructor for internal use only.QIcon(String fileName)
-
Method Summary
-
Constructor Details
-
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 @QtUninvokable public final QPixmap pixmap(QWindow window, QSize size, QIcon.Mode mode)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
-