Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ui
qt
widgets
pref_module_view.h
1
/* pref_module_view.h
2
* Tree view of preference module data.
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef PREFERENCE_MODULE_VIEW_H
12
#define PREFERENCE_MODULE_VIEW_H
13
14
#include <config.h>
15
#include <QTreeView>
16
17
class
PrefModuleTreeView
:
public
QTreeView
18
{
19
Q_OBJECT
20
public
:
21
PrefModuleTreeView
(QWidget *parent = 0);
22
23
void
setPane(
const
QString pane_name);
24
25
signals:
26
void
goToPane(QString pane);
27
28
protected
slots:
29
void
currentChanged(
const
QModelIndex ¤t,
const
QModelIndex &previous);
30
31
private
:
32
QModelIndex findModule(QModelIndex &parent,
const
QString& name);
33
34
//cache the translation of the module names we check frequently
35
QString appearanceName_;
36
};
37
#endif // PREFERENCE_MODULE_VIEW_H
38
39
/*
40
* Editor modelines
41
*
42
* Local Variables:
43
* c-basic-offset: 4
44
* tab-width: 8
45
* indent-tabs-mode: nil
46
* End:
47
*
48
* ex: set shiftwidth=4 tabstop=8 expandtab:
49
* :indentSize=4:tabSize=8:noTabs=true:
50
*/
PrefModuleTreeView
Definition:
pref_module_view.h:17
Generated by
1.8.11