[Qt-qml] QML Theme Support?

Andre Somers andre at familiesomers.nl
Tue Dec 21 08:02:28 CET 2010


Hi,

Op 20-12-2010 20:16, mathias.malmqvist at nokia.com schreef:
>> It seems that it is not going to be
>> CSS, unfortunately. That would have meant that you could have taken your
>> skills from other platforms like Meego MTF, Qt Widgets, HTML, etc. to
>> QML, but it seems the opinion was that that was not the way to go with QML.
> Well, it could be CSS(like), if you help us find a convenient way to implement it. ;)
I am not familiar with how exactly QML is implemented, but to to casual 
observer it seems that QML is way more suited for this kind of styling 
than the QWidgets ever were. All properties are bindable, so it could 
perhaps be implemented as an object that binds to all elements in the 
background on their construction, and sets the properties that are 
specified in the style. However, I do realize that the devil for these 
kinds of things is usually in the details, and it is probably not nearly 
as simple as it might seem at first. Still, I have great confidence in 
the engineering capabilities of the Trolls :-)

André

>
> Cheers
> Mathias
>
> ________________________________________
> From: qt-qml-bounces+mathias.malmqvist=nokia.com at qt.nokia.com [qt-qml-bounces+mathias.malmqvist=nokia.com at qt.nokia.com] On Behalf Of ext Andre Somers [andre at familiesomers.nl]
> Sent: Monday, December 20, 2010 6:20 PM
> To: qt-qml at qt.nokia.com
> Subject: Re: [Qt-qml] QML Theme Support?
>
> Op 20-12-2010 19:01, Jackson, Thomas (Tom) schreef:
>> Hi,
>>
>> I just had a quick question for the community regarding theme support in QML. I'm coming from the MeeGo MTF world where themes are specified in .css files and wondered if there is official support for theming in QML? I'm trying to understand from the experts what is the best way to go about theme support in QML.  Are there any QML examples for theming available?
> No, not yet. There is experimental work on this in QML Components, but
> the Right Approch(TM) had not been found at the time it was presented at
> the Qt Developer Days in München. It seems that it is not going to be
> CSS, unfortunately. That would have meant that you could have taken your
> skills from other platforms like Meego MTF, Qt Widgets, HTML, etc. to
> QML, but it seems the opinion was that that was not the way to go with QML.
>
> André
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml



More information about the Qt-qml mailing list