This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Widget Style] Qt Quick Controls Style

Tags: None
(comma "," separated)
User avatar
alake
Registered Member
Posts
591
Karma
3
OS
So about a week ago I got curious about how QML Qt Quick Controls are styled and what a revelation for me! So much easier!

So I took a stab at putting one together based on our work here so far:


and with the current still-in-work QML windec:


Everything's in a scratch repo here:
http://quickgit.kde.org/?p=scratch%2Fal ... eStyle.git

Grab a snapshot, unzip it and run "qmlscene Breeze.qml" to interact live with the demo app in the screenshots. You do need at least Qt 5.2 installed for it to work (you can get it directly from the qt-project.org website if you don't already have it). The styling definition is actually in BreezeStyle.qml. Breeze.qml is just the demo app.

There are quirks to work out but this is just from a few days of work in the evenings. The editable combobox doesn't seem to pick up the style properly, no styling is available for a couple controls not shown (groupbox, menus, etc.) Menu styling will come when Qt 5.3 gets released end of the month. In any event, I cannot imagine putting together a QWidget C++ style this quickly and easily! I'm glad QML is the future of KDE application development because styles will be much easier to put together, distribute and maintain.

I'm sorta tempted to take this to the public area and invite folks to help work on it. The discipline has been pretty good there so I'm kinda optimistic that it'll go well. And we might get some good ideas as well.

Hope this helps!
User avatar
jensreuterberg
Registered Member
Posts
598
Karma
3
OS
Do it! Post it in the public and keep an eye on it - this is (I know I say this too much but wth am I to do?) brilliant.

Also I am trying to wrap my head around QML so soon I will have questions. :)

I'll post about it in the blogg today and mention that a thread is opening up about it headed by you.


KDE Visual Design Group - "Sexy by default - Powerful through cooperation"


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot]