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
models
pref_delegate.h
Go to the documentation of this file.
1
12
#ifndef PREF_DELEGATE_H
13
#define PREF_DELEGATE_H
14
15
#include <config.h>
16
17
#include <
ui/qt/models/pref_models.h
>
18
19
#include <QStyledItemDelegate>
20
#include <QModelIndex>
21
22
class
AdvancedPrefDelegate
:
public
QStyledItemDelegate
23
{
24
public
:
25
AdvancedPrefDelegate
(QObject *parent = 0);
26
27
QWidget *createEditor(QWidget *parent,
const
QStyleOptionViewItem &option,
28
const
QModelIndex &index)
const
;
29
void
setEditorData(QWidget *editor,
const
QModelIndex &index)
const
;
30
void
setModelData(QWidget *editor, QAbstractItemModel *model,
31
const
QModelIndex &index)
const
;
32
33
private
:
34
PrefsItem
* indexToPref(
const
QModelIndex &index)
const
;
35
};
22
class
AdvancedPrefDelegate
:
public
QStyledItemDelegate {
…
};
36
37
#endif
// PREF_DELEGATE_H
AdvancedPrefDelegate
Definition
pref_delegate.h:23
PrefsItem
Definition
pref_models.h:70
pref_models.h
Generated by
1.9.8