globalsettingsdlg.ui 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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>331</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. </layout>
  165. </widget>
  166. </item>
  167. <item row="1" column="0" colspan="2">
  168. <widget class="QGroupBox" name="groupBox_2">
  169. <property name="enabled">
  170. <bool>true</bool>
  171. </property>
  172. <property name="title">
  173. <string>Kernel</string>
  174. </property>
  175. <layout class="QFormLayout" name="formLayout_2">
  176. <property name="fieldGrowthPolicy">
  177. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  178. </property>
  179. <item row="0" column="0">
  180. <widget class="QLabel" name="label_5">
  181. <property name="text">
  182. <string>Default kernel:</string>
  183. </property>
  184. </widget>
  185. </item>
  186. <item row="0" column="1">
  187. <widget class="QComboBox" name="default_kernel_combo"/>
  188. </item>
  189. </layout>
  190. </widget>
  191. </item>
  192. <item row="2" column="0" colspan="2">
  193. <widget class="QGroupBox" name="groupBox_4">
  194. <property name="title">
  195. <string>Updates</string>
  196. </property>
  197. <layout class="QGridLayout" name="gridLayout_3">
  198. <item row="0" column="0">
  199. <widget class="QCheckBox" name="updates_dom0">
  200. <property name="text">
  201. <string>Check for dom0 updates</string>
  202. </property>
  203. <property name="tristate">
  204. <bool>false</bool>
  205. </property>
  206. </widget>
  207. </item>
  208. <item row="0" column="1">
  209. <widget class="QCheckBox" name="updates_vm">
  210. <property name="toolTip">
  211. <string>Unknown current state</string>
  212. </property>
  213. <property name="text">
  214. <string>Check for VM updates</string>
  215. </property>
  216. </widget>
  217. </item>
  218. </layout>
  219. </widget>
  220. </item>
  221. </layout>
  222. </widget>
  223. <resources/>
  224. <connections>
  225. <connection>
  226. <sender>buttonBox</sender>
  227. <signal>accepted()</signal>
  228. <receiver>GlobalSettings</receiver>
  229. <slot>accept()</slot>
  230. <hints>
  231. <hint type="sourcelabel">
  232. <x>248</x>
  233. <y>254</y>
  234. </hint>
  235. <hint type="destinationlabel">
  236. <x>157</x>
  237. <y>274</y>
  238. </hint>
  239. </hints>
  240. </connection>
  241. <connection>
  242. <sender>buttonBox</sender>
  243. <signal>rejected()</signal>
  244. <receiver>GlobalSettings</receiver>
  245. <slot>reject()</slot>
  246. <hints>
  247. <hint type="sourcelabel">
  248. <x>316</x>
  249. <y>260</y>
  250. </hint>
  251. <hint type="destinationlabel">
  252. <x>286</x>
  253. <y>274</y>
  254. </hint>
  255. </hints>
  256. </connection>
  257. </connections>
  258. </ui>