summaryrefslogtreecommitdiff
path: root/widgets/SplashScreen.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-01-09 22:12:12 +0100
committerChristoph Berg <myon@debian.org>2025-01-09 22:12:12 +0100
commit98c02f78b26811ba5d9962ba27ec24cacf82bb22 (patch)
treedaaf609cde31d8fb3b6c3457c43663d14f0dda80 /widgets/SplashScreen.cpp
parent332d2ce88c2f0bc2908cacdc6707e2f9fa49f26d (diff)
parent992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (diff)
Update upstream source from tag 'upstream/2.7.0_rc8+repack'
Update to upstream version '2.7.0~rc8+repack' with Debian dir 6fce941c8282d35c8df23d3de779a42e27688bc1
Diffstat (limited to 'widgets/SplashScreen.cpp')
-rwxr-xr-xwidgets/SplashScreen.cpp96
1 files changed, 48 insertions, 48 deletions
diff --git a/widgets/SplashScreen.cpp b/widgets/SplashScreen.cpp
index 8487dcf0..561733cc 100755
--- a/widgets/SplashScreen.cpp
+++ b/widgets/SplashScreen.cpp
@@ -1,48 +1,48 @@
-#include "SplashScreen.hpp"
-
-#include <QPixmap>
-#include <QVBoxLayout>
-#include <QCheckBox>
-#include <QCoreApplication>
-
-#include "revision_utils.hpp"
-#include "pimpl_impl.hpp"
-
-#include "moc_SplashScreen.cpp"
-
-class SplashScreen::impl
-{
-public:
- impl ()
- : checkbox_ {"Do not show this again"}
- {
- main_layout_.addStretch ();
- main_layout_.addWidget (&checkbox_, 0, Qt::AlignRight);
- }
-
- QVBoxLayout main_layout_;
- QCheckBox checkbox_;
-};
-
-SplashScreen::SplashScreen ()
- : QSplashScreen {QPixmap {":/splash.png"}, Qt::WindowStaysOnTopHint}
-{
- setLayout (&m_->main_layout_);
- showMessage ("<h2>" + QString {"WSJT-X v" +
- QCoreApplication::applicationVersion() + " " +
- revision ()}.simplified () + "</h2>"
- "V2.0 has many new features.<br /><br />"
- "The release notes have more details.<br /><br />"
- "Send issue reports to https://wsjtx.groups.io, and be sure to save .wav<br />"
- "files where appropriate.<br /><br />"
- "<b>Open the Help menu and select Release Notes for more details.</b><br />"
- "<img src=\":/icon_128x128.png\" />"
- "<img src=\":/gpl-v3-logo.svg\" height=\"80\" />", Qt::AlignCenter);
- connect (&m_->checkbox_, &QCheckBox::stateChanged, [this] (int s) {
- if (Qt::Checked == s) Q_EMIT disabled ();
- });
-}
-
-SplashScreen::~SplashScreen ()
-{
-}
+#include "SplashScreen.hpp"
+
+#include <QPixmap>
+#include <QVBoxLayout>
+#include <QCheckBox>
+#include <QCoreApplication>
+
+#include "revision_utils.hpp"
+#include "pimpl_impl.hpp"
+
+#include "moc_SplashScreen.cpp"
+
+class SplashScreen::impl
+{
+public:
+ impl ()
+ : checkbox_ {"Do not show this again"}
+ {
+ main_layout_.addStretch ();
+ main_layout_.addWidget (&checkbox_, 0, Qt::AlignRight);
+ }
+
+ QVBoxLayout main_layout_;
+ QCheckBox checkbox_;
+};
+
+SplashScreen::SplashScreen ()
+ : QSplashScreen {QPixmap {":/splash.png"}, Qt::WindowStaysOnTopHint}
+{
+ setLayout (&m_->main_layout_);
+ showMessage ("<h2>" + QString {"WSJT-X v" +
+ QCoreApplication::applicationVersion() + " " +
+ revision ()}.simplified () + "</h2>"
+ "V2.0 has many new features.<br /><br />"
+ "The release notes have more details.<br /><br />"
+ "Send issue reports to https://wsjtx.groups.io, and be sure to save .wav<br />"
+ "files where appropriate.<br /><br />"
+ "<b>Open the Help menu and select Release Notes for more details.</b><br />"
+ "<img src=\":/icon_128x128.png\" />"
+ "<img src=\":/gpl-v3-logo.svg\" height=\"80\" />", Qt::AlignCenter);
+ connect (&m_->checkbox_, &QCheckBox::stateChanged, [this] (int s) {
+ if (Qt::Checked == s) Q_EMIT disabled ();
+ });
+}
+
+SplashScreen::~SplashScreen ()
+{
+}