summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/customsortfiltermodel/window.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-04-08 10:12:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-12 10:36:23 +0200
commit23964bc338b9b00e204d45a917a0bb330cb795c4 (patch)
treed57b9b48b801a909e48d2d9edf5389b0d9352b3e /examples/widgets/itemviews/customsortfiltermodel/window.h
parent9ee4a121938ec74bca61040e481657c25939f425 (diff)
Add clear button and side action to customsortfiltermodel example.
Demonstrate the new side widgets feature of QLineEdit. Change-Id: I1c4289c652abf2209e50601871249008fdec4f6b Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'examples/widgets/itemviews/customsortfiltermodel/window.h')
-rw-r--r--examples/widgets/itemviews/customsortfiltermodel/window.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/widgets/itemviews/customsortfiltermodel/window.h b/examples/widgets/itemviews/customsortfiltermodel/window.h
index c9db4ce84b..46e4974a2c 100644
--- a/examples/widgets/itemviews/customsortfiltermodel/window.h
+++ b/examples/widgets/itemviews/customsortfiltermodel/window.h
@@ -54,7 +54,7 @@ class QLineEdit;
class QTreeView;
QT_END_NAMESPACE
class MySortFilterProxyModel;
-
+class FilterWidget;
//! [0]
class Window : public QWidget
{
@@ -76,12 +76,10 @@ private:
QGroupBox *proxyGroupBox;
QTreeView *sourceView;
QTreeView *proxyView;
- QCheckBox *filterCaseSensitivityCheckBox;
QLabel *filterPatternLabel;
QLabel *fromLabel;
QLabel *toLabel;
- QLineEdit *filterPatternLineEdit;
- QComboBox *filterSyntaxComboBox;
+ FilterWidget *filterWidget;
QDateEdit *fromDateEdit;
QDateEdit *toDateEdit;
};