all repos — mgba @ f5bc61b852a9a02355f0866f7f67266aaaf1a9c1

mGBA Game Boy Advance Emulator

Qt: Gray out "Skip BIOS intro" while "Use BIOS file" is unchecked (fixes #97)
Jeffrey Pfau jeffrey@endrift.com
Sun, 22 Nov 2015 03:56:06 -0800
commit

f5bc61b852a9a02355f0866f7f67266aaaf1a9c1

parent

6604afb670535c2a37b3a93ae48ab715b0ec16a7

2 files changed, 45 insertions(+), 28 deletions(-)

jump to
M CHANGESCHANGES

@@ -56,6 +56,7 @@ - GBA Memory: Implement several unimplemented memory access types

- GBA: Implement bad I/O register loading - GBA Memory: Add GBAView* functions for viewing memory directly without bus issues - Util: Add MutexTryLock + - Qt: Gray out "Skip BIOS intro" while "Use BIOS file" is unchecked 0.3.1: (2015-10-24) Bugfixes:
M src/platform/qt/SettingsView.uisrc/platform/qt/SettingsView.ui

@@ -61,7 +61,7 @@ <widget class="QComboBox" name="audioBufferSize">

<property name="editable"> <bool>true</bool> </property> - <property name="currentText"> + <property name="currentText" stdset="0"> <string>1536</string> </property> <property name="currentIndex">

@@ -290,7 +290,7 @@ <widget class="QComboBox" name="sampleRate">

<property name="editable"> <bool>true</bool> </property> - <property name="currentText"> + <property name="currentText" stdset="0"> <string>44100</string> </property> <property name="currentIndex">

@@ -366,45 +366,35 @@ </widget>

</item> </layout> </item> - <item row="1" column="1"> + <item row="2" column="1"> <widget class="QCheckBox" name="skipBios"> <property name="text"> <string>Skip BIOS intro</string> </property> </widget> </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="useBios"> - <property name="text"> - <string>Use BIOS file</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="3" column="0" colspan="2"> + <item row="4" column="0" colspan="2"> <widget class="Line" name="line_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="4" column="1"> + <item row="5" column="1"> <widget class="QCheckBox" name="rewind"> <property name="text"> <string>Enable rewind</string> </property> </widget> </item> - <item row="5" column="0"> + <item row="6" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Create rewind state:</string> </property> </widget> </item> - <item row="5" column="1"> + <item row="6" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_12"> <item> <widget class="QLabel" name="label_5">

@@ -425,14 +415,14 @@ </widget>

</item> </layout> </item> - <item row="6" column="0"> + <item row="7" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Rewind history:</string> </property> </widget> </item> - <item row="6" column="1"> + <item row="7" column="1"> <layout class="QHBoxLayout" name="horizontalLayout_13"> <item> <widget class="QSpinBox" name="rewindCapacity"/>

@@ -446,21 +436,21 @@ </widget>

</item> </layout> </item> - <item row="10" column="0" colspan="2"> + <item row="11" column="0" colspan="2"> <widget class="Line" name="line_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> - <item row="11" column="1"> + <item row="12" column="1"> <widget class="QCheckBox" name="allowOpposingDirections"> <property name="text"> <string>Allow opposing input directions</string> </property> </widget> </item> - <item row="12" column="1"> + <item row="13" column="1"> <widget class="QCheckBox" name="suspendScreensaver"> <property name="text"> <string>Suspend screensaver</string>

@@ -470,14 +460,14 @@ <bool>true</bool>

</property> </widget> </item> - <item row="13" column="0"> + <item row="14" column="0"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Idle loops</string> </property> </widget> </item> - <item row="13" column="1"> + <item row="14" column="1"> <widget class="QComboBox" name="idleOptimization"> <item> <property name="text">

@@ -496,7 +486,7 @@ </property>

</item> </widget> </item> - <item row="8" column="1"> + <item row="9" column="1"> <widget class="QDoubleSpinBox" name="fastForwardRatio"> <property name="enabled"> <bool>false</bool>

@@ -518,14 +508,14 @@ <double>5.000000000000000</double>

</property> </widget> </item> - <item row="8" column="0"> + <item row="9" column="0"> <widget class="QLabel" name="label_18"> <property name="text"> <string>Fast forward speed</string> </property> </widget> </item> - <item row="9" column="1"> + <item row="10" column="1"> <widget class="QCheckBox" name="fastForwardUnbounded"> <property name="text"> <string>Unbounded</string>

@@ -535,13 +525,23 @@ <bool>true</bool>

</property> </widget> </item> - <item row="7" column="0" colspan="2"> + <item row="8" column="0" colspan="2"> <widget class="Line" name="line_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> + <item row="1" column="1"> + <widget class="QCheckBox" name="useBios"> + <property name="text"> + <string>Use BIOS file</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </item> </layout> </item> </layout>

@@ -586,6 +586,22 @@ </hint>

<hint type="destinationlabel"> <x>169</x> <y>236</y> + </hint> + </hints> + </connection> + <connection> + <sender>useBios</sender> + <signal>toggled(bool)</signal> + <receiver>skipBios</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>520</x> + <y>62</y> + </hint> + <hint type="destinationlabel"> + <x>525</x> + <y>83</y> </hint> </hints> </connection>