ADTF  3.18.4
filter_model_treeview.h
Go to the documentation of this file.
1 
8 /*
9  * This file depends on Qt which is licensed under LGPLv3.
10  * See ADTF_DIR/3rdparty/qt5 and doc/license for detailed information.
11  */
12 
13 #pragma once
14 
15 #include "search_text_widget.h"
16 
17 #include <QSortFilterProxyModel>
18 #include <QTreeView>
19 
20 namespace adtf
21 {
22 namespace ui
23 {
24 namespace widget
25 {
26 namespace osborn
27 {
28 
33 class cFilterModelTreeView : public QTreeView
34 {
35  public:
40  cFilterModelTreeView(QWidget* pParent = nullptr);
41 
44 
45  protected:
46  // prevents calling setModel from outside
47  using QTreeView::setModel;
48 
49  protected:
50  cFilterModel m_oFilterModel;
51 };
52 
53 }
55 }
56 }
57 }
Is a base class for tree views using a filter model.
cFilterModelTreeView(QWidget *pParent=nullptr)
Constructor.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.