From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- SplashScreen.cpp | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 SplashScreen.cpp (limited to 'SplashScreen.cpp') diff --git a/SplashScreen.cpp b/SplashScreen.cpp deleted file mode 100644 index 727e0e85..00000000 --- a/SplashScreen.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#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 () + "

" - "V1.8 has many new features.

" - "The release notes have more details.

" - "Send issue reports to wsjtgroup@yahoogroups.com, 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