doc: clean up model view overview links
Change-Id: I4aaf0cb254ffa4c7369e51b35af0226c98ec293c Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
This commit is contained in:
parent
547a1bea49
commit
d3dfe55fd4
@ -1172,7 +1172,7 @@
|
|||||||
by the user.
|
by the user.
|
||||||
|
|
||||||
For an example of a more complex model, see the
|
For an example of a more complex model, see the
|
||||||
\l{itemviews/simpletreemodel}{Simple Tree Model} example.
|
\l{widgets/itemviews/simpletreemodel}{Simple Tree Model} example.
|
||||||
|
|
||||||
The requirements of QAbstractItemModel subclasses is described in more
|
The requirements of QAbstractItemModel subclasses is described in more
|
||||||
detail in the \l{Model Subclassing Reference} document.
|
detail in the \l{Model Subclassing Reference} document.
|
||||||
@ -1189,7 +1189,7 @@
|
|||||||
However, if the underlying data structure can only be represented
|
However, if the underlying data structure can only be represented
|
||||||
by a hierarchical tree structure, it is necessary to subclass
|
by a hierarchical tree structure, it is necessary to subclass
|
||||||
QAbstractItemModel. This approach is taken in the
|
QAbstractItemModel. This approach is taken in the
|
||||||
\l{itemviews/simpletreemodel}{Simple Tree Model} example.
|
\l{widgets/itemviews/simpletreemodel}{Simple Tree Model} example.
|
||||||
|
|
||||||
In this section, we implement a simple model based on a list of
|
In this section, we implement a simple model based on a list of
|
||||||
strings, so the QAbstractListModel provides an ideal base class on
|
strings, so the QAbstractListModel provides an ideal base class on
|
||||||
@ -1416,13 +1416,11 @@
|
|||||||
|
|
||||||
\section1 Item view convenience classes
|
\section1 Item view convenience classes
|
||||||
|
|
||||||
Qt 4 also introduced some standard widgets to provide classic
|
Qt 4 introduced some standard widgets to provide classic
|
||||||
item-based container widgets. These behave in a similar way to the
|
item-based container widgets. These behave in a similar way to the
|
||||||
item view classes in Qt 3, but have been rewritten to use the
|
item view classes in Qt 3, but have been rewritten to use the
|
||||||
underlying model/view framework for performance and
|
underlying model/view framework for performance and
|
||||||
maintainability. The old item view classes are still available in
|
maintainability.
|
||||||
the compatibility library (see the \l{porting4.html}{Porting
|
|
||||||
Guide} for more information).
|
|
||||||
|
|
||||||
The item-based widgets have been given names which reflect their uses:
|
The item-based widgets have been given names which reflect their uses:
|
||||||
\c QListWidget provides a list of items, \c QTreeWidget displays a
|
\c QListWidget provides a list of items, \c QTreeWidget displays a
|
||||||
@ -1847,7 +1845,7 @@
|
|||||||
Note that the model will typically need to provide implementations of the
|
Note that the model will typically need to provide implementations of the
|
||||||
QAbstractItemModel::insertRows() and QAbstractItemModel::setData() functions.
|
QAbstractItemModel::insertRows() and QAbstractItemModel::setData() functions.
|
||||||
|
|
||||||
\sa {Item Views Puzzle Example}
|
\sa {widgets/itemviews/puzzle}{Item Views Puzzle Example}
|
||||||
|
|
||||||
\section1 Proxy models
|
\section1 Proxy models
|
||||||
|
|
||||||
@ -2330,10 +2328,10 @@
|
|||||||
\section1 Related examples
|
\section1 Related examples
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \l{itemviews/dirview}{Dir View}
|
\li \l{widgets/itemviews/dirview}{Dir View}
|
||||||
\li \l{itemviews/spinboxdelegate}{Spin Box Delegate}
|
\li \l{widgets/itemviews/spinboxdelegate}{Spin Box Delegate}
|
||||||
\li \l{itemviews/pixelator}{Pixelator}
|
\li \l{widgets/itemviews/pixelator}{Pixelator}
|
||||||
\li \l{itemviews/simpletreemodel}{Simple Tree Model}
|
\li \l{widgets/itemviews/simpletreemodel}{Simple Tree Model}
|
||||||
\li \l{itemviews/chart}{Chart}
|
\li \l{widgets/itemviews/chart}{Chart}
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user