Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
path_selection_delegate.h
Go to the documentation of this file.
1
12#ifndef PATH_SELECTION_DELEGATE_H_
13#define PATH_SELECTION_DELEGATE_H_
14
15#include <QStyledItemDelegate>
16
17class PathSelectionDelegate : public QStyledItemDelegate
18{
19 Q_OBJECT
20
21public:
22 PathSelectionDelegate(QObject *parent = 0);
23
24protected:
25 QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &idx) const override;
26 void updateEditorGeometry (QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & idx) const override;
27 void setEditorData(QWidget *editor, const QModelIndex &idx) const override;
28 void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &idx) const override;
29
30protected slots:
31 void pathHasChanged(QString newPath);
32
33};
34
35#endif /* PATH_SELECTION_DELEGATE_H_ */
Definition path_selection_delegate.h:18