- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QIconEngine
Java wrapper for Qt class QIconEngine::ScaledPixmapArgument
- Since:
- This class was introduced in Qt 5.9.
-
Constructor Summary
ConstructorDescriptionSeeQIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument() ScaledPixmapArgument
(QSize size, QIcon.Mode mode, QIcon.State state, double scale, QPixmap pixmap) SeeQIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument{QSize, QIcon::Mode, QIcon::State, qreal, QPixmap} SeeQIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument(QIconEngine::ScaledPixmapArgument) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QIconEngine::ScaledPixmapArgument,
QIconEngine::ScaledPixmapArgument) boolean
Seeoperator==(QIconEngine::ScaledPixmapArgument,
QIconEngine::ScaledPixmapArgument) int
hashCode()
Returns the objects's hash code computed byqHash(QIconEngine::ScaledPixmapArgument)
.final QIcon.Mode
mode()
Requested mode of the pixmapfinal QPixmap
pixmap()
That is the best match for the given size, mode, state, and scale.final double
scale()
Requested scale of the pixmapfinal void
setMode
(QIcon.Mode mode) Requested mode of the pixmapfinal void
That is the best match for the given size, mode, state, and scale.final void
setScale
(double scale) Requested scale of the pixmapfinal void
Requested size of the pixmapfinal void
setState
(QIcon.State state) Requested state of the pixmapfinal QSize
size()
Requested size of the pixmapfinal QIcon.State
state()
Requested state of the pixmapMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
ScaledPixmapArgument
public ScaledPixmapArgument()See
QIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument() -
ScaledPixmapArgument
See
QIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument(QIconEngine::ScaledPixmapArgument) - Parameters:
other
-
-
ScaledPixmapArgument
public ScaledPixmapArgument(QSize size, QIcon.Mode mode, QIcon.State state, double scale, QPixmap pixmap) See
QIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument{QSize, QIcon::Mode, QIcon::State, qreal, QPixmap} - Parameters:
size
-mode
-state
-scale
-pixmap
-
-
-
Method Details
-
equals
See
operator==(QIconEngine::ScaledPixmapArgument,
QIconEngine::ScaledPixmapArgument) - Parameters:
v2
-- Returns:
-
setMode
Requested mode of the pixmap
- Parameters:
mode
-
-
mode
Requested mode of the pixmap
- Returns:
-
setPixmap
That is the best match for the given size, mode, state, and scale. This is an output parameter that is set after calling virtual_hook()
- Parameters:
pixmap
-
-
pixmap
That is the best match for the given size, mode, state, and scale. This is an output parameter that is set after calling virtual_hook()
- Returns:
-
setScale
Requested scale of the pixmap
- Parameters:
scale
-
-
scale
Requested scale of the pixmap
- Returns:
-
setSize
Requested size of the pixmap
- Parameters:
size
-
-
size
Requested size of the pixmap
- Returns:
-
setState
Requested state of the pixmap
- Parameters:
state
-
-
state
Requested state of the pixmap
- Returns:
-
equals
See
operator==(QIconEngine::ScaledPixmapArgument,
QIconEngine::ScaledPixmapArgument) -
hashCode
Returns the objects's hash code computed byqHash(QIconEngine::ScaledPixmapArgument)
. -
clone
Creates and returns a copy of this object.
See
QIconEngine::ScaledPixmapArgument::
ScaledPixmapArgument(QIconEngine::ScaledPixmapArgument)
-