Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
export_objects_view.h
Go to the documentation of this file.
1
12#ifndef EXPORT_OBJECTS_VIEW_H
13#define EXPORT_OBJECTS_VIEW_H
14
15#include <config.h>
16#include <QTreeView>
17
21class ExportObjectsTreeView : public QTreeView
22{
23 Q_OBJECT
24public:
29 ExportObjectsTreeView(QWidget *parent = 0);
30
31signals:
36 void currentIndexChanged(const QModelIndex &current);
37
42 void selectedItemsChanged(const QItemSelection &selected);
43
44protected slots:
50 void currentChanged(const QModelIndex &current, const QModelIndex &previous) override;
51
57 void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override;
58};
59#endif // EXPORT_OBJECTS_VIEW_H
A custom tree view for displaying export objects.
Definition export_objects_view.h:22
void currentChanged(const QModelIndex &current, const QModelIndex &previous) override
Handles the event when the current item changes.
Definition export_objects_view.cpp:18
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
Handles the event when the item selection changes.
Definition export_objects_view.cpp:25
void selectedItemsChanged(const QItemSelection &selected)
Signal emitted when the selected items change.
void currentIndexChanged(const QModelIndex &current)
Signal emitted when the current index changes.