| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
capture_card_widget.h
Go to the documentation of this file.
1
10#ifndef CAPTURE_CARD_WIDGET_H
11#define CAPTURE_CARD_WIDGET_H
12
13#include <QFrame>
14
15 class InterfaceFrame;
16
17 namespace Ui {
18 class CaptureCardWidget;
19}
20
21 class CaptureCardWidget : public QFrame {
22 Q_OBJECT
23 public:
24 explicit CaptureCardWidget(QWidget *parent = nullptr);
25 ~CaptureCardWidget();
26
27 InterfaceFrame *interfaceFrame();
28 const QString captureFilter();
29 void setCaptureFilter(const QString &filter);
30 void setCaptureFilterText(const QString &filter);
31
32 public slots:
33 void interfaceSelected();
34
35signals:
36 void startCapture(QStringList ifaces);
37 void captureFilterSyntaxChanged(bool valid);
38 void showExtcapOptions(QString device_name, bool startCaptureOnClose);
39 void interfacesChanged();
40
41 protected:
42 bool event(QEvent *event) override;
43 void resizeEvent(QResizeEvent *event) override;
44
45 private:
46 Ui::CaptureCardWidget *ui_;
47
48 void updateStyleSheet();
49 void updateFilterRowVisibility();
50
51 private slots:
52 void appInitialized();
53 void interfaceListChanged();
54 void captureFilterTextEdited(const QString &filter);
55 void captureStarting();
56};
57
58#endif // CAPTURE_CARD_WIDGET_H
CaptureCardWidget
Definition capture_card_widget.h:21
InterfaceFrame
Definition interface_frame.h:34