(→Available tutorials) |
|||
| (23 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | This is a place for QML tutorials | + | This is a place for QML tutorials I ([[User:Elliot]]) am writing as I learn QML. |
| + | |||
| + | == Why? == | ||
Why am I writing this? After all, there is already plenty of documentation for QML/Qt Quick: for example, http://doc.qt.nokia.com/4.7/qtquick.html. | Why am I writing this? After all, there is already plenty of documentation for QML/Qt Quick: for example, http://doc.qt.nokia.com/4.7/qtquick.html. | ||
| - | My | + | My reasons: |
| - | + | * There is not much QML documentation specific to MeeGo. | |
| + | * The QML on MeeGo "developer story" is not that clear to me yet. | ||
| + | * As I'm learning, I write things down anyway. So I may as well publish it, as other people might find it useful too. | ||
| - | + | There will doubtless be overlap with other tutorials/blogs/official docs, but having all this stuff in one place, tailored for MeeGo, might be useful to others. | |
| - | + | Having said all that, the existing QML docs are the best place to start learning QML if you've never used it before. | |
| - | + | ||
| - | + | ||
| - | + | == Available tutorials == | |
| + | |||
| + | * [[QML/Creating a transparent window]]: how to run a QML application in a semi-transparent window. | ||
| + | * [[QML/Keyboard navigation]]: how to create a QML application which is navigable by keyboard alone. | ||
| + | * [[QML/Internationalisation]]: how to internationalise a QML application. | ||
| + | * [[QML/Full-screen applications]]: how to configure a QML application to fill the screen, run maximized, or run "truly" full-screen. | ||
| + | * [[QML/QSqlTableModel ]]: how to use QSqlTableModel in QML (under construction). | ||
| + | * [[QML/QGraphicsGeoMap]]: how to use a QGraphicsGeoMap in QML. | ||
| + | * [[QML/Get GPS data]]: How to get GPS data into your QML application | ||
| + | * [[QML/FileSelector]]: A file selector dialog following the Qt components styling | ||
| + | |||
| + | == Tips == | ||
| + | |||
| + | * You can open your qml -file with Qt Creators Design -editor. It is really useful for sorting out possible errors in the code. | ||
| + | ** A lot faster than compiling the code and running in the simulator/N950 just to get a blank black screen. | ||
| + | ** Gives you straight link into the problematic code line | ||
== Other documentation == | == Other documentation == | ||
| - | You're probably going to want to look at the QML elements documentation while you go through these | + | You're probably going to want to look at the QML elements documentation while you go through these tutorials. You can find it at http://doc.qt.nokia.com/4.7/qdeclarativeelements.html. |
http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials. | http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials. | ||
| + | |||
| + | [[Category:tutorial]] | ||
| + | [[Category:qml]] | ||
This is a place for QML tutorials I (User:Elliot) am writing as I learn QML.
Contents |
Why am I writing this? After all, there is already plenty of documentation for QML/Qt Quick: for example, http://doc.qt.nokia.com/4.7/qtquick.html.
My reasons:
There will doubtless be overlap with other tutorials/blogs/official docs, but having all this stuff in one place, tailored for MeeGo, might be useful to others.
Having said all that, the existing QML docs are the best place to start learning QML if you've never used it before.
You're probably going to want to look at the QML elements documentation while you go through these tutorials. You can find it at http://doc.qt.nokia.com/4.7/qdeclarativeelements.html.
http://doc.qt.nokia.com/4.7/ might come in useful, too, if you want to learn more about Qt and go through the official tutorials.