settingsdlg.ui 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>SettingsDialog</class>
  4. <widget class="QDialog" name="SettingsDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>836</width>
  10. <height>665</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Settings</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="../resources.qrc">
  18. <normaloff>:/root.png</normaloff>:/root.png</iconset>
  19. </property>
  20. <layout class="QGridLayout" name="gridLayout" rowstretch="0" columnstretch="0">
  21. <item row="0" column="0">
  22. <layout class="QVBoxLayout" name="verticalLayout">
  23. <item>
  24. <widget class="QTabWidget" name="tabWidget">
  25. <property name="enabled">
  26. <bool>true</bool>
  27. </property>
  28. <property name="locale">
  29. <locale language="English" country="UnitedStates"/>
  30. </property>
  31. <property name="currentIndex">
  32. <number>0</number>
  33. </property>
  34. <widget class="QWidget" name="basic_tab">
  35. <property name="locale">
  36. <locale language="English" country="UnitedStates"/>
  37. </property>
  38. <attribute name="title">
  39. <string>Basic</string>
  40. </attribute>
  41. <layout class="QGridLayout" name="gridLayout_11">
  42. <item row="2" column="0">
  43. <widget class="QGroupBox" name="groupBox_4">
  44. <property name="enabled">
  45. <bool>true</bool>
  46. </property>
  47. <property name="title">
  48. <string>General</string>
  49. </property>
  50. <layout class="QFormLayout" name="formLayout_4">
  51. <property name="fieldGrowthPolicy">
  52. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  53. </property>
  54. <property name="topMargin">
  55. <number>15</number>
  56. </property>
  57. <item row="0" column="0">
  58. <widget class="QLabel" name="label_13">
  59. <property name="text">
  60. <string>Type:</string>
  61. </property>
  62. </widget>
  63. </item>
  64. <item row="0" column="1">
  65. <widget class="QLabel" name="type_label">
  66. <property name="font">
  67. <font>
  68. <weight>50</weight>
  69. <bold>false</bold>
  70. </font>
  71. </property>
  72. <property name="text">
  73. <string>---</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="1" column="0">
  78. <widget class="QLabel" name="label_14">
  79. <property name="text">
  80. <string>Installed by RPM:</string>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="1" column="1">
  85. <widget class="QLabel" name="rpm_label">
  86. <property name="font">
  87. <font>
  88. <weight>50</weight>
  89. <bold>false</bold>
  90. </font>
  91. </property>
  92. <property name="text">
  93. <string>---</string>
  94. </property>
  95. </widget>
  96. </item>
  97. </layout>
  98. </widget>
  99. </item>
  100. <item row="3" column="0" colspan="2">
  101. <widget class="QGroupBox" name="groupBox">
  102. <property name="enabled">
  103. <bool>true</bool>
  104. </property>
  105. <property name="title">
  106. <string>Disk storage</string>
  107. </property>
  108. <layout class="QGridLayout" name="gridLayout_3">
  109. <property name="topMargin">
  110. <number>15</number>
  111. </property>
  112. <item row="1" column="1">
  113. <widget class="SizeSpinBox" name="root_resize">
  114. <property name="enabled">
  115. <bool>true</bool>
  116. </property>
  117. <property name="toolTip">
  118. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Values displayed using the binary definition of gigabyte and megabyte, i.e. 1024&lt;span style=&quot; vertical-align:super;&quot;&gt;3&lt;/span&gt; and 1024&lt;span style=&quot; vertical-align:super;&quot;&gt;2 &lt;/span&gt;bytes respectively.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  119. </property>
  120. <property name="alignment">
  121. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  122. </property>
  123. <property name="maximum">
  124. <number>1048576</number>
  125. </property>
  126. <property name="singleStep">
  127. <number>1024</number>
  128. </property>
  129. </widget>
  130. </item>
  131. <item row="1" column="0">
  132. <widget class="QLabel" name="root_resize_label">
  133. <property name="enabled">
  134. <bool>true</bool>
  135. </property>
  136. <property name="text">
  137. <string>System storage max. size:</string>
  138. </property>
  139. </widget>
  140. </item>
  141. <item row="0" column="1">
  142. <widget class="SizeSpinBox" name="max_priv_storage">
  143. <property name="enabled">
  144. <bool>true</bool>
  145. </property>
  146. <property name="toolTip">
  147. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Values displayed using the binary definition of gigabyte and megabyte, i.e. 1024&lt;span style=&quot; vertical-align:super;&quot;&gt;3&lt;/span&gt; and 1024&lt;span style=&quot; vertical-align:super;&quot;&gt;2 &lt;/span&gt;bytes respectively.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  148. </property>
  149. <property name="alignment">
  150. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  151. </property>
  152. <property name="minimum">
  153. <number>0</number>
  154. </property>
  155. <property name="maximum">
  156. <number>1048576</number>
  157. </property>
  158. <property name="singleStep">
  159. <number>1024</number>
  160. </property>
  161. <property name="value">
  162. <number>0</number>
  163. </property>
  164. </widget>
  165. </item>
  166. <item row="0" column="0">
  167. <widget class="QLabel" name="label_3">
  168. <property name="text">
  169. <string>Private storage max. size:</string>
  170. </property>
  171. <property name="buddy">
  172. <cstring>max_priv_storage</cstring>
  173. </property>
  174. </widget>
  175. </item>
  176. </layout>
  177. </widget>
  178. </item>
  179. <item row="6" column="0">
  180. <spacer name="verticalSpacer">
  181. <property name="orientation">
  182. <enum>Qt::Vertical</enum>
  183. </property>
  184. <property name="sizeHint" stdset="0">
  185. <size>
  186. <width>20</width>
  187. <height>73</height>
  188. </size>
  189. </property>
  190. </spacer>
  191. </item>
  192. <item row="2" column="1">
  193. <widget class="QGroupBox" name="networking_groupbox">
  194. <property name="title">
  195. <string>Networking</string>
  196. </property>
  197. <layout class="QFormLayout" name="formLayout_3">
  198. <property name="fieldGrowthPolicy">
  199. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  200. </property>
  201. <property name="topMargin">
  202. <number>15</number>
  203. </property>
  204. <item row="0" column="0">
  205. <widget class="QLabel" name="label_10">
  206. <property name="text">
  207. <string>IP:</string>
  208. </property>
  209. </widget>
  210. </item>
  211. <item row="1" column="0">
  212. <widget class="QLabel" name="label_11">
  213. <property name="text">
  214. <string>Netmask:</string>
  215. </property>
  216. </widget>
  217. </item>
  218. <item row="1" column="1">
  219. <widget class="QLabel" name="netmask_label">
  220. <property name="font">
  221. <font>
  222. <weight>50</weight>
  223. <bold>false</bold>
  224. </font>
  225. </property>
  226. <property name="text">
  227. <string>---</string>
  228. </property>
  229. </widget>
  230. </item>
  231. <item row="2" column="0">
  232. <widget class="QLabel" name="label_12">
  233. <property name="text">
  234. <string>Gateway:</string>
  235. </property>
  236. </widget>
  237. </item>
  238. <item row="2" column="1">
  239. <widget class="QLabel" name="gateway_label">
  240. <property name="font">
  241. <font>
  242. <weight>50</weight>
  243. <bold>false</bold>
  244. </font>
  245. </property>
  246. <property name="text">
  247. <string>---</string>
  248. </property>
  249. </widget>
  250. </item>
  251. <item row="0" column="1">
  252. <widget class="QLabel" name="ip_label">
  253. <property name="font">
  254. <font>
  255. <weight>50</weight>
  256. <bold>false</bold>
  257. </font>
  258. </property>
  259. <property name="text">
  260. <string>---</string>
  261. </property>
  262. </widget>
  263. </item>
  264. <item row="3" column="0">
  265. <widget class="QLabel" name="label_23">
  266. <property name="text">
  267. <string>Virtual DNS:</string>
  268. </property>
  269. </widget>
  270. </item>
  271. <item row="3" column="1">
  272. <widget class="QLabel" name="dns_label">
  273. <property name="text">
  274. <string>---</string>
  275. </property>
  276. </widget>
  277. </item>
  278. </layout>
  279. </widget>
  280. </item>
  281. <item row="4" column="0">
  282. <widget class="QLabel" name="label_5">
  283. <property name="text">
  284. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ff0000;&quot;&gt;* &lt;/span&gt;&lt;span style=&quot; color:#000000;&quot;&gt;Cannot be changed while the qube is running&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  285. </property>
  286. </widget>
  287. </item>
  288. <item row="4" column="1">
  289. <widget class="QPushButton" name="delete_vm_button">
  290. <property name="styleSheet">
  291. <string notr="true">background-color: qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(255, 179, 179, 255), stop:1 rgba(255, 108, 108, 255));
  292. border-color: rgb(170, 0, 0);
  293. border-style: solid;
  294. border-width: 1px;</string>
  295. </property>
  296. <property name="text">
  297. <string>Delete qube</string>
  298. </property>
  299. </widget>
  300. </item>
  301. <item row="5" column="1">
  302. <widget class="QPushButton" name="clone_vm_button">
  303. <property name="text">
  304. <string>Clone qube</string>
  305. </property>
  306. </widget>
  307. </item>
  308. <item row="0" column="0" colspan="2">
  309. <widget class="QGroupBox" name="groupBox_3">
  310. <property name="title">
  311. <string>Settings</string>
  312. </property>
  313. <layout class="QGridLayout" name="gridLayout_2">
  314. <property name="topMargin">
  315. <number>15</number>
  316. </property>
  317. <item row="0" column="3">
  318. <widget class="QComboBox" name="vmlabel">
  319. <property name="frame">
  320. <bool>true</bool>
  321. </property>
  322. </widget>
  323. </item>
  324. <item row="1" column="1" colspan="2">
  325. <widget class="QComboBox" name="template_name"/>
  326. </item>
  327. <item row="5" column="0" colspan="3">
  328. <layout class="QHBoxLayout" name="horizontalLayout_3">
  329. <item>
  330. <widget class="QCheckBox" name="autostart_vm">
  331. <property name="text">
  332. <string>Start qube automatically on boot</string>
  333. </property>
  334. </widget>
  335. </item>
  336. </layout>
  337. </item>
  338. <item row="1" column="0">
  339. <widget class="QLabel" name="label_2">
  340. <property name="text">
  341. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Template&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt;:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  342. </property>
  343. <property name="buddy">
  344. <cstring>template_name</cstring>
  345. </property>
  346. </widget>
  347. </item>
  348. <item row="1" column="3">
  349. <widget class="QLabel" name="warn_template_missing_apps">
  350. <property name="toolTip">
  351. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Some applications enabled in the Applications tab cannot be found in the current template. The most likely cause is a template change - to restore them, install them in the template.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  352. </property>
  353. <property name="text">
  354. <string/>
  355. </property>
  356. <property name="pixmap">
  357. <pixmap resource="../resources.qrc">:/warning.png</pixmap>
  358. </property>
  359. </widget>
  360. </item>
  361. <item row="0" column="0">
  362. <widget class="QLabel" name="label">
  363. <property name="text">
  364. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Name &amp;amp;&amp;amp; label&lt;span style=&quot; color:#ff0000;&quot;&gt;*&lt;/span&gt;:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  365. </property>
  366. <property name="buddy">
  367. <cstring>vmname</cstring>
  368. </property>
  369. </widget>
  370. </item>
  371. <item row="2" column="3">
  372. <widget class="QLabel" name="warn_netvm_dispvm">
  373. <property name="toolTip">
  374. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Caution:&lt;/span&gt; The Default DisposableVM Template (see the Advanced tab) has a different Networking setting than this qube. This configuration may result in unexpected network access. For example, you may have set this qube's Networking to &amp;quot;none&amp;quot; in order to prevent any data from being transmitted out. However, if the Default DisposableVM Template's Networking is set to &amp;quot;sys-firewall,&amp;quot; then a DisposableVM started from this qube may be able to transmit data out, contrary to your intention. You may wish to set the Default DisposableVM Template for this qube to one with equally restrictive Networking settings.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  375. </property>
  376. <property name="text">
  377. <string/>
  378. </property>
  379. <property name="pixmap">
  380. <pixmap resource="../resources.qrc">:/warning.png</pixmap>
  381. </property>
  382. </widget>
  383. </item>
  384. <item row="0" column="1">
  385. <widget class="QLineEdit" name="vmname">
  386. <property name="text">
  387. <string>----</string>
  388. </property>
  389. <property name="maxLength">
  390. <number>32</number>
  391. </property>
  392. </widget>
  393. </item>
  394. <item row="0" column="2">
  395. <widget class="QPushButton" name="rename_vm_button">
  396. <property name="text">
  397. <string>Rename</string>
  398. </property>
  399. </widget>
  400. </item>
  401. <item row="2" column="1" colspan="2">
  402. <widget class="QComboBox" name="netVM">
  403. <property name="toolTip">
  404. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&amp;quot;default ([name])&amp;quot; denotes system-wide default - if the default is changed in Global Settings, the networking qube will change. &lt;br/&gt;If you want to keep using a given networking qube regardless of system settings, select &amp;quot;[name]&amp;quot;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  405. </property>
  406. </widget>
  407. </item>
  408. <item row="4" column="0" colspan="3">
  409. <layout class="QHBoxLayout" name="horizontalLayout">
  410. <item>
  411. <widget class="QCheckBox" name="include_in_backups">
  412. <property name="enabled">
  413. <bool>true</bool>
  414. </property>
  415. <property name="text">
  416. <string>Include in backups by default</string>
  417. </property>
  418. <property name="checked">
  419. <bool>true</bool>
  420. </property>
  421. </widget>
  422. </item>
  423. </layout>
  424. </item>
  425. <item row="2" column="0">
  426. <widget class="QLabel" name="label_18">
  427. <property name="text">
  428. <string>Networking:</string>
  429. </property>
  430. <property name="buddy">
  431. <cstring>netVM</cstring>
  432. </property>
  433. </widget>
  434. </item>
  435. <item row="3" column="0" colspan="3">
  436. <widget class="QCheckBox" name="idle_shutdown_checkbox">
  437. <property name="text">
  438. <string>Shut down when idle for more than 15 minutes</string>
  439. </property>
  440. </widget>
  441. </item>
  442. </layout>
  443. </widget>
  444. </item>
  445. </layout>
  446. </widget>
  447. <widget class="QWidget" name="advanced_tab">
  448. <property name="enabled">
  449. <bool>true</bool>
  450. </property>
  451. <attribute name="title">
  452. <string>Advanced</string>
  453. </attribute>
  454. <layout class="QHBoxLayout" name="horizontalLayout_9">
  455. <item>
  456. <layout class="QVBoxLayout" name="verticalLayout_9">
  457. <item>
  458. <widget class="QGroupBox" name="groupBox_2">
  459. <property name="enabled">
  460. <bool>true</bool>
  461. </property>
  462. <property name="sizePolicy">
  463. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  464. <horstretch>0</horstretch>
  465. <verstretch>0</verstretch>
  466. </sizepolicy>
  467. </property>
  468. <property name="title">
  469. <string>Memory/CPU</string>
  470. </property>
  471. <layout class="QGridLayout" name="gridLayout_4">
  472. <property name="topMargin">
  473. <number>15</number>
  474. </property>
  475. <item row="2" column="0">
  476. <widget class="QLabel" name="label_4">
  477. <property name="sizePolicy">
  478. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  479. <horstretch>0</horstretch>
  480. <verstretch>0</verstretch>
  481. </sizepolicy>
  482. </property>
  483. <property name="text">
  484. <string>VCPUs no.:</string>
  485. </property>
  486. <property name="buddy">
  487. <cstring>vcpus</cstring>
  488. </property>
  489. </widget>
  490. </item>
  491. <item row="1" column="1">
  492. <widget class="QSpinBox" name="max_mem_size">
  493. <property name="enabled">
  494. <bool>true</bool>
  495. </property>
  496. <property name="alignment">
  497. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  498. </property>
  499. <property name="suffix">
  500. <string> MB</string>
  501. </property>
  502. <property name="minimum">
  503. <number>0</number>
  504. </property>
  505. <property name="maximum">
  506. <number>10000000</number>
  507. </property>
  508. <property name="singleStep">
  509. <number>50</number>
  510. </property>
  511. <property name="value">
  512. <number>400</number>
  513. </property>
  514. </widget>
  515. </item>
  516. <item row="2" column="1">
  517. <widget class="QSpinBox" name="vcpus">
  518. <property name="enabled">
  519. <bool>true</bool>
  520. </property>
  521. <property name="alignment">
  522. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  523. </property>
  524. <property name="value">
  525. <number>1</number>
  526. </property>
  527. </widget>
  528. </item>
  529. <item row="0" column="1">
  530. <widget class="QSpinBox" name="init_mem">
  531. <property name="enabled">
  532. <bool>true</bool>
  533. </property>
  534. <property name="alignment">
  535. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  536. </property>
  537. <property name="suffix">
  538. <string> MB</string>
  539. </property>
  540. <property name="minimum">
  541. <number>0</number>
  542. </property>
  543. <property name="maximum">
  544. <number>1000000</number>
  545. </property>
  546. <property name="singleStep">
  547. <number>50</number>
  548. </property>
  549. <property name="value">
  550. <number>256</number>
  551. </property>
  552. </widget>
  553. </item>
  554. <item row="5" column="0" colspan="3">
  555. <widget class="QLabel" name="dmm_warning_adv">
  556. <property name="font">
  557. <font>
  558. <weight>75</weight>
  559. <italic>true</italic>
  560. <bold>true</bold>
  561. </font>
  562. </property>
  563. <property name="styleSheet">
  564. <string notr="true">color:rgb(255, 0, 0)</string>
  565. </property>
  566. <property name="text">
  567. <string>Dynamic memory balancing can result in some devices not working!</string>
  568. </property>
  569. <property name="wordWrap">
  570. <bool>true</bool>
  571. </property>
  572. </widget>
  573. </item>
  574. <item row="0" column="0">
  575. <widget class="QLabel" name="label_15">
  576. <property name="enabled">
  577. <bool>true</bool>
  578. </property>
  579. <property name="sizePolicy">
  580. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  581. <horstretch>0</horstretch>
  582. <verstretch>0</verstretch>
  583. </sizepolicy>
  584. </property>
  585. <property name="text">
  586. <string>Initial memory:</string>
  587. </property>
  588. <property name="buddy">
  589. <cstring>init_mem</cstring>
  590. </property>
  591. </widget>
  592. </item>
  593. <item row="1" column="0">
  594. <widget class="QLabel" name="label_17">
  595. <property name="sizePolicy">
  596. <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
  597. <horstretch>0</horstretch>
  598. <verstretch>0</verstretch>
  599. </sizepolicy>
  600. </property>
  601. <property name="text">
  602. <string>Max memory:</string>
  603. </property>
  604. <property name="buddy">
  605. <cstring>max_mem_size</cstring>
  606. </property>
  607. </widget>
  608. </item>
  609. <item row="3" column="0" colspan="2">
  610. <widget class="QCheckBox" name="include_in_balancing">
  611. <property name="enabled">
  612. <bool>true</bool>
  613. </property>
  614. <property name="text">
  615. <string>Include in memory balancing</string>
  616. </property>
  617. </widget>
  618. </item>
  619. <item row="4" column="0" colspan="3">
  620. <widget class="QLabel" name="warn_too_much_mem_label">
  621. <property name="palette">
  622. <palette>
  623. <active>
  624. <colorrole role="WindowText">
  625. <brush brushstyle="SolidPattern">
  626. <color alpha="255">
  627. <red>239</red>
  628. <green>41</green>
  629. <blue>41</blue>
  630. </color>
  631. </brush>
  632. </colorrole>
  633. <colorrole role="Text">
  634. <brush brushstyle="SolidPattern">
  635. <color alpha="255">
  636. <red>239</red>
  637. <green>41</green>
  638. <blue>41</blue>
  639. </color>
  640. </brush>
  641. </colorrole>
  642. <colorrole role="PlaceholderText">
  643. <brush brushstyle="SolidPattern">
  644. <color alpha="128">
  645. <red>239</red>
  646. <green>41</green>
  647. <blue>41</blue>
  648. </color>
  649. </brush>
  650. </colorrole>
  651. </active>
  652. <inactive>
  653. <colorrole role="WindowText">
  654. <brush brushstyle="SolidPattern">
  655. <color alpha="255">
  656. <red>239</red>
  657. <green>41</green>
  658. <blue>41</blue>
  659. </color>
  660. </brush>
  661. </colorrole>
  662. <colorrole role="Text">
  663. <brush brushstyle="SolidPattern">
  664. <color alpha="255">
  665. <red>239</red>
  666. <green>41</green>
  667. <blue>41</blue>
  668. </color>
  669. </brush>
  670. </colorrole>
  671. <colorrole role="PlaceholderText">
  672. <brush brushstyle="SolidPattern">
  673. <color alpha="128">
  674. <red>239</red>
  675. <green>41</green>
  676. <blue>41</blue>
  677. </color>
  678. </brush>
  679. </colorrole>
  680. </inactive>
  681. <disabled>
  682. <colorrole role="WindowText">
  683. <brush brushstyle="SolidPattern">
  684. <color alpha="255">
  685. <red>190</red>
  686. <green>190</green>
  687. <blue>190</blue>
  688. </color>
  689. </brush>
  690. </colorrole>
  691. <colorrole role="Text">
  692. <brush brushstyle="SolidPattern">
  693. <color alpha="255">
  694. <red>190</red>
  695. <green>190</green>
  696. <blue>190</blue>
  697. </color>
  698. </brush>
  699. </colorrole>
  700. <colorrole role="PlaceholderText">
  701. <brush brushstyle="SolidPattern">
  702. <color alpha="128">
  703. <red>0</red>
  704. <green>0</green>
  705. <blue>0</blue>
  706. </color>
  707. </brush>
  708. </colorrole>
  709. </disabled>
  710. </palette>
  711. </property>
  712. <property name="font">
  713. <font>
  714. <weight>75</weight>
  715. <italic>true</italic>
  716. <bold>true</bold>
  717. </font>
  718. </property>
  719. <property name="text">
  720. <string>Linux qubes cannot utilize more than 10 times the initial memory. Setting maximum memory higher leads to unused RAM.</string>
  721. </property>
  722. <property name="alignment">
  723. <set>Qt::AlignJustify|Qt::AlignVCenter</set>
  724. </property>
  725. <property name="wordWrap">
  726. <bool>true</bool>
  727. </property>
  728. </widget>
  729. </item>
  730. </layout>
  731. </widget>
  732. </item>
  733. <item>
  734. <widget class="QGroupBox" name="other_groupbox">
  735. <property name="title">
  736. <string>Other</string>
  737. </property>
  738. <layout class="QFormLayout" name="formLayout_2">
  739. <property name="fieldGrowthPolicy">
  740. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  741. </property>
  742. <property name="topMargin">
  743. <number>15</number>
  744. </property>
  745. <item row="2" column="0">
  746. <widget class="QCheckBox" name="provides_network_checkbox">
  747. <property name="text">
  748. <string>Provides network</string>
  749. </property>
  750. </widget>
  751. </item>
  752. <item row="3" column="0">
  753. <widget class="QCheckBox" name="dvm_template_checkbox">
  754. <property name="toolTip">
  755. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Allows using this qube as a template for DisposableVMs. The DisposableVMs will inherit the VM's state (configuration, installed programs etc.), but their state will not persist between restarts. &lt;/p&gt;&lt;p&gt;Setting this option will cause this qube to be listed as an option in the &amp;quot;Default DisposableVM Template&amp;quot; dropdown for all other qubes. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  756. </property>
  757. <property name="text">
  758. <string>Disposable VM Template</string>
  759. </property>
  760. </widget>
  761. </item>
  762. <item row="8" column="0" colspan="2">
  763. <widget class="QPushButton" name="boot_from_device_button">
  764. <property name="text">
  765. <string>Boot qube from CDROM</string>
  766. </property>
  767. </widget>
  768. </item>
  769. <item row="9" column="0" colspan="2">
  770. <layout class="QHBoxLayout" name="horizontalLayout_8">
  771. <item>
  772. <widget class="QPushButton" name="seamless_on_button">
  773. <property name="toolTip">
  774. <string>Windows (with Qubes Windows Tools installed) only.
  775. The qube must be running to enable seamless mode; this setting is not persistent.</string>
  776. </property>
  777. <property name="text">
  778. <string>Enable seamless mode</string>
  779. </property>
  780. </widget>
  781. </item>
  782. <item>
  783. <widget class="QPushButton" name="seamless_off_button">
  784. <property name="toolTip">
  785. <string>Windows (with Qubes Windows Tools installed) only.
  786. The qube must be running to disable seamless mode; this setting is not persistent.</string>
  787. </property>
  788. <property name="text">
  789. <string>Disable seamless mode</string>
  790. </property>
  791. </widget>
  792. </item>
  793. </layout>
  794. </item>
  795. <item row="6" column="0" colspan="2">
  796. <layout class="QHBoxLayout" name="horizontalLayout_6">
  797. <item>
  798. <widget class="QLabel" name="label_26">
  799. <property name="toolTip">
  800. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which qube should be used by default as a template for DisposableVMs started from this one? DisposableVMs will inherit their template's configuration and installed programs.&lt;br/&gt;For a qube to to appear in this list, it must have the &amp;quot;DisposableVM Template&amp;quot; checkbox enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  801. </property>
  802. <property name="text">
  803. <string>Default DisposableVM Template</string>
  804. </property>
  805. <property name="buddy">
  806. <cstring>default_dispvm</cstring>
  807. </property>
  808. </widget>
  809. </item>
  810. <item>
  811. <widget class="QComboBox" name="default_dispvm">
  812. <property name="sizePolicy">
  813. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  814. <horstretch>0</horstretch>
  815. <verstretch>0</verstretch>
  816. </sizepolicy>
  817. </property>
  818. <property name="toolTip">
  819. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which qube should be used by default as a template for DisposableVMs started from this one? DisposableVMs will inherit their template's configuration and installed programs.&lt;br/&gt;For a qube to to appear in this list, it must have the &amp;quot;DisposableVM Template&amp;quot; checkbox enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  820. </property>
  821. </widget>
  822. </item>
  823. </layout>
  824. </item>
  825. <item row="1" column="0">
  826. <widget class="QCheckBox" name="run_in_debug_mode">
  827. <property name="text">
  828. <string>Run in debug mode</string>
  829. </property>
  830. </widget>
  831. </item>
  832. </layout>
  833. </widget>
  834. </item>
  835. <item>
  836. <spacer name="verticalSpacer_3">
  837. <property name="orientation">
  838. <enum>Qt::Vertical</enum>
  839. </property>
  840. <property name="sizeHint" stdset="0">
  841. <size>
  842. <width>20</width>
  843. <height>40</height>
  844. </size>
  845. </property>
  846. </spacer>
  847. </item>
  848. </layout>
  849. </item>
  850. <item>
  851. <layout class="QVBoxLayout" name="verticalLayout_7">
  852. <property name="sizeConstraint">
  853. <enum>QLayout::SetDefaultConstraint</enum>
  854. </property>
  855. <property name="bottomMargin">
  856. <number>0</number>
  857. </property>
  858. <item>
  859. <widget class="QGroupBox" name="window_groupbox">
  860. <property name="sizePolicy">
  861. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  862. <horstretch>0</horstretch>
  863. <verstretch>0</verstretch>
  864. </sizepolicy>
  865. </property>
  866. <property name="title">
  867. <string>Window Options</string>
  868. </property>
  869. <layout class="QGridLayout" name="gridLayout_12">
  870. <item row="0" column="0">
  871. <widget class="QLabel" name="label_16">
  872. <property name="text">
  873. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Allow fullscreen&lt;span style=&quot; color:#ef2929;&quot;&gt;*&lt;/span&gt;:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  874. </property>
  875. </widget>
  876. </item>
  877. <item row="0" column="1">
  878. <widget class="QComboBox" name="allow_fullscreen"/>
  879. </item>
  880. <item row="1" column="0">
  881. <widget class="QLabel" name="label_24">
  882. <property name="text">
  883. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Allow UTF-8 window titles&lt;span style=&quot; color:#ef2929;&quot;&gt;*&lt;/span&gt;:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  884. </property>
  885. </widget>
  886. </item>
  887. <item row="1" column="1">
  888. <widget class="QComboBox" name="allow_utf8"/>
  889. </item>
  890. <item row="2" column="0" colspan="2">
  891. <widget class="QLabel" name="requires_restart_label">
  892. <property name="sizePolicy">
  893. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  894. <horstretch>0</horstretch>
  895. <verstretch>0</verstretch>
  896. </sizepolicy>
  897. </property>
  898. <property name="font">
  899. <font>
  900. <italic>true</italic>
  901. </font>
  902. </property>
  903. <property name="text">
  904. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; color:#ef2929;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot; font-style:normal; color:#000000;&quot;&gt; Requires restart&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  905. </property>
  906. </widget>
  907. </item>
  908. </layout>
  909. </widget>
  910. </item>
  911. <item>
  912. <widget class="QGroupBox" name="kernel_groupbox">
  913. <property name="enabled">
  914. <bool>true</bool>
  915. </property>
  916. <property name="sizePolicy">
  917. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  918. <horstretch>0</horstretch>
  919. <verstretch>0</verstretch>
  920. </sizepolicy>
  921. </property>
  922. <property name="title">
  923. <string>Kernel</string>
  924. </property>
  925. <layout class="QFormLayout" name="formLayout_9">
  926. <property name="fieldGrowthPolicy">
  927. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  928. </property>
  929. <property name="topMargin">
  930. <number>15</number>
  931. </property>
  932. <item row="0" column="0">
  933. <widget class="QLabel" name="label_19">
  934. <property name="text">
  935. <string>Kernel:</string>
  936. </property>
  937. <property name="buddy">
  938. <cstring>kernel</cstring>
  939. </property>
  940. </widget>
  941. </item>
  942. <item row="0" column="1">
  943. <widget class="QComboBox" name="kernel"/>
  944. </item>
  945. <item row="1" column="1">
  946. <widget class="QLabel" name="pvh_kernel_version_warning">
  947. <property name="sizePolicy">
  948. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  949. <horstretch>0</horstretch>
  950. <verstretch>0</verstretch>
  951. </sizepolicy>
  952. </property>
  953. <property name="font">
  954. <font>
  955. <weight>75</weight>
  956. <italic>true</italic>
  957. <bold>true</bold>
  958. </font>
  959. </property>
  960. <property name="text">
  961. <string>WARNING: PVH mode requires Linux 4.11 or newer.</string>
  962. </property>
  963. <property name="wordWrap">
  964. <bool>true</bool>
  965. </property>
  966. </widget>
  967. </item>
  968. <item row="2" column="0">
  969. <widget class="QLabel" name="label_20">
  970. <property name="sizePolicy">
  971. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  972. <horstretch>0</horstretch>
  973. <verstretch>0</verstretch>
  974. </sizepolicy>
  975. </property>
  976. <property name="text">
  977. <string>Kernel opts:</string>
  978. </property>
  979. </widget>
  980. </item>
  981. <item row="2" column="1">
  982. <widget class="QLabel" name="kernel_opts">
  983. <property name="sizePolicy">
  984. <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
  985. <horstretch>0</horstretch>
  986. <verstretch>0</verstretch>
  987. </sizepolicy>
  988. </property>
  989. <property name="maximumSize">
  990. <size>
  991. <width>250</width>
  992. <height>16777215</height>
  993. </size>
  994. </property>
  995. <property name="font">
  996. <font>
  997. <weight>50</weight>
  998. <italic>true</italic>
  999. <bold>false</bold>
  1000. </font>
  1001. </property>
  1002. <property name="text">
  1003. <string>[]</string>
  1004. </property>
  1005. <property name="wordWrap">
  1006. <bool>true</bool>
  1007. </property>
  1008. </widget>
  1009. </item>
  1010. </layout>
  1011. </widget>
  1012. </item>
  1013. <item>
  1014. <widget class="QGroupBox" name="virt_groupbox">
  1015. <property name="enabled">
  1016. <bool>true</bool>
  1017. </property>
  1018. <property name="sizePolicy">
  1019. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  1020. <horstretch>0</horstretch>
  1021. <verstretch>0</verstretch>
  1022. </sizepolicy>
  1023. </property>
  1024. <property name="title">
  1025. <string>Virtualization</string>
  1026. </property>
  1027. <layout class="QFormLayout" name="formLayout_10">
  1028. <property name="fieldGrowthPolicy">
  1029. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  1030. </property>
  1031. <property name="topMargin">
  1032. <number>15</number>
  1033. </property>
  1034. <item row="1" column="0">
  1035. <widget class="QLabel" name="label_27">
  1036. <property name="text">
  1037. <string>Mode:</string>
  1038. </property>
  1039. <property name="buddy">
  1040. <cstring>virt_mode</cstring>
  1041. </property>
  1042. </widget>
  1043. </item>
  1044. <item row="1" column="1">
  1045. <widget class="QComboBox" name="virt_mode"/>
  1046. </item>
  1047. <item row="2" column="1">
  1048. <widget class="QLabel" name="pv_warning">
  1049. <property name="sizePolicy">
  1050. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  1051. <horstretch>0</horstretch>
  1052. <verstretch>0</verstretch>
  1053. </sizepolicy>
  1054. </property>
  1055. <property name="font">
  1056. <font>
  1057. <weight>75</weight>
  1058. <italic>true</italic>
  1059. <bold>true</bold>
  1060. </font>
  1061. </property>
  1062. <property name="styleSheet">
  1063. <string notr="true">color:rgb(255, 0, 0)</string>
  1064. </property>
  1065. <property name="text">
  1066. <string>Using PV mode exposes more hypervisor attack surface!</string>
  1067. </property>
  1068. <property name="wordWrap">
  1069. <bool>true</bool>
  1070. </property>
  1071. </widget>
  1072. </item>
  1073. <item row="3" column="1">
  1074. <widget class="QLabel" name="pvh_mode_hidden">
  1075. <property name="sizePolicy">
  1076. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  1077. <horstretch>0</horstretch>
  1078. <verstretch>0</verstretch>
  1079. </sizepolicy>
  1080. </property>
  1081. <property name="font">
  1082. <font>
  1083. <weight>75</weight>
  1084. <italic>true</italic>
  1085. <bold>true</bold>
  1086. </font>
  1087. </property>
  1088. <property name="text">
  1089. <string>PVH mode is hidden since it doesn't support PCI passthrough.</string>
  1090. </property>
  1091. <property name="wordWrap">
  1092. <bool>true</bool>
  1093. </property>
  1094. </widget>
  1095. </item>
  1096. <item row="0" column="0" colspan="2">
  1097. <widget class="QLabel" name="label_21">
  1098. <property name="sizePolicy">
  1099. <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
  1100. <horstretch>0</horstretch>
  1101. <verstretch>0</verstretch>
  1102. </sizepolicy>
  1103. </property>
  1104. <property name="font">
  1105. <font>
  1106. <italic>true</italic>
  1107. </font>
  1108. </property>
  1109. <property name="text">
  1110. <string>PVH mode is recommended if possible (Linux kernel 4.11 or newer, no PCI passthrough). For Windows qubes always use HVM.</string>
  1111. </property>
  1112. <property name="wordWrap">
  1113. <bool>true</bool>
  1114. </property>
  1115. </widget>
  1116. </item>
  1117. </layout>
  1118. </widget>
  1119. </item>
  1120. <item>
  1121. <spacer name="verticalSpacer_2">
  1122. <property name="orientation">
  1123. <enum>Qt::Vertical</enum>
  1124. </property>
  1125. <property name="sizeHint" stdset="0">
  1126. <size>
  1127. <width>20</width>
  1128. <height>40</height>
  1129. </size>
  1130. </property>
  1131. </spacer>
  1132. </item>
  1133. </layout>
  1134. </item>
  1135. </layout>
  1136. </widget>
  1137. <widget class="QWidget" name="firewall_tab">
  1138. <attribute name="icon">
  1139. <iconset resource="../resources.qrc">
  1140. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  1141. </attribute>
  1142. <attribute name="title">
  1143. <string>Firewall rules</string>
  1144. </attribute>
  1145. <layout class="QGridLayout" name="gridLayout_8">
  1146. <item row="9" column="0">
  1147. <widget class="QWidget" name="tempFullAccessWidget" native="true">
  1148. <property name="enabled">
  1149. <bool>true</bool>
  1150. </property>
  1151. <layout class="QGridLayout" name="gridLayout_6">
  1152. <property name="leftMargin">
  1153. <number>0</number>
  1154. </property>
  1155. <property name="topMargin">
  1156. <number>0</number>
  1157. </property>
  1158. <property name="bottomMargin">
  1159. <number>0</number>
  1160. </property>
  1161. <item row="1" column="0">
  1162. <widget class="QCheckBox" name="temp_full_access">
  1163. <property name="text">
  1164. <string>Allow full access for </string>
  1165. </property>
  1166. </widget>
  1167. </item>
  1168. <item row="1" column="1">
  1169. <widget class="QSpinBox" name="temp_full_access_time">
  1170. <property name="suffix">
  1171. <string> min</string>
  1172. </property>
  1173. <property name="value">
  1174. <number>5</number>
  1175. </property>
  1176. </widget>
  1177. </item>
  1178. <item row="1" column="2">
  1179. <spacer name="horizontalSpacer_2">
  1180. <property name="orientation">
  1181. <enum>Qt::Horizontal</enum>
  1182. </property>
  1183. <property name="sizeHint" stdset="0">
  1184. <size>
  1185. <width>40</width>
  1186. <height>20</height>
  1187. </size>
  1188. </property>
  1189. </spacer>
  1190. </item>
  1191. </layout>
  1192. </widget>
  1193. </item>
  1194. <item row="10" column="0" colspan="2">
  1195. <widget class="QLabel" name="label_22">
  1196. <property name="text">
  1197. <string>NOTE: To block all network access, set Networking to (none) on the Basic settings tab. This tab provides a very simplified firewall configuration. All DNS requests and ICMP (pings) will be allowed. For more granular control, use the command line tool qvm-firewall.</string>
  1198. </property>
  1199. <property name="alignment">
  1200. <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
  1201. </property>
  1202. <property name="wordWrap">
  1203. <bool>true</bool>
  1204. </property>
  1205. </widget>
  1206. </item>
  1207. <item row="0" column="0">
  1208. <widget class="QLabel" name="no_netvm_label">
  1209. <property name="palette">
  1210. <palette>
  1211. <active>
  1212. <colorrole role="WindowText">
  1213. <brush brushstyle="SolidPattern">
  1214. <color alpha="255">
  1215. <red>255</red>
  1216. <green>0</green>
  1217. <blue>0</blue>
  1218. </color>
  1219. </brush>
  1220. </colorrole>
  1221. </active>
  1222. <inactive>
  1223. <colorrole role="WindowText">
  1224. <brush brushstyle="SolidPattern">
  1225. <color alpha="255">
  1226. <red>255</red>
  1227. <green>0</green>
  1228. <blue>0</blue>
  1229. </color>
  1230. </brush>
  1231. </colorrole>
  1232. </inactive>
  1233. <disabled>
  1234. <colorrole role="WindowText">
  1235. <brush brushstyle="SolidPattern">
  1236. <color alpha="255">
  1237. <red>139</red>
  1238. <green>142</green>
  1239. <blue>142</blue>
  1240. </color>
  1241. </brush>
  1242. </colorrole>
  1243. </disabled>
  1244. </palette>
  1245. </property>
  1246. <property name="font">
  1247. <font>
  1248. <weight>75</weight>
  1249. <italic>true</italic>
  1250. <bold>true</bold>
  1251. </font>
  1252. </property>
  1253. <property name="text">
  1254. <string>This qube has no networking - it will not have any network access anyway.</string>
  1255. </property>
  1256. <property name="wordWrap">
  1257. <bool>true</bool>
  1258. </property>
  1259. </widget>
  1260. </item>
  1261. <item row="6" column="0" colspan="2">
  1262. <widget class="Line" name="line">
  1263. <property name="orientation">
  1264. <enum>Qt::Horizontal</enum>
  1265. </property>
  1266. </widget>
  1267. </item>
  1268. <item row="7" column="0">
  1269. <widget class="QLabel" name="firewal_rules_label">
  1270. <property name="text">
  1271. <string>List of allowed (whitelisted) addresses:</string>
  1272. </property>
  1273. </widget>
  1274. </item>
  1275. <item row="1" column="0">
  1276. <widget class="QLabel" name="netvm_no_firewall_label">
  1277. <property name="palette">
  1278. <palette>
  1279. <active>
  1280. <colorrole role="WindowText">
  1281. <brush brushstyle="SolidPattern">
  1282. <color alpha="255">
  1283. <red>255</red>
  1284. <green>0</green>
  1285. <blue>0</blue>
  1286. </color>
  1287. </brush>
  1288. </colorrole>
  1289. </active>
  1290. <inactive>
  1291. <colorrole role="WindowText">
  1292. <brush brushstyle="SolidPattern">
  1293. <color alpha="255">
  1294. <red>255</red>
  1295. <green>0</green>
  1296. <blue>0</blue>
  1297. </color>
  1298. </brush>
  1299. </colorrole>
  1300. </inactive>
  1301. <disabled>
  1302. <colorrole role="WindowText">
  1303. <brush brushstyle="SolidPattern">
  1304. <color alpha="255">
  1305. <red>139</red>
  1306. <green>142</green>
  1307. <blue>142</blue>
  1308. </color>
  1309. </brush>
  1310. </colorrole>
  1311. </disabled>
  1312. </palette>
  1313. </property>
  1314. <property name="font">
  1315. <font>
  1316. <weight>75</weight>
  1317. <italic>true</italic>
  1318. <bold>true</bold>
  1319. </font>
  1320. </property>
  1321. <property name="text">
  1322. <string>Networking qube does not support 'qubes-firewall' - firewall restrictions will not be applied.</string>
  1323. </property>
  1324. </widget>
  1325. </item>
  1326. <item row="2" column="0">
  1327. <widget class="QLabel" name="firewall_modified_outside_label">
  1328. <property name="palette">
  1329. <palette>
  1330. <active>
  1331. <colorrole role="WindowText">
  1332. <brush brushstyle="SolidPattern">
  1333. <color alpha="255">
  1334. <red>255</red>
  1335. <green>0</green>
  1336. <blue>0</blue>
  1337. </color>
  1338. </brush>
  1339. </colorrole>
  1340. </active>
  1341. <inactive>
  1342. <colorrole role="WindowText">
  1343. <brush brushstyle="SolidPattern">
  1344. <color alpha="255">
  1345. <red>255</red>
  1346. <green>0</green>
  1347. <blue>0</blue>
  1348. </color>
  1349. </brush>
  1350. </colorrole>
  1351. </inactive>
  1352. <disabled>
  1353. <colorrole role="WindowText">
  1354. <brush brushstyle="SolidPattern">
  1355. <color alpha="255">
  1356. <red>139</red>
  1357. <green>142</green>
  1358. <blue>142</blue>
  1359. </color>
  1360. </brush>
  1361. </colorrole>
  1362. </disabled>
  1363. </palette>
  1364. </property>
  1365. <property name="font">
  1366. <font>
  1367. <weight>75</weight>
  1368. <italic>true</italic>
  1369. <bold>true</bold>
  1370. </font>
  1371. </property>
  1372. <property name="text">
  1373. <string>Firewall has been modified manually - please use qvm-firewall for any further configuration.</string>
  1374. </property>
  1375. </widget>
  1376. </item>
  1377. <item row="8" column="0" colspan="2">
  1378. <layout class="QHBoxLayout" name="firewallRulesLayout">
  1379. <property name="sizeConstraint">
  1380. <enum>QLayout::SetMaximumSize</enum>
  1381. </property>
  1382. <item>
  1383. <layout class="QVBoxLayout" name="verticalLayout_5">
  1384. <item>
  1385. <widget class="QTreeView" name="rulesTreeView">
  1386. <property name="rootIsDecorated">
  1387. <bool>false</bool>
  1388. </property>
  1389. <property name="uniformRowHeights">
  1390. <bool>false</bool>
  1391. </property>
  1392. <property name="itemsExpandable">
  1393. <bool>false</bool>
  1394. </property>
  1395. <property name="sortingEnabled">
  1396. <bool>true</bool>
  1397. </property>
  1398. <property name="allColumnsShowFocus">
  1399. <bool>true</bool>
  1400. </property>
  1401. <property name="expandsOnDoubleClick">
  1402. <bool>true</bool>
  1403. </property>
  1404. <attribute name="headerDefaultSectionSize">
  1405. <number>40</number>
  1406. </attribute>
  1407. <attribute name="headerStretchLastSection">
  1408. <bool>false</bool>
  1409. </attribute>
  1410. </widget>
  1411. </item>
  1412. <item>
  1413. <layout class="QHBoxLayout" name="horizontalLayout_4"/>
  1414. </item>
  1415. </layout>
  1416. </item>
  1417. <item>
  1418. <layout class="QVBoxLayout" name="verticalLayout_6">
  1419. <item>
  1420. <widget class="QPushButton" name="new_rule_button">
  1421. <property name="text">
  1422. <string/>
  1423. </property>
  1424. <property name="icon">
  1425. <iconset resource="../resources.qrc">
  1426. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  1427. </property>
  1428. <property name="iconSize">
  1429. <size>
  1430. <width>24</width>
  1431. <height>24</height>
  1432. </size>
  1433. </property>
  1434. </widget>
  1435. </item>
  1436. <item>
  1437. <widget class="QPushButton" name="edit_rule_button">
  1438. <property name="text">
  1439. <string/>
  1440. </property>
  1441. <property name="icon">
  1442. <iconset resource="../resources.qrc">
  1443. <normaloff>:/pencil.png</normaloff>:/pencil.png</iconset>
  1444. </property>
  1445. <property name="iconSize">
  1446. <size>
  1447. <width>24</width>
  1448. <height>24</height>
  1449. </size>
  1450. </property>
  1451. </widget>
  1452. </item>
  1453. <item>
  1454. <widget class="QPushButton" name="delete_rule_button">
  1455. <property name="toolTip">
  1456. <string>Changing firewall settings does NOT affect existing connections.</string>
  1457. </property>
  1458. <property name="text">
  1459. <string/>
  1460. </property>
  1461. <property name="icon">
  1462. <iconset resource="../resources.qrc">
  1463. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  1464. </property>
  1465. <property name="iconSize">
  1466. <size>
  1467. <width>24</width>
  1468. <height>24</height>
  1469. </size>
  1470. </property>
  1471. </widget>
  1472. </item>
  1473. <item>
  1474. <spacer name="verticalSpacer_4">
  1475. <property name="orientation">
  1476. <enum>Qt::Vertical</enum>
  1477. </property>
  1478. <property name="sizeHint" stdset="0">
  1479. <size>
  1480. <width>20</width>
  1481. <height>40</height>
  1482. </size>
  1483. </property>
  1484. </spacer>
  1485. </item>
  1486. </layout>
  1487. </item>
  1488. </layout>
  1489. </item>
  1490. <item row="4" column="0">
  1491. <layout class="QHBoxLayout" name="horizontalLayout_5">
  1492. <item>
  1493. <widget class="QRadioButton" name="policy_allow_radio_button">
  1494. <property name="text">
  1495. <string>Allow all outgoing Internet connections</string>
  1496. </property>
  1497. </widget>
  1498. </item>
  1499. <item>
  1500. <widget class="QRadioButton" name="policy_deny_radio_button">
  1501. <property name="toolTip">
  1502. <string>Changing firewall settings does NOT affect existing connections.</string>
  1503. </property>
  1504. <property name="text">
  1505. <string>Limit outgoing Internet connections to ...</string>
  1506. </property>
  1507. </widget>
  1508. </item>
  1509. </layout>
  1510. </item>
  1511. <item row="3" column="0">
  1512. <widget class="QLabel" name="sysnet_warning_label">
  1513. <property name="palette">
  1514. <palette>
  1515. <active>
  1516. <colorrole role="WindowText">
  1517. <brush brushstyle="SolidPattern">
  1518. <color alpha="255">
  1519. <red>239</red>
  1520. <green>41</green>
  1521. <blue>41</blue>
  1522. </color>
  1523. </brush>
  1524. </colorrole>
  1525. </active>
  1526. <inactive>
  1527. <colorrole role="WindowText">
  1528. <brush brushstyle="SolidPattern">
  1529. <color alpha="255">
  1530. <red>239</red>
  1531. <green>41</green>
  1532. <blue>41</blue>
  1533. </color>
  1534. </brush>
  1535. </colorrole>
  1536. </inactive>
  1537. <disabled>
  1538. <colorrole role="WindowText">
  1539. <brush brushstyle="SolidPattern">
  1540. <color alpha="255">
  1541. <red>190</red>
  1542. <green>190</green>
  1543. <blue>190</blue>
  1544. </color>
  1545. </brush>
  1546. </colorrole>
  1547. </disabled>
  1548. </palette>
  1549. </property>
  1550. <property name="font">
  1551. <font>
  1552. <weight>75</weight>
  1553. <italic>true</italic>
  1554. <bold>true</bold>
  1555. </font>
  1556. </property>
  1557. <property name="text">
  1558. <string>This qube has direct network access and Qubes Firewall settings will not be used. Configure other qubes' network access in their network settings or in a dedicated firewall qube.</string>
  1559. </property>
  1560. <property name="wordWrap">
  1561. <bool>true</bool>
  1562. </property>
  1563. </widget>
  1564. </item>
  1565. </layout>
  1566. </widget>
  1567. <widget class="QWidget" name="devices_tab">
  1568. <property name="enabled">
  1569. <bool>true</bool>
  1570. </property>
  1571. <attribute name="icon">
  1572. <iconset resource="../resources.qrc">
  1573. <normaloff>:/storagevm.png</normaloff>:/storagevm.png</iconset>
  1574. </attribute>
  1575. <attribute name="title">
  1576. <string>Devices</string>
  1577. </attribute>
  1578. <layout class="QVBoxLayout" name="verticalLayout_3">
  1579. <item>
  1580. <layout class="QVBoxLayout" name="devices_layout">
  1581. <item>
  1582. <widget class="QLabel" name="dmm_warning_dev">
  1583. <property name="font">
  1584. <font>
  1585. <weight>75</weight>
  1586. <italic>true</italic>
  1587. <bold>true</bold>
  1588. </font>
  1589. </property>
  1590. <property name="styleSheet">
  1591. <string notr="true">color: rgb(255, 0, 0)</string>
  1592. </property>
  1593. <property name="text">
  1594. <string>You've enabled dynamic memory balancing, some devices might not work!</string>
  1595. </property>
  1596. </widget>
  1597. </item>
  1598. <item>
  1599. <widget class="QLabel" name="turn_off_vm_to_modify_devs">
  1600. <property name="font">
  1601. <font>
  1602. <weight>75</weight>
  1603. <italic>true</italic>
  1604. <bold>true</bold>
  1605. </font>
  1606. </property>
  1607. <property name="text">
  1608. <string>To modify PCI devices you have to turn off the qube.</string>
  1609. </property>
  1610. </widget>
  1611. </item>
  1612. <item>
  1613. <widget class="QLabel" name="pvh_dont_support_devs">
  1614. <property name="font">
  1615. <font>
  1616. <weight>75</weight>
  1617. <italic>true</italic>
  1618. <bold>true</bold>
  1619. </font>
  1620. </property>
  1621. <property name="text">
  1622. <string>Currently PVH qubes don't support PCI passthrough. Select another virtualization mode if you want to add PCI devices</string>
  1623. </property>
  1624. </widget>
  1625. </item>
  1626. </layout>
  1627. </item>
  1628. <item>
  1629. <widget class="QPushButton" name="no_strict_reset_button">
  1630. <property name="text">
  1631. <string>Configure strict reset for PCI devices</string>
  1632. </property>
  1633. </widget>
  1634. </item>
  1635. </layout>
  1636. </widget>
  1637. <widget class="QWidget" name="apps_tab">
  1638. <attribute name="icon">
  1639. <iconset resource="../resources.qrc">
  1640. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  1641. </attribute>
  1642. <attribute name="title">
  1643. <string>Applications</string>
  1644. </attribute>
  1645. <layout class="QGridLayout" name="gridLayout_7">
  1646. <item row="0" column="0" alignment="Qt::AlignHCenter">
  1647. <widget class="QPushButton" name="refresh_apps_button">
  1648. <property name="sizePolicy">
  1649. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  1650. <horstretch>0</horstretch>
  1651. <verstretch>0</verstretch>
  1652. </sizepolicy>
  1653. </property>
  1654. <property name="text">
  1655. <string>Refresh Applications</string>
  1656. </property>
  1657. </widget>
  1658. </item>
  1659. <item row="1" column="0">
  1660. <layout class="QVBoxLayout" name="apps_layout"/>
  1661. </item>
  1662. </layout>
  1663. </widget>
  1664. <widget class="QWidget" name="services_tab">
  1665. <property name="enabled">
  1666. <bool>true</bool>
  1667. </property>
  1668. <attribute name="title">
  1669. <string>Services</string>
  1670. </attribute>
  1671. <layout class="QGridLayout" name="gridLayout_5">
  1672. <item row="8" column="0" rowspan="2">
  1673. <widget class="QListWidget" name="services_list">
  1674. <property name="sizePolicy">
  1675. <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
  1676. <horstretch>0</horstretch>
  1677. <verstretch>0</verstretch>
  1678. </sizepolicy>
  1679. </property>
  1680. </widget>
  1681. </item>
  1682. <item row="11" column="0" colspan="2">
  1683. <widget class="QLabel" name="label_7">
  1684. <property name="text">
  1685. <string>Checked services will be turned on.</string>
  1686. </property>
  1687. </widget>
  1688. </item>
  1689. <item row="13" column="0" colspan="2">
  1690. <widget class="QLabel" name="label_9">
  1691. <property name="text">
  1692. <string>Unlisted services will follow default settings.</string>
  1693. </property>
  1694. </widget>
  1695. </item>
  1696. <item row="12" column="0" colspan="2">
  1697. <widget class="QLabel" name="label_8">
  1698. <property name="text">
  1699. <string>Unchecked services will be turned off.</string>
  1700. </property>
  1701. </widget>
  1702. </item>
  1703. <item row="2" column="0">
  1704. <layout class="QHBoxLayout" name="horizontalLayout_7">
  1705. <item>
  1706. <widget class="QLabel" name="label_6">
  1707. <property name="text">
  1708. <string>Select a service:</string>
  1709. </property>
  1710. </widget>
  1711. </item>
  1712. <item>
  1713. <widget class="QComboBox" name="service_line_edit">
  1714. <property name="sizePolicy">
  1715. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  1716. <horstretch>0</horstretch>
  1717. <verstretch>0</verstretch>
  1718. </sizepolicy>
  1719. </property>
  1720. <property name="toolTip">
  1721. <string>Services listed here are explicitly supported by the qube. Additional services may be added with the '+' button on the right.</string>
  1722. </property>
  1723. <property name="currentText">
  1724. <string/>
  1725. </property>
  1726. </widget>
  1727. </item>
  1728. <item>
  1729. <widget class="QPushButton" name="add_srv_button">
  1730. <property name="text">
  1731. <string>Add</string>
  1732. </property>
  1733. <property name="icon">
  1734. <iconset resource="../resources.qrc">
  1735. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  1736. </property>
  1737. <property name="iconSize">
  1738. <size>
  1739. <width>24</width>
  1740. <height>24</height>
  1741. </size>
  1742. </property>
  1743. </widget>
  1744. </item>
  1745. </layout>
  1746. </item>
  1747. <item row="10" column="0">
  1748. <widget class="QPushButton" name="remove_srv_button">
  1749. <property name="text">
  1750. <string>Remove service</string>
  1751. </property>
  1752. <property name="icon">
  1753. <iconset resource="../resources.qrc">
  1754. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  1755. </property>
  1756. <property name="iconSize">
  1757. <size>
  1758. <width>24</width>
  1759. <height>24</height>
  1760. </size>
  1761. </property>
  1762. </widget>
  1763. </item>
  1764. <item row="9" column="1">
  1765. <spacer name="verticalSpacer_5">
  1766. <property name="orientation">
  1767. <enum>Qt::Vertical</enum>
  1768. </property>
  1769. <property name="sizeHint" stdset="0">
  1770. <size>
  1771. <width>20</width>
  1772. <height>40</height>
  1773. </size>
  1774. </property>
  1775. </spacer>
  1776. </item>
  1777. </layout>
  1778. </widget>
  1779. </widget>
  1780. </item>
  1781. <item>
  1782. <widget class="QDialogButtonBox" name="buttonBox">
  1783. <property name="orientation">
  1784. <enum>Qt::Horizontal</enum>
  1785. </property>
  1786. <property name="standardButtons">
  1787. <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  1788. </property>
  1789. </widget>
  1790. </item>
  1791. </layout>
  1792. </item>
  1793. </layout>
  1794. </widget>
  1795. <customwidgets>
  1796. <customwidget>
  1797. <class>SizeSpinBox</class>
  1798. <extends>QSpinBox</extends>
  1799. <header>qubesmanager/utils.h</header>
  1800. </customwidget>
  1801. </customwidgets>
  1802. <tabstops>
  1803. <tabstop>tabWidget</tabstop>
  1804. <tabstop>vmname</tabstop>
  1805. <tabstop>rename_vm_button</tabstop>
  1806. <tabstop>vmlabel</tabstop>
  1807. <tabstop>template_name</tabstop>
  1808. <tabstop>netVM</tabstop>
  1809. <tabstop>include_in_backups</tabstop>
  1810. <tabstop>autostart_vm</tabstop>
  1811. <tabstop>max_priv_storage</tabstop>
  1812. <tabstop>root_resize</tabstop>
  1813. <tabstop>delete_vm_button</tabstop>
  1814. <tabstop>clone_vm_button</tabstop>
  1815. <tabstop>init_mem</tabstop>
  1816. <tabstop>max_mem_size</tabstop>
  1817. <tabstop>vcpus</tabstop>
  1818. <tabstop>include_in_balancing</tabstop>
  1819. <tabstop>run_in_debug_mode</tabstop>
  1820. <tabstop>provides_network_checkbox</tabstop>
  1821. <tabstop>dvm_template_checkbox</tabstop>
  1822. <tabstop>default_dispvm</tabstop>
  1823. <tabstop>boot_from_device_button</tabstop>
  1824. <tabstop>seamless_on_button</tabstop>
  1825. <tabstop>seamless_off_button</tabstop>
  1826. <tabstop>allow_fullscreen</tabstop>
  1827. <tabstop>allow_utf8</tabstop>
  1828. <tabstop>kernel</tabstop>
  1829. <tabstop>virt_mode</tabstop>
  1830. <tabstop>policy_allow_radio_button</tabstop>
  1831. <tabstop>policy_deny_radio_button</tabstop>
  1832. <tabstop>rulesTreeView</tabstop>
  1833. <tabstop>temp_full_access</tabstop>
  1834. <tabstop>temp_full_access_time</tabstop>
  1835. <tabstop>new_rule_button</tabstop>
  1836. <tabstop>edit_rule_button</tabstop>
  1837. <tabstop>delete_rule_button</tabstop>
  1838. <tabstop>no_strict_reset_button</tabstop>
  1839. <tabstop>refresh_apps_button</tabstop>
  1840. <tabstop>service_line_edit</tabstop>
  1841. <tabstop>add_srv_button</tabstop>
  1842. <tabstop>services_list</tabstop>
  1843. <tabstop>remove_srv_button</tabstop>
  1844. </tabstops>
  1845. <resources>
  1846. <include location="../resources.qrc"/>
  1847. </resources>
  1848. <connections>
  1849. <connection>
  1850. <sender>buttonBox</sender>
  1851. <signal>accepted()</signal>
  1852. <receiver>SettingsDialog</receiver>
  1853. <slot>accept()</slot>
  1854. <hints>
  1855. <hint type="sourcelabel">
  1856. <x>248</x>
  1857. <y>254</y>
  1858. </hint>
  1859. <hint type="destinationlabel">
  1860. <x>157</x>
  1861. <y>274</y>
  1862. </hint>
  1863. </hints>
  1864. </connection>
  1865. <connection>
  1866. <sender>buttonBox</sender>
  1867. <signal>rejected()</signal>
  1868. <receiver>SettingsDialog</receiver>
  1869. <slot>reject()</slot>
  1870. <hints>
  1871. <hint type="sourcelabel">
  1872. <x>316</x>
  1873. <y>260</y>
  1874. </hint>
  1875. <hint type="destinationlabel">
  1876. <x>286</x>
  1877. <y>274</y>
  1878. </hint>
  1879. </hints>
  1880. </connection>
  1881. </connections>
  1882. </ui>