QIconEngineV2.AvailableSizesArgument Class Reference

[ QtGui module]

该类在 Qt 4.5 引入。

方法

Members


详细描述

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


方法文档编制

AvailableSizesArgument.__init__ ( self )

AvailableSizesArgument.__init__ ( self , AvailableSizesArgument )


Member Documentation

QIcon.Mode mode

This variable holds the requested mode of an image.

另请参阅 QIcon.Mode .

list-of-QSize sizes

This variable holds 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 state

This variable holds the requested state of an image.

另请参阅 QIcon.State .