mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 12:31:45 +01:00
Qt: Minor Visual Fixes (#5899)
* Increase minimum size of User Manager window so QPushButtons aren't squeezed together * Add spacing to the links in the About dialog to match all other buttons in the GUI * Make the links in the About dialog work on Linux * Turn the tooltip on "Config" in toolbar into an imperative like the rest of them
This commit is contained in:
parent
a703460fc6
commit
f246a8666a
@ -17,11 +17,11 @@ about_dialog::about_dialog(QWidget* parent) : QDialog(parent), ui(new Ui::about_
|
||||
ui->version->setText(tr("RPCS3 Version: %1").arg(qstr(rpcs3::version.to_string())));
|
||||
|
||||
// Events
|
||||
connect(ui->gitHub, &QAbstractButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.github.com/RPCS3")); });
|
||||
connect(ui->website, &QAbstractButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.rpcs3.net")); });
|
||||
connect(ui->forum, &QAbstractButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://forums.rpcs3.net")); });
|
||||
connect(ui->patreon, &QAbstractButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.patreon.com/Nekotekina")); });
|
||||
connect(ui->close, &QAbstractButton::clicked, this, &QWidget::close);
|
||||
connect(ui->gitHub, &QPushButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.github.com/RPCS3")); });
|
||||
connect(ui->website, &QPushButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.rpcs3.net")); });
|
||||
connect(ui->forum, &QPushButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://forums.rpcs3.net")); });
|
||||
connect(ui->patreon, &QPushButton::clicked, [] { QDesktopServices::openUrl(QUrl("https://www.patreon.com/Nekotekina")); });
|
||||
connect(ui->close, &QPushButton::clicked, this, &QWidget::close);
|
||||
|
||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||
}
|
||||
|
@ -19,7 +19,7 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<property name="spacing">
|
||||
<number>0</number>
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
|
@ -845,7 +845,7 @@
|
||||
<string>Config</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Configuration</string>
|
||||
<string>Configure the emulator</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="toolbar_controls">
|
||||
|
@ -48,7 +48,7 @@ user_manager_dialog::user_manager_dialog(std::shared_ptr<gui_settings> gui_setti
|
||||
: QDialog(parent), m_user_list(), m_sort_column(1), m_sort_ascending(true), m_gui_settings(gui_settings)
|
||||
{
|
||||
setWindowTitle(tr("User Manager"));
|
||||
setMinimumSize(QSize(400, 400));
|
||||
setMinimumSize(QSize(500, 400));
|
||||
setModal(true);
|
||||
|
||||
Init();
|
||||
|
Loading…
x
Reference in New Issue
Block a user