mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-13 09:12:27 +01:00
update QT UI with Swap Eyes
This commit is contained in:
parent
e032c223d2
commit
17a73e2af4
@ -57,6 +57,7 @@ void ConfigureEnhancements::SetConfiguration() {
|
|||||||
|
|
||||||
ui->render_3d_combobox->setCurrentIndex(
|
ui->render_3d_combobox->setCurrentIndex(
|
||||||
static_cast<int>(Settings::values.render_3d.GetValue()));
|
static_cast<int>(Settings::values.render_3d.GetValue()));
|
||||||
|
ui->swap_eyes_3d->setChecked(Settings::values.swap_eyes_3d.GetValue());
|
||||||
ui->factor_3d->setValue(Settings::values.factor_3d.GetValue());
|
ui->factor_3d->setValue(Settings::values.factor_3d.GetValue());
|
||||||
ui->mono_rendering_eye->setCurrentIndex(
|
ui->mono_rendering_eye->setCurrentIndex(
|
||||||
static_cast<int>(Settings::values.mono_render_option.GetValue()));
|
static_cast<int>(Settings::values.mono_render_option.GetValue()));
|
||||||
@ -111,6 +112,7 @@ void ConfigureEnhancements::ApplyConfiguration() {
|
|||||||
ui->resolution_factor_combobox);
|
ui->resolution_factor_combobox);
|
||||||
Settings::values.render_3d =
|
Settings::values.render_3d =
|
||||||
static_cast<Settings::StereoRenderOption>(ui->render_3d_combobox->currentIndex());
|
static_cast<Settings::StereoRenderOption>(ui->render_3d_combobox->currentIndex());
|
||||||
|
Settings::values.swap_eyes_3d = ui->swap_eyes_3d->isChecked();
|
||||||
Settings::values.factor_3d = ui->factor_3d->value();
|
Settings::values.factor_3d = ui->factor_3d->value();
|
||||||
Settings::values.mono_render_option =
|
Settings::values.mono_render_option =
|
||||||
static_cast<Settings::MonoRenderOption>(ui->mono_rendering_eye->currentIndex());
|
static_cast<Settings::MonoRenderOption>(ui->mono_rendering_eye->currentIndex());
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>440</width>
|
<width>440</width>
|
||||||
<height>950</height>
|
<height>891</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
@ -236,7 +236,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Reverse Side by Side</string>
|
<string>Side by Side Full Width</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -311,14 +311,19 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="disable_right_eye_render">
|
<widget class="QCheckBox" name="disable_right_eye_render">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Disable Right Eye Rendering</string>
|
<string>Disable Right Eye Rendering</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string><html><head/><body><p>Disable Right Eye Rendering</p><p>Disables rendering the right eye image when not using stereoscopic mode. Greatly improves performance in some applications, but can cause flickering in others.</p></body></html></string>
|
<string><html><head/><body><p>Disable Right Eye Rendering</p><p>Disables rendering the right eye image when not using stereoscopic mode. Greatly improves performance in some applications, but can cause flickering in others.</p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QCheckBox" name="swap_eyes_3d">
|
||||||
|
<property name="text">
|
||||||
|
<string>Swap Eyes</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user