Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
16 class DisplayFilterCombo : public QComboBox
17 {
18  Q_OBJECT
19 public:
20  explicit DisplayFilterCombo(QWidget *parent = 0);
21  bool addRecentCapture(const char *filter);
22  void writeRecent(FILE *rf);
23  void updateStyleSheet();
24 
25 protected:
26  virtual bool event(QEvent *event);
27 
28 private:
29 
30 public slots:
31  bool checkDisplayFilter();
32  void applyDisplayFilter();
33  void setDisplayFilter(QString filter);
34 
35 private slots:
36  void updateMaxCount();
37  void onActivated(int index);
38 };
39 
40 #endif // DISPLAY_FILTER_COMBO_H
Definition: display_filter_combo.h:17