settingsdlg.ui 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219
  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>704</width>
  10. <height>483</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">
  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="0" column="0" colspan="2">
  43. <widget class="QGroupBox" name="groupBox_3">
  44. <property name="title">
  45. <string>Settings</string>
  46. </property>
  47. <layout class="QGridLayout" name="gridLayout_2">
  48. <item row="0" column="0">
  49. <widget class="QLabel" name="label">
  50. <property name="text">
  51. <string>Name &amp; label:</string>
  52. </property>
  53. <property name="buddy">
  54. <cstring>vmname</cstring>
  55. </property>
  56. </widget>
  57. </item>
  58. <item row="0" column="1">
  59. <widget class="QLineEdit" name="vmname">
  60. <property name="text">
  61. <string>----</string>
  62. </property>
  63. </widget>
  64. </item>
  65. <item row="1" column="0">
  66. <widget class="QLabel" name="label_2">
  67. <property name="text">
  68. <string>Template:</string>
  69. </property>
  70. <property name="buddy">
  71. <cstring>template_name</cstring>
  72. </property>
  73. </widget>
  74. </item>
  75. <item row="1" column="1">
  76. <widget class="QComboBox" name="template_name"/>
  77. </item>
  78. <item row="2" column="0">
  79. <widget class="QLabel" name="label_18">
  80. <property name="text">
  81. <string>NetVM:</string>
  82. </property>
  83. <property name="buddy">
  84. <cstring>netVM</cstring>
  85. </property>
  86. </widget>
  87. </item>
  88. <item row="2" column="1">
  89. <widget class="QComboBox" name="netVM"/>
  90. </item>
  91. <item row="0" column="2">
  92. <widget class="QComboBox" name="vmlabel">
  93. <property name="frame">
  94. <bool>true</bool>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="3" column="0" colspan="2">
  99. <layout class="QHBoxLayout" name="horizontalLayout">
  100. <item>
  101. <widget class="QCheckBox" name="include_in_backups">
  102. <property name="enabled">
  103. <bool>true</bool>
  104. </property>
  105. <property name="text">
  106. <string>Include in backups by default</string>
  107. </property>
  108. <property name="checked">
  109. <bool>true</bool>
  110. </property>
  111. </widget>
  112. </item>
  113. <item>
  114. <widget class="QCheckBox" name="run_in_debug_mode">
  115. <property name="text">
  116. <string>Run in debug mode</string>
  117. </property>
  118. </widget>
  119. </item>
  120. </layout>
  121. </item>
  122. <item row="4" column="0" colspan="2">
  123. <layout class="QHBoxLayout" name="horizontalLayout_3">
  124. <item>
  125. <widget class="QCheckBox" name="autostart_vm">
  126. <property name="text">
  127. <string>Start VM automatically on boot</string>
  128. </property>
  129. </widget>
  130. </item>
  131. <item>
  132. <widget class="QCheckBox" name="seamless_gui">
  133. <property name="text">
  134. <string>Seamless GUI</string>
  135. </property>
  136. </widget>
  137. </item>
  138. </layout>
  139. </item>
  140. </layout>
  141. </widget>
  142. </item>
  143. <item row="2" column="0">
  144. <widget class="QGroupBox" name="groupBox_4">
  145. <property name="enabled">
  146. <bool>true</bool>
  147. </property>
  148. <property name="title">
  149. <string>General</string>
  150. </property>
  151. <layout class="QFormLayout" name="formLayout_4">
  152. <property name="fieldGrowthPolicy">
  153. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  154. </property>
  155. <item row="0" column="0">
  156. <widget class="QLabel" name="label_13">
  157. <property name="text">
  158. <string>Type:</string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item row="0" column="1">
  163. <widget class="QLabel" name="type_label">
  164. <property name="font">
  165. <font>
  166. <weight>50</weight>
  167. <bold>false</bold>
  168. </font>
  169. </property>
  170. <property name="text">
  171. <string>---</string>
  172. </property>
  173. </widget>
  174. </item>
  175. <item row="1" column="0">
  176. <widget class="QLabel" name="label_14">
  177. <property name="text">
  178. <string>Installed by RPM:</string>
  179. </property>
  180. </widget>
  181. </item>
  182. <item row="1" column="1">
  183. <widget class="QLabel" name="rpm_label">
  184. <property name="font">
  185. <font>
  186. <weight>50</weight>
  187. <bold>false</bold>
  188. </font>
  189. </property>
  190. <property name="text">
  191. <string>---</string>
  192. </property>
  193. </widget>
  194. </item>
  195. </layout>
  196. </widget>
  197. </item>
  198. <item row="3" column="0" colspan="2">
  199. <widget class="QGroupBox" name="groupBox">
  200. <property name="enabled">
  201. <bool>true</bool>
  202. </property>
  203. <property name="title">
  204. <string>Disk storage</string>
  205. </property>
  206. <layout class="QGridLayout" name="gridLayout_3">
  207. <item row="1" column="1">
  208. <widget class="QSpinBox" name="root_resize">
  209. <property name="enabled">
  210. <bool>true</bool>
  211. </property>
  212. <property name="alignment">
  213. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  214. </property>
  215. <property name="suffix">
  216. <string>MB</string>
  217. </property>
  218. <property name="maximum">
  219. <number>1048576</number>
  220. </property>
  221. <property name="singleStep">
  222. <number>1024</number>
  223. </property>
  224. </widget>
  225. </item>
  226. <item row="0" column="1">
  227. <widget class="QSpinBox" name="max_priv_storage">
  228. <property name="enabled">
  229. <bool>true</bool>
  230. </property>
  231. <property name="alignment">
  232. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  233. </property>
  234. <property name="suffix">
  235. <string>MB</string>
  236. </property>
  237. <property name="minimum">
  238. <number>0</number>
  239. </property>
  240. <property name="maximum">
  241. <number>1048576</number>
  242. </property>
  243. <property name="singleStep">
  244. <number>1024</number>
  245. </property>
  246. <property name="value">
  247. <number>0</number>
  248. </property>
  249. </widget>
  250. </item>
  251. <item row="0" column="0">
  252. <widget class="QLabel" name="label_3">
  253. <property name="text">
  254. <string>Private storage max. size:</string>
  255. </property>
  256. <property name="buddy">
  257. <cstring>max_priv_storage</cstring>
  258. </property>
  259. </widget>
  260. </item>
  261. <item row="1" column="0">
  262. <widget class="QLabel" name="root_resize_label">
  263. <property name="enabled">
  264. <bool>true</bool>
  265. </property>
  266. <property name="text">
  267. <string>System storage max. size:</string>
  268. </property>
  269. </widget>
  270. </item>
  271. </layout>
  272. </widget>
  273. </item>
  274. <item row="4" column="0">
  275. <spacer name="verticalSpacer">
  276. <property name="orientation">
  277. <enum>Qt::Vertical</enum>
  278. </property>
  279. <property name="sizeHint" stdset="0">
  280. <size>
  281. <width>20</width>
  282. <height>73</height>
  283. </size>
  284. </property>
  285. </spacer>
  286. </item>
  287. <item row="2" column="1">
  288. <widget class="QGroupBox" name="networking_groupbox">
  289. <property name="title">
  290. <string>Networking</string>
  291. </property>
  292. <layout class="QFormLayout" name="formLayout_3">
  293. <property name="fieldGrowthPolicy">
  294. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  295. </property>
  296. <item row="0" column="0">
  297. <widget class="QLabel" name="label_10">
  298. <property name="text">
  299. <string>IP:</string>
  300. </property>
  301. </widget>
  302. </item>
  303. <item row="1" column="0">
  304. <widget class="QLabel" name="label_11">
  305. <property name="text">
  306. <string>Netmask:</string>
  307. </property>
  308. </widget>
  309. </item>
  310. <item row="1" column="1">
  311. <widget class="QLabel" name="netmask_label">
  312. <property name="font">
  313. <font>
  314. <weight>50</weight>
  315. <bold>false</bold>
  316. </font>
  317. </property>
  318. <property name="text">
  319. <string>---</string>
  320. </property>
  321. </widget>
  322. </item>
  323. <item row="2" column="0">
  324. <widget class="QLabel" name="label_12">
  325. <property name="text">
  326. <string>Gateway:</string>
  327. </property>
  328. </widget>
  329. </item>
  330. <item row="2" column="1">
  331. <widget class="QLabel" name="gateway_label">
  332. <property name="font">
  333. <font>
  334. <weight>50</weight>
  335. <bold>false</bold>
  336. </font>
  337. </property>
  338. <property name="text">
  339. <string>---</string>
  340. </property>
  341. </widget>
  342. </item>
  343. <item row="0" column="1">
  344. <widget class="QLabel" name="ip_label">
  345. <property name="font">
  346. <font>
  347. <weight>50</weight>
  348. <bold>false</bold>
  349. </font>
  350. </property>
  351. <property name="text">
  352. <string>---</string>
  353. </property>
  354. </widget>
  355. </item>
  356. </layout>
  357. </widget>
  358. </item>
  359. </layout>
  360. </widget>
  361. <widget class="QWidget" name="advanced_tab">
  362. <property name="enabled">
  363. <bool>true</bool>
  364. </property>
  365. <attribute name="title">
  366. <string>Advanced</string>
  367. </attribute>
  368. <layout class="QGridLayout" name="gridLayout_9">
  369. <item row="0" column="1" rowspan="2" colspan="2">
  370. <layout class="QVBoxLayout" name="verticalLayout_4">
  371. <property name="sizeConstraint">
  372. <enum>QLayout::SetDefaultConstraint</enum>
  373. </property>
  374. <property name="bottomMargin">
  375. <number>0</number>
  376. </property>
  377. <item>
  378. <widget class="QGroupBox" name="kernel_groupbox">
  379. <property name="enabled">
  380. <bool>true</bool>
  381. </property>
  382. <property name="sizePolicy">
  383. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  384. <horstretch>0</horstretch>
  385. <verstretch>0</verstretch>
  386. </sizepolicy>
  387. </property>
  388. <property name="title">
  389. <string>Kernel</string>
  390. </property>
  391. <layout class="QFormLayout" name="formLayout_9">
  392. <property name="fieldGrowthPolicy">
  393. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  394. </property>
  395. <item row="0" column="0">
  396. <widget class="QLabel" name="label_19">
  397. <property name="text">
  398. <string>Kernel:</string>
  399. </property>
  400. <property name="buddy">
  401. <cstring>kernel</cstring>
  402. </property>
  403. </widget>
  404. </item>
  405. <item row="0" column="1">
  406. <widget class="QComboBox" name="kernel"/>
  407. </item>
  408. <item row="1" column="0">
  409. <widget class="QLabel" name="label_20">
  410. <property name="text">
  411. <string>Kernel opts:</string>
  412. </property>
  413. </widget>
  414. </item>
  415. <item row="1" column="1">
  416. <widget class="QLabel" name="kernel_opts">
  417. <property name="font">
  418. <font>
  419. <weight>50</weight>
  420. <bold>false</bold>
  421. </font>
  422. </property>
  423. <property name="text">
  424. <string>[]</string>
  425. </property>
  426. </widget>
  427. </item>
  428. </layout>
  429. </widget>
  430. </item>
  431. <item>
  432. <widget class="QGroupBox" name="drive_groupbox">
  433. <property name="sizePolicy">
  434. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  435. <horstretch>0</horstretch>
  436. <verstretch>0</verstretch>
  437. </sizepolicy>
  438. </property>
  439. <property name="title">
  440. <string>Additional drive</string>
  441. </property>
  442. <property name="checkable">
  443. <bool>true</bool>
  444. </property>
  445. <property name="checked">
  446. <bool>true</bool>
  447. </property>
  448. <layout class="QGridLayout" name="gridLayout_18">
  449. <item row="5" column="1">
  450. <widget class="QLineEdit" name="drive_path"/>
  451. </item>
  452. <item row="4" column="1">
  453. <widget class="QComboBox" name="drive_domain"/>
  454. </item>
  455. <item row="5" column="0">
  456. <widget class="QLabel" name="label_52">
  457. <property name="text">
  458. <string>Path:</string>
  459. </property>
  460. </widget>
  461. </item>
  462. <item row="3" column="1">
  463. <widget class="QComboBox" name="drive_type"/>
  464. </item>
  465. <item row="4" column="0">
  466. <widget class="QLabel" name="label_53">
  467. <property name="text">
  468. <string>Backend domain:</string>
  469. </property>
  470. </widget>
  471. </item>
  472. <item row="3" column="0">
  473. <widget class="QLabel" name="label_51">
  474. <property name="text">
  475. <string>Type:</string>
  476. </property>
  477. </widget>
  478. </item>
  479. <item row="5" column="2">
  480. <widget class="QToolButton" name="drive_path_button">
  481. <property name="text">
  482. <string>...</string>
  483. </property>
  484. </widget>
  485. </item>
  486. <item row="6" column="0" colspan="3">
  487. <widget class="QLabel" name="drive_running_warning">
  488. <property name="enabled">
  489. <bool>true</bool>
  490. </property>
  491. <property name="font">
  492. <font>
  493. <weight>75</weight>
  494. <bold>true</bold>
  495. </font>
  496. </property>
  497. <property name="styleSheet">
  498. <string notr="true">color: rgb(255, 0, 0);</string>
  499. </property>
  500. <property name="text">
  501. <string>New drive will be used only at next VM startup</string>
  502. </property>
  503. <property name="textFormat">
  504. <enum>Qt::AutoText</enum>
  505. </property>
  506. </widget>
  507. </item>
  508. </layout>
  509. </widget>
  510. </item>
  511. </layout>
  512. </item>
  513. <item row="0" column="0" rowspan="2">
  514. <widget class="QGroupBox" name="groupBox_2">
  515. <property name="enabled">
  516. <bool>true</bool>
  517. </property>
  518. <property name="sizePolicy">
  519. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  520. <horstretch>0</horstretch>
  521. <verstretch>0</verstretch>
  522. </sizepolicy>
  523. </property>
  524. <property name="title">
  525. <string>Memory/CPU</string>
  526. </property>
  527. <layout class="QGridLayout" name="gridLayout_4">
  528. <item row="0" column="0">
  529. <widget class="QLabel" name="label_15">
  530. <property name="enabled">
  531. <bool>true</bool>
  532. </property>
  533. <property name="text">
  534. <string>Initial memory:</string>
  535. </property>
  536. <property name="buddy">
  537. <cstring>init_mem</cstring>
  538. </property>
  539. </widget>
  540. </item>
  541. <item row="0" column="1">
  542. <widget class="QSpinBox" name="init_mem">
  543. <property name="enabled">
  544. <bool>true</bool>
  545. </property>
  546. <property name="alignment">
  547. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  548. </property>
  549. <property name="minimum">
  550. <number>0</number>
  551. </property>
  552. <property name="maximum">
  553. <number>1000000</number>
  554. </property>
  555. <property name="singleStep">
  556. <number>50</number>
  557. </property>
  558. <property name="value">
  559. <number>256</number>
  560. </property>
  561. </widget>
  562. </item>
  563. <item row="0" column="2">
  564. <widget class="QLabel" name="label_16">
  565. <property name="enabled">
  566. <bool>true</bool>
  567. </property>
  568. <property name="text">
  569. <string>MB</string>
  570. </property>
  571. </widget>
  572. </item>
  573. <item row="1" column="0">
  574. <widget class="QLabel" name="label_17">
  575. <property name="text">
  576. <string>Max memory:</string>
  577. </property>
  578. <property name="buddy">
  579. <cstring>max_mem_size</cstring>
  580. </property>
  581. </widget>
  582. </item>
  583. <item row="1" column="1">
  584. <widget class="QSpinBox" name="max_mem_size">
  585. <property name="enabled">
  586. <bool>true</bool>
  587. </property>
  588. <property name="alignment">
  589. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  590. </property>
  591. <property name="minimum">
  592. <number>0</number>
  593. </property>
  594. <property name="maximum">
  595. <number>10000000</number>
  596. </property>
  597. <property name="singleStep">
  598. <number>50</number>
  599. </property>
  600. <property name="value">
  601. <number>400</number>
  602. </property>
  603. </widget>
  604. </item>
  605. <item row="1" column="2">
  606. <widget class="QLabel" name="label_6">
  607. <property name="text">
  608. <string>MB</string>
  609. </property>
  610. </widget>
  611. </item>
  612. <item row="2" column="0">
  613. <widget class="QLabel" name="label_4">
  614. <property name="text">
  615. <string>VCPUs no.:</string>
  616. </property>
  617. <property name="buddy">
  618. <cstring>vcpus</cstring>
  619. </property>
  620. </widget>
  621. </item>
  622. <item row="2" column="1">
  623. <widget class="QSpinBox" name="vcpus">
  624. <property name="enabled">
  625. <bool>true</bool>
  626. </property>
  627. <property name="alignment">
  628. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  629. </property>
  630. <property name="value">
  631. <number>1</number>
  632. </property>
  633. </widget>
  634. </item>
  635. <item row="3" column="0" colspan="2">
  636. <widget class="QCheckBox" name="include_in_balancing">
  637. <property name="enabled">
  638. <bool>true</bool>
  639. </property>
  640. <property name="text">
  641. <string>Include in memory balancing</string>
  642. </property>
  643. </widget>
  644. </item>
  645. <item row="4" column="0" colspan="3">
  646. <widget class="QLabel" name="dmm_warning_adv">
  647. <property name="font">
  648. <font>
  649. <weight>75</weight>
  650. <italic>true</italic>
  651. <bold>true</bold>
  652. </font>
  653. </property>
  654. <property name="styleSheet">
  655. <string notr="true">color:rgb(255, 0, 0)</string>
  656. </property>
  657. <property name="text">
  658. <string>Dynamic memory balancing can result in some devices not working!</string>
  659. </property>
  660. <property name="wordWrap">
  661. <bool>true</bool>
  662. </property>
  663. </widget>
  664. </item>
  665. </layout>
  666. </widget>
  667. </item>
  668. <item row="3" column="0" colspan="3">
  669. <widget class="QGroupBox" name="groupBox_11">
  670. <property name="enabled">
  671. <bool>true</bool>
  672. </property>
  673. <property name="title">
  674. <string>Paths</string>
  675. </property>
  676. <layout class="QFormLayout" name="formLayout">
  677. <property name="fieldGrowthPolicy">
  678. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  679. </property>
  680. <item row="0" column="0">
  681. <widget class="QLabel" name="label_21">
  682. <property name="text">
  683. <string>dir:</string>
  684. </property>
  685. </widget>
  686. </item>
  687. <item row="0" column="1">
  688. <widget class="QLabel" name="dir_path">
  689. <property name="font">
  690. <font>
  691. <weight>50</weight>
  692. <bold>false</bold>
  693. </font>
  694. </property>
  695. <property name="text">
  696. <string>dir_path</string>
  697. </property>
  698. </widget>
  699. </item>
  700. <item row="1" column="0">
  701. <widget class="QLabel" name="label_22">
  702. <property name="text">
  703. <string>config:</string>
  704. </property>
  705. </widget>
  706. </item>
  707. <item row="1" column="1">
  708. <widget class="QLabel" name="config_path">
  709. <property name="font">
  710. <font>
  711. <weight>50</weight>
  712. <bold>false</bold>
  713. </font>
  714. </property>
  715. <property name="text">
  716. <string>config_path</string>
  717. </property>
  718. </widget>
  719. </item>
  720. <item row="2" column="0">
  721. <widget class="QLabel" name="label_23">
  722. <property name="text">
  723. <string>root img:</string>
  724. </property>
  725. </widget>
  726. </item>
  727. <item row="2" column="1">
  728. <widget class="QLabel" name="root_img_path">
  729. <property name="text">
  730. <string>root_img_path</string>
  731. </property>
  732. </widget>
  733. </item>
  734. <item row="3" column="0">
  735. <widget class="QLabel" name="label_24">
  736. <property name="text">
  737. <string>root volatile img:</string>
  738. </property>
  739. </widget>
  740. </item>
  741. <item row="3" column="1">
  742. <widget class="QLabel" name="volatile_img_path">
  743. <property name="text">
  744. <string>volatile_path</string>
  745. </property>
  746. </widget>
  747. </item>
  748. <item row="4" column="0">
  749. <widget class="QLabel" name="label_25">
  750. <property name="text">
  751. <string>private img:</string>
  752. </property>
  753. </widget>
  754. </item>
  755. <item row="4" column="1">
  756. <widget class="QLabel" name="private_img_path">
  757. <property name="text">
  758. <string>private_path</string>
  759. </property>
  760. </widget>
  761. </item>
  762. </layout>
  763. </widget>
  764. </item>
  765. <item row="4" column="0">
  766. <spacer name="verticalSpacer_2">
  767. <property name="orientation">
  768. <enum>Qt::Vertical</enum>
  769. </property>
  770. <property name="sizeHint" stdset="0">
  771. <size>
  772. <width>20</width>
  773. <height>40</height>
  774. </size>
  775. </property>
  776. </spacer>
  777. </item>
  778. </layout>
  779. </widget>
  780. <widget class="QWidget" name="firewall_tab">
  781. <attribute name="icon">
  782. <iconset resource="resources.qrc">
  783. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  784. </attribute>
  785. <attribute name="title">
  786. <string>Firewall rules</string>
  787. </attribute>
  788. <layout class="QGridLayout" name="gridLayout_8">
  789. <item row="0" column="0">
  790. <widget class="QRadioButton" name="policyAllowRadioButton">
  791. <property name="text">
  792. <string>Allow network access except...</string>
  793. </property>
  794. </widget>
  795. </item>
  796. <item row="0" column="1">
  797. <widget class="QCheckBox" name="icmpCheckBox">
  798. <property name="minimumSize">
  799. <size>
  800. <width>323</width>
  801. <height>0</height>
  802. </size>
  803. </property>
  804. <property name="text">
  805. <string>Allow ICMP traffic</string>
  806. </property>
  807. <property name="checked">
  808. <bool>true</bool>
  809. </property>
  810. </widget>
  811. </item>
  812. <item row="1" column="0">
  813. <widget class="QRadioButton" name="policyDenyRadioButton">
  814. <property name="text">
  815. <string>Deny network access except...</string>
  816. </property>
  817. </widget>
  818. </item>
  819. <item row="1" column="1">
  820. <widget class="QCheckBox" name="dnsCheckBox">
  821. <property name="text">
  822. <string>Allow DNS queries</string>
  823. </property>
  824. <property name="checked">
  825. <bool>true</bool>
  826. </property>
  827. </widget>
  828. </item>
  829. <item row="3" column="0" colspan="2">
  830. <layout class="QHBoxLayout" name="horizontalLayout_2">
  831. <property name="sizeConstraint">
  832. <enum>QLayout::SetMaximumSize</enum>
  833. </property>
  834. <item>
  835. <layout class="QVBoxLayout" name="verticalLayout_5">
  836. <item>
  837. <widget class="QTreeView" name="rulesTreeView">
  838. <property name="rootIsDecorated">
  839. <bool>false</bool>
  840. </property>
  841. <property name="uniformRowHeights">
  842. <bool>false</bool>
  843. </property>
  844. <property name="itemsExpandable">
  845. <bool>false</bool>
  846. </property>
  847. <property name="sortingEnabled">
  848. <bool>true</bool>
  849. </property>
  850. <property name="allColumnsShowFocus">
  851. <bool>true</bool>
  852. </property>
  853. <property name="expandsOnDoubleClick">
  854. <bool>true</bool>
  855. </property>
  856. <attribute name="headerDefaultSectionSize">
  857. <number>40</number>
  858. </attribute>
  859. <attribute name="headerStretchLastSection">
  860. <bool>false</bool>
  861. </attribute>
  862. </widget>
  863. </item>
  864. <item>
  865. <layout class="QHBoxLayout" name="horizontalLayout_4"/>
  866. </item>
  867. </layout>
  868. </item>
  869. <item>
  870. <layout class="QVBoxLayout" name="verticalLayout_6">
  871. <item>
  872. <widget class="QPushButton" name="newRuleButton">
  873. <property name="text">
  874. <string/>
  875. </property>
  876. <property name="icon">
  877. <iconset resource="resources.qrc">
  878. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  879. </property>
  880. <property name="iconSize">
  881. <size>
  882. <width>24</width>
  883. <height>24</height>
  884. </size>
  885. </property>
  886. </widget>
  887. </item>
  888. <item>
  889. <widget class="QPushButton" name="editRuleButton">
  890. <property name="text">
  891. <string/>
  892. </property>
  893. <property name="icon">
  894. <iconset resource="resources.qrc">
  895. <normaloff>:/pencil.png</normaloff>:/pencil.png</iconset>
  896. </property>
  897. <property name="iconSize">
  898. <size>
  899. <width>24</width>
  900. <height>24</height>
  901. </size>
  902. </property>
  903. </widget>
  904. </item>
  905. <item>
  906. <widget class="QPushButton" name="deleteRuleButton">
  907. <property name="text">
  908. <string/>
  909. </property>
  910. <property name="icon">
  911. <iconset resource="resources.qrc">
  912. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  913. </property>
  914. <property name="iconSize">
  915. <size>
  916. <width>24</width>
  917. <height>24</height>
  918. </size>
  919. </property>
  920. </widget>
  921. </item>
  922. <item>
  923. <spacer name="verticalSpacer_4">
  924. <property name="orientation">
  925. <enum>Qt::Vertical</enum>
  926. </property>
  927. <property name="sizeHint" stdset="0">
  928. <size>
  929. <width>20</width>
  930. <height>40</height>
  931. </size>
  932. </property>
  933. </spacer>
  934. </item>
  935. </layout>
  936. </item>
  937. </layout>
  938. </item>
  939. <item row="2" column="1">
  940. <widget class="QCheckBox" name="yumproxyCheckBox">
  941. <property name="text">
  942. <string>Allow connections to Updates Proxy</string>
  943. </property>
  944. </widget>
  945. </item>
  946. <item row="2" column="0">
  947. <widget class="QWidget" name="tempFullAccessWidget" native="true">
  948. <property name="enabled">
  949. <bool>true</bool>
  950. </property>
  951. <layout class="QGridLayout" name="gridLayout_6">
  952. <property name="leftMargin">
  953. <number>0</number>
  954. </property>
  955. <property name="topMargin">
  956. <number>0</number>
  957. </property>
  958. <property name="bottomMargin">
  959. <number>0</number>
  960. </property>
  961. <item row="0" column="0">
  962. <widget class="QCheckBox" name="tempFullAccess">
  963. <property name="text">
  964. <string>Allow full access for </string>
  965. </property>
  966. </widget>
  967. </item>
  968. <item row="0" column="1">
  969. <widget class="QSpinBox" name="tempFullAccessTime">
  970. <property name="suffix">
  971. <string> min</string>
  972. </property>
  973. <property name="value">
  974. <number>5</number>
  975. </property>
  976. </widget>
  977. </item>
  978. </layout>
  979. </widget>
  980. </item>
  981. </layout>
  982. </widget>
  983. <widget class="QWidget" name="devices_tab">
  984. <property name="enabled">
  985. <bool>true</bool>
  986. </property>
  987. <attribute name="icon">
  988. <iconset resource="resources.qrc">
  989. <normaloff>:/storagevm.png</normaloff>:/storagevm.png</iconset>
  990. </attribute>
  991. <attribute name="title">
  992. <string>Devices</string>
  993. </attribute>
  994. <layout class="QVBoxLayout" name="verticalLayout_3">
  995. <item>
  996. <layout class="QVBoxLayout" name="devices_layout">
  997. <item>
  998. <widget class="QLabel" name="dmm_warning_dev">
  999. <property name="font">
  1000. <font>
  1001. <weight>75</weight>
  1002. <italic>true</italic>
  1003. <bold>true</bold>
  1004. </font>
  1005. </property>
  1006. <property name="styleSheet">
  1007. <string notr="true">color: rgb(255, 0, 0)</string>
  1008. </property>
  1009. <property name="text">
  1010. <string>You've enabled dynamic memory balancing, some devices might not work!</string>
  1011. </property>
  1012. </widget>
  1013. </item>
  1014. <item>
  1015. <widget class="QLabel" name="turn_off_vm_to_modify_devs">
  1016. <property name="font">
  1017. <font>
  1018. <weight>75</weight>
  1019. <italic>true</italic>
  1020. <bold>true</bold>
  1021. </font>
  1022. </property>
  1023. <property name="text">
  1024. <string>To modify PCI devices you have to turn off the VM.</string>
  1025. </property>
  1026. </widget>
  1027. </item>
  1028. </layout>
  1029. </item>
  1030. </layout>
  1031. </widget>
  1032. <widget class="QWidget" name="apps_tab">
  1033. <attribute name="icon">
  1034. <iconset resource="resources.qrc">
  1035. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  1036. </attribute>
  1037. <attribute name="title">
  1038. <string>Applications</string>
  1039. </attribute>
  1040. <layout class="QGridLayout" name="gridLayout_7">
  1041. <item row="0" column="0">
  1042. <layout class="QVBoxLayout" name="apps_layout"/>
  1043. </item>
  1044. </layout>
  1045. </widget>
  1046. <widget class="QWidget" name="services_tab">
  1047. <property name="enabled">
  1048. <bool>true</bool>
  1049. </property>
  1050. <attribute name="title">
  1051. <string>Services</string>
  1052. </attribute>
  1053. <layout class="QGridLayout" name="gridLayout_5">
  1054. <item row="0" column="0">
  1055. <widget class="QLineEdit" name="service_line_edit"/>
  1056. </item>
  1057. <item row="0" column="1">
  1058. <widget class="QPushButton" name="add_srv_button">
  1059. <property name="text">
  1060. <string/>
  1061. </property>
  1062. <property name="icon">
  1063. <iconset resource="resources.qrc">
  1064. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  1065. </property>
  1066. <property name="iconSize">
  1067. <size>
  1068. <width>24</width>
  1069. <height>24</height>
  1070. </size>
  1071. </property>
  1072. </widget>
  1073. </item>
  1074. <item row="4" column="0" rowspan="2">
  1075. <widget class="QListWidget" name="services_list"/>
  1076. </item>
  1077. <item row="6" column="0" colspan="2">
  1078. <widget class="QLabel" name="label_7">
  1079. <property name="text">
  1080. <string>Checked services will be turned on.</string>
  1081. </property>
  1082. </widget>
  1083. </item>
  1084. <item row="7" column="0" colspan="2">
  1085. <widget class="QLabel" name="label_8">
  1086. <property name="text">
  1087. <string>Unchecked services will be turned off.</string>
  1088. </property>
  1089. </widget>
  1090. </item>
  1091. <item row="8" column="0" colspan="2">
  1092. <widget class="QLabel" name="label_9">
  1093. <property name="text">
  1094. <string>Unlisted services will follow default VM's settings.</string>
  1095. </property>
  1096. </widget>
  1097. </item>
  1098. <item row="4" column="1">
  1099. <widget class="QPushButton" name="remove_srv_button">
  1100. <property name="text">
  1101. <string/>
  1102. </property>
  1103. <property name="icon">
  1104. <iconset resource="resources.qrc">
  1105. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  1106. </property>
  1107. <property name="iconSize">
  1108. <size>
  1109. <width>24</width>
  1110. <height>24</height>
  1111. </size>
  1112. </property>
  1113. </widget>
  1114. </item>
  1115. <item row="5" column="1">
  1116. <spacer name="verticalSpacer_5">
  1117. <property name="orientation">
  1118. <enum>Qt::Vertical</enum>
  1119. </property>
  1120. <property name="sizeHint" stdset="0">
  1121. <size>
  1122. <width>20</width>
  1123. <height>40</height>
  1124. </size>
  1125. </property>
  1126. </spacer>
  1127. </item>
  1128. </layout>
  1129. </widget>
  1130. </widget>
  1131. </item>
  1132. <item>
  1133. <widget class="QDialogButtonBox" name="buttonBox">
  1134. <property name="orientation">
  1135. <enum>Qt::Horizontal</enum>
  1136. </property>
  1137. <property name="standardButtons">
  1138. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  1139. </property>
  1140. </widget>
  1141. </item>
  1142. </layout>
  1143. </item>
  1144. </layout>
  1145. </widget>
  1146. <tabstops>
  1147. <tabstop>tabWidget</tabstop>
  1148. <tabstop>vmname</tabstop>
  1149. <tabstop>vmlabel</tabstop>
  1150. <tabstop>template_name</tabstop>
  1151. <tabstop>netVM</tabstop>
  1152. <tabstop>include_in_backups</tabstop>
  1153. <tabstop>run_in_debug_mode</tabstop>
  1154. <tabstop>autostart_vm</tabstop>
  1155. <tabstop>seamless_gui</tabstop>
  1156. <tabstop>max_priv_storage</tabstop>
  1157. <tabstop>init_mem</tabstop>
  1158. <tabstop>max_mem_size</tabstop>
  1159. <tabstop>vcpus</tabstop>
  1160. <tabstop>include_in_balancing</tabstop>
  1161. <tabstop>kernel</tabstop>
  1162. <tabstop>drive_groupbox</tabstop>
  1163. <tabstop>drive_type</tabstop>
  1164. <tabstop>drive_domain</tabstop>
  1165. <tabstop>drive_path</tabstop>
  1166. <tabstop>drive_path_button</tabstop>
  1167. <tabstop>policyAllowRadioButton</tabstop>
  1168. <tabstop>policyDenyRadioButton</tabstop>
  1169. <tabstop>icmpCheckBox</tabstop>
  1170. <tabstop>dnsCheckBox</tabstop>
  1171. <tabstop>yumproxyCheckBox</tabstop>
  1172. <tabstop>newRuleButton</tabstop>
  1173. <tabstop>rulesTreeView</tabstop>
  1174. <tabstop>editRuleButton</tabstop>
  1175. <tabstop>deleteRuleButton</tabstop>
  1176. <tabstop>service_line_edit</tabstop>
  1177. <tabstop>add_srv_button</tabstop>
  1178. <tabstop>services_list</tabstop>
  1179. <tabstop>remove_srv_button</tabstop>
  1180. <tabstop>buttonBox</tabstop>
  1181. </tabstops>
  1182. <resources>
  1183. <include location="resources.qrc"/>
  1184. </resources>
  1185. <connections>
  1186. <connection>
  1187. <sender>buttonBox</sender>
  1188. <signal>accepted()</signal>
  1189. <receiver>SettingsDialog</receiver>
  1190. <slot>accept()</slot>
  1191. <hints>
  1192. <hint type="sourcelabel">
  1193. <x>248</x>
  1194. <y>254</y>
  1195. </hint>
  1196. <hint type="destinationlabel">
  1197. <x>157</x>
  1198. <y>274</y>
  1199. </hint>
  1200. </hints>
  1201. </connection>
  1202. <connection>
  1203. <sender>buttonBox</sender>
  1204. <signal>rejected()</signal>
  1205. <receiver>SettingsDialog</receiver>
  1206. <slot>reject()</slot>
  1207. <hints>
  1208. <hint type="sourcelabel">
  1209. <x>316</x>
  1210. <y>260</y>
  1211. </hint>
  1212. <hint type="destinationlabel">
  1213. <x>286</x>
  1214. <y>274</y>
  1215. </hint>
  1216. </hints>
  1217. </connection>
  1218. </connections>
  1219. </ui>