Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
welcome_header_widget.h
Go to the documentation of this file.
1
10#ifndef WELCOME_HEADER_WIDGET_H
11#define WELCOME_HEADER_WIDGET_H
12
13#include <QWidget>
14
15class QPropertyAnimation;
16
17namespace Ui {
19}
20
24class WelcomeHeaderWidget : public QWidget {
25 Q_OBJECT
26public:
31 explicit WelcomeHeaderWidget(QWidget *parent = nullptr);
32
37
42
43protected:
49 virtual bool event(QEvent *event);
50
51private:
53 Ui::WelcomeHeaderWidget *header_ui_;
54
56 QPropertyAnimation *pulseAnimation_;
57
59 QString new_version_;
60
62 QString release_notes_;
63
65 QStringList skipped_versions_;
66
70 void updateSoftwareUpdateInfo();
71
75 void updateStyleSheet();
76
80 void skipThisVersion();
81
82private slots:
88 void setAvailableUpdateVersion(QString newVersion, QString releaseNotes);
89
93 void clearAvailableUpdateVersion();
94
95};
96
97#endif // WELCOME_HEADER_WIDGET_H
A widget displaying the header section of the welcome screen.
Definition welcome_header_widget.h:24
virtual bool event(QEvent *event)
Handles generic events for the widget.
Definition welcome_header_widget.cpp:172
void updateStyleSheets()
Updates the stylesheets for the header widget and its children.
~WelcomeHeaderWidget()
Destroys the WelcomeHeaderWidget.
Definition welcome_header_widget.cpp:99