From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- widgets/SplashScreen.cpp | 96 ++++++++++++++++++++++++------------------------ 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'widgets/SplashScreen.cpp') 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 -#include -#include -#include - -#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 ("

" + QString {"WSJT-X v" + - QCoreApplication::applicationVersion() + " " + - revision ()}.simplified () + "

" - "V2.0 has many new features.

" - "The release notes have more details.

" - "Send issue reports to https://wsjtx.groups.io, and be sure to save .wav
" - "files where appropriate.

" - "Open the Help menu and select Release Notes for more details.
" - "" - "", Qt::AlignCenter); - connect (&m_->checkbox_, &QCheckBox::stateChanged, [this] (int s) { - if (Qt::Checked == s) Q_EMIT disabled (); - }); -} - -SplashScreen::~SplashScreen () -{ -} +#include "SplashScreen.hpp" + +#include +#include +#include +#include + +#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 ("

" + QString {"WSJT-X v" + + QCoreApplication::applicationVersion() + " " + + revision ()}.simplified () + "

" + "V2.0 has many new features.

" + "The release notes have more details.

" + "Send issue reports to https://wsjtx.groups.io, and be sure to save .wav
" + "files where appropriate.

" + "Open the Help menu and select Release Notes for more details.
" + "" + "", Qt::AlignCenter); + connect (&m_->checkbox_, &QCheckBox::stateChanged, [this] (int s) { + if (Qt::Checked == s) Q_EMIT disabled (); + }); +} + +SplashScreen::~SplashScreen () +{ +} -- cgit v1.2.3