32 enum FilterType { CaptureFilter, DisplayFilter, DisplayMacro };
33 explicit FilterDialog(QWidget *parent = 0, FilterType filter_type = CaptureFilter,
const QString new_filter = QString());
41 enum FilterType filter_type_;
44 void addFilter(QString name, QString filter,
bool start_editing =
false);
49 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
51 void on_newToolButton_clicked();
52 void on_deleteToolButton_clicked();
53 void on_copyToolButton_clicked();
54 void on_buttonBox_accepted();
55 void on_buttonBox_helpRequested();
71 virtual QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
72 virtual void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
75 FilterDialog::FilterType filter_type_;