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
43
cFilterModel
&
GetFilterModel
();
44
45
protected
:
46
// prevents calling setModel from outside
47
using
QTreeView::setModel;
48
49
protected
:
50
cFilterModel
m_oFilterModel;
51
};
52
53
}
54
using
cFilterModelTreeView
=
osborn::cFilterModelTreeView
;
55
}
56
}
57
}
adtf::ui::widget::osborn::cFilterModel
Definition:
search_text_widget.h:54
adtf::ui::widget::osborn::cFilterModelTreeView
Is a base class for tree views using a filter model.
Definition:
filter_model_treeview.h:34
adtf::ui::widget::osborn::cFilterModelTreeView::GetFilterModel
cFilterModel & GetFilterModel()
adtf::ui::widget::osborn::cFilterModelTreeView::cFilterModelTreeView
cFilterModelTreeView(QWidget *pParent=nullptr)
Constructor.
adtf
Namespace for entire ADTF SDK.
Definition:
ddl_specification_legacy.dox:2
search_text_widget.h
Copyright © Audi Electronics Venture GmbH.
Copyright © VW Group. All rights reserved. (Generated on Wed Jul 3 2024 by doxygen 1.9.1)