DolphinQt is a new experimental GUI that is intended to replace " - "the current GUI based on wxWidgets. The implementation is currently " - "incomplete so some functionality (like changing certain settings) may be missing.
\n" - "Only developers working on the DolphinQt implementation and curious testers should use " - "it at " - "the present time; normal users are recommended to continue using the " - "older DolphinWX GUI for the time being.
\n" - "At the current time there is no point making bug reports " - "about DolphinQt GUI's missing features as the developers are already aware of those.
\n"); - body->setText(body_text); - body->setWordWrap(true); - body->setForegroundRole(QPalette::Text); - body->setAlignment(Qt::AlignTop | Qt::AlignLeft); - body->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); - body->setMinimumWidth(QFontMetrics(body->font()).averageCharWidth() * 76); - - btn_dolphinwx->setDefault(true); - - connect(btn_dolphinwx, &QCommandLinkButton::clicked, this, [this](bool) { - if (!LaunchDolphinWX()) - QMessageBox::critical( - this, tr("Failed to launch"), - tr("Could not start DolphinWX. Check for dolphin.exe in the installation directory.")); - reject(); - }); - connect(btn_run, &QCommandLinkButton::clicked, this, [this](bool) { accept(); }); - connect(std_buttons->button(QDialogButtonBox::Cancel), &QPushButton::clicked, this, - [this](bool) { reject(); }); - connect(hide_future, &QCheckBox::toggled, - [](bool hide) { SConfig::GetInstance().m_show_development_warning = !hide; }); - - QVBoxLayout* body_column = new QVBoxLayout(); - body_column->addWidget(heading); - body_column->addWidget(body); - body_column->addWidget(btn_dolphinwx); - body_column->addWidget(btn_run); - body_column->addWidget(hide_future); - body_column->setMargin(0); - body_column->setSpacing(10); - - QHBoxLayout* icon_layout = new QHBoxLayout(container); - icon_layout->addWidget(icon, 0, Qt::AlignTop); - icon_layout->addLayout(body_column); - icon_layout->setContentsMargins(15, 10, 10, 10); - icon_layout->setSpacing(15); - - QVBoxLayout* top_layout = new QVBoxLayout(this); - top_layout->addWidget(container); - top_layout->addWidget(std_buttons); - top_layout->setSpacing(10); - top_layout->setContentsMargins(0, 0, 0, 10); - top_layout->setSizeConstraint(QLayout::SetMinimumSize); - - setWindowIcon(Resources::GetMisc(Resources::LOGO_SMALL)); - setWindowTitle(tr("DolphinQt2 Experimental GUI")); -} - -InDevelopmentWarning::~InDevelopmentWarning() -{ -} diff --git a/Source/Core/DolphinQt2/InDevelopmentWarning.h b/Source/Core/DolphinQt2/InDevelopmentWarning.h deleted file mode 100644 index f5a7fb8753..0000000000 --- a/Source/Core/DolphinQt2/InDevelopmentWarning.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2016 Dolphin Emulator Project -// Licensed under GPLv2+ -// Refer to the license.txt file included. - -#pragma once - -#include