Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The ThemeTemplateItem class represents a theme template in a ThemedView. More...
#include <ThemeTemplateItem>
Inherits ThemeItem.
Inherited by ThemeTemplateInstanceItem.
The ThemeTemplateItem class represents a theme template in a ThemedView.
The ThemeTemplateItem class implements the template element from the theme XML.
A theme template item records the type, structure and attributes of its child theme items. Using this information, it can then create instances of these theme items dynamically through createInstance(). Theme templates are used to describe theme visuals, without creating any specific instance of that visual. Therefore, instances of the visual descriptions can be created as necessary, and drawn to custom locations. ThemeListModel makes use of templates to theme items in a QListView.
See also ThemeListModel and template element.
Constructs a ThemeTemplateItem. parent, view and atts are passed to the base class constructor.
Destroys the ThemeTemplateItem.
Creates a new ThemeTemplateInstanceItem from this ThemeTemplateItem with the given uid. The template instance item is parented to the parent of this template item.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |