java.lang.Object
io.qt.QtObject
io.qt.gui.QIconEngine
- All Implemented Interfaces:
QtObjectInterface
Abstract base class for QIcon renderers
Java wrapper for Qt class QIconEngine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQIconEngine::IconEngineHook
static class
Java wrapper for Qt classQIconEngine::ScaledPixmapArgument
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactualSize
(QSize size, QIcon.Mode mode, QIcon.State state) void
addFile
(String fileName, QSize size, QIcon.Mode mode, QIcon.State state) 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) abstract QIconEngine
clone()
iconName()
boolean
isNull()
key()
abstract void
paint
(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) pixmap
(QSize size, QIcon.Mode mode, QIcon.State state) boolean
read
(QDataStream in) scaledPixmap
(QSize size, QIcon.Mode mode, QIcon.State state, double scale) void
virtual_hook
(QIconEngine.IconEngineHook id, Object data) boolean
write
(QDataStream out) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QIconEngine
public QIconEngine() -
QIconEngine
- Parameters:
other
-
-
-
Method Details
-
actualSize
- Parameters:
size
-mode
-state
-- Returns:
-
addFile
- Parameters:
fileName
-size
-mode
-state
-
-
addPixmap
- Parameters:
pixmap
-mode
-state
-
-
availableSizes
- Parameters:
mode
-state
-- Returns:
-
clone
-
iconName
- Returns:
-
isNull
- Returns:
-
key
- Returns:
-
paint
@QtUninvokable public abstract void paint(QPainter painter, QRect rect, QIcon.Mode mode, QIcon.State state) - Parameters:
painter
-rect
-mode
-state
-
-
pixmap
- Parameters:
size
-mode
-state
-- Returns:
-
read
- Parameters:
in
-- Returns:
-
scaledPixmap
@QtUninvokable public QPixmap scaledPixmap(QSize size, QIcon.Mode mode, QIcon.State state, double scale) - Parameters:
size
-mode
-state
-scale
-- Returns:
-
virtual_hook
- Parameters:
id
-data
-
-
write
- Parameters:
out
-- Returns:
-
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
-