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
15class InterfaceFrame;
16
17namespace Ui {
19}
20
21class CaptureCardWidget : public QFrame {
22 Q_OBJECT
23public:
24 explicit CaptureCardWidget(QWidget *parent = nullptr);
26
27 InterfaceFrame *interfaceFrame();
28 const QString captureFilter();
29 void setCaptureFilter(const QString &filter);
30 void setCaptureFilterText(const QString &filter);
31
32public 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
41protected:
42 bool event(QEvent *event) override;
43 void resizeEvent(QResizeEvent *event) override;
44
45private:
46 Ui::CaptureCardWidget *ui_;
47
48 void updateStyleSheet();
49 void updateFilterRowVisibility();
50
51private slots:
52 void appInitialized();
53 void interfaceListChanged();
54 void captureFilterTextEdited(const QString &filter);
55 void captureStarting();
56};
57
58#endif // CAPTURE_CARD_WIDGET_H
Definition capture_card_widget.h:21
Definition interface_frame.h:34