settingsdlg.ui 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  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>694</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>2</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. </widget>
  54. </item>
  55. <item row="0" column="1">
  56. <widget class="QLineEdit" name="vmname">
  57. <property name="text">
  58. <string>----</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="1" column="0">
  63. <widget class="QLabel" name="label_2">
  64. <property name="text">
  65. <string>Template:</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="1" column="1">
  70. <widget class="QComboBox" name="template_name"/>
  71. </item>
  72. <item row="2" column="0">
  73. <widget class="QLabel" name="label_18">
  74. <property name="text">
  75. <string>NetVM:</string>
  76. </property>
  77. </widget>
  78. </item>
  79. <item row="2" column="1">
  80. <widget class="QComboBox" name="netVM"/>
  81. </item>
  82. <item row="0" column="2">
  83. <widget class="QComboBox" name="vmlabel">
  84. <property name="frame">
  85. <bool>true</bool>
  86. </property>
  87. </widget>
  88. </item>
  89. <item row="3" column="0" colspan="2">
  90. <layout class="QHBoxLayout" name="horizontalLayout">
  91. <item>
  92. <widget class="QCheckBox" name="include_in_backups">
  93. <property name="enabled">
  94. <bool>true</bool>
  95. </property>
  96. <property name="text">
  97. <string>Include in backups by default</string>
  98. </property>
  99. <property name="checked">
  100. <bool>true</bool>
  101. </property>
  102. </widget>
  103. </item>
  104. <item>
  105. <widget class="QCheckBox" name="run_in_debug_mode">
  106. <property name="text">
  107. <string>Run in debug mode</string>
  108. </property>
  109. </widget>
  110. </item>
  111. </layout>
  112. </item>
  113. </layout>
  114. </widget>
  115. </item>
  116. <item row="2" column="0">
  117. <widget class="QGroupBox" name="groupBox_4">
  118. <property name="enabled">
  119. <bool>true</bool>
  120. </property>
  121. <property name="title">
  122. <string>General</string>
  123. </property>
  124. <layout class="QFormLayout" name="formLayout_4">
  125. <item row="0" column="0">
  126. <widget class="QLabel" name="label_13">
  127. <property name="text">
  128. <string>Type:</string>
  129. </property>
  130. </widget>
  131. </item>
  132. <item row="0" column="1">
  133. <widget class="QLabel" name="type_label">
  134. <property name="font">
  135. <font>
  136. <weight>50</weight>
  137. <bold>false</bold>
  138. </font>
  139. </property>
  140. <property name="text">
  141. <string>---</string>
  142. </property>
  143. </widget>
  144. </item>
  145. <item row="1" column="0">
  146. <widget class="QLabel" name="label_14">
  147. <property name="text">
  148. <string>Installed by RPM:</string>
  149. </property>
  150. </widget>
  151. </item>
  152. <item row="1" column="1">
  153. <widget class="QLabel" name="rpm_label">
  154. <property name="font">
  155. <font>
  156. <weight>50</weight>
  157. <bold>false</bold>
  158. </font>
  159. </property>
  160. <property name="text">
  161. <string>---</string>
  162. </property>
  163. </widget>
  164. </item>
  165. </layout>
  166. </widget>
  167. </item>
  168. <item row="3" column="0" colspan="2">
  169. <widget class="QGroupBox" name="groupBox">
  170. <property name="enabled">
  171. <bool>true</bool>
  172. </property>
  173. <property name="title">
  174. <string>Disk storage</string>
  175. </property>
  176. <layout class="QGridLayout" name="gridLayout_3">
  177. <item row="0" column="0">
  178. <widget class="QLabel" name="label_3">
  179. <property name="text">
  180. <string>Private storage max. size:</string>
  181. </property>
  182. </widget>
  183. </item>
  184. <item row="0" column="1">
  185. <widget class="QSpinBox" name="max_priv_storage">
  186. <property name="enabled">
  187. <bool>true</bool>
  188. </property>
  189. <property name="alignment">
  190. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  191. </property>
  192. <property name="minimum">
  193. <number>0</number>
  194. </property>
  195. <property name="maximum">
  196. <number>1048576</number>
  197. </property>
  198. <property name="singleStep">
  199. <number>1024</number>
  200. </property>
  201. <property name="value">
  202. <number>0</number>
  203. </property>
  204. </widget>
  205. </item>
  206. <item row="0" column="2">
  207. <widget class="QLabel" name="label_5">
  208. <property name="text">
  209. <string>MB</string>
  210. </property>
  211. </widget>
  212. </item>
  213. </layout>
  214. </widget>
  215. </item>
  216. <item row="4" column="0">
  217. <spacer name="verticalSpacer">
  218. <property name="orientation">
  219. <enum>Qt::Vertical</enum>
  220. </property>
  221. <property name="sizeHint" stdset="0">
  222. <size>
  223. <width>20</width>
  224. <height>73</height>
  225. </size>
  226. </property>
  227. </spacer>
  228. </item>
  229. <item row="2" column="1">
  230. <widget class="QGroupBox" name="networking_groupbox">
  231. <property name="title">
  232. <string>Networking</string>
  233. </property>
  234. <layout class="QFormLayout" name="formLayout_3">
  235. <property name="fieldGrowthPolicy">
  236. <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
  237. </property>
  238. <item row="0" column="0">
  239. <widget class="QLabel" name="label_10">
  240. <property name="text">
  241. <string>IP:</string>
  242. </property>
  243. </widget>
  244. </item>
  245. <item row="1" column="0">
  246. <widget class="QLabel" name="label_11">
  247. <property name="text">
  248. <string>Netmask:</string>
  249. </property>
  250. </widget>
  251. </item>
  252. <item row="1" column="1">
  253. <widget class="QLabel" name="netmask_label">
  254. <property name="font">
  255. <font>
  256. <weight>50</weight>
  257. <bold>false</bold>
  258. </font>
  259. </property>
  260. <property name="text">
  261. <string>---</string>
  262. </property>
  263. </widget>
  264. </item>
  265. <item row="2" column="0">
  266. <widget class="QLabel" name="label_12">
  267. <property name="text">
  268. <string>Gateway:</string>
  269. </property>
  270. </widget>
  271. </item>
  272. <item row="2" column="1">
  273. <widget class="QLabel" name="gateway_label">
  274. <property name="font">
  275. <font>
  276. <weight>50</weight>
  277. <bold>false</bold>
  278. </font>
  279. </property>
  280. <property name="text">
  281. <string>---</string>
  282. </property>
  283. </widget>
  284. </item>
  285. <item row="0" column="1">
  286. <widget class="QLabel" name="ip_label">
  287. <property name="font">
  288. <font>
  289. <weight>50</weight>
  290. <bold>false</bold>
  291. </font>
  292. </property>
  293. <property name="text">
  294. <string>---</string>
  295. </property>
  296. </widget>
  297. </item>
  298. </layout>
  299. </widget>
  300. </item>
  301. </layout>
  302. </widget>
  303. <widget class="QWidget" name="advanced_tab">
  304. <property name="enabled">
  305. <bool>true</bool>
  306. </property>
  307. <attribute name="title">
  308. <string>Advanced</string>
  309. </attribute>
  310. <layout class="QGridLayout" name="gridLayout_9">
  311. <item row="0" column="0">
  312. <widget class="QGroupBox" name="groupBox_2">
  313. <property name="enabled">
  314. <bool>true</bool>
  315. </property>
  316. <property name="title">
  317. <string>Memory/CPU</string>
  318. </property>
  319. <layout class="QGridLayout" name="gridLayout_4">
  320. <item row="0" column="0">
  321. <widget class="QLabel" name="label_15">
  322. <property name="enabled">
  323. <bool>true</bool>
  324. </property>
  325. <property name="text">
  326. <string>Initial memory:</string>
  327. </property>
  328. </widget>
  329. </item>
  330. <item row="0" column="1">
  331. <widget class="QSpinBox" name="init_mem">
  332. <property name="enabled">
  333. <bool>true</bool>
  334. </property>
  335. <property name="alignment">
  336. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  337. </property>
  338. <property name="minimum">
  339. <number>0</number>
  340. </property>
  341. <property name="maximum">
  342. <number>1000000</number>
  343. </property>
  344. <property name="singleStep">
  345. <number>50</number>
  346. </property>
  347. <property name="value">
  348. <number>256</number>
  349. </property>
  350. </widget>
  351. </item>
  352. <item row="0" column="2">
  353. <widget class="QLabel" name="label_16">
  354. <property name="enabled">
  355. <bool>true</bool>
  356. </property>
  357. <property name="text">
  358. <string>MB</string>
  359. </property>
  360. </widget>
  361. </item>
  362. <item row="1" column="0">
  363. <widget class="QLabel" name="label_17">
  364. <property name="text">
  365. <string>Max memory:</string>
  366. </property>
  367. </widget>
  368. </item>
  369. <item row="1" column="1">
  370. <widget class="QSpinBox" name="max_mem_size">
  371. <property name="enabled">
  372. <bool>true</bool>
  373. </property>
  374. <property name="alignment">
  375. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  376. </property>
  377. <property name="minimum">
  378. <number>0</number>
  379. </property>
  380. <property name="maximum">
  381. <number>10000000</number>
  382. </property>
  383. <property name="singleStep">
  384. <number>50</number>
  385. </property>
  386. <property name="value">
  387. <number>400</number>
  388. </property>
  389. </widget>
  390. </item>
  391. <item row="1" column="2">
  392. <widget class="QLabel" name="label_6">
  393. <property name="text">
  394. <string>MB</string>
  395. </property>
  396. </widget>
  397. </item>
  398. <item row="2" column="0">
  399. <widget class="QLabel" name="label_4">
  400. <property name="text">
  401. <string>VCPUs no.:</string>
  402. </property>
  403. </widget>
  404. </item>
  405. <item row="2" column="1">
  406. <widget class="QSpinBox" name="vcpus">
  407. <property name="enabled">
  408. <bool>true</bool>
  409. </property>
  410. <property name="alignment">
  411. <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
  412. </property>
  413. <property name="value">
  414. <number>1</number>
  415. </property>
  416. </widget>
  417. </item>
  418. <item row="3" column="0" colspan="2">
  419. <widget class="QCheckBox" name="include_in_balancing">
  420. <property name="enabled">
  421. <bool>true</bool>
  422. </property>
  423. <property name="text">
  424. <string>Include in memory balancing</string>
  425. </property>
  426. </widget>
  427. </item>
  428. <item row="4" column="0" colspan="3">
  429. <widget class="QLabel" name="dmm_warning_adv">
  430. <property name="font">
  431. <font>
  432. <weight>75</weight>
  433. <italic>true</italic>
  434. <bold>true</bold>
  435. </font>
  436. </property>
  437. <property name="styleSheet">
  438. <string notr="true">color:rgb(255, 0, 0)</string>
  439. </property>
  440. <property name="text">
  441. <string>Dynamic memory balancing can result in some devices not working!</string>
  442. </property>
  443. <property name="wordWrap">
  444. <bool>true</bool>
  445. </property>
  446. </widget>
  447. </item>
  448. </layout>
  449. </widget>
  450. </item>
  451. <item row="0" column="1">
  452. <widget class="QGroupBox" name="kernel_groupbox">
  453. <property name="enabled">
  454. <bool>true</bool>
  455. </property>
  456. <property name="title">
  457. <string>Kernel</string>
  458. </property>
  459. <layout class="QFormLayout" name="formLayout_2">
  460. <item row="0" column="0">
  461. <widget class="QLabel" name="label_19">
  462. <property name="text">
  463. <string>Kernel:</string>
  464. </property>
  465. </widget>
  466. </item>
  467. <item row="0" column="1">
  468. <widget class="QComboBox" name="kernel"/>
  469. </item>
  470. <item row="1" column="0">
  471. <widget class="QLabel" name="label_20">
  472. <property name="text">
  473. <string>Kernel opts:</string>
  474. </property>
  475. </widget>
  476. </item>
  477. <item row="1" column="1">
  478. <widget class="QLabel" name="kernel_opts">
  479. <property name="font">
  480. <font>
  481. <weight>50</weight>
  482. <bold>false</bold>
  483. </font>
  484. </property>
  485. <property name="text">
  486. <string>[]</string>
  487. </property>
  488. </widget>
  489. </item>
  490. </layout>
  491. </widget>
  492. </item>
  493. <item row="1" column="0" colspan="2">
  494. <widget class="QGroupBox" name="groupBox_11">
  495. <property name="enabled">
  496. <bool>true</bool>
  497. </property>
  498. <property name="title">
  499. <string>Paths</string>
  500. </property>
  501. <layout class="QFormLayout" name="formLayout">
  502. <item row="0" column="0">
  503. <widget class="QLabel" name="label_21">
  504. <property name="text">
  505. <string>dir:</string>
  506. </property>
  507. </widget>
  508. </item>
  509. <item row="0" column="1">
  510. <widget class="QLabel" name="dir_path">
  511. <property name="font">
  512. <font>
  513. <weight>50</weight>
  514. <bold>false</bold>
  515. </font>
  516. </property>
  517. <property name="text">
  518. <string>dir_path</string>
  519. </property>
  520. </widget>
  521. </item>
  522. <item row="1" column="0">
  523. <widget class="QLabel" name="label_22">
  524. <property name="text">
  525. <string>config:</string>
  526. </property>
  527. </widget>
  528. </item>
  529. <item row="1" column="1">
  530. <widget class="QLabel" name="config_path">
  531. <property name="font">
  532. <font>
  533. <weight>50</weight>
  534. <bold>false</bold>
  535. </font>
  536. </property>
  537. <property name="text">
  538. <string>config_path</string>
  539. </property>
  540. </widget>
  541. </item>
  542. <item row="2" column="0">
  543. <widget class="QLabel" name="label_23">
  544. <property name="text">
  545. <string>root img:</string>
  546. </property>
  547. </widget>
  548. </item>
  549. <item row="2" column="1">
  550. <widget class="QLabel" name="root_img_path">
  551. <property name="text">
  552. <string>root_img_path</string>
  553. </property>
  554. </widget>
  555. </item>
  556. <item row="3" column="0">
  557. <widget class="QLabel" name="label_24">
  558. <property name="text">
  559. <string>root volatile img:</string>
  560. </property>
  561. </widget>
  562. </item>
  563. <item row="3" column="1">
  564. <widget class="QLabel" name="volatile_img_path">
  565. <property name="text">
  566. <string>volatile_path</string>
  567. </property>
  568. </widget>
  569. </item>
  570. <item row="4" column="0">
  571. <widget class="QLabel" name="label_25">
  572. <property name="text">
  573. <string>private img:</string>
  574. </property>
  575. </widget>
  576. </item>
  577. <item row="4" column="1">
  578. <widget class="QLabel" name="private_img_path">
  579. <property name="text">
  580. <string>private_path</string>
  581. </property>
  582. </widget>
  583. </item>
  584. </layout>
  585. </widget>
  586. </item>
  587. <item row="2" column="1">
  588. <spacer name="verticalSpacer_2">
  589. <property name="orientation">
  590. <enum>Qt::Vertical</enum>
  591. </property>
  592. <property name="sizeHint" stdset="0">
  593. <size>
  594. <width>20</width>
  595. <height>88</height>
  596. </size>
  597. </property>
  598. </spacer>
  599. </item>
  600. </layout>
  601. </widget>
  602. <widget class="QWidget" name="firewall_tab">
  603. <attribute name="icon">
  604. <iconset resource="resources.qrc">
  605. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  606. </attribute>
  607. <attribute name="title">
  608. <string>Firewall rules</string>
  609. </attribute>
  610. <layout class="QGridLayout" name="gridLayout_8">
  611. <item row="0" column="0">
  612. <widget class="QRadioButton" name="policyAllowRadioButton">
  613. <property name="text">
  614. <string>Allow network access except...</string>
  615. </property>
  616. </widget>
  617. </item>
  618. <item row="0" column="1">
  619. <widget class="QCheckBox" name="icmpCheckBox">
  620. <property name="minimumSize">
  621. <size>
  622. <width>323</width>
  623. <height>0</height>
  624. </size>
  625. </property>
  626. <property name="text">
  627. <string>Allow ICMP traffic</string>
  628. </property>
  629. <property name="checked">
  630. <bool>true</bool>
  631. </property>
  632. </widget>
  633. </item>
  634. <item row="1" column="0">
  635. <widget class="QRadioButton" name="policyDenyRadioButton">
  636. <property name="text">
  637. <string>Deny network access except...</string>
  638. </property>
  639. </widget>
  640. </item>
  641. <item row="1" column="1">
  642. <widget class="QCheckBox" name="dnsCheckBox">
  643. <property name="text">
  644. <string>Allow DNS queries</string>
  645. </property>
  646. <property name="checked">
  647. <bool>true</bool>
  648. </property>
  649. </widget>
  650. </item>
  651. <item row="3" column="0" colspan="2">
  652. <layout class="QHBoxLayout" name="horizontalLayout_2">
  653. <property name="sizeConstraint">
  654. <enum>QLayout::SetMaximumSize</enum>
  655. </property>
  656. <item>
  657. <layout class="QVBoxLayout" name="verticalLayout_5">
  658. <item>
  659. <widget class="QTreeView" name="rulesTreeView">
  660. <property name="rootIsDecorated">
  661. <bool>false</bool>
  662. </property>
  663. <property name="uniformRowHeights">
  664. <bool>false</bool>
  665. </property>
  666. <property name="itemsExpandable">
  667. <bool>false</bool>
  668. </property>
  669. <property name="sortingEnabled">
  670. <bool>true</bool>
  671. </property>
  672. <property name="allColumnsShowFocus">
  673. <bool>true</bool>
  674. </property>
  675. <property name="expandsOnDoubleClick">
  676. <bool>true</bool>
  677. </property>
  678. <attribute name="headerDefaultSectionSize">
  679. <number>40</number>
  680. </attribute>
  681. <attribute name="headerStretchLastSection">
  682. <bool>false</bool>
  683. </attribute>
  684. </widget>
  685. </item>
  686. <item>
  687. <layout class="QHBoxLayout" name="horizontalLayout_4"/>
  688. </item>
  689. </layout>
  690. </item>
  691. <item>
  692. <layout class="QVBoxLayout" name="verticalLayout_6">
  693. <item>
  694. <widget class="QPushButton" name="newRuleButton">
  695. <property name="text">
  696. <string/>
  697. </property>
  698. <property name="icon">
  699. <iconset resource="resources.qrc">
  700. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  701. </property>
  702. <property name="iconSize">
  703. <size>
  704. <width>24</width>
  705. <height>24</height>
  706. </size>
  707. </property>
  708. </widget>
  709. </item>
  710. <item>
  711. <widget class="QPushButton" name="editRuleButton">
  712. <property name="text">
  713. <string/>
  714. </property>
  715. <property name="icon">
  716. <iconset resource="resources.qrc">
  717. <normaloff>:/pencil.png</normaloff>:/pencil.png</iconset>
  718. </property>
  719. <property name="iconSize">
  720. <size>
  721. <width>24</width>
  722. <height>24</height>
  723. </size>
  724. </property>
  725. </widget>
  726. </item>
  727. <item>
  728. <widget class="QPushButton" name="deleteRuleButton">
  729. <property name="text">
  730. <string/>
  731. </property>
  732. <property name="icon">
  733. <iconset resource="resources.qrc">
  734. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  735. </property>
  736. <property name="iconSize">
  737. <size>
  738. <width>24</width>
  739. <height>24</height>
  740. </size>
  741. </property>
  742. </widget>
  743. </item>
  744. <item>
  745. <spacer name="verticalSpacer_4">
  746. <property name="orientation">
  747. <enum>Qt::Vertical</enum>
  748. </property>
  749. <property name="sizeHint" stdset="0">
  750. <size>
  751. <width>20</width>
  752. <height>40</height>
  753. </size>
  754. </property>
  755. </spacer>
  756. </item>
  757. </layout>
  758. </item>
  759. </layout>
  760. </item>
  761. <item row="2" column="1">
  762. <widget class="QCheckBox" name="yumproxyCheckBox">
  763. <property name="text">
  764. <string>Allow connections to Updates Proxy</string>
  765. </property>
  766. </widget>
  767. </item>
  768. </layout>
  769. </widget>
  770. <widget class="QWidget" name="devices_tab">
  771. <property name="enabled">
  772. <bool>true</bool>
  773. </property>
  774. <attribute name="icon">
  775. <iconset resource="resources.qrc">
  776. <normaloff>:/storagevm.png</normaloff>:/storagevm.png</iconset>
  777. </attribute>
  778. <attribute name="title">
  779. <string>Devices</string>
  780. </attribute>
  781. <layout class="QVBoxLayout" name="verticalLayout_3">
  782. <item>
  783. <layout class="QVBoxLayout" name="devices_layout">
  784. <item>
  785. <widget class="QLabel" name="dmm_warning_dev">
  786. <property name="font">
  787. <font>
  788. <weight>75</weight>
  789. <italic>true</italic>
  790. <bold>true</bold>
  791. </font>
  792. </property>
  793. <property name="styleSheet">
  794. <string notr="true">color: rgb(255, 0, 0)</string>
  795. </property>
  796. <property name="text">
  797. <string>You've enabled dynamic memory balancing, some devices might not work!</string>
  798. </property>
  799. </widget>
  800. </item>
  801. <item>
  802. <widget class="QLabel" name="turn_off_vm_to_modify_devs">
  803. <property name="font">
  804. <font>
  805. <weight>75</weight>
  806. <italic>true</italic>
  807. <bold>true</bold>
  808. </font>
  809. </property>
  810. <property name="text">
  811. <string>To modify PCI devices you have to turn off the VM.</string>
  812. </property>
  813. </widget>
  814. </item>
  815. </layout>
  816. </item>
  817. </layout>
  818. </widget>
  819. <widget class="QWidget" name="apps_tab">
  820. <attribute name="icon">
  821. <iconset resource="resources.qrc">
  822. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  823. </attribute>
  824. <attribute name="title">
  825. <string>Applications</string>
  826. </attribute>
  827. <layout class="QGridLayout" name="gridLayout_7">
  828. <item row="0" column="0">
  829. <layout class="QVBoxLayout" name="apps_layout"/>
  830. </item>
  831. </layout>
  832. </widget>
  833. <widget class="QWidget" name="services_tab">
  834. <property name="enabled">
  835. <bool>true</bool>
  836. </property>
  837. <attribute name="title">
  838. <string>Services</string>
  839. </attribute>
  840. <layout class="QGridLayout" name="gridLayout_5">
  841. <item row="0" column="0">
  842. <widget class="QLineEdit" name="service_line_edit"/>
  843. </item>
  844. <item row="0" column="1">
  845. <widget class="QPushButton" name="add_srv_button">
  846. <property name="text">
  847. <string/>
  848. </property>
  849. <property name="icon">
  850. <iconset resource="resources.qrc">
  851. <normaloff>:/add.png</normaloff>:/add.png</iconset>
  852. </property>
  853. <property name="iconSize">
  854. <size>
  855. <width>24</width>
  856. <height>24</height>
  857. </size>
  858. </property>
  859. </widget>
  860. </item>
  861. <item row="4" column="0" rowspan="2">
  862. <widget class="QListWidget" name="services_list"/>
  863. </item>
  864. <item row="6" column="0" colspan="2">
  865. <widget class="QLabel" name="label_7">
  866. <property name="text">
  867. <string>Checked services will be turned on.</string>
  868. </property>
  869. </widget>
  870. </item>
  871. <item row="7" column="0" colspan="2">
  872. <widget class="QLabel" name="label_8">
  873. <property name="text">
  874. <string>Unchecked services will be turned off.</string>
  875. </property>
  876. </widget>
  877. </item>
  878. <item row="8" column="0" colspan="2">
  879. <widget class="QLabel" name="label_9">
  880. <property name="text">
  881. <string>Unlisted services will follow default VM's settings.</string>
  882. </property>
  883. </widget>
  884. </item>
  885. <item row="4" column="1">
  886. <widget class="QPushButton" name="remove_srv_button">
  887. <property name="text">
  888. <string/>
  889. </property>
  890. <property name="icon">
  891. <iconset resource="resources.qrc">
  892. <normaloff>:/remove.png</normaloff>:/remove.png</iconset>
  893. </property>
  894. <property name="iconSize">
  895. <size>
  896. <width>24</width>
  897. <height>24</height>
  898. </size>
  899. </property>
  900. </widget>
  901. </item>
  902. <item row="5" column="1">
  903. <spacer name="verticalSpacer_5">
  904. <property name="orientation">
  905. <enum>Qt::Vertical</enum>
  906. </property>
  907. <property name="sizeHint" stdset="0">
  908. <size>
  909. <width>20</width>
  910. <height>40</height>
  911. </size>
  912. </property>
  913. </spacer>
  914. </item>
  915. </layout>
  916. </widget>
  917. </widget>
  918. </item>
  919. <item>
  920. <widget class="QDialogButtonBox" name="buttonBox">
  921. <property name="orientation">
  922. <enum>Qt::Horizontal</enum>
  923. </property>
  924. <property name="standardButtons">
  925. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  926. </property>
  927. </widget>
  928. </item>
  929. </layout>
  930. </item>
  931. </layout>
  932. </widget>
  933. <resources>
  934. <include location="resources.qrc"/>
  935. </resources>
  936. <connections>
  937. <connection>
  938. <sender>buttonBox</sender>
  939. <signal>accepted()</signal>
  940. <receiver>SettingsDialog</receiver>
  941. <slot>accept()</slot>
  942. <hints>
  943. <hint type="sourcelabel">
  944. <x>248</x>
  945. <y>254</y>
  946. </hint>
  947. <hint type="destinationlabel">
  948. <x>157</x>
  949. <y>274</y>
  950. </hint>
  951. </hints>
  952. </connection>
  953. <connection>
  954. <sender>buttonBox</sender>
  955. <signal>rejected()</signal>
  956. <receiver>SettingsDialog</receiver>
  957. <slot>reject()</slot>
  958. <hints>
  959. <hint type="sourcelabel">
  960. <x>316</x>
  961. <y>260</y>
  962. </hint>
  963. <hint type="destinationlabel">
  964. <x>286</x>
  965. <y>274</y>
  966. </hint>
  967. </hints>
  968. </connection>
  969. </connections>
  970. </ui>