Qt 4.8
Public Variables | List of all members
QIconEngineV2::AvailableSizesArgument Class Reference

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

#include <qiconengine.h>

Public Variables

QIcon::Mode mode
 the requested mode of an image. More...
 
QList< QSizesizes
 image sizes that are available with specified mode and More...
 
QIcon::State state
 the requested state of an image. More...
 

Detailed Description

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

Since
4.5
See also
virtual_hook(), QIconEngineV2::IconEngineHook

Definition at line 85 of file qiconengine.h.

Properties

◆ mode

QIconEngineV2::AvailableSizesArgument::mode

the requested mode of an image.

See also
QIcon::Mode

Definition at line 87 of file qiconengine.h.

Referenced by QIconEngineV2::availableSizes(), and QPixmapIconEngine::virtual_hook().

◆ sizes

QIconEngineV2::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.

Definition at line 89 of file qiconengine.h.

Referenced by QIconEngineV2::availableSizes(), QIconEngineV2::virtual_hook(), QPixmapIconEngine::virtual_hook(), and QIconLoaderEngine::virtual_hook().

◆ state

QIconEngineV2::AvailableSizesArgument::state

the requested state of an image.

See also
QIcon::State

Definition at line 88 of file qiconengine.h.

Referenced by QIconEngineV2::availableSizes(), and QPixmapIconEngine::virtual_hook().


The documentation for this class was generated from the following files: