configure_web.ui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ConfigureWeb</class>
  4. <widget class="QWidget" name="ConfigureWeb">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>926</width>
  10. <height>561</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <property name="accessibleName">
  17. <string>Web</string>
  18. </property>
  19. <layout class="QVBoxLayout" name="verticalLayout">
  20. <item>
  21. <layout class="QVBoxLayout" name="verticalLayout_3">
  22. <item>
  23. <widget class="QGroupBox" name="groupBoxWebConfig">
  24. <property name="title">
  25. <string>yuzu Web Service</string>
  26. </property>
  27. <layout class="QVBoxLayout" name="verticalLayoutYuzuWebService">
  28. <item>
  29. <widget class="QLabel" name="web_credentials_disclaimer">
  30. <property name="text">
  31. <string>By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information.</string>
  32. </property>
  33. </widget>
  34. </item>
  35. <item>
  36. <layout class="QGridLayout" name="gridLayoutYuzuUsername">
  37. <item row="2" column="3">
  38. <widget class="QPushButton" name="button_verify_login">
  39. <property name="sizePolicy">
  40. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  41. <horstretch>0</horstretch>
  42. <verstretch>0</verstretch>
  43. </sizepolicy>
  44. </property>
  45. <property name="layoutDirection">
  46. <enum>Qt::RightToLeft</enum>
  47. </property>
  48. <property name="text">
  49. <string>Verify</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="2" column="0">
  54. <widget class="QLabel" name="web_signup_link">
  55. <property name="text">
  56. <string>Sign up</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="0" column="1" colspan="3">
  61. <widget class="QLabel" name="username"/>
  62. </item>
  63. <item row="1" column="0">
  64. <widget class="QLabel" name="label_token">
  65. <property name="text">
  66. <string>Token: </string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item row="1" column="4">
  71. <widget class="QLabel" name="label_token_verified"/>
  72. </item>
  73. <item row="0" column="0">
  74. <widget class="QLabel" name="label_username">
  75. <property name="text">
  76. <string>Username: </string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="1" column="1" colspan="3">
  81. <widget class="QLineEdit" name="edit_token">
  82. <property name="maxLength">
  83. <number>80</number>
  84. </property>
  85. <property name="echoMode">
  86. <enum>QLineEdit::Password</enum>
  87. </property>
  88. </widget>
  89. </item>
  90. <item row="2" column="1">
  91. <widget class="QLabel" name="web_token_info_link">
  92. <property name="text">
  93. <string>What is my token?</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="2" column="2">
  98. <spacer name="horizontalSpacer">
  99. <property name="orientation">
  100. <enum>Qt::Horizontal</enum>
  101. </property>
  102. <property name="sizeHint" stdset="0">
  103. <size>
  104. <width>40</width>
  105. <height>20</height>
  106. </size>
  107. </property>
  108. </spacer>
  109. </item>
  110. </layout>
  111. </item>
  112. </layout>
  113. </widget>
  114. </item>
  115. <item>
  116. <widget class="QLabel" name="label_disable_info">
  117. <property name="text">
  118. <string>Web Service configuration can only be changed when a public room isn't being hosted.</string>
  119. </property>
  120. <property name="wordWrap">
  121. <bool>true</bool>
  122. </property>
  123. </widget>
  124. </item>
  125. <item>
  126. <widget class="QGroupBox" name="groupBox">
  127. <property name="title">
  128. <string>Telemetry</string>
  129. </property>
  130. <layout class="QVBoxLayout" name="verticalLayout_2">
  131. <item>
  132. <widget class="QCheckBox" name="toggle_telemetry">
  133. <property name="text">
  134. <string>Share anonymous usage data with the yuzu team</string>
  135. </property>
  136. </widget>
  137. </item>
  138. <item>
  139. <widget class="QLabel" name="telemetry_learn_more">
  140. <property name="text">
  141. <string>Learn more</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item>
  146. <layout class="QGridLayout" name="gridLayoutTelemetryId">
  147. <item row="0" column="0">
  148. <widget class="QLabel" name="label_telemetry_id">
  149. <property name="text">
  150. <string>Telemetry ID:</string>
  151. </property>
  152. </widget>
  153. </item>
  154. <item row="0" column="1">
  155. <widget class="QPushButton" name="button_regenerate_telemetry_id">
  156. <property name="sizePolicy">
  157. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  158. <horstretch>0</horstretch>
  159. <verstretch>0</verstretch>
  160. </sizepolicy>
  161. </property>
  162. <property name="layoutDirection">
  163. <enum>Qt::RightToLeft</enum>
  164. </property>
  165. <property name="text">
  166. <string>Regenerate</string>
  167. </property>
  168. </widget>
  169. </item>
  170. </layout>
  171. </item>
  172. </layout>
  173. </widget>
  174. </item>
  175. </layout>
  176. </item>
  177. <item>
  178. <widget class="QGroupBox" name="discord_group">
  179. <property name="title">
  180. <string>Discord Presence</string>
  181. </property>
  182. <layout class="QVBoxLayout" name="verticalLayout_21">
  183. <item>
  184. <widget class="QCheckBox" name="toggle_discordrpc">
  185. <property name="text">
  186. <string>Show Current Game in your Discord Status</string>
  187. </property>
  188. </widget>
  189. </item>
  190. </layout>
  191. </widget>
  192. </item>
  193. <item>
  194. <spacer name="verticalSpacer">
  195. <property name="orientation">
  196. <enum>Qt::Vertical</enum>
  197. </property>
  198. <property name="sizeHint" stdset="0">
  199. <size>
  200. <width>20</width>
  201. <height>40</height>
  202. </size>
  203. </property>
  204. </spacer>
  205. </item>
  206. </layout>
  207. </widget>
  208. <resources/>
  209. <connections/>
  210. </ui>