Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
tabnav_tree_view.h
Go to the documentation of this file.
1
14#ifndef TABNAV_TREE_VIEW_H
15#define TABNAV_TREE_VIEW_H
16
17#include <config.h>
18#include <QTreeView>
19
25class TabnavTreeView : public QTreeView
26{
27 Q_OBJECT
28
29public:
34 TabnavTreeView(QWidget *parent = 0);
35
47 QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers);
48
49protected slots:
57 void currentChanged(const QModelIndex &current, const QModelIndex &previous);
58
59signals:
65 void currentItemChanged(const QModelIndex &current, const QModelIndex &previous);
66};
67#endif // TABNAV_TREE_VIEW_H
A QTreeView variant that advances to the next column (same row) on Tab instead of the next row (same ...
Definition tabnav_tree_view.h:26
void currentChanged(const QModelIndex &current, const QModelIndex &previous)
Relays the QAbstractItemView::currentChanged notification as the currentItemChanged() signal so that ...
Definition tabnav_tree_view.cpp:53
void currentItemChanged(const QModelIndex &current, const QModelIndex &previous)
Emitted whenever the current item changes.
QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
Returns the index the view should move to for a given cursor action.
Definition tabnav_tree_view.cpp:22