mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-05 15:40:10 +00:00
Qt/Input: Remove unsupported groupboxes from pad dialog and shorten text
This commit is contained in:
parent
c2379b8337
commit
25a1d86986
@ -154,6 +154,11 @@ pad_settings_dialog::pad_settings_dialog(const std::string& device, std::shared_
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui->verticalLayout_left->removeWidget(ui->gb_vibration);
|
||||||
|
delete ui->gb_vibration;
|
||||||
|
}
|
||||||
|
|
||||||
// Enable Deadzone Settings
|
// Enable Deadzone Settings
|
||||||
if (m_handler->has_deadzones())
|
if (m_handler->has_deadzones())
|
||||||
@ -187,6 +192,14 @@ pad_settings_dialog::pad_settings_dialog(const std::string& device, std::shared_
|
|||||||
RepaintPreviewLabel(ui->preview_stick_right, value, ui->slider_stick_right->sizeHint().width(), rx, ry);
|
RepaintPreviewLabel(ui->preview_stick_right, value, ui->slider_stick_right->sizeHint().width(), rx, ry);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui->verticalLayout_right->removeWidget(ui->gb_sticks);
|
||||||
|
ui->verticalLayout_left->removeWidget(ui->gb_triggers);
|
||||||
|
|
||||||
|
delete ui->gb_sticks;
|
||||||
|
delete ui->gb_triggers;
|
||||||
|
}
|
||||||
|
|
||||||
auto insertButton = [this](int id, QPushButton* button, cfg::string* cfg_name)
|
auto insertButton = [this](int id, QPushButton* button, cfg::string* cfg_name)
|
||||||
{
|
{
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
<iconset resource="../resources.qrc">
|
<iconset resource="../resources.qrc">
|
||||||
<normaloff>:/rpcs3.ico</normaloff>:/rpcs3.ico</iconset>
|
<normaloff>:/rpcs3.ico</normaloff>:/rpcs3.ico</iconset>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
<layout class="QHBoxLayout" name="horizontalLayout_23">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_26">
|
<layout class="QVBoxLayout" name="verticalLayout_left">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
@ -672,7 +672,7 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_39">
|
<layout class="QVBoxLayout" name="verticalLayout_middle">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
@ -1155,7 +1155,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="l_description">
|
<widget class="QLabel" name="l_description">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>We currently support keyboard and mouse input devices as well as native DualShock 4, XInput and MMjoy controllers through software thanks to our core developers and contributors. Unfortunately, we currently do not natively support DualShock 3 controllers. You can however use third party tools like SCP Driver Package to allow your DualShock 3 controller to function like an XInput controller. We plan to add additional input methods in the future.</string>
|
<string>Unfortunately, we currently do not natively support DualShock 3 controllers. You can however use third party tools like SCP Driver Package to allow your DualShock 3 controller to function like an XInput controller. We plan to add additional input methods in the future.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="textFormat">
|
<property name="textFormat">
|
||||||
<enum>Qt::PlainText</enum>
|
<enum>Qt::PlainText</enum>
|
||||||
@ -1174,7 +1174,7 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_14">
|
<layout class="QVBoxLayout" name="verticalLayout_right">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
<number>5</number>
|
<number>5</number>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user