globalsettingsdlg.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507
  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>842</width>
  10. <height>660</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="1">
  18. <widget class="QGroupBox" name="groupBox_3">
  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>Memory Balancer Settings</string>
  30. </property>
  31. <layout class="QGridLayout" name="gridLayout_2">
  32. <item row="2" column="0">
  33. <widget class="QLabel" name="label_6">
  34. <property name="enabled">
  35. <bool>true</bool>
  36. </property>
  37. <property name="text">
  38. <string>Minimal qube memory:</string>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="2" column="1">
  43. <widget class="QSpinBox" name="min_vm_mem">
  44. <property name="enabled">
  45. <bool>true</bool>
  46. </property>
  47. <property name="suffix">
  48. <string> MiB</string>
  49. </property>
  50. <property name="maximum">
  51. <number>999999999</number>
  52. </property>
  53. <property name="singleStep">
  54. <number>50</number>
  55. </property>
  56. </widget>
  57. </item>
  58. <item row="3" column="1">
  59. <widget class="QSpinBox" name="dom0_mem_boost">
  60. <property name="enabled">
  61. <bool>true</bool>
  62. </property>
  63. <property name="toolTip">
  64. <string>Additional memory allocated to dom0 by Qubes Memory Balancer.</string>
  65. </property>
  66. <property name="suffix">
  67. <string> MiB</string>
  68. </property>
  69. <property name="maximum">
  70. <number>999999999</number>
  71. </property>
  72. <property name="singleStep">
  73. <number>50</number>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="3" column="0">
  78. <widget class="QLabel" name="label_7">
  79. <property name="enabled">
  80. <bool>true</bool>
  81. </property>
  82. <property name="toolTip">
  83. <string>Additional memory allocated to dom0 by Qubes Memory Balancer.</string>
  84. </property>
  85. <property name="text">
  86. <string>Additional dom0 memory:</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item row="1" column="0" colspan="2">
  91. <widget class="QLabel" name="label_9">
  92. <property name="text">
  93. <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>
  94. </property>
  95. <property name="wordWrap">
  96. <bool>true</bool>
  97. </property>
  98. </widget>
  99. </item>
  100. </layout>
  101. </widget>
  102. </item>
  103. <item row="3" column="0" colspan="2">
  104. <widget class="QGroupBox" name="groupBox_4">
  105. <property name="title">
  106. <string>Updates</string>
  107. </property>
  108. <layout class="QGridLayout" name="gridLayout_3">
  109. <item row="0" column="2">
  110. <widget class="QCheckBox" name="updates_vm">
  111. <property name="toolTip">
  112. <string>Default value for new qubes; to change it for existing qubes, use buttons below.</string>
  113. </property>
  114. <property name="text">
  115. <string>Check for qube updates by default</string>
  116. </property>
  117. </widget>
  118. </item>
  119. <item row="2" column="1">
  120. <widget class="QComboBox" name="itl_tmpl_updates_repo">
  121. <item>
  122. <property name="text">
  123. <string>ITL template updates</string>
  124. </property>
  125. </item>
  126. <item>
  127. <property name="text">
  128. <string>ITL template updates (testing)</string>
  129. </property>
  130. </item>
  131. </widget>
  132. </item>
  133. <item row="1" column="1">
  134. <widget class="QComboBox" name="dom0_updates_repo">
  135. <item>
  136. <property name="text">
  137. <string>Stable updates</string>
  138. </property>
  139. </item>
  140. <item>
  141. <property name="text">
  142. <string>Testing updates (security only)</string>
  143. </property>
  144. </item>
  145. <item>
  146. <property name="text">
  147. <string>Testing updates</string>
  148. </property>
  149. </item>
  150. <item>
  151. <property name="text">
  152. <string>Unstable updates</string>
  153. </property>
  154. </item>
  155. </widget>
  156. </item>
  157. <item row="1" column="2">
  158. <widget class="QPushButton" name="disable_updates_all">
  159. <property name="text">
  160. <string>Disable checking for updates for all qubes</string>
  161. </property>
  162. </widget>
  163. </item>
  164. <item row="3" column="1">
  165. <widget class="QComboBox" name="comm_tmpl_updates_repo">
  166. <item>
  167. <property name="text">
  168. <string>(Community templates disabled)</string>
  169. </property>
  170. </item>
  171. <item>
  172. <property name="text">
  173. <string>Community template updates</string>
  174. </property>
  175. </item>
  176. <item>
  177. <property name="text">
  178. <string>Community template updates (testing)</string>
  179. </property>
  180. </item>
  181. </widget>
  182. </item>
  183. <item row="2" column="2">
  184. <widget class="QPushButton" name="enable_updates_all">
  185. <property name="text">
  186. <string>Enable checking for updates for all qubes</string>
  187. </property>
  188. </widget>
  189. </item>
  190. <item row="1" column="0">
  191. <widget class="QLabel" name="label_10">
  192. <property name="sizePolicy">
  193. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  194. <horstretch>0</horstretch>
  195. <verstretch>0</verstretch>
  196. </sizepolicy>
  197. </property>
  198. <property name="text">
  199. <string>dom0 updates:</string>
  200. </property>
  201. </widget>
  202. </item>
  203. <item row="2" column="0">
  204. <widget class="QLabel" name="label_11">
  205. <property name="sizePolicy">
  206. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  207. <horstretch>0</horstretch>
  208. <verstretch>0</verstretch>
  209. </sizepolicy>
  210. </property>
  211. <property name="text">
  212. <string>Templates:</string>
  213. </property>
  214. </widget>
  215. </item>
  216. <item row="3" column="0">
  217. <widget class="QLabel" name="label_12">
  218. <property name="sizePolicy">
  219. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  220. <horstretch>0</horstretch>
  221. <verstretch>0</verstretch>
  222. </sizepolicy>
  223. </property>
  224. <property name="text">
  225. <string>Additional templates:</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item row="0" column="0" colspan="2">
  230. <widget class="QCheckBox" name="updates_dom0">
  231. <property name="sizePolicy">
  232. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  233. <horstretch>1</horstretch>
  234. <verstretch>0</verstretch>
  235. </sizepolicy>
  236. </property>
  237. <property name="text">
  238. <string>Check for dom0 updates</string>
  239. </property>
  240. <property name="tristate">
  241. <bool>false</bool>
  242. </property>
  243. </widget>
  244. </item>
  245. </layout>
  246. </widget>
  247. </item>
  248. <item row="1" column="0">
  249. <widget class="QGroupBox" name="groupBox_5">
  250. <property name="title">
  251. <string>Window defaults</string>
  252. </property>
  253. <layout class="QGridLayout" name="gridLayout_4">
  254. <item row="1" column="0">
  255. <widget class="QLabel" name="label_11">
  256. <property name="text">
  257. <string>Allow UTF-8 window titles:</string>
  258. </property>
  259. </widget>
  260. </item>
  261. <item row="0" column="0">
  262. <widget class="QLabel" name="label_10">
  263. <property name="text">
  264. <string>Allow fullscreen:</string>
  265. </property>
  266. </widget>
  267. </item>
  268. <item row="0" column="1">
  269. <widget class="QComboBox" name="allow_fullscreen"/>
  270. </item>
  271. <item row="1" column="1">
  272. <widget class="QComboBox" name="allow_utf8"/>
  273. </item>
  274. <item row="2" column="0">
  275. <widget class="QLabel" name="label_12">
  276. <property name="text">
  277. <string>Tray icon mode:</string>
  278. </property>
  279. </widget>
  280. </item>
  281. <item row="2" column="1">
  282. <widget class="QComboBox" name="trayicon"/>
  283. </item>
  284. </layout>
  285. </widget>
  286. </item>
  287. <item row="0" column="0">
  288. <widget class="QGroupBox" name="groupBox">
  289. <property name="enabled">
  290. <bool>true</bool>
  291. </property>
  292. <property name="minimumSize">
  293. <size>
  294. <width>0</width>
  295. <height>140</height>
  296. </size>
  297. </property>
  298. <property name="title">
  299. <string>System defaults</string>
  300. </property>
  301. <layout class="QFormLayout" name="formLayout">
  302. <item row="0" column="0">
  303. <widget class="QLabel" name="label">
  304. <property name="sizePolicy">
  305. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  306. <horstretch>0</horstretch>
  307. <verstretch>0</verstretch>
  308. </sizepolicy>
  309. </property>
  310. <property name="text">
  311. <string>Dom0 UpdateVM:</string>
  312. </property>
  313. </widget>
  314. </item>
  315. <item row="0" column="1">
  316. <widget class="QComboBox" name="update_vm_combo">
  317. <property name="toolTip">
  318. <string>This is updateVM ONLY for dom0; if you want to change updateVMs for other VMs, use /etc/qubes-rpc/policy/qubes.UpdatesProxy</string>
  319. </property>
  320. </widget>
  321. </item>
  322. <item row="1" column="0">
  323. <widget class="QLabel" name="label_2">
  324. <property name="text">
  325. <string>ClockVM:</string>
  326. </property>
  327. </widget>
  328. </item>
  329. <item row="1" column="1">
  330. <widget class="QComboBox" name="clock_vm_combo"/>
  331. </item>
  332. <item row="2" column="0">
  333. <widget class="QLabel" name="label_3">
  334. <property name="text">
  335. <string>Default netVM:</string>
  336. </property>
  337. </widget>
  338. </item>
  339. <item row="2" column="1">
  340. <widget class="QComboBox" name="default_netvm_combo"/>
  341. </item>
  342. <item row="3" column="0">
  343. <widget class="QLabel" name="label_4">
  344. <property name="sizePolicy">
  345. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  346. <horstretch>0</horstretch>
  347. <verstretch>0</verstretch>
  348. </sizepolicy>
  349. </property>
  350. <property name="text">
  351. <string>Default template:</string>
  352. </property>
  353. </widget>
  354. </item>
  355. <item row="3" column="1">
  356. <widget class="QComboBox" name="default_template_combo"/>
  357. </item>
  358. <item row="4" column="0">
  359. <widget class="QLabel" name="label_8">
  360. <property name="text">
  361. <string>Default DisposableVM Template:</string>
  362. </property>
  363. </widget>
  364. </item>
  365. <item row="4" column="1">
  366. <widget class="QComboBox" name="default_dispvm_combo"/>
  367. </item>
  368. </layout>
  369. </widget>
  370. </item>
  371. <item row="1" column="1">
  372. <widget class="QGroupBox" name="groupBox_6">
  373. <property name="title">
  374. <string>Clipboard defaults</string>
  375. </property>
  376. <layout class="QGridLayout" name="gridLayout_5">
  377. <item row="0" column="0">
  378. <widget class="QLabel" name="label_14">
  379. <property name="text">
  380. <string>Keyboard shortcuts:</string>
  381. </property>
  382. </widget>
  383. </item>
  384. <item row="1" column="0">
  385. <widget class="QLabel" name="label_13">
  386. <property name="text">
  387. <string>Secure copy:</string>
  388. </property>
  389. </widget>
  390. </item>
  391. <item row="1" column="1">
  392. <widget class="QComboBox" name="securecopy"/>
  393. </item>
  394. <item row="2" column="0">
  395. <widget class="QLabel" name="label_15">
  396. <property name="text">
  397. <string>Secure paste:</string>
  398. </property>
  399. </widget>
  400. </item>
  401. <item row="2" column="1">
  402. <widget class="QComboBox" name="securepaste"/>
  403. </item>
  404. </layout>
  405. </widget>
  406. </item>
  407. <item row="2" column="0" colspan="2">
  408. <widget class="QGroupBox" name="groupBox_2">
  409. <property name="enabled">
  410. <bool>true</bool>
  411. </property>
  412. <property name="title">
  413. <string>Kernel</string>
  414. </property>
  415. <layout class="QFormLayout" name="formLayout_2">
  416. <property name="fieldGrowthPolicy">
  417. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  418. </property>
  419. <item row="0" column="0">
  420. <widget class="QLabel" name="label_5">
  421. <property name="text">
  422. <string>Default kernel:</string>
  423. </property>
  424. </widget>
  425. </item>
  426. <item row="0" column="1">
  427. <widget class="QComboBox" name="default_kernel_combo"/>
  428. </item>
  429. </layout>
  430. </widget>
  431. </item>
  432. <item row="6" column="0" colspan="2">
  433. <widget class="QDialogButtonBox" name="buttonBox">
  434. <property name="orientation">
  435. <enum>Qt::Horizontal</enum>
  436. </property>
  437. <property name="standardButtons">
  438. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  439. </property>
  440. </widget>
  441. </item>
  442. <item row="5" column="0">
  443. <spacer name="verticalSpacer">
  444. <property name="orientation">
  445. <enum>Qt::Vertical</enum>
  446. </property>
  447. <property name="sizeHint" stdset="0">
  448. <size>
  449. <width>20</width>
  450. <height>40</height>
  451. </size>
  452. </property>
  453. </spacer>
  454. </item>
  455. </layout>
  456. </widget>
  457. <tabstops>
  458. <tabstop>update_vm_combo</tabstop>
  459. <tabstop>clock_vm_combo</tabstop>
  460. <tabstop>default_netvm_combo</tabstop>
  461. <tabstop>default_template_combo</tabstop>
  462. <tabstop>default_dispvm_combo</tabstop>
  463. <tabstop>min_vm_mem</tabstop>
  464. <tabstop>dom0_mem_boost</tabstop>
  465. <tabstop>default_kernel_combo</tabstop>
  466. <tabstop>updates_dom0</tabstop>
  467. <tabstop>updates_vm</tabstop>
  468. <tabstop>disable_updates_all</tabstop>
  469. <tabstop>enable_updates_all</tabstop>
  470. <tabstop>buttonBox</tabstop>
  471. </tabstops>
  472. <resources/>
  473. <connections>
  474. <connection>
  475. <sender>buttonBox</sender>
  476. <signal>accepted()</signal>
  477. <receiver>GlobalSettings</receiver>
  478. <slot>accept()</slot>
  479. <hints>
  480. <hint type="sourcelabel">
  481. <x>248</x>
  482. <y>254</y>
  483. </hint>
  484. <hint type="destinationlabel">
  485. <x>157</x>
  486. <y>274</y>
  487. </hint>
  488. </hints>
  489. </connection>
  490. <connection>
  491. <sender>buttonBox</sender>
  492. <signal>rejected()</signal>
  493. <receiver>GlobalSettings</receiver>
  494. <slot>reject()</slot>
  495. <hints>
  496. <hint type="sourcelabel">
  497. <x>316</x>
  498. <y>260</y>
  499. </hint>
  500. <hint type="destinationlabel">
  501. <x>286</x>
  502. <y>274</y>
  503. </hint>
  504. </hints>
  505. </connection>
  506. </connections>
  507. </ui>