AvailableSizesArgument Class

( QIconEngine::AvailableSizesArgument )
頭: #include <AvailableSizesArgument>
qmake: QT += gui
Since: Qt 4.5

公共變量

QIcon::Mode mode
QList<QSize> sizes
QIcon::State state

詳細描述

This struct represents arguments to virtual_hook () function when id parameter is QIconEngine::AvailableSizesHook .

另請參閱 virtual_hook () 和 QIconEngine::IconEngineHook .

成員變量文檔編製

QIcon::Mode AvailableSizesArgument:: mode

This variable holds the requested mode of an image.

另請參閱 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.

另請參閱 QIcon::State .