#include "SplashScreen.hpp" #include #include #include #include #include "revision_utils.hpp" #include "pimpl_impl.hpp" 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 {"Alpha Release: WSJT-X v" + QCoreApplication::applicationVersion() + " " + revision ()}.simplified () + "

" "V1.7 has many new features, most aimed at VHF/UHF/Microwave users.
" "Some are not yet described in the User Guide and may not be thoroughly
" "tested. The release notes have more details.

" "As a test user you have an obligation to report anomalous results
" "to the development team. We are particularly interested in tests
" "of experimental modes QRA64 (intended for EME) and MSK144
" "(intended for meteor scatter).

" "Send 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 () { }