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" < [email protected]> 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 > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface > >
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
