Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The ThemePixmapItem class contains common functionality for image based items in a ThemedView. More...
#include <ThemePixmapItem>
Inherits ThemeGraphicItem.
Inherited by ThemeAnimationItem, ThemeImageItem, and ThemeStatusItem.
The ThemePixmapItem class contains common functionality for image based items in a ThemedView.
As several items such as ThemeImageItem, ThemeLevelItem and ThemeStatusItem are based on images, a ThemePixmapItem provides the convenient setPixmap() and pixmap() functions to access and store images based on a name and state pair of values.
Normally you do not want to call this item's functions directly, but rather specify the relevant attributes and data for this item in the themed view XML.
Constructs a ThemePixmapItem. parent, view and atts are passed to the base class constructor.
Destroys the ThemePixmapItem.
Blend the color col and the alpha value alpha with the image img if blendColor is true (the default). If blendColor is false, only the alpha value alpha is blended. This function modifies img directly.
Loads the image given by filename for the given width and height. If colorRole is a valid index to QPalette, or if the color col is valid, and alpha is less than 255, the image is passed through ThemePixmapItem::colorizeImage(). Returns the loaded image.
Returns the pixmap for the given key and state state. state has a default value of ThemeItem::Default.
See also setPixmap().
This is an overloaded member function, provided for convenience.
Returns the pixmap for the given key and state state. state has a default value of ThemeItem::Default.
This function was introduced in Qtopia 4.3.1.
Sets the pixmap value for the given key and state state from filename. state has a default value of ThemeItem::Default.
See also pixmap().
This is an overloaded member function, provided for convenience.
Sets the pixmap value for the given key and state state from filename. state has a default value of ThemeItem::Default.
This function was introduced in Qtopia 4.3.1.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |