Wireshark
4.5.0
The Wireshark network protocol analyzer
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Variables
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
m
p
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
e
f
h
i
n
o
r
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
u
v
w
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ui
qt
widgets
profile_tree_view.h
Go to the documentation of this file.
1
10
#ifndef PROFILE_TREEVIEW_H
11
#define PROFILE_TREEVIEW_H
12
13
#include <
ui/qt/models/url_link_delegate.h
>
14
15
#include <QTreeView>
16
#include <QItemDelegate>
17
18
class
ProfileTreeEditDelegate
:
public
QItemDelegate
19
{
20
Q_OBJECT
21
public
:
22
ProfileTreeEditDelegate
(QWidget *parent = Q_NULLPTR);
23
24
// QAbstractItemDelegate interface
25
QWidget *createEditor(QWidget *parent,
const
QStyleOptionViewItem &option,
const
QModelIndex &index)
const
;
26
virtual
void
setEditorData(QWidget *editor,
const
QModelIndex &index)
const
;
27
28
private
:
29
QWidget * editor_;
30
QModelIndex index_;
31
};
18
class
ProfileTreeEditDelegate
:
public
QItemDelegate {
…
};
32
33
class
ProfileTreeView
:
public
QTreeView
34
{
35
Q_OBJECT
36
public
:
37
ProfileTreeView
(QWidget *parent =
nullptr
);
38
~ProfileTreeView
();
39
40
void
selectRow(
int
row);
41
bool
activeEdit();
42
43
signals:
44
void
itemUpdated();
45
46
// QWidget interface
47
protected
:
48
virtual
void
showEvent(QShowEvent *);
49
virtual
void
mouseDoubleClickEvent(QMouseEvent *event);
50
51
// QAbstractItemView interface
52
protected
slots:
53
virtual
void
selectionChanged(
const
QItemSelection &selected,
const
QItemSelection &deselected);
54
55
private
:
56
ProfileTreeEditDelegate
*delegate_;
57
58
};
33
class
ProfileTreeView
:
public
QTreeView {
…
};
59
60
#endif
ProfileTreeEditDelegate
Definition
profile_tree_view.h:19
ProfileTreeView
Definition
profile_tree_view.h:34
url_link_delegate.h
Generated by
1.9.8