Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
display_filter_combo.h
Go to the documentation of this file.
1
10#ifndef DISPLAY_FILTER_COMBO_H
11#define DISPLAY_FILTER_COMBO_H
12
13#include <QComboBox>
14#include <QList>
15
16class DisplayFilterCombo : public QComboBox
17{
18 Q_OBJECT
19public:
20 explicit DisplayFilterCombo(QWidget *parent = 0);
21 bool addRecentCapture(const char *filter);
22 void writeRecent(FILE *rf);
23 void updateStyleSheet();
24
25protected:
26 void rowsInserted(const QModelIndex&, int, int);
27 virtual bool event(QEvent *event);
28
29private:
30
31public slots:
32 bool checkDisplayFilter();
33 void applyDisplayFilter();
34 void setDisplayFilter(QString filter);
35
36private slots:
37 void updateMaxCount();
38 void filterApplied(QString filter, bool force);
39};
40
41#endif // DISPLAY_FILTER_COMBO_H
Definition display_filter_combo.h:17