Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_filter_combo.h
Go to the documentation of this file.
1
10#ifndef CAPTURE_FILTER_COMBO_H
11#define CAPTURE_FILTER_COMBO_H
12
14
15#include <QComboBox>
16#include <QList>
17
18class CaptureFilterCombo : public QComboBox
19{
20 Q_OBJECT
21public:
22 explicit CaptureFilterCombo(QWidget *parent = 0, bool plain = false);
23 bool addRecentCapture(const char *filter);
24 void writeRecent(FILE *rf);
25 void setConflict(bool conflict = false) { cf_edit_->setConflict(conflict); }
26
27signals:
28 void interfacesChanged();
29 void captureFilterSyntaxChanged(bool valid);
30 void startCapture();
31
32protected:
33 virtual bool event(QEvent *event);
34
35private:
36 void updateStyleSheet();
37 CaptureFilterEdit *cf_edit_;
38
39private slots:
40 void saveAndRebuildFilterList();
41 void rebuildFilterList();
42};
43
44#endif // CAPTURE_FILTER_COMBO_H
Definition capture_filter_combo.h:19
Definition capture_filter_edit.h:23