mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
Qt: add scrollbar to settings dialog
This commit is contained in:
parent
eacf5a3813
commit
09a60cdefa
2 changed files with 3804 additions and 3794 deletions
|
@ -1994,9 +1994,6 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||||
|
|
||||||
m_emu_settings->EnhanceComboBox(ui->combo_num_ppu_threads, emu_settings_type::NumPPUThreads, true);
|
m_emu_settings->EnhanceComboBox(ui->combo_num_ppu_threads, emu_settings_type::NumPPUThreads, true);
|
||||||
SubscribeTooltip(ui->gb_num_ppu_threads, tooltips.settings.num_ppu_threads);
|
SubscribeTooltip(ui->gb_num_ppu_threads, tooltips.settings.num_ppu_threads);
|
||||||
|
|
||||||
// Layout fix for High Dpi
|
|
||||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settings_dialog::~settings_dialog()
|
settings_dialog::~settings_dialog()
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>785</width>
|
<width>856</width>
|
||||||
<height>730</height>
|
<height>688</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
|
@ -28,26 +28,38 @@
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="settings_dialog_layout">
|
<layout class="QVBoxLayout" name="settings_dialog_layout">
|
||||||
<item>
|
<item>
|
||||||
|
<widget class="QScrollArea" name="scrollArea">
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::NoFrame</enum>
|
||||||
|
</property>
|
||||||
|
<property name="widgetResizable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<widget class="QTabWidget" name="tab_widget_settings">
|
<widget class="QTabWidget" name="tab_widget_settings">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>838</width>
|
||||||
|
<height>641</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<widget class="QWidget" name="coreTab">
|
<widget class="QWidget" name="coreTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>CPU</string>
|
<string>CPU</string>
|
||||||
</attribute>
|
</attribute>
|
||||||
<layout class="QVBoxLayout" name="coreTabLayout" stretch="0,1,0">
|
<layout class="QVBoxLayout" name="coreTabLayout" stretch="0,1,0">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="coreTabItemLayout" stretch="1,1,1">
|
<layout class="QHBoxLayout" name="coreTabItemLayout">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="coreTabLeftLayout">
|
<layout class="QVBoxLayout" name="coreTabLeftLayout">
|
||||||
<item>
|
<item>
|
||||||
|
@ -3945,6 +3957,7 @@
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QDialogButtonBox" name="buttonBox">
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue