Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
welcome_page.h
Go to the documentation of this file.
1
10#ifndef WELCOME_PAGE_H
11#define WELCOME_PAGE_H
12
13#include <QFrame>
14
15class QListWidget;
16class QListWidgetItem;
17class QMenu;
18
20#include "interface_frame.h"
21
22namespace Ui {
23 class WelcomePage;
24}
25
26class WelcomePage : public QFrame
27{
28 Q_OBJECT
29public:
30 explicit WelcomePage(QWidget *parent = 0);
31 virtual ~WelcomePage();
32 InterfaceFrame *getInterfaceFrame();
33 const QString captureFilter();
34 void setCaptureFilter(const QString capture_filter);
35 void updateStyleSheets();
36
37public slots:
38 void interfaceSelected();
39
40protected:
41 virtual bool event(QEvent *event);
42 virtual void resizeEvent(QResizeEvent *event);
43 virtual void changeEvent(QEvent* event);
44 virtual QString getReleaseLabel();
45 virtual QString getReleaseLabelGlue();
46
47protected slots:
48 void on_recentLabel_clicked();
49 void on_captureLabel_clicked();
50 void on_helpLabel_clicked();
51
52private:
53 Ui::WelcomePage *welcome_ui_;
54 QString flavor_;
55 QString show_in_str_;
56
57 SplashOverlay *splash_overlay_;
58
59signals:
60 void startCapture(QStringList ifaces);
61 void recentFileActivated(QString cfile);
62 void captureFilterSyntaxChanged(bool valid);
63 void showExtcapOptions(QString &device_name, bool startCaptureOnClose);
64 void interfacesChanged();
65
66public slots:
67 void setCaptureFilterText(const QString capture_filter);
68
69private slots:
70 void appInitialized();
71 void interfaceListChanged();
72 void setReleaseLabel();
73 void captureFilterTextEdited(const QString capture_filter);
74 void showCaptureFilesContextMenu(QPoint pos);
75
76 void on_interfaceFrame_showExtcapOptions(QString device_name, bool startCaptureOnClose);
77 void on_interfaceFrame_startCapture(QStringList);
78 void captureStarting();
79};
80
81#endif // WELCOME_PAGE_H
Definition interface_frame.h:34
Definition splash_overlay.h:27
Definition welcome_page.h:27