Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
manager
wireshark_preference.h
Go to the documentation of this file.
1
10
#ifndef WIRESHARK_PREFERENCE_H
11
#define WIRESHARK_PREFERENCE_H
12
13
#include <
ui/qt/models/pref_models.h
>
14
15
#include <QStyleOptionViewItem>
16
#include <QModelIndex>
17
#include <QWidget>
18
19
class
WiresharkPreference
:
public
QObject
20
{
21
public
:
22
explicit
Q_INVOKABLE
WiresharkPreference
(QObject * parent = Q_NULLPTR);
23
24
virtual
QWidget * editor(QWidget *parent,
const
QStyleOptionViewItem &option,
const
QModelIndex &index);
25
virtual
void
setData(QWidget *editor,
const
QModelIndex &index);
26
virtual
void
setModelData(QWidget *editor, QAbstractItemModel *model,
const
QModelIndex &index);
27
28
void
setPrefsItem(
PrefsItem
*);
29
30
protected
:
31
PrefsItem
* prefsItem()
const
;
32
33
private
:
34
PrefsItem
* _prefsItem;
35
36
};
37
38
#endif
// WIRESHARK_PREFERENCE_H
PrefsItem
Definition
pref_models.h:70
WiresharkPreference
Definition
wireshark_preference.h:20
pref_models.h
Generated by
1.9.8