configure_graphics.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ConfigureGraphics</class>
  4. <widget class="QWidget" name="ConfigureGraphics">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout_3">
  19. <item>
  20. <widget class="QGroupBox" name="groupBox">
  21. <property name="title">
  22. <string>Graphics</string>
  23. </property>
  24. <layout class="QVBoxLayout" name="verticalLayout_2">
  25. <item>
  26. <widget class="QCheckBox" name="toggle_hw_renderer">
  27. <property name="text">
  28. <string>Enable hardware renderer</string>
  29. </property>
  30. </widget>
  31. </item>
  32. <item>
  33. <widget class="QCheckBox" name="toggle_shader_jit">
  34. <property name="text">
  35. <string>Enable shader JIT</string>
  36. </property>
  37. </widget>
  38. </item>
  39. <item>
  40. <widget class="QCheckBox" name="toggle_vsync">
  41. <property name="text">
  42. <string>Enable V-Sync</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item>
  47. <widget class="QCheckBox" name="toggle_framelimit">
  48. <property name="text">
  49. <string>Limit framerate</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item>
  54. <layout class="QHBoxLayout" name="horizontalLayout">
  55. <item>
  56. <widget class="QLabel" name="label">
  57. <property name="text">
  58. <string>Internal Resolution:</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QComboBox" name="resolution_factor_combobox">
  64. <item>
  65. <property name="text">
  66. <string notr="true">Auto (Window Size)</string>
  67. </property>
  68. </item>
  69. <item>
  70. <property name="text">
  71. <string notr="true">Native (400x240)</string>
  72. </property>
  73. </item>
  74. <item>
  75. <property name="text">
  76. <string notr="true">2x Native (800x480)</string>
  77. </property>
  78. </item>
  79. <item>
  80. <property name="text">
  81. <string notr="true">3x Native (1200x720)</string>
  82. </property>
  83. </item>
  84. <item>
  85. <property name="text">
  86. <string notr="true">4x Native (1600x960)</string>
  87. </property>
  88. </item>
  89. <item>
  90. <property name="text">
  91. <string notr="true">5x Native (2000x1200)</string>
  92. </property>
  93. </item>
  94. <item>
  95. <property name="text">
  96. <string notr="true">6x Native (2400x1440)</string>
  97. </property>
  98. </item>
  99. <item>
  100. <property name="text">
  101. <string notr="true">7x Native (2800x1680)</string>
  102. </property>
  103. </item>
  104. <item>
  105. <property name="text">
  106. <string notr="true">8x Native (3200x1920)</string>
  107. </property>
  108. </item>
  109. <item>
  110. <property name="text">
  111. <string notr="true">9x Native (3600x2160)</string>
  112. </property>
  113. </item>
  114. <item>
  115. <property name="text">
  116. <string notr="true">10x Native (4000x2400)</string>
  117. </property>
  118. </item>
  119. </widget>
  120. </item>
  121. </layout>
  122. </item>
  123. </layout>
  124. </widget>
  125. </item>
  126. </layout>
  127. </item>
  128. <item>
  129. <widget class="QGroupBox" name="layoutBox">
  130. <property name="title">
  131. <string>Layout</string>
  132. </property>
  133. <layout class="QHBoxLayout" name="horizontalLayout_3">
  134. <item>
  135. <layout class="QVBoxLayout" name="verticalLayout_4">
  136. <item>
  137. <layout class="QHBoxLayout" name="horizontalLayout_4">
  138. <item>
  139. <widget class="QLabel" name="label1">
  140. <property name="text">
  141. <string>Screen Layout:</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <widget class="QComboBox" name="layout_combobox">
  147. <item>
  148. <property name="text">
  149. <string>Default</string>
  150. </property>
  151. </item>
  152. <item>
  153. <property name="text">
  154. <string>Single Screen</string>
  155. </property>
  156. </item>
  157. <item>
  158. <property name="text">
  159. <string>Large Screen</string>
  160. </property>
  161. </item>
  162. <item>
  163. <property name="text">
  164. <string>Side by Side</string>
  165. </property>
  166. </item>
  167. </widget>
  168. </item>
  169. </layout>
  170. </item>
  171. <item>
  172. <widget class="QCheckBox" name="swap_screen">
  173. <property name="text">
  174. <string>Swap Screens</string>
  175. </property>
  176. </widget>
  177. </item>
  178. </layout>
  179. </item>
  180. </layout>
  181. </widget>
  182. </item>
  183. <item>
  184. <spacer name="verticalSpacer">
  185. <property name="orientation">
  186. <enum>Qt::Vertical</enum>
  187. </property>
  188. <property name="sizeHint" stdset="0">
  189. <size>
  190. <width>20</width>
  191. <height>40</height>
  192. </size>
  193. </property>
  194. </spacer>
  195. </item>
  196. </layout>
  197. </widget>
  198. <resources/>
  199. <connections>
  200. <connection>
  201. <sender>toggle_hw_renderer</sender>
  202. <signal>toggled(bool)</signal>
  203. <receiver>resolution_factor_combobox</receiver>
  204. <slot>setEnabled(bool)</slot>
  205. </connection>
  206. </connections>
  207. </ui>