- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QIconEngine
Java wrapper for Qt class QIconEngine::AvailableSizesArgument
- Since:
- This class was introduced in Qt 4.5.
-
Constructor Summary
ConstructorDescriptionSeeQIconEngine::AvailableSizesArgument::
AvailableSizesArgument() AvailableSizesArgument
(QIcon.Mode mode, QIcon.State state, Collection<? extends QSize> sizes) SeeQIconEngine::AvailableSizesArgument::
AvailableSizesArgument{QIcon::Mode, QIcon::State, QList<QSize>} SeeQIconEngine::AvailableSizesArgument::
AvailableSizesArgument(QIconEngine::AvailableSizesArgument) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
Seeoperator==(QIconEngine::AvailableSizesArgument,
QIconEngine::AvailableSizesArgument) boolean
Seeoperator==(QIconEngine::AvailableSizesArgument,
QIconEngine::AvailableSizesArgument) int
hashCode()
Returns the objects's hash code computed byqHash(QIconEngine::AvailableSizesArgument)
.final QIcon.Mode
mode()
The requested mode of an imagefinal void
setMode
(QIcon.Mode mode) The requested mode of an imagefinal void
setSizes
(Collection<? extends QSize> sizes) Image sizes that are available with specified mode and state.final void
setState
(QIcon.State state) The requested state of an imagesizes()
Image sizes that are available with specified mode and state.final QIcon.State
state()
The requested state of an imageMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
AvailableSizesArgument
public AvailableSizesArgument()See
QIconEngine::AvailableSizesArgument::
AvailableSizesArgument() -
AvailableSizesArgument
See
QIconEngine::AvailableSizesArgument::
AvailableSizesArgument(QIconEngine::AvailableSizesArgument) - Parameters:
other
-
-
AvailableSizesArgument
public AvailableSizesArgument(QIcon.Mode mode, QIcon.State state, Collection<? extends QSize> sizes) See
QIconEngine::AvailableSizesArgument::
AvailableSizesArgument{QIcon::Mode, QIcon::State, QList<QSize>} - Parameters:
mode
-state
-sizes
-
-
-
Method Details
-
equals
See
operator==(QIconEngine::AvailableSizesArgument,
QIconEngine::AvailableSizesArgument) - Parameters:
v2
-- Returns:
-
setMode
The requested mode of an image
- Parameters:
mode
-
-
mode
The requested mode of an image
- Returns:
-
setSizes
Image sizes that are available with specified mode and state. This is an output parameter and is filled after call to virtual_hook(). Engines that work in terms of a scalable, vectorial format normally return an empty list
- Parameters:
sizes
-
-
sizes
Image sizes that are available with specified mode and state. This is an output parameter and is filled after call to virtual_hook(). Engines that work in terms of a scalable, vectorial format normally return an empty list
- Returns:
-
setState
The requested state of an image
- Parameters:
state
-
-
state
The requested state of an image
- Returns:
-
equals
See
operator==(QIconEngine::AvailableSizesArgument,
QIconEngine::AvailableSizesArgument) -
hashCode
Returns the objects's hash code computed byqHash(QIconEngine::AvailableSizesArgument)
. -
clone
Creates and returns a copy of this object.
See
QIconEngine::AvailableSizesArgument::
AvailableSizesArgument(QIconEngine::AvailableSizesArgument)
-