diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2017-11-24 15:33:00 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2017-11-29 14:09:18 +0000 |
commit | 1fe6a75fecfad98c907bf8961b163a0f65f62c72 (patch) | |
tree | d4c7ade32ec3e3fe4cbbba2914687c531fbaa330 | |
parent | a17f892bc5b03d0459e4380b86ebf79b0dd5869a (diff) |
Doc: Minor corrections custom sort filter example
Task-number: QTBUG-60635
Change-Id: I17a69f85663eaa92e92b4e97385c21a729405e1f
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
-rw-r--r-- | doc/src/images/customsortfiltermodel-example.png | bin | 74359 -> 22010 bytes | |||
-rw-r--r-- | examples/widgets/doc/src/customsortfiltermodel.qdoc | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/images/customsortfiltermodel-example.png b/doc/src/images/customsortfiltermodel-example.png Binary files differindex d7ee8bd7e7..7c0750eb57 100644 --- a/doc/src/images/customsortfiltermodel-example.png +++ b/doc/src/images/customsortfiltermodel-example.png diff --git a/examples/widgets/doc/src/customsortfiltermodel.qdoc b/examples/widgets/doc/src/customsortfiltermodel.qdoc index 0eb6560e10..6eab846e89 100644 --- a/examples/widgets/doc/src/customsortfiltermodel.qdoc +++ b/examples/widgets/doc/src/customsortfiltermodel.qdoc @@ -75,7 +75,7 @@ QSortFilterProxyModel's default implementations of functions are written so that they call the equivalent functions in the relevant source model. This simple proxying mechanism may need to be - overridden for source models with more complex behavior; in this + overridden for source models with more complex behavior. In this example we derive from the QSortFilterProxyModel class to ensure that our filter can recognize a valid range of dates, and to control the sorting behavior. @@ -170,7 +170,7 @@ We implement two private slots, \c textFilterChanged() and \c dateFilterChanged(), to respond to the user changing the filter - pattern, case sensitivity or any of the dates. In addition, we + pattern, case sensitivity, or any of the dates. In addition, we implement a public \c setSourceModel() convenience function to set up the model/ view relation. @@ -197,7 +197,7 @@ \snippet itemviews/customsortfiltermodel/window.cpp 1 The QTreeView class provides a default model/view implementation - of a tree view; our view implements a tree representation of items + of a tree view. Our view implements a tree representation of items in the application's source model. \snippet itemviews/customsortfiltermodel/window.cpp 2 |