Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

tabnav_tree_view.h
1 /* tabnav_tree_view.h
2 * Tree view with saner tab navigation functionality.
3 *
4 * Copyright 2016 Peter Wu <peter@lekensteyn.nl>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <gerald@wireshark.org>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13 #ifndef TABNAV_TREE_VIEW_H
14 #define TABNAV_TREE_VIEW_H
15
16 #include <config.h>
17 #include <QTreeView>
18
23 class TabnavTreeView : public QTreeView
24 {
25 Q_OBJECT
26
27 public:
28 TabnavTreeView(QWidget *parent = 0);
29 QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
30
31 protected slots:
32 void currentChanged(const QModelIndex &current, const QModelIndex &previous);
33
34 signals:
35 void currentItemChanged(const QModelIndex &current, const QModelIndex &previous);
36 };
37 #endif // TABNAV_TREE_VIEW_H
38
39 /* * Editor modelines
40 *
41 * Local Variables:
42 * c-basic-offset: 4
43 * tab-width: 8
44 * indent-tabs-mode: nil
45 * End:
46 *
47 * ex: set shiftwidth=4 tabstop=8 expandtab:
48 * :indentSize=4:tabSize=8:noTabs=true:
49 */
TabnavTreeView::currentItemChanged
void currentItemChanged(const QModelIndex &current, const QModelIndex &previous)
Definition: moc_tabnav_tree_view.cpp:132
TabnavTreeView
Definition: tabnav_tree_view.h:23