Delegate for editing capture and display filters.
More...
#include <filter_dialog.h>
Delegate for editing capture and display filters.
◆ FilterTreeDelegate()
Constructs a new FilterTreeDelegate.
- Parameters
-
| parent | The parent QObject. |
| filter_type | The type of filter being edited. |
◆ createEditor()
| QWidget * FilterTreeDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
Creates the editor widget for a specific item.
- Parameters
-
| parent | The parent widget for the editor. |
| option | The style options for the item. |
| index | The model index of the item being edited. |
- Returns
- A pointer to the created editor widget.
◆ setEditorData()
| void FilterTreeDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
overridevirtual |
Sets the data in the editor from the model.
- Parameters
-
| editor | The editor widget. |
| index | The model index containing the data. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/filter_dialog.h
- /builds/wireshark/wireshark/ui/qt/filter_dialog.cpp