AvailableSizesArgument Class
(QIconEngine::AvailableSizesArgument)Header: | #include <AvailableSizesArgument> |
qmake: | QT += gui |
Since: | Qt 4.5 |
Public Variables
Detailed Description
This struct represents arguments to virtual_hook() function when id parameter is QIconEngine::AvailableSizesHook.
See also virtual_hook() and QIconEngine::IconEngineHook.
Member Variable Documentation
QIcon::Mode AvailableSizesArgument::mode
This variable holds the requested mode of an image.
See also QIcon::Mode.
QList<QSize> AvailableSizesArgument::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.
QIcon::State AvailableSizesArgument::state
This variable holds the requested state of an image.
See also QIcon::State.
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.