From 1fe6a75fecfad98c907bf8961b163a0f65f62c72 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Fri, 24 Nov 2017 15:33:00 +0100 Subject: Doc: Minor corrections custom sort filter example Task-number: QTBUG-60635 Change-Id: I17a69f85663eaa92e92b4e97385c21a729405e1f Reviewed-by: Venugopal Shivashankar --- doc/src/images/customsortfiltermodel-example.png | Bin 74359 -> 22010 bytes 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 index d7ee8bd7e7..7c0750eb57 100644 Binary files a/doc/src/images/customsortfiltermodel-example.png and b/doc/src/images/customsortfiltermodel-example.png differ 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 -- cgit v1.2.3