A tree view that moves to the next column (same row) on Tab while editing, rather than the next row (same column) as QTreeView does by default.
More...
#include <rowmove_tree_view.h>
|
| | RowMoveTreeView (QWidget *parent=nullptr) |
| | Constructs the row-move tree view.
|
| |
| | TabnavTreeView (QWidget *parent=0) |
| | Constructs the tree view with column-wise Tab navigation.
|
| |
| QModelIndex | moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) |
| | Returns the index the view should move to for a given cursor action.
|
| |
|
| void | dropEvent (QDropEvent *event) override |
| | Handles drop events for row reordering within the tree.
|
| |
|
| void | currentItemChanged (const QModelIndex ¤t, const QModelIndex &previous) |
| | Emitted whenever the current item changes.
|
| |
| void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
| | Relays the QAbstractItemView::currentChanged notification as the currentItemChanged() signal so that external observers can connect without subclassing.
|
| |
A tree view that moves to the next column (same row) on Tab while editing, rather than the next row (same column) as QTreeView does by default.
◆ RowMoveTreeView()
| RowMoveTreeView::RowMoveTreeView |
( |
QWidget * |
parent = nullptr | ) |
|
Constructs the row-move tree view.
- Parameters
-
◆ dropEvent()
| void RowMoveTreeView::dropEvent |
( |
QDropEvent * |
event | ) |
|
|
overrideprotected |
Handles drop events for row reordering within the tree.
- Parameters
-
| event | The drop event to process. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/rowmove_tree_view.h
- /builds/wireshark/wireshark/ui/qt/widgets/rowmove_tree_view.cpp