[Qt-qml] Changing Themes using QML
sarvesh saran
aquarian.thunder at gmail.com
Mon Jun 20 08:42:44 CEST 2011
On Mon, Jun 20, 2011 at 12:01 PM, Savio Sebastian <
savio_joysebastian at yahoo.com> wrote:
> Hi all,
> Is there a way by which we can implement the theming in qml.
> So that we can change the themes on the fly
>
> Hi Savio,
You may look at the RSS reader example code to get an idea on how to change
a QML application's theme on the fly:
http://www.developer.nokia.com/Develop/Qt/QML_templates/?sf1269404=1
The idea is to create a QML file containing your theme, for example
"DarkTheme.qml" and use a loader to load and apply the theme during run
time.
thanks,
Sarvesh Saran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110620/0c59fc70/attachment.html
More information about the Qt-qml
mailing list