globalsettingsdlg.ui 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  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>831</width>
  10. <height>517</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>Dom0 UpdateVM:</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item row="0" column="1">
  46. <widget class="QComboBox" name="update_vm_combo">
  47. <property name="toolTip">
  48. <string>This is updateVM ONLY for dom0; if you want to change updateVMs for other VMs, use /etc/qubes-rpc/policy/qubes.UpdatesProxy</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="1" column="0">
  53. <widget class="QLabel" name="label_2">
  54. <property name="text">
  55. <string>ClockVM:</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item row="1" column="1">
  60. <widget class="QComboBox" name="clock_vm_combo"/>
  61. </item>
  62. <item row="2" column="0">
  63. <widget class="QLabel" name="label_3">
  64. <property name="text">
  65. <string>Default netVM:</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="2" column="1">
  70. <widget class="QComboBox" name="default_netvm_combo"/>
  71. </item>
  72. <item row="3" column="0">
  73. <widget class="QLabel" name="label_4">
  74. <property name="sizePolicy">
  75. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  76. <horstretch>0</horstretch>
  77. <verstretch>0</verstretch>
  78. </sizepolicy>
  79. </property>
  80. <property name="text">
  81. <string>Default template:</string>
  82. </property>
  83. </widget>
  84. </item>
  85. <item row="3" column="1">
  86. <widget class="QComboBox" name="default_template_combo"/>
  87. </item>
  88. <item row="4" column="0">
  89. <widget class="QLabel" name="label_8">
  90. <property name="text">
  91. <string>Default DisposableVM Template:</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item row="4" column="1">
  96. <widget class="QComboBox" name="default_dispvm_combo"/>
  97. </item>
  98. </layout>
  99. </widget>
  100. </item>
  101. <item row="4" column="0" colspan="2">
  102. <widget class="QDialogButtonBox" name="buttonBox">
  103. <property name="orientation">
  104. <enum>Qt::Horizontal</enum>
  105. </property>
  106. <property name="standardButtons">
  107. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  108. </property>
  109. </widget>
  110. </item>
  111. <item row="0" column="1">
  112. <widget class="QGroupBox" name="groupBox_3">
  113. <property name="enabled">
  114. <bool>true</bool>
  115. </property>
  116. <property name="minimumSize">
  117. <size>
  118. <width>0</width>
  119. <height>140</height>
  120. </size>
  121. </property>
  122. <property name="title">
  123. <string>Memory Balancer Settings</string>
  124. </property>
  125. <layout class="QGridLayout" name="gridLayout_2">
  126. <item row="2" column="0">
  127. <widget class="QLabel" name="label_6">
  128. <property name="enabled">
  129. <bool>true</bool>
  130. </property>
  131. <property name="text">
  132. <string>Minimal qube memory:</string>
  133. </property>
  134. </widget>
  135. </item>
  136. <item row="2" column="1">
  137. <widget class="QSpinBox" name="min_vm_mem">
  138. <property name="enabled">
  139. <bool>true</bool>
  140. </property>
  141. <property name="suffix">
  142. <string> MiB</string>
  143. </property>
  144. <property name="maximum">
  145. <number>999999999</number>
  146. </property>
  147. <property name="singleStep">
  148. <number>50</number>
  149. </property>
  150. </widget>
  151. </item>
  152. <item row="3" column="1">
  153. <widget class="QSpinBox" name="dom0_mem_boost">
  154. <property name="enabled">
  155. <bool>true</bool>
  156. </property>
  157. <property name="toolTip">
  158. <string>Additional memory allocated to dom0 by Qubes Memory Balancer.</string>
  159. </property>
  160. <property name="suffix">
  161. <string> MiB</string>
  162. </property>
  163. <property name="maximum">
  164. <number>999999999</number>
  165. </property>
  166. <property name="singleStep">
  167. <number>50</number>
  168. </property>
  169. </widget>
  170. </item>
  171. <item row="3" column="0">
  172. <widget class="QLabel" name="label_7">
  173. <property name="enabled">
  174. <bool>true</bool>
  175. </property>
  176. <property name="toolTip">
  177. <string>Additional memory allocated to dom0 by Qubes Memory Balancer.</string>
  178. </property>
  179. <property name="text">
  180. <string>Additional dom0 memory:</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item row="1" column="0" colspan="2">
  185. <widget class="QLabel" name="label_9">
  186. <property name="text">
  187. <string>Memory balancing is used for dom0 and all qubes that have memory balancing enabled (by default all qubes, except for those with PCI devices connected, such as sys-net and sys-usb).</string>
  188. </property>
  189. <property name="wordWrap">
  190. <bool>true</bool>
  191. </property>
  192. </widget>
  193. </item>
  194. </layout>
  195. </widget>
  196. </item>
  197. <item row="1" column="0" colspan="2">
  198. <widget class="QGroupBox" name="groupBox_2">
  199. <property name="enabled">
  200. <bool>true</bool>
  201. </property>
  202. <property name="title">
  203. <string>Kernel</string>
  204. </property>
  205. <layout class="QFormLayout" name="formLayout_2">
  206. <property name="fieldGrowthPolicy">
  207. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  208. </property>
  209. <item row="0" column="0">
  210. <widget class="QLabel" name="label_5">
  211. <property name="text">
  212. <string>Default kernel:</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item row="0" column="1">
  217. <widget class="QComboBox" name="default_kernel_combo"/>
  218. </item>
  219. </layout>
  220. </widget>
  221. </item>
  222. <item row="2" column="0" colspan="2">
  223. <widget class="QGroupBox" name="groupBox_4">
  224. <property name="title">
  225. <string>Updates</string>
  226. </property>
  227. <layout class="QGridLayout" name="gridLayout_3">
  228. <item row="1" column="0">
  229. <widget class="QComboBox" name="dom0_updates_repo">
  230. <item>
  231. <property name="text">
  232. <string>Stable updates</string>
  233. </property>
  234. </item>
  235. <item>
  236. <property name="text">
  237. <string>Testing updates (security only)</string>
  238. </property>
  239. </item>
  240. <item>
  241. <property name="text">
  242. <string>Testing updates</string>
  243. </property>
  244. </item>
  245. <item>
  246. <property name="text">
  247. <string>Unstable updates</string>
  248. </property>
  249. </item>
  250. </widget>
  251. </item>
  252. <item row="1" column="1">
  253. <widget class="QPushButton" name="disable_updates_all">
  254. <property name="text">
  255. <string>Disable checking for updates for all qubes</string>
  256. </property>
  257. </widget>
  258. </item>
  259. <item row="0" column="0">
  260. <widget class="QCheckBox" name="updates_dom0">
  261. <property name="text">
  262. <string>Check for dom0 updates</string>
  263. </property>
  264. <property name="tristate">
  265. <bool>false</bool>
  266. </property>
  267. </widget>
  268. </item>
  269. <item row="0" column="1">
  270. <widget class="QCheckBox" name="updates_vm">
  271. <property name="toolTip">
  272. <string>Default value for new qubes; to change it for existing qubes, use buttons below.</string>
  273. </property>
  274. <property name="text">
  275. <string>Check for qube updates by default</string>
  276. </property>
  277. </widget>
  278. </item>
  279. <item row="2" column="1">
  280. <widget class="QPushButton" name="enable_updates_all">
  281. <property name="text">
  282. <string>Enable checking for updates for all qubes</string>
  283. </property>
  284. </widget>
  285. </item>
  286. <item row="2" column="0">
  287. <widget class="QComboBox" name="itl_tmpl_updates_repo">
  288. <item>
  289. <property name="text">
  290. <string>ITL template updates</string>
  291. </property>
  292. </item>
  293. <item>
  294. <property name="text">
  295. <string>ITL template updates (testing)</string>
  296. </property>
  297. </item>
  298. </widget>
  299. </item>
  300. <item row="3" column="0">
  301. <widget class="QComboBox" name="comm_tmpl_updates_repo">
  302. <item>
  303. <property name="text">
  304. <string>(Community templates disabled)</string>
  305. </property>
  306. </item>
  307. <item>
  308. <property name="text">
  309. <string>Community template updates</string>
  310. </property>
  311. </item>
  312. <item>
  313. <property name="text">
  314. <string>Community template updates (testing)</string>
  315. </property>
  316. </item>
  317. </widget>
  318. </item>
  319. </layout>
  320. </widget>
  321. </item>
  322. </layout>
  323. </widget>
  324. <tabstops>
  325. <tabstop>update_vm_combo</tabstop>
  326. <tabstop>clock_vm_combo</tabstop>
  327. <tabstop>default_netvm_combo</tabstop>
  328. <tabstop>default_template_combo</tabstop>
  329. <tabstop>default_dispvm_combo</tabstop>
  330. <tabstop>min_vm_mem</tabstop>
  331. <tabstop>dom0_mem_boost</tabstop>
  332. <tabstop>default_kernel_combo</tabstop>
  333. <tabstop>updates_dom0</tabstop>
  334. <tabstop>updates_vm</tabstop>
  335. <tabstop>disable_updates_all</tabstop>
  336. <tabstop>enable_updates_all</tabstop>
  337. <tabstop>buttonBox</tabstop>
  338. </tabstops>
  339. <resources/>
  340. <connections>
  341. <connection>
  342. <sender>buttonBox</sender>
  343. <signal>accepted()</signal>
  344. <receiver>GlobalSettings</receiver>
  345. <slot>accept()</slot>
  346. <hints>
  347. <hint type="sourcelabel">
  348. <x>248</x>
  349. <y>254</y>
  350. </hint>
  351. <hint type="destinationlabel">
  352. <x>157</x>
  353. <y>274</y>
  354. </hint>
  355. </hints>
  356. </connection>
  357. <connection>
  358. <sender>buttonBox</sender>
  359. <signal>rejected()</signal>
  360. <receiver>GlobalSettings</receiver>
  361. <slot>reject()</slot>
  362. <hints>
  363. <hint type="sourcelabel">
  364. <x>316</x>
  365. <y>260</y>
  366. </hint>
  367. <hint type="destinationlabel">
  368. <x>286</x>
  369. <y>274</y>
  370. </hint>
  371. </hints>
  372. </connection>
  373. </connections>
  374. </ui>