diff options
Diffstat (limited to 'src/frontend/qt_sdl/VideoSettingsDialog.ui')
| -rw-r--r-- | src/frontend/qt_sdl/VideoSettingsDialog.ui | 220 | 
1 files changed, 220 insertions, 0 deletions
diff --git a/src/frontend/qt_sdl/VideoSettingsDialog.ui b/src/frontend/qt_sdl/VideoSettingsDialog.ui new file mode 100644 index 0000000..06670e5 --- /dev/null +++ b/src/frontend/qt_sdl/VideoSettingsDialog.ui @@ -0,0 +1,220 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>VideoSettingsDialog</class> + <widget class="QDialog" name="VideoSettingsDialog"> +  <property name="geometry"> +   <rect> +    <x>0</x> +    <y>0</y> +    <width>482</width> +    <height>237</height> +   </rect> +  </property> +  <property name="windowTitle"> +   <string>Video settings - melonDS</string> +  </property> +  <layout class="QGridLayout" name="gridLayout"> +   <item row="1" column="1"> +    <widget class="QGroupBox" name="groupBox_3"> +     <property name="title"> +      <string>OpenGL renderer</string> +     </property> +     <layout class="QGridLayout" name="gridLayout_4"> +      <item row="0" column="0"> +       <widget class="QLabel" name="label_3"> +        <property name="text"> +         <string>Internal resolution:</string> +        </property> +       </widget> +      </item> +      <item row="1" column="0"> +       <widget class="QComboBox" name="cbxGLResolution"> +        <property name="whatsThis"> +         <string><html><head/><body><p>The resolution at which the 3D graphics will be rendered. Higher resolutions improve graphics quality when the main window is enlarged, but may also cause glitches.</p></body></html></string> +        </property> +       </widget> +      </item> +     </layout> +    </widget> +   </item> +   <item row="0" column="1"> +    <widget class="QGroupBox" name="groupBox_2"> +     <property name="title"> +      <string>Software renderer</string> +     </property> +     <layout class="QGridLayout" name="gridLayout_3"> +      <item row="0" column="0"> +       <widget class="QCheckBox" name="cbSoftwareThreaded"> +        <property name="whatsThis"> +         <string><html><head/><body><p>Run the software renderer on a separate thread. Yields better performance on multi-core CPUs.</p></body></html></string> +        </property> +        <property name="text"> +         <string>Use separate thread</string> +        </property> +       </widget> +      </item> +     </layout> +    </widget> +   </item> +   <item row="4" column="0" colspan="2"> +    <widget class="QDialogButtonBox" name="buttonBox"> +     <property name="orientation"> +      <enum>Qt::Horizontal</enum> +     </property> +     <property name="standardButtons"> +      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> +     </property> +    </widget> +   </item> +   <item row="2" column="1"> +    <spacer name="verticalSpacer_2"> +     <property name="orientation"> +      <enum>Qt::Vertical</enum> +     </property> +     <property name="sizeHint" stdset="0"> +      <size> +       <width>20</width> +       <height>40</height> +      </size> +     </property> +    </spacer> +   </item> +   <item row="0" column="0" rowspan="3"> +    <widget class="QGroupBox" name="groupBox"> +     <property name="title"> +      <string>Display settings</string> +     </property> +     <layout class="QGridLayout" name="gridLayout_2"> +      <item row="6" column="0"> +       <widget class="QLabel" name="label_2"> +        <property name="sizePolicy"> +         <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> +          <horstretch>0</horstretch> +          <verstretch>0</verstretch> +         </sizepolicy> +        </property> +        <property name="whatsThis"> +         <string><html><head/><body><p>The interval at which to synchronize to the monitor's refresh rate. Set to 1 for a 60Hz monitor, 2 for 120Hz, ...</p></body></html></string> +        </property> +        <property name="text"> +         <string>VSync interval:</string> +        </property> +       </widget> +      </item> +      <item row="6" column="1"> +       <widget class="QSpinBox" name="sbVSyncInterval"> +        <property name="whatsThis"> +         <string><html><head/><body><p>The interval at which to synchronize to the monitor's refresh rate. Set to 1 for a 60Hz monitor, 2 for 120Hz, ...</p></body></html></string> +        </property> +        <property name="minimum"> +         <number>1</number> +        </property> +        <property name="maximum"> +         <number>20</number> +        </property> +       </widget> +      </item> +      <item row="4" column="0" colspan="2"> +       <widget class="QCheckBox" name="cbGLDisplay"> +        <property name="whatsThis"> +         <string><html><head/><body><p>Use OpenGL to draw the DS screens to the main window. May result in better frame pacing. Mandatory when using the OpenGL 3D renderer.</p></body></html></string> +        </property> +        <property name="text"> +         <string>OpenGL display</string> +        </property> +       </widget> +      </item> +      <item row="5" column="0" colspan="2"> +       <widget class="QCheckBox" name="cbVSync"> +        <property name="whatsThis"> +         <string><html><head/><body><p>When using OpenGL, synchronize the video output to your monitor's refresh rate.</p></body></html></string> +        </property> +        <property name="text"> +         <string>VSync</string> +        </property> +       </widget> +      </item> +      <item row="3" column="0" colspan="2"> +       <spacer name="verticalSpacer"> +        <property name="orientation"> +         <enum>Qt::Vertical</enum> +        </property> +        <property name="sizeType"> +         <enum>QSizePolicy::Fixed</enum> +        </property> +        <property name="sizeHint" stdset="0"> +         <size> +          <width>20</width> +          <height>20</height> +         </size> +        </property> +       </spacer> +      </item> +      <item row="2" column="0" colspan="2"> +       <widget class="QRadioButton" name="rb3DOpenGL"> +        <property name="whatsThis"> +         <string><html><head/><body><p>The OpenGL renderer may be faster than software and supports graphical enhancements, but is more prone to glitches.</p></body></html></string> +        </property> +        <property name="text"> +         <string>OpenGL</string> +        </property> +       </widget> +      </item> +      <item row="1" column="0" colspan="2"> +       <widget class="QRadioButton" name="rb3DSoftware"> +        <property name="whatsThis"> +         <string><html><head/><body><p>The software renderer is more accurate and less prone to rendering glitches, but requires more CPU power.</p></body></html></string> +        </property> +        <property name="text"> +         <string>Software</string> +        </property> +       </widget> +      </item> +      <item row="0" column="0" colspan="2"> +       <widget class="QLabel" name="label"> +        <property name="text"> +         <string>3D renderer:</string> +        </property> +       </widget> +      </item> +     </layout> +    </widget> +   </item> +  </layout> + </widget> + <resources/> + <connections> +  <connection> +   <sender>buttonBox</sender> +   <signal>accepted()</signal> +   <receiver>VideoSettingsDialog</receiver> +   <slot>accept()</slot> +   <hints> +    <hint type="sourcelabel"> +     <x>248</x> +     <y>254</y> +    </hint> +    <hint type="destinationlabel"> +     <x>157</x> +     <y>274</y> +    </hint> +   </hints> +  </connection> +  <connection> +   <sender>buttonBox</sender> +   <signal>rejected()</signal> +   <receiver>VideoSettingsDialog</receiver> +   <slot>reject()</slot> +   <hints> +    <hint type="sourcelabel"> +     <x>316</x> +     <y>260</y> +    </hint> +    <hint type="destinationlabel"> +     <x>286</x> +     <y>274</y> +    </hint> +   </hints> +  </connection> + </connections> +</ui>  |