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
21class WelcomeHeaderWidget : public QWidget {
22 Q_OBJECT
23public:
24 explicit WelcomeHeaderWidget(QWidget *parent = nullptr);
26 void updateStyleSheets();
27
28protected:
29 virtual bool event(QEvent *event);
30
31private:
32 Ui::WelcomeHeaderWidget *header_ui_;
33 QPropertyAnimation *pulseAnimation_;
34 QString new_version_;
35 QString release_notes_;
36 QStringList skipped_versions_;
37
38 void updateSoftwareUpdateInfo();
39 void updateStyleSheet();
40 void skipThisVersion();
41
42private slots:
43 void setAvailableUpdateVersion(QString newVersion, QString releaseNotes);
44 void clearAvailableUpdateVersion();
45
46};
47
48#endif // WELCOME_HEADER_WIDGET_H
Definition welcome_header_widget.h:21