m (+cats) |
|||
| Line 16: | Line 16: | ||
Then we set some properties on the viewer so it will fill text fields with SqlModel fields. | Then we set some properties on the viewer so it will fill text fields with SqlModel fields. | ||
| + | |||
| + | [[Category:tutorial]] | ||
| + | [[Category:qml]] | ||
Contents |
This tutorial covers how to use a QSqlTableModel in QML.
Qt Creator (MeeGo 1.1 SDK version) installed. See these instructions.
No special system setup is required.
The first step is to create a simple class that inherits QSqlTableModel.
Then we set some properties on the viewer so it will fill text fields with SqlModel fields.