▲
-
Header: ScaledPixmapArgument
-
Since: Qt 5.9
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
-
qmake: QT += gui
Detailed Description▲
This struct represents arguments to the https://() function when the id parameter is https://.
The struct provides a way for icons created via https://() to return pixmaps that are designed for the current device pixel ratio. The scale for such an icon is specified using the https:// in the appropriate index.theme file.
Icons created via other approaches will return the same result as a call to https://() would, and continue to benefit from Qt's https://.
See Also▲
See also https://(), https://, https://
Member Variable Documentation▲
QIcon::Mode ScaledPixmapArgument::mode▲
QPixmap ScaledPixmapArgument::pixmap▲
This variable holds the pixmap that is the best match for the given https://, https://, https://, and https://. This is an output parameter that is set after calling https://().
qreal ScaledPixmapArgument::scale▲
This variable holds the requested scale of the pixmap.
QSize ScaledPixmapArgument::size▲
This variable holds the requested size of the pixmap.


