[Qt-qml] "Hello World" C++ Model on QML Flow?

Ville M. Vainio vivainio at gmail.com
Sun Oct 10 08:47:31 CEST 2010


What is QML Flow? Do you mean ListView?
--
Sent from my Nokia N900

----- Original message -----
> I'm *very* impressed with QML -- this is absolutely
> the "right" way to build GUIs in this world of sophisticated
> user expectation on varied platforms.
> 
> Annoyingly, this means I've got to totally re-wire my
> brain for how to think about GUIs.   I'm willing to do it --
> I'm sold -- but this has been a really painful couple of
> weeks as I try to figure out "the QML way".
> 
> Is there a "hello world" application using a QML Flow
> that's hooked up to a C++ QAbstractItemModel?
> 
> For example, I expect it to only be a few lines of code
> to glob files in a directory (variable name length) in
> a C++ model and display them in a QML Flow, with
> item background color based on attributes (e.g., read
> only, file extension/type).   I just can't seem to get it,
> though ...   (I think I have the model but my Flow never
> displays anything).
> 
> I'm sure it's me.   I'm just having trouble getting started...
> 
> I've read all the QML documentation in the 4.7 release
> (Win Commercial), but could use more ... book?
> Snippets site?   Suggestions?
> 
> I'll get it, because I'm absolutely convinced this is
> the "right* way to go.   I just haven't gotten my "mind right"
> yet ...
> 
> --charley
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101010/5a92bdf3/attachment.html 


More information about the Qt-qml mailing list