globalsettingsdlg.ui 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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>974</width>
  10. <height>587</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. <item row="4" column="0">
  85. <widget class="QLabel" name="label_8">
  86. <property name="text">
  87. <string>Default DispVM:</string>
  88. </property>
  89. </widget>
  90. </item>
  91. <item row="4" column="1">
  92. <widget class="QComboBox" name="default_dispvm_combo"/>
  93. </item>
  94. </layout>
  95. </widget>
  96. </item>
  97. <item row="3" column="0" colspan="2">
  98. <widget class="QDialogButtonBox" name="buttonBox">
  99. <property name="orientation">
  100. <enum>Qt::Horizontal</enum>
  101. </property>
  102. <property name="standardButtons">
  103. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  104. </property>
  105. </widget>
  106. </item>
  107. <item row="0" column="1">
  108. <widget class="QGroupBox" name="groupBox_3">
  109. <property name="enabled">
  110. <bool>true</bool>
  111. </property>
  112. <property name="minimumSize">
  113. <size>
  114. <width>0</width>
  115. <height>140</height>
  116. </size>
  117. </property>
  118. <property name="title">
  119. <string>Default memory settings</string>
  120. </property>
  121. <layout class="QGridLayout" name="gridLayout_2">
  122. <item row="0" column="0">
  123. <widget class="QLabel" name="label_6">
  124. <property name="enabled">
  125. <bool>true</bool>
  126. </property>
  127. <property name="text">
  128. <string>Minimal qube memory:</string>
  129. </property>
  130. </widget>
  131. </item>
  132. <item row="0" column="1">
  133. <widget class="QSpinBox" name="min_vm_mem">
  134. <property name="enabled">
  135. <bool>true</bool>
  136. </property>
  137. <property name="suffix">
  138. <string> MiB</string>
  139. </property>
  140. <property name="maximum">
  141. <number>999999999</number>
  142. </property>
  143. <property name="singleStep">
  144. <number>50</number>
  145. </property>
  146. </widget>
  147. </item>
  148. <item row="1" column="0">
  149. <widget class="QLabel" name="label_7">
  150. <property name="enabled">
  151. <bool>true</bool>
  152. </property>
  153. <property name="text">
  154. <string>dom0 memory boost:</string>
  155. </property>
  156. </widget>
  157. </item>
  158. <item row="1" column="1">
  159. <widget class="QSpinBox" name="dom0_mem_boost">
  160. <property name="enabled">
  161. <bool>true</bool>
  162. </property>
  163. <property name="suffix">
  164. <string> MiB</string>
  165. </property>
  166. <property name="maximum">
  167. <number>999999999</number>
  168. </property>
  169. <property name="singleStep">
  170. <number>50</number>
  171. </property>
  172. </widget>
  173. </item>
  174. </layout>
  175. </widget>
  176. </item>
  177. <item row="1" column="0" colspan="2">
  178. <widget class="QGroupBox" name="groupBox_2">
  179. <property name="enabled">
  180. <bool>true</bool>
  181. </property>
  182. <property name="title">
  183. <string>Kernel</string>
  184. </property>
  185. <layout class="QFormLayout" name="formLayout_2">
  186. <property name="fieldGrowthPolicy">
  187. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  188. </property>
  189. <item row="0" column="0">
  190. <widget class="QLabel" name="label_5">
  191. <property name="text">
  192. <string>Default kernel:</string>
  193. </property>
  194. </widget>
  195. </item>
  196. <item row="0" column="1">
  197. <widget class="QComboBox" name="default_kernel_combo"/>
  198. </item>
  199. </layout>
  200. </widget>
  201. </item>
  202. <item row="2" column="0" colspan="2">
  203. <widget class="QGroupBox" name="groupBox_4">
  204. <property name="title">
  205. <string>Updates</string>
  206. </property>
  207. <layout class="QGridLayout" name="gridLayout_3">
  208. <item row="1" column="1">
  209. <widget class="QPushButton" name="disable_updates_all">
  210. <property name="text">
  211. <string>Disable checking for updates for all VMs</string>
  212. </property>
  213. </widget>
  214. </item>
  215. <item row="0" column="0">
  216. <widget class="QCheckBox" name="updates_dom0">
  217. <property name="text">
  218. <string>Check for dom0 updates</string>
  219. </property>
  220. <property name="tristate">
  221. <bool>false</bool>
  222. </property>
  223. </widget>
  224. </item>
  225. <item row="0" column="1">
  226. <widget class="QCheckBox" name="updates_vm">
  227. <property name="toolTip">
  228. <string>Unknown current state</string>
  229. </property>
  230. <property name="text">
  231. <string>Check for qube updates</string>
  232. </property>
  233. </widget>
  234. </item>
  235. <item row="2" column="1">
  236. <widget class="QPushButton" name="enable_updates_all">
  237. <property name="text">
  238. <string>Enable checking for updates for all VMs</string>
  239. </property>
  240. </widget>
  241. </item>
  242. </layout>
  243. </widget>
  244. </item>
  245. </layout>
  246. </widget>
  247. <resources/>
  248. <connections>
  249. <connection>
  250. <sender>buttonBox</sender>
  251. <signal>accepted()</signal>
  252. <receiver>GlobalSettings</receiver>
  253. <slot>accept()</slot>
  254. <hints>
  255. <hint type="sourcelabel">
  256. <x>248</x>
  257. <y>254</y>
  258. </hint>
  259. <hint type="destinationlabel">
  260. <x>157</x>
  261. <y>274</y>
  262. </hint>
  263. </hints>
  264. </connection>
  265. <connection>
  266. <sender>buttonBox</sender>
  267. <signal>rejected()</signal>
  268. <receiver>GlobalSettings</receiver>
  269. <slot>reject()</slot>
  270. <hints>
  271. <hint type="sourcelabel">
  272. <x>316</x>
  273. <y>260</y>
  274. </hint>
  275. <hint type="destinationlabel">
  276. <x>286</x>
  277. <y>274</y>
  278. </hint>
  279. </hints>
  280. </connection>
  281. </connections>
  282. </ui>