QML learning curve

Tomaz Canabrava tcanabrava at kde.org
Sun Jan 3 08:36:28 PST 2016


One thing I plan to do this year is a qml intro tutorial, this way it will
be easier to get some of the things I'm qml for newcomers
Em 3 de jan de 2016 13:22, "Willem Ferguson" <
willemferguson at zoology.up.ac.za> escreveu:

> I am starting to gear up to make a contribution to part of the QML UI of
> Subsurface-mobile. This is my first exposure to Qt and QML, and the
> learning curve is pretty steep, augmented by the fact that I cannot find a
> comprehensive reference manual. For instance when trying to find out what
> the textRole of a QML element should contain there is only cursory mentions
> of this in the documentation that I looked at and nothing that is worth
> using.
>
> Attached are three files on which I would really appreciate comment, two
> QML and one C++. Please look at the C++ file first, then look at view.qml.
> Basically I take a StringList and pass it from C++ to QML. Then I display
> the stringlist as elements of a list view and also in a ComboBox in QML.
> Lastly I attempt to send a signal from QML directed at a slot in the C++
> code and, within C++, print out the message associated with the signal from
> QML. I made extensive comments and discussion in the code. If anyone is
> prepared to comment or give advice I would appreciate it immensely.
> Kind regards,
> willem
>
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160103/e44a6af6/attachment.html>


More information about the subsurface mailing list