settingsdlg.ui 34 KB

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