settingsdlg.ui 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248
  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>485</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>&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>
  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>&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>
  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="5" 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. <item row="4" column="0">
  360. <widget class="QLabel" name="label_5">
  361. <property name="text">
  362. <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 VM is running&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  363. </property>
  364. </widget>
  365. </item>
  366. </layout>
  367. </widget>
  368. <widget class="QWidget" name="advanced_tab">
  369. <property name="enabled">
  370. <bool>true</bool>
  371. </property>
  372. <attribute name="title">
  373. <string>Advanced</string>
  374. </attribute>
  375. <layout class="QGridLayout" name="gridLayout_9">
  376. <item row="0" column="0" rowspan="2">
  377. <widget class="QGroupBox" name="groupBox_2">
  378. <property name="enabled">
  379. <bool>true</bool>
  380. </property>
  381. <property name="sizePolicy">
  382. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  383. <horstretch>0</horstretch>
  384. <verstretch>0</verstretch>
  385. </sizepolicy>
  386. </property>
  387. <property name="title">
  388. <string>Memory/CPU</string>
  389. </property>
  390. <layout class="QGridLayout" name="gridLayout_4">
  391. <item row="0" column="0">
  392. <widget class="QLabel" name="label_15">
  393. <property name="enabled">
  394. <bool>true</bool>
  395. </property>
  396. <property name="text">
  397. <string>Initial memory:</string>
  398. </property>
  399. <property name="buddy">
  400. <cstring>init_mem</cstring>
  401. </property>
  402. </widget>
  403. </item>
  404. <item row="0" column="1">
  405. <widget class="QSpinBox" name="init_mem">
  406. <property name="enabled">
  407. <bool>true</bool>
  408. </property>
  409. <property name="alignment">
  410. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  411. </property>
  412. <property name="minimum">
  413. <number>0</number>
  414. </property>
  415. <property name="maximum">
  416. <number>1000000</number>
  417. </property>
  418. <property name="singleStep">
  419. <number>50</number>
  420. </property>
  421. <property name="value">
  422. <number>256</number>
  423. </property>
  424. </widget>
  425. </item>
  426. <item row="0" column="2">
  427. <widget class="QLabel" name="label_16">
  428. <property name="enabled">
  429. <bool>true</bool>
  430. </property>
  431. <property name="text">
  432. <string>MB</string>
  433. </property>
  434. </widget>
  435. </item>
  436. <item row="1" column="0">
  437. <widget class="QLabel" name="label_17">
  438. <property name="text">
  439. <string>Max memory:</string>
  440. </property>
  441. <property name="buddy">
  442. <cstring>max_mem_size</cstring>
  443. </property>
  444. </widget>
  445. </item>
  446. <item row="1" column="1">
  447. <widget class="QSpinBox" name="max_mem_size">
  448. <property name="enabled">
  449. <bool>true</bool>
  450. </property>
  451. <property name="alignment">
  452. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  453. </property>
  454. <property name="minimum">
  455. <number>0</number>
  456. </property>
  457. <property name="maximum">
  458. <number>10000000</number>
  459. </property>
  460. <property name="singleStep">
  461. <number>50</number>
  462. </property>
  463. <property name="value">
  464. <number>400</number>
  465. </property>
  466. </widget>
  467. </item>
  468. <item row="1" column="2">
  469. <widget class="QLabel" name="label_6">
  470. <property name="text">
  471. <string>MB</string>
  472. </property>
  473. </widget>
  474. </item>
  475. <item row="2" column="0">
  476. <widget class="QLabel" name="label_4">
  477. <property name="text">
  478. <string>VCPUs no.:</string>
  479. </property>
  480. <property name="buddy">
  481. <cstring>vcpus</cstring>
  482. </property>
  483. </widget>
  484. </item>
  485. <item row="2" column="1">
  486. <widget class="QSpinBox" name="vcpus">
  487. <property name="enabled">
  488. <bool>true</bool>
  489. </property>
  490. <property name="alignment">
  491. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  492. </property>
  493. <property name="value">
  494. <number>1</number>
  495. </property>
  496. </widget>
  497. </item>
  498. <item row="3" column="0" colspan="2">
  499. <widget class="QCheckBox" name="include_in_balancing">
  500. <property name="enabled">
  501. <bool>true</bool>
  502. </property>
  503. <property name="text">
  504. <string>Include in memory balancing</string>
  505. </property>
  506. </widget>
  507. </item>
  508. <item row="4" column="0" colspan="3">
  509. <widget class="QLabel" name="dmm_warning_adv">
  510. <property name="font">
  511. <font>
  512. <weight>75</weight>
  513. <italic>true</italic>
  514. <bold>true</bold>
  515. </font>
  516. </property>
  517. <property name="styleSheet">
  518. <string notr="true">color:rgb(255, 0, 0)</string>
  519. </property>
  520. <property name="text">
  521. <string>Dynamic memory balancing can result in some devices not working!</string>
  522. </property>
  523. <property name="wordWrap">
  524. <bool>true</bool>
  525. </property>
  526. </widget>
  527. </item>
  528. </layout>
  529. </widget>
  530. </item>
  531. <item row="3" column="0" colspan="3">
  532. <widget class="QGroupBox" name="groupBox_11">
  533. <property name="enabled">
  534. <bool>true</bool>
  535. </property>
  536. <property name="title">
  537. <string>Paths</string>
  538. </property>
  539. <layout class="QFormLayout" name="formLayout">
  540. <property name="fieldGrowthPolicy">
  541. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  542. </property>
  543. <item row="0" column="0">
  544. <widget class="QLabel" name="label_21">
  545. <property name="text">
  546. <string>dir:</string>
  547. </property>
  548. </widget>
  549. </item>
  550. <item row="0" column="1">
  551. <widget class="QLabel" name="dir_path">
  552. <property name="font">
  553. <font>
  554. <weight>50</weight>
  555. <bold>false</bold>
  556. </font>
  557. </property>
  558. <property name="text">
  559. <string>dir_path</string>
  560. </property>
  561. </widget>
  562. </item>
  563. <item row="1" column="0">
  564. <widget class="QLabel" name="label_22">
  565. <property name="text">
  566. <string>config:</string>
  567. </property>
  568. </widget>
  569. </item>
  570. <item row="1" column="1">
  571. <widget class="QLabel" name="config_path">
  572. <property name="font">
  573. <font>
  574. <weight>50</weight>
  575. <bold>false</bold>
  576. </font>
  577. </property>
  578. <property name="text">
  579. <string>config_path</string>
  580. </property>
  581. </widget>
  582. </item>
  583. <item row="2" column="0">
  584. <widget class="QLabel" name="label_23">
  585. <property name="text">
  586. <string>root img:</string>
  587. </property>
  588. </widget>
  589. </item>
  590. <item row="2" column="1">
  591. <widget class="QLabel" name="root_img_path">
  592. <property name="text">
  593. <string>root_img_path</string>
  594. </property>
  595. </widget>
  596. </item>
  597. <item row="3" column="0">
  598. <widget class="QLabel" name="label_24">
  599. <property name="text">
  600. <string>root volatile img:</string>
  601. </property>
  602. </widget>
  603. </item>
  604. <item row="3" column="1">
  605. <widget class="QLabel" name="volatile_img_path">
  606. <property name="text">
  607. <string>volatile_path</string>
  608. </property>
  609. </widget>
  610. </item>
  611. <item row="4" column="0">
  612. <widget class="QLabel" name="label_25">
  613. <property name="text">
  614. <string>private img:</string>
  615. </property>
  616. </widget>
  617. </item>
  618. <item row="4" column="1">
  619. <widget class="QLabel" name="private_img_path">
  620. <property name="text">
  621. <string>private_path</string>
  622. </property>
  623. </widget>
  624. </item>
  625. </layout>
  626. </widget>
  627. </item>
  628. <item row="4" column="0">
  629. <spacer name="verticalSpacer_2">
  630. <property name="orientation">
  631. <enum>Qt::Vertical</enum>
  632. </property>
  633. <property name="sizeHint" stdset="0">
  634. <size>
  635. <width>20</width>
  636. <height>40</height>
  637. </size>
  638. </property>
  639. </spacer>
  640. </item>
  641. <item row="2" column="0">
  642. <widget class="QGroupBox" name="other_groupbox">
  643. <property name="title">
  644. <string>Other</string>
  645. </property>
  646. <layout class="QFormLayout" name="formLayout_2">
  647. <item row="1" column="0">
  648. <widget class="QLabel" name="label_26">
  649. <property name="text">
  650. <string>NetVM for DispVM:</string>
  651. </property>
  652. <property name="buddy">
  653. <cstring>dispvm_netvm</cstring>
  654. </property>
  655. </widget>
  656. </item>
  657. <item row="1" column="1">
  658. <widget class="QComboBox" name="dispvm_netvm"/>
  659. </item>
  660. </layout>
  661. </widget>
  662. </item>
  663. <item row="0" column="1" rowspan="3" colspan="2">
  664. <layout class="QVBoxLayout" name="verticalLayout_4">
  665. <property name="sizeConstraint">
  666. <enum>QLayout::SetDefaultConstraint</enum>
  667. </property>
  668. <property name="bottomMargin">
  669. <number>0</number>
  670. </property>
  671. <item>
  672. <widget class="QGroupBox" name="kernel_groupbox">
  673. <property name="enabled">
  674. <bool>true</bool>
  675. </property>
  676. <property name="sizePolicy">
  677. <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
  678. <horstretch>0</horstretch>
  679. <verstretch>0</verstretch>
  680. </sizepolicy>
  681. </property>
  682. <property name="title">
  683. <string>Kernel</string>
  684. </property>
  685. <layout class="QFormLayout" name="formLayout_9">
  686. <property name="fieldGrowthPolicy">
  687. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  688. </property>
  689. <item row="0" column="0">
  690. <widget class="QLabel" name="label_19">
  691. <property name="text">
  692. <string>Kernel:</string>
  693. </property>
  694. <property name="buddy">
  695. <cstring>kernel</cstring>
  696. </property>
  697. </widget>
  698. </item>
  699. <item row="0" column="1">
  700. <widget class="QComboBox" name="kernel"/>
  701. </item>
  702. <item row="1" column="0">
  703. <widget class="QLabel" name="label_20">
  704. <property name="text">
  705. <string>Kernel opts:</string>
  706. </property>
  707. </widget>
  708. </item>
  709. <item row="1" column="1">
  710. <widget class="QLabel" name="kernel_opts">
  711. <property name="font">
  712. <font>
  713. <weight>50</weight>
  714. <bold>false</bold>
  715. </font>
  716. </property>
  717. <property name="text">
  718. <string>[]</string>
  719. </property>
  720. </widget>
  721. </item>
  722. </layout>
  723. </widget>
  724. </item>
  725. <item>
  726. <widget class="QGroupBox" name="drive_groupbox">
  727. <property name="sizePolicy">
  728. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  729. <horstretch>0</horstretch>
  730. <verstretch>0</verstretch>
  731. </sizepolicy>
  732. </property>
  733. <property name="title">
  734. <string>Additional drive</string>
  735. </property>
  736. <property name="checkable">
  737. <bool>true</bool>
  738. </property>
  739. <property name="checked">
  740. <bool>true</bool>
  741. </property>
  742. <layout class="QGridLayout" name="gridLayout_18">
  743. <item row="5" column="1">
  744. <widget class="QLineEdit" name="drive_path"/>
  745. </item>
  746. <item row="4" column="1">
  747. <widget class="QComboBox" name="drive_domain"/>
  748. </item>
  749. <item row="5" column="0">
  750. <widget class="QLabel" name="label_52">
  751. <property name="text">
  752. <string>Path:</string>
  753. </property>
  754. </widget>
  755. </item>
  756. <item row="3" column="1">
  757. <widget class="QComboBox" name="drive_type"/>
  758. </item>
  759. <item row="4" column="0">
  760. <widget class="QLabel" name="label_53">
  761. <property name="text">
  762. <string>Backend domain:</string>
  763. </property>
  764. </widget>
  765. </item>
  766. <item row="3" column="0">
  767. <widget class="QLabel" name="label_51">
  768. <property name="text">
  769. <string>Type:</string>
  770. </property>
  771. </widget>
  772. </item>
  773. <item row="5" column="2">
  774. <widget class="QToolButton" name="drive_path_button">
  775. <property name="text">
  776. <string>...</string>
  777. </property>
  778. </widget>
  779. </item>
  780. <item row="6" column="0" colspan="3">
  781. <widget class="QLabel" name="drive_running_warning">
  782. <property name="enabled">
  783. <bool>true</bool>
  784. </property>
  785. <property name="font">
  786. <font>
  787. <weight>75</weight>
  788. <bold>true</bold>
  789. </font>
  790. </property>
  791. <property name="styleSheet">
  792. <string notr="true">color: rgb(255, 0, 0);</string>
  793. </property>
  794. <property name="text">
  795. <string>New drive will be used only at next VM startup</string>
  796. </property>
  797. <property name="textFormat">
  798. <enum>Qt::AutoText</enum>
  799. </property>
  800. </widget>
  801. </item>
  802. </layout>
  803. </widget>
  804. </item>
  805. </layout>
  806. </item>
  807. </layout>
  808. </widget>
  809. <widget class="QWidget" name="firewall_tab">
  810. <attribute name="icon">
  811. <iconset resource="resources.qrc">
  812. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  813. </attribute>
  814. <attribute name="title">
  815. <string>Firewall rules</string>
  816. </attribute>
  817. <layout class="QGridLayout" name="gridLayout_8">
  818. <item row="0" column="0">
  819. <widget class="QRadioButton" name="policyAllowRadioButton">
  820. <property name="text">
  821. <string>Allow network access except...</string>
  822. </property>
  823. </widget>
  824. </item>
  825. <item row="0" column="1">
  826. <widget class="QCheckBox" name="icmpCheckBox">
  827. <property name="minimumSize">
  828. <size>
  829. <width>323</width>
  830. <height>0</height>
  831. </size>
  832. </property>
  833. <property name="text">
  834. <string>Allow ICMP traffic</string>
  835. </property>
  836. <property name="checked">
  837. <bool>true</bool>
  838. </property>
  839. </widget>
  840. </item>
  841. <item row="1" column="0">
  842. <widget class="QRadioButton" name="policyDenyRadioButton">
  843. <property name="text">
  844. <string>Deny network access except...</string>
  845. </property>
  846. </widget>
  847. </item>
  848. <item row="1" column="1">
  849. <widget class="QCheckBox" name="dnsCheckBox">
  850. <property name="text">
  851. <string>Allow DNS queries</string>
  852. </property>
  853. <property name="checked">
  854. <bool>true</bool>
  855. </property>
  856. </widget>
  857. </item>
  858. <item row="3" column="0" colspan="2">
  859. <layout class="QHBoxLayout" name="horizontalLayout_2">
  860. <property name="sizeConstraint">
  861. <enum>QLayout::SetMaximumSize</enum>
  862. </property>
  863. <item>
  864. <layout class="QVBoxLayout" name="verticalLayout_5">
  865. <item>
  866. <widget class="QTreeView" name="rulesTreeView">
  867. <property name="rootIsDecorated">
  868. <bool>false</bool>
  869. </property>
  870. <property name="uniformRowHeights">
  871. <bool>false</bool>
  872. </property>
  873. <property name="itemsExpandable">
  874. <bool>false</bool>
  875. </property>
  876. <property name="sortingEnabled">
  877. <bool>true</bool>
  878. </property>
  879. <property name="allColumnsShowFocus">
  880. <bool>true</bool>
  881. </property>
  882. <property name="expandsOnDoubleClick">
  883. <bool>true</bool>
  884. </property>
  885. <attribute name="headerDefaultSectionSize">
  886. <number>40</number>
  887. </attribute>
  888. <attribute name="headerStretchLastSection">
  889. <bool>false</bool>
  890. </attribute>
  891. </widget>
  892. </item>
  893. <item>
  894. <layout class="QHBoxLayout" name="horizontalLayout_4"/>
  895. </item>
  896. </layout>
  897. </item>
  898. <item>
  899. <layout class="QVBoxLayout" name="verticalLayout_6">
  900. <item>
  901. <widget class="QPushButton" name="newRuleButton">
  902. <property name="text">
  903. <string/>
  904. </property>
  905. <property name="icon">
  906. <iconset resource="resources.qrc">
  907. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  908. </property>
  909. <property name="iconSize">
  910. <size>
  911. <width>24</width>
  912. <height>24</height>
  913. </size>
  914. </property>
  915. </widget>
  916. </item>
  917. <item>
  918. <widget class="QPushButton" name="editRuleButton">
  919. <property name="text">
  920. <string/>
  921. </property>
  922. <property name="icon">
  923. <iconset resource="resources.qrc">
  924. <normaloff>:/pencil.png</normaloff>:/pencil.png</iconset>
  925. </property>
  926. <property name="iconSize">
  927. <size>
  928. <width>24</width>
  929. <height>24</height>
  930. </size>
  931. </property>
  932. </widget>
  933. </item>
  934. <item>
  935. <widget class="QPushButton" name="deleteRuleButton">
  936. <property name="text">
  937. <string/>
  938. </property>
  939. <property name="icon">
  940. <iconset resource="resources.qrc">
  941. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  942. </property>
  943. <property name="iconSize">
  944. <size>
  945. <width>24</width>
  946. <height>24</height>
  947. </size>
  948. </property>
  949. </widget>
  950. </item>
  951. <item>
  952. <spacer name="verticalSpacer_4">
  953. <property name="orientation">
  954. <enum>Qt::Vertical</enum>
  955. </property>
  956. <property name="sizeHint" stdset="0">
  957. <size>
  958. <width>20</width>
  959. <height>40</height>
  960. </size>
  961. </property>
  962. </spacer>
  963. </item>
  964. </layout>
  965. </item>
  966. </layout>
  967. </item>
  968. <item row="2" column="1">
  969. <widget class="QCheckBox" name="yumproxyCheckBox">
  970. <property name="text">
  971. <string>Allow connections to Updates Proxy</string>
  972. </property>
  973. </widget>
  974. </item>
  975. <item row="2" column="0">
  976. <widget class="QWidget" name="tempFullAccessWidget" native="true">
  977. <property name="enabled">
  978. <bool>true</bool>
  979. </property>
  980. <layout class="QGridLayout" name="gridLayout_6">
  981. <property name="leftMargin">
  982. <number>0</number>
  983. </property>
  984. <property name="topMargin">
  985. <number>0</number>
  986. </property>
  987. <property name="bottomMargin">
  988. <number>0</number>
  989. </property>
  990. <item row="0" column="0">
  991. <widget class="QCheckBox" name="tempFullAccess">
  992. <property name="text">
  993. <string>Allow full access for </string>
  994. </property>
  995. </widget>
  996. </item>
  997. <item row="0" column="1">
  998. <widget class="QSpinBox" name="tempFullAccessTime">
  999. <property name="suffix">
  1000. <string> min</string>
  1001. </property>
  1002. <property name="value">
  1003. <number>5</number>
  1004. </property>
  1005. </widget>
  1006. </item>
  1007. </layout>
  1008. </widget>
  1009. </item>
  1010. </layout>
  1011. </widget>
  1012. <widget class="QWidget" name="devices_tab">
  1013. <property name="enabled">
  1014. <bool>true</bool>
  1015. </property>
  1016. <attribute name="icon">
  1017. <iconset resource="resources.qrc">
  1018. <normaloff>:/storagevm.png</normaloff>:/storagevm.png</iconset>
  1019. </attribute>
  1020. <attribute name="title">
  1021. <string>Devices</string>
  1022. </attribute>
  1023. <layout class="QVBoxLayout" name="verticalLayout_3">
  1024. <item>
  1025. <layout class="QVBoxLayout" name="devices_layout">
  1026. <item>
  1027. <widget class="QLabel" name="dmm_warning_dev">
  1028. <property name="font">
  1029. <font>
  1030. <weight>75</weight>
  1031. <italic>true</italic>
  1032. <bold>true</bold>
  1033. </font>
  1034. </property>
  1035. <property name="styleSheet">
  1036. <string notr="true">color: rgb(255, 0, 0)</string>
  1037. </property>
  1038. <property name="text">
  1039. <string>You've enabled dynamic memory balancing, some devices might not work!</string>
  1040. </property>
  1041. </widget>
  1042. </item>
  1043. <item>
  1044. <widget class="QLabel" name="turn_off_vm_to_modify_devs">
  1045. <property name="font">
  1046. <font>
  1047. <weight>75</weight>
  1048. <italic>true</italic>
  1049. <bold>true</bold>
  1050. </font>
  1051. </property>
  1052. <property name="text">
  1053. <string>To modify PCI devices you have to turn off the VM.</string>
  1054. </property>
  1055. </widget>
  1056. </item>
  1057. </layout>
  1058. </item>
  1059. </layout>
  1060. </widget>
  1061. <widget class="QWidget" name="apps_tab">
  1062. <attribute name="icon">
  1063. <iconset resource="resources.qrc">
  1064. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  1065. </attribute>
  1066. <attribute name="title">
  1067. <string>Applications</string>
  1068. </attribute>
  1069. <layout class="QGridLayout" name="gridLayout_7">
  1070. <item row="0" column="0">
  1071. <layout class="QVBoxLayout" name="apps_layout"/>
  1072. </item>
  1073. </layout>
  1074. </widget>
  1075. <widget class="QWidget" name="services_tab">
  1076. <property name="enabled">
  1077. <bool>true</bool>
  1078. </property>
  1079. <attribute name="title">
  1080. <string>Services</string>
  1081. </attribute>
  1082. <layout class="QGridLayout" name="gridLayout_5">
  1083. <item row="0" column="0">
  1084. <widget class="QLineEdit" name="service_line_edit"/>
  1085. </item>
  1086. <item row="0" column="1">
  1087. <widget class="QPushButton" name="add_srv_button">
  1088. <property name="text">
  1089. <string/>
  1090. </property>
  1091. <property name="icon">
  1092. <iconset resource="resources.qrc">
  1093. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  1094. </property>
  1095. <property name="iconSize">
  1096. <size>
  1097. <width>24</width>
  1098. <height>24</height>
  1099. </size>
  1100. </property>
  1101. </widget>
  1102. </item>
  1103. <item row="4" column="0" rowspan="2">
  1104. <widget class="QListWidget" name="services_list"/>
  1105. </item>
  1106. <item row="6" column="0" colspan="2">
  1107. <widget class="QLabel" name="label_7">
  1108. <property name="text">
  1109. <string>Checked services will be turned on.</string>
  1110. </property>
  1111. </widget>
  1112. </item>
  1113. <item row="7" column="0" colspan="2">
  1114. <widget class="QLabel" name="label_8">
  1115. <property name="text">
  1116. <string>Unchecked services will be turned off.</string>
  1117. </property>
  1118. </widget>
  1119. </item>
  1120. <item row="8" column="0" colspan="2">
  1121. <widget class="QLabel" name="label_9">
  1122. <property name="text">
  1123. <string>Unlisted services will follow default settings.</string>
  1124. </property>
  1125. </widget>
  1126. </item>
  1127. <item row="4" column="1">
  1128. <widget class="QPushButton" name="remove_srv_button">
  1129. <property name="text">
  1130. <string/>
  1131. </property>
  1132. <property name="icon">
  1133. <iconset resource="resources.qrc">
  1134. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  1135. </property>
  1136. <property name="iconSize">
  1137. <size>
  1138. <width>24</width>
  1139. <height>24</height>
  1140. </size>
  1141. </property>
  1142. </widget>
  1143. </item>
  1144. <item row="5" column="1">
  1145. <spacer name="verticalSpacer_5">
  1146. <property name="orientation">
  1147. <enum>Qt::Vertical</enum>
  1148. </property>
  1149. <property name="sizeHint" stdset="0">
  1150. <size>
  1151. <width>20</width>
  1152. <height>40</height>
  1153. </size>
  1154. </property>
  1155. </spacer>
  1156. </item>
  1157. </layout>
  1158. </widget>
  1159. </widget>
  1160. </item>
  1161. <item>
  1162. <widget class="QDialogButtonBox" name="buttonBox">
  1163. <property name="orientation">
  1164. <enum>Qt::Horizontal</enum>
  1165. </property>
  1166. <property name="standardButtons">
  1167. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  1168. </property>
  1169. </widget>
  1170. </item>
  1171. </layout>
  1172. </item>
  1173. </layout>
  1174. </widget>
  1175. <tabstops>
  1176. <tabstop>tabWidget</tabstop>
  1177. <tabstop>vmname</tabstop>
  1178. <tabstop>vmlabel</tabstop>
  1179. <tabstop>template_name</tabstop>
  1180. <tabstop>netVM</tabstop>
  1181. <tabstop>include_in_backups</tabstop>
  1182. <tabstop>run_in_debug_mode</tabstop>
  1183. <tabstop>autostart_vm</tabstop>
  1184. <tabstop>seamless_gui</tabstop>
  1185. <tabstop>max_priv_storage</tabstop>
  1186. <tabstop>init_mem</tabstop>
  1187. <tabstop>max_mem_size</tabstop>
  1188. <tabstop>vcpus</tabstop>
  1189. <tabstop>include_in_balancing</tabstop>
  1190. <tabstop>kernel</tabstop>
  1191. <tabstop>drive_groupbox</tabstop>
  1192. <tabstop>drive_type</tabstop>
  1193. <tabstop>drive_domain</tabstop>
  1194. <tabstop>drive_path</tabstop>
  1195. <tabstop>drive_path_button</tabstop>
  1196. <tabstop>policyAllowRadioButton</tabstop>
  1197. <tabstop>policyDenyRadioButton</tabstop>
  1198. <tabstop>icmpCheckBox</tabstop>
  1199. <tabstop>dnsCheckBox</tabstop>
  1200. <tabstop>yumproxyCheckBox</tabstop>
  1201. <tabstop>newRuleButton</tabstop>
  1202. <tabstop>rulesTreeView</tabstop>
  1203. <tabstop>editRuleButton</tabstop>
  1204. <tabstop>deleteRuleButton</tabstop>
  1205. <tabstop>service_line_edit</tabstop>
  1206. <tabstop>add_srv_button</tabstop>
  1207. <tabstop>services_list</tabstop>
  1208. <tabstop>remove_srv_button</tabstop>
  1209. <tabstop>buttonBox</tabstop>
  1210. </tabstops>
  1211. <resources>
  1212. <include location="resources.qrc"/>
  1213. </resources>
  1214. <connections>
  1215. <connection>
  1216. <sender>buttonBox</sender>
  1217. <signal>accepted()</signal>
  1218. <receiver>SettingsDialog</receiver>
  1219. <slot>accept()</slot>
  1220. <hints>
  1221. <hint type="sourcelabel">
  1222. <x>248</x>
  1223. <y>254</y>
  1224. </hint>
  1225. <hint type="destinationlabel">
  1226. <x>157</x>
  1227. <y>274</y>
  1228. </hint>
  1229. </hints>
  1230. </connection>
  1231. <connection>
  1232. <sender>buttonBox</sender>
  1233. <signal>rejected()</signal>
  1234. <receiver>SettingsDialog</receiver>
  1235. <slot>reject()</slot>
  1236. <hints>
  1237. <hint type="sourcelabel">
  1238. <x>316</x>
  1239. <y>260</y>
  1240. </hint>
  1241. <hint type="destinationlabel">
  1242. <x>286</x>
  1243. <y>274</y>
  1244. </hint>
  1245. </hints>
  1246. </connection>
  1247. </connections>
  1248. </ui>