diff options
author | David Boddie <david.boddie@nokia.com> | 2011-03-10 17:15:24 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-03-10 17:15:24 (GMT) |
commit | 17e19884dd3da255af0467d095076769fc7f480b (patch) | |
tree | e5ab38d700a02b6e25b521e24f08168b61021936 /doc/src/tutorials | |
parent | 105329d83c609a4a13a21a2381e114d0418ce88e (diff) | |
parent | 5c36cc0ba648d5efa7592e86d49b23086cdbb8ff (diff) | |
download | Qt-17e19884dd3da255af0467d095076769fc7f480b.zip Qt-17e19884dd3da255af0467d095076769fc7f480b.tar.gz Qt-17e19884dd3da255af0467d095076769fc7f480b.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'doc/src/tutorials')
-rw-r--r-- | doc/src/tutorials/addressbook.qdoc | 2 | ||||
-rw-r--r-- | doc/src/tutorials/modelview.qdoc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/tutorials/addressbook.qdoc b/doc/src/tutorials/addressbook.qdoc index cbc918f..ec4a4f3 100644 --- a/doc/src/tutorials/addressbook.qdoc +++ b/doc/src/tutorials/addressbook.qdoc @@ -831,7 +831,7 @@ \snippet tutorials/addressbook/part6/addressbook.cpp tooltip 2 Although it is not shown here, just like the other features we implemented, - we add the push buttons to the layout panel on the right, \c button1Layout, + we add the push buttons to the layout panel on the right, \c buttonLayout1, and we connect the push buttons' \l{QPushButton::clicked()}{clicked()} signals to their respective slots. diff --git a/doc/src/tutorials/modelview.qdoc b/doc/src/tutorials/modelview.qdoc index 88cda72..cae7764 100644 --- a/doc/src/tutorials/modelview.qdoc +++ b/doc/src/tutorials/modelview.qdoc @@ -104,7 +104,7 @@ array of the data elements that the user can change. The table widget can be integrated into a program flow by reading and writing the data elements that the table widget provides. - + This method is very intuitive and useful in many applications, but displaying and editing a database table with a standard table widget can be problematic. Two copies of the data have to be coordinated: one outside the @@ -156,7 +156,7 @@ \o \o \l QColumnView shows a tree as a hierarchy of lists \row - \o \inlineimage combobox.png + \o \inlineimage modelview-combobox.png \o {2, 1} \l QComboBox can work as both a view class and also as a traditional widget \endtable @@ -348,7 +348,7 @@ \section2 2.4 Setting up Headers for Columns and Rows Headers can be hidden via a view method: \c{tableView->verticalHeader()->hide();} - \image header.png + \image modelview-header.png The header content, however, is set via the model, so we reimplement the \l{QAbstractItemModel::headerData()}{headerData()} method: |