Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QThemedView widget displays themed views in Qtopia. More...
#include <QThemedView>
Inherits QGraphicsView.
This class was introduced in Qtopia 4.4.
The QThemedView widget displays themed views in Qtopia.
A Qt Extended theme is made of multiple themed views, each described by an XML document called the themed view XML.
See also QThemeItem.
Constructs a QThemedView object passing the parent widget and window flags to the QGraphicsView constructor.
Destroys the QThemedView.
Returns the fileName of the view (for example title.xml).
Finds the item in the theme item tree that has the name name.
Returns a pointer to the item if found, otherwise returns 0.
Use qgraphicsitem_cast() to cast the item to the desired type.
Example:
QThemeWidgetItem *dialerLineEdit = qgraphicsitem_cast<QThemeWidgetItem*>(findItem("dialernumber")); if (dialerLineEdit) { dialerLineEdit->setWidget(new QLineEdit); }
Emitted whenever the interactive item item is cliked.
Emitted whenever the interactive item item is pressed.
Emitted whenever the interactive item item is released.
Loads the view fileName. Returns true if it succeeds, false otherwise.
Sets the prefix of the theme to prefix. The theme prefix should be set before loading the view.
Example:
themedView->setThemePrefix("mytheme"); themedView->load("/etc/themes/mytheme/title.xml");
The theme prefix is used by the view to find the images. For example if the theme prefix is set to mytheme, the view will look for images in $QTOPIA_PATH/pics/themes/mytheme/.
See also themePrefix() and load().
Returns the name of the theme.
See also setThemePrefix().
Returns a list of all widgets on the view.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |