[Qt-qml] Home for shared QML snippets?
Charley Bay
charleyb123 at gmail.com
Sat Oct 9 22:13:30 CEST 2010
I remember reading months ago some discussion about
one-or-more web locations for hosting shared QML snippets.
Since I wasn't using QML then, I didn't pay attention as to the
conclusion (and now can't find the reference).
Is anyone hosting shared QML snippets?
An aside: I realize not a lot of people are using QML yet
(this list is pretty quiet, and not much QML discussion on
qt-interest). However, after hard study for a week or
two, I'm AMAZED at how GOOD QML happens to be.
IMHO, this is where all GUI development will go (and I've
been doing GUIs on pretty much every platform since
X/Xlib/Motif). The "why" is a BIG topic, probably full of
religious vigor, but I've also concluded there will now be
a *huge* growth in conventions-and-best-practices to
establish more "polished-and-complete" widgets with
strong/robust defaults (because platform/application-specific
customization is so *SIMPLE*).
For example, I started with the QML TabWidget example,
and then spent a long day trying to "extend" it to support tabs
on north/south/east/west. For a QML newbie like me, golly,
that's a lot of work. However, QML promises such a *great*
way to "just use it" or "exactly customize it" as needed (much
better than a recent project where we used Qt/QWidget on
embedded touch panel with Stylesheet interface). I'm not
done with the QML TabWidget, though -- It would be nice to
just pull somebody else's solution.
IMHO, QML/Javascript (or even QML/C++) source snippets
would be really useful on their own site because they really
are a bit unique from other web-shared-snippets (for example,
you shouldn't use globals in your Javascript-for-QML, you
should store such state as properties in your QML Components).
I *really* like that the Trolls attempted to inject some "best
practices" discussion into the docs. I believe I would benefit
from more of that discussion, and a QML/snippets site would
(greatly) help.
Anybody sharing QML snippets?
More information about the Qt-qml
mailing list