ADTF Qt5
Loading...
Searching...
No Matches
filter_model_treeview.h
Go to the documentation of this file.
1
7
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
20namespace adtf
21{
22namespace ui
23{
24namespace widget
25{
26namespace detail
27{
28
33class cFilterModelTreeView : public QTreeView
34{
35public:
40 cFilterModelTreeView(QWidget* pParent = nullptr);
41
43 IFilterModel& GetFilterModel();
44
45protected:
46 // prevents calling setModel from outside
47 using QTreeView::setModel;
48
49protected:
51 IFilterModel* m_pFilterModel;
53};
54
55} // namespace detail
56} // namespace widget
57} // namespace ui
58} // namespace adtf
cFilterModelTreeView(QWidget *pParent=nullptr)
Namespace for all provided widget functionality helper.
Definition filter_model_treeview.h:25
Namespace for the ADTF UI SDK.
Definition adtfui_pkg.h:13
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtfui_pkg.h:13