globalsettingsdlg.ui 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>GlobalSettings</class>
  4. <widget class="QDialog" name="GlobalSettings">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>678</width>
  10. <height>318</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qubes Global Settings</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="0" column="0">
  18. <widget class="QGroupBox" name="groupBox">
  19. <property name="enabled">
  20. <bool>true</bool>
  21. </property>
  22. <property name="minimumSize">
  23. <size>
  24. <width>0</width>
  25. <height>140</height>
  26. </size>
  27. </property>
  28. <property name="title">
  29. <string>System defaults</string>
  30. </property>
  31. <layout class="QFormLayout" name="formLayout">
  32. <item row="0" column="0">
  33. <widget class="QLabel" name="label">
  34. <property name="sizePolicy">
  35. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  36. <horstretch>0</horstretch>
  37. <verstretch>0</verstretch>
  38. </sizepolicy>
  39. </property>
  40. <property name="text">
  41. <string>UpdateVM:</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="0" column="1">
  46. <widget class="QComboBox" name="update_vm_combo"/>
  47. </item>
  48. <item row="1" column="0">
  49. <widget class="QLabel" name="label_2">
  50. <property name="text">
  51. <string>ClockVM:</string>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="1" column="1">
  56. <widget class="QComboBox" name="clock_vm_combo"/>
  57. </item>
  58. <item row="2" column="0">
  59. <widget class="QLabel" name="label_3">
  60. <property name="text">
  61. <string>Default netVM:</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="2" column="1">
  66. <widget class="QComboBox" name="default_netvm_combo"/>
  67. </item>
  68. <item row="3" column="0">
  69. <widget class="QLabel" name="label_4">
  70. <property name="sizePolicy">
  71. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  72. <horstretch>0</horstretch>
  73. <verstretch>0</verstretch>
  74. </sizepolicy>
  75. </property>
  76. <property name="text">
  77. <string>Default template:</string>
  78. </property>
  79. </widget>
  80. </item>
  81. <item row="3" column="1">
  82. <widget class="QComboBox" name="default_template_combo"/>
  83. </item>
  84. </layout>
  85. </widget>
  86. </item>
  87. <item row="3" column="0" colspan="2">
  88. <widget class="QDialogButtonBox" name="buttonBox">
  89. <property name="orientation">
  90. <enum>Qt::Horizontal</enum>
  91. </property>
  92. <property name="standardButtons">
  93. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  94. </property>
  95. </widget>
  96. </item>
  97. <item row="0" column="1">
  98. <widget class="QGroupBox" name="groupBox_3">
  99. <property name="enabled">
  100. <bool>true</bool>
  101. </property>
  102. <property name="minimumSize">
  103. <size>
  104. <width>0</width>
  105. <height>140</height>
  106. </size>
  107. </property>
  108. <property name="title">
  109. <string>Default memory settings</string>
  110. </property>
  111. <layout class="QGridLayout" name="gridLayout_2">
  112. <item row="0" column="0">
  113. <widget class="QLabel" name="label_6">
  114. <property name="enabled">
  115. <bool>true</bool>
  116. </property>
  117. <property name="text">
  118. <string>Minimal VM's memory:</string>
  119. </property>
  120. </widget>
  121. </item>
  122. <item row="0" column="1">
  123. <widget class="QSpinBox" name="min_vm_mem">
  124. <property name="enabled">
  125. <bool>true</bool>
  126. </property>
  127. <property name="suffix">
  128. <string> MiB</string>
  129. </property>
  130. <property name="maximum">
  131. <number>999999999</number>
  132. </property>
  133. <property name="singleStep">
  134. <number>50</number>
  135. </property>
  136. </widget>
  137. </item>
  138. <item row="1" column="0">
  139. <widget class="QLabel" name="label_7">
  140. <property name="enabled">
  141. <bool>true</bool>
  142. </property>
  143. <property name="text">
  144. <string>dom0 memory boost:</string>
  145. </property>
  146. </widget>
  147. </item>
  148. <item row="1" column="1">
  149. <widget class="QSpinBox" name="dom0_mem_boost">
  150. <property name="enabled">
  151. <bool>true</bool>
  152. </property>
  153. <property name="suffix">
  154. <string> MiB</string>
  155. </property>
  156. <property name="maximum">
  157. <number>999999999</number>
  158. </property>
  159. <property name="singleStep">
  160. <number>50</number>
  161. </property>
  162. </widget>
  163. </item>
  164. <item row="2" column="0" colspan="2">
  165. <widget class="QCheckBox" name="dispvm_in_memory">
  166. <property name="text">
  167. <string>Keep dispVM in memory</string>
  168. </property>
  169. </widget>
  170. </item>
  171. </layout>
  172. </widget>
  173. </item>
  174. <item row="1" column="0" colspan="2">
  175. <widget class="QGroupBox" name="groupBox_2">
  176. <property name="enabled">
  177. <bool>true</bool>
  178. </property>
  179. <property name="title">
  180. <string>Kernel</string>
  181. </property>
  182. <layout class="QFormLayout" name="formLayout_2">
  183. <property name="fieldGrowthPolicy">
  184. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  185. </property>
  186. <item row="0" column="0">
  187. <widget class="QLabel" name="label_5">
  188. <property name="text">
  189. <string>Default kernel:</string>
  190. </property>
  191. </widget>
  192. </item>
  193. <item row="0" column="1">
  194. <widget class="QComboBox" name="default_kernel_combo"/>
  195. </item>
  196. </layout>
  197. </widget>
  198. </item>
  199. <item row="2" column="0" colspan="2">
  200. <widget class="QGroupBox" name="groupBox_4">
  201. <property name="title">
  202. <string>Updates</string>
  203. </property>
  204. <layout class="QGridLayout" name="gridLayout_3">
  205. <item row="0" column="0">
  206. <widget class="QCheckBox" name="updates_dom0">
  207. <property name="text">
  208. <string>Check for dom0 updates</string>
  209. </property>
  210. <property name="tristate">
  211. <bool>false</bool>
  212. </property>
  213. </widget>
  214. </item>
  215. <item row="0" column="1">
  216. <widget class="QCheckBox" name="updates_vm">
  217. <property name="toolTip">
  218. <string>Unknown current state</string>
  219. </property>
  220. <property name="text">
  221. <string>Check for VM updates</string>
  222. </property>
  223. </widget>
  224. </item>
  225. </layout>
  226. </widget>
  227. </item>
  228. </layout>
  229. </widget>
  230. <resources/>
  231. <connections>
  232. <connection>
  233. <sender>buttonBox</sender>
  234. <signal>accepted()</signal>
  235. <receiver>GlobalSettings</receiver>
  236. <slot>accept()</slot>
  237. <hints>
  238. <hint type="sourcelabel">
  239. <x>248</x>
  240. <y>254</y>
  241. </hint>
  242. <hint type="destinationlabel">
  243. <x>157</x>
  244. <y>274</y>
  245. </hint>
  246. </hints>
  247. </connection>
  248. <connection>
  249. <sender>buttonBox</sender>
  250. <signal>rejected()</signal>
  251. <receiver>GlobalSettings</receiver>
  252. <slot>reject()</slot>
  253. <hints>
  254. <hint type="sourcelabel">
  255. <x>316</x>
  256. <y>260</y>
  257. </hint>
  258. <hint type="destinationlabel">
  259. <x>286</x>
  260. <y>274</y>
  261. </hint>
  262. </hints>
  263. </connection>
  264. </connections>
  265. </ui>