| Home · All Classes · Grouped Classes · Annotated · Functions |
The ThemeGraphicItem class contains common functionality for graphics based items in a ThemedView. More...
#include <ThemeGraphicItem>
Inherits ThemeItem.
Inherited by ThemeLineItem, ThemePixmapItem, ThemeRectItem, ThemeTextItem, and ThemeWidgetItem.
The ThemeGraphicItem class contains common functionality for graphics based items in a ThemedView.
Many items share common graphics related functionality including ThemeRectItem, ThemeTextItem and ThemeLineItem. ThemeGraphicItem provides functionality and data storage for graphics related items.
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 ThemeGraphicItem. parent, view and atts are passed to the base class constructor.
Destroys the ThemeGraphicItem
Returns the color for the given storage key key and state state.
See also setColor().
Returns the font for the given storage key and state state.
See also setFont().
Returns a QColor object for either color or role. If role is a valid QPalette::ColorRole, the corresponding QColor object for the role is returned. Otherwise, color is returned.
Parses the color given by the color name value. value can either be a palette color name, eg. HighlightedText, or a name suitable for being passed to QColor::setNamedColor(). If value references the palette, this function returns the QPalette::ColorRole for the color and does not modify color. Otherwise, value is passed to QColor::setNamedColor(), the result is stored in color, and the function returns QPalette::NColorRoles+1.
Returns defFont modified to be the point size given by size, and to be bold if bold is "yes" or normal weight if bold is any other non-empty string.
Stores the color value based on the given storage key and state state.
See also color().
Stores the font value based on the given storage key and state state.
See also font().
Stores the alpha attribute alpha for this item based on the given storage key and state state.
Stores the given color color based on the given storage key and state state.
| Copyright © 2007 Trolltech | Trademarks | Qtopia 4.3.0 |