| Home · All Classes · Annotated · Functions |
Qtopia has a powerful theming engine, allowing much of the user interface to be customized and personalized.
Components of the user interface such as Title Bar, Home Screen, Call Screen, Context Bar use Themed Views to facilitate customization.
These are defined by XML files describing a hierarchical group of visual and formatting elements. Themed Views contain theme elements which define the layout and structure of components. Each of these elements is assigned attributes to customize visual appearance and placement.
Refer to:
for detailed information.
Theming code examples are available on the: Tutorials page.
The main components required to create a theme are:
|
|
| Component | Description |
|---|---|
| Title Bar | Contains elements that require defined positions including:
|
| Home/Call Screen | Displays commonly accessed information such as:
|
| Context Bar |
|
| Window Decorations | Refer to: Window Decoration Tutorial |
Widget style and icons can help to complete the effect, however since these are far more time consuming to produce it is common to use those provided by an existing theme.
Code examples are available at: Theming Tutorials.
To install a modified theme run :
cd $QPEDIR
rm $HOME/.qtopia_theme_cache*
make;make cleaninstall
To install a new theme follow these steps :
Installing a new theme also requires the following files:
| File | Location | Description |
|---|---|---|
| Theme Project File | $QPEDIR/etc/themes/ | defines the files to be installed for the theme. |
| Theme Configuration File | $QPEDIR/etc/themes/ | defines the theme. |
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |