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;
19class InterfaceFrame;
20
22
23namespace Ui {
24 class WelcomePage;
25}
26
30class WelcomePage : public QFrame
31{
32 Q_OBJECT
33public:
38 explicit WelcomePage(QWidget *parent = 0);
39
43 virtual ~WelcomePage();
44
50
56
61 const QString captureFilter();
62
67 void setCaptureFilter(const QString capture_filter);
68
72 void updateStyleSheets();
73
74public slots:
78 void interfaceSelected();
79
84 void setCaptureFilterText(const QString capture_filter);
85
86protected:
92 virtual bool event(QEvent *event);
93
98 virtual void resizeEvent(QResizeEvent *event);
99
104 virtual void showEvent(QShowEvent *event);
105
106protected slots:
111
112private:
114 Ui::WelcomePage *welcome_ui_;
115
117 QString show_in_str_;
118
120 SplashOverlay *splash_overlay_;
121
125 void updateSidebarLayout();
126
127signals:
132 void recentFileActivated(QString cfile);
133
134private slots:
138 void appInitialized();
139
144 void showCaptureFilesContextMenu(QPoint pos);
145
149 void applySidebarPreferences();
150};
151
152#endif // WELCOME_PAGE_H
A widget representing a capture card in the UI, providing interface selection and filtering capabilit...
Definition capture_card_widget.h:24
A frame containing the list of interfaces available for capture, along with status and controls.
Definition interface_frame.h:37
Semi-transparent overlay widget displayed during application startup while Wireshark's protocol and p...
Definition splash_overlay.h:43
Widget displayed on application startup, providing interface selection, capture filter configuration,...
Definition welcome_page.h:31
void updateStyleSheets()
Refreshes style sheets for all child widgets.
Definition welcome_page.cpp:377
InterfaceFrame * getInterfaceFrame()
Returns the interface frame embedded in this page.
Definition welcome_page.cpp:120
void on_openFileSectionLabel_clicked()
Slot invoked when the "Open File" section label is clicked.
Definition welcome_page.cpp:384
virtual void showEvent(QShowEvent *event)
Handles widget show events, triggering any necessary initialization.
Definition welcome_page.cpp:223
void interfaceSelected()
Handles selection of a capture interface by the user.
Definition welcome_page.cpp:145
const QString captureFilter()
Returns the current capture filter string.
Definition welcome_page.cpp:130
virtual void resizeEvent(QResizeEvent *event)
Handles widget resize events.
Definition welcome_page.cpp:213
CaptureCardWidget * captureCard()
Returns the capture card widget.
Definition welcome_page.cpp:125
void recentFileActivated(QString cfile)
Emitted when the user activates a recent capture file.
void setCaptureFilterText(const QString capture_filter)
Updates the capture filter input field with the given text.
Definition welcome_page.cpp:140
virtual bool event(QEvent *event)
Handles generic Qt events for this widget.
Definition welcome_page.cpp:193
virtual ~WelcomePage()
Destroys the WelcomePage widget.
Definition welcome_page.cpp:115
void setCaptureFilter(const QString capture_filter)
Sets the capture filter expression.
Definition welcome_page.cpp:135