mainwindow.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>VmManagerWindow</class>
  4. <widget class="QMainWindow" name="VmManagerWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>769</width>
  10. <height>385</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Maximum">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="contextMenuPolicy">
  20. <enum>Qt::DefaultContextMenu</enum>
  21. </property>
  22. <property name="windowTitle">
  23. <string>Qubes VM Manager</string>
  24. </property>
  25. <property name="windowIcon">
  26. <iconset resource="resources.qrc">
  27. <normaloff>:/qubes.png</normaloff>:/qubes.png</iconset>
  28. </property>
  29. <property name="locale">
  30. <locale language="English" country="UnitedStates"/>
  31. </property>
  32. <widget class="QWidget" name="centralwidget">
  33. <property name="enabled">
  34. <bool>true</bool>
  35. </property>
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
  38. <horstretch>0</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="acceptDrops">
  43. <bool>false</bool>
  44. </property>
  45. <property name="autoFillBackground">
  46. <bool>true</bool>
  47. </property>
  48. <property name="locale">
  49. <locale language="English" country="UnitedStates"/>
  50. </property>
  51. <layout class="QGridLayout" name="gridLayout">
  52. <property name="sizeConstraint">
  53. <enum>QLayout::SetDefaultConstraint</enum>
  54. </property>
  55. <property name="margin">
  56. <number>0</number>
  57. </property>
  58. <property name="spacing">
  59. <number>0</number>
  60. </property>
  61. <item row="0" column="0">
  62. <widget class="QTableWidget" name="table">
  63. <property name="minimumSize">
  64. <size>
  65. <width>0</width>
  66. <height>0</height>
  67. </size>
  68. </property>
  69. <property name="maximumSize">
  70. <size>
  71. <width>16777215</width>
  72. <height>16777215</height>
  73. </size>
  74. </property>
  75. <property name="sizeIncrement">
  76. <size>
  77. <width>200</width>
  78. <height>30</height>
  79. </size>
  80. </property>
  81. <property name="contextMenuPolicy">
  82. <enum>Qt::CustomContextMenu</enum>
  83. </property>
  84. <property name="acceptDrops">
  85. <bool>false</bool>
  86. </property>
  87. <property name="lineWidth">
  88. <number>0</number>
  89. </property>
  90. <property name="verticalScrollBarPolicy">
  91. <enum>Qt::ScrollBarAsNeeded</enum>
  92. </property>
  93. <property name="horizontalScrollBarPolicy">
  94. <enum>Qt::ScrollBarAsNeeded</enum>
  95. </property>
  96. <property name="alternatingRowColors">
  97. <bool>true</bool>
  98. </property>
  99. <property name="selectionMode">
  100. <enum>QAbstractItemView::SingleSelection</enum>
  101. </property>
  102. <property name="selectionBehavior">
  103. <enum>QAbstractItemView::SelectRows</enum>
  104. </property>
  105. <property name="showGrid">
  106. <bool>false</bool>
  107. </property>
  108. <property name="gridStyle">
  109. <enum>Qt::NoPen</enum>
  110. </property>
  111. <property name="sortingEnabled">
  112. <bool>true</bool>
  113. </property>
  114. <property name="cornerButtonEnabled">
  115. <bool>false</bool>
  116. </property>
  117. <property name="rowCount">
  118. <number>10</number>
  119. </property>
  120. <attribute name="horizontalHeaderCascadingSectionResizes">
  121. <bool>false</bool>
  122. </attribute>
  123. <attribute name="horizontalHeaderDefaultSectionSize">
  124. <number>150</number>
  125. </attribute>
  126. <attribute name="horizontalHeaderMinimumSectionSize">
  127. <number>150</number>
  128. </attribute>
  129. <attribute name="verticalHeaderVisible">
  130. <bool>false</bool>
  131. </attribute>
  132. <attribute name="verticalHeaderCascadingSectionResizes">
  133. <bool>false</bool>
  134. </attribute>
  135. <row>
  136. <property name="text">
  137. <string>Nowy wiersz</string>
  138. </property>
  139. </row>
  140. <row/>
  141. <row/>
  142. <row/>
  143. <row/>
  144. <row/>
  145. <row/>
  146. <row/>
  147. <row/>
  148. <row/>
  149. <column>
  150. <property name="text">
  151. <string/>
  152. </property>
  153. </column>
  154. <column>
  155. <property name="text">
  156. <string/>
  157. </property>
  158. </column>
  159. <column>
  160. <property name="text">
  161. <string>Name</string>
  162. </property>
  163. <property name="toolTip">
  164. <string>VM name</string>
  165. </property>
  166. </column>
  167. <column>
  168. <property name="text">
  169. <string>State</string>
  170. </property>
  171. <property name="toolTip">
  172. <string>Update info</string>
  173. </property>
  174. </column>
  175. <column>
  176. <property name="text">
  177. <string>Template</string>
  178. </property>
  179. <property name="toolTip">
  180. <string>VM's template</string>
  181. </property>
  182. </column>
  183. <column>
  184. <property name="text">
  185. <string>NetVM</string>
  186. </property>
  187. <property name="toolTip">
  188. <string>VM's netVM</string>
  189. </property>
  190. </column>
  191. <column>
  192. <property name="text">
  193. <string>CPU</string>
  194. </property>
  195. </column>
  196. <column>
  197. <property name="text">
  198. <string>CPU Graph</string>
  199. </property>
  200. <property name="toolTip">
  201. <string>CPU usage graph</string>
  202. </property>
  203. </column>
  204. <column>
  205. <property name="text">
  206. <string>MEM</string>
  207. </property>
  208. </column>
  209. <column>
  210. <property name="text">
  211. <string>MEM Graph</string>
  212. </property>
  213. <property name="toolTip">
  214. <string>Memory usage graph</string>
  215. </property>
  216. </column>
  217. <column>
  218. <property name="text">
  219. <string>Size</string>
  220. </property>
  221. </column>
  222. </widget>
  223. </item>
  224. </layout>
  225. </widget>
  226. <widget class="QMenuBar" name="menubar">
  227. <property name="geometry">
  228. <rect>
  229. <x>0</x>
  230. <y>0</y>
  231. <width>769</width>
  232. <height>25</height>
  233. </rect>
  234. </property>
  235. <widget class="QMenu" name="menu_system">
  236. <property name="title">
  237. <string>System</string>
  238. </property>
  239. <addaction name="action_global_settings"/>
  240. <addaction name="action_backup"/>
  241. <addaction name="action_restore"/>
  242. </widget>
  243. <widget class="QMenu" name="menu_view">
  244. <property name="title">
  245. <string>View</string>
  246. </property>
  247. <addaction name="action_vm_type"/>
  248. <addaction name="action_label"/>
  249. <addaction name="action_name"/>
  250. <addaction name="action_state"/>
  251. <addaction name="action_template"/>
  252. <addaction name="action_netvm"/>
  253. <addaction name="action_cpu"/>
  254. <addaction name="action_cpu_graph"/>
  255. <addaction name="action_mem"/>
  256. <addaction name="action_mem_graph"/>
  257. <addaction name="action_size_on_disk"/>
  258. <addaction name="separator"/>
  259. <addaction name="action_toolbar"/>
  260. <addaction name="action_menubar"/>
  261. <addaction name="separator"/>
  262. <addaction name="action_showallvms"/>
  263. </widget>
  264. <widget class="QMenu" name="menu_vm">
  265. <property name="title">
  266. <string>VM</string>
  267. </property>
  268. <widget class="QMenu" name="logs_menu">
  269. <property name="title">
  270. <string>Logs</string>
  271. </property>
  272. <property name="icon">
  273. <iconset resource="resources.qrc">
  274. <normaloff>:/log.png</normaloff>:/log.png</iconset>
  275. </property>
  276. </widget>
  277. <widget class="QMenu" name="blk_menu">
  278. <property name="title">
  279. <string>Block devices</string>
  280. </property>
  281. <property name="icon">
  282. <iconset resource="resources.qrc">
  283. <normaloff>:/mount.png</normaloff>:/mount.png</iconset>
  284. </property>
  285. </widget>
  286. <addaction name="action_createvm"/>
  287. <addaction name="action_removevm"/>
  288. <addaction name="separator"/>
  289. <addaction name="action_resumevm"/>
  290. <addaction name="action_pausevm"/>
  291. <addaction name="action_shutdownvm"/>
  292. <addaction name="action_killvm"/>
  293. <addaction name="separator"/>
  294. <addaction name="action_settings"/>
  295. <addaction name="action_editfwrules"/>
  296. <addaction name="action_appmenus"/>
  297. <addaction name="action_updatevm"/>
  298. <addaction name="action_set_keyboard_layout"/>
  299. <addaction name="separator"/>
  300. <addaction name="logs_menu"/>
  301. <addaction name="blk_menu"/>
  302. </widget>
  303. <widget class="QMenu" name="menu_about">
  304. <property name="title">
  305. <string>About</string>
  306. </property>
  307. <addaction name="action_about_qubes"/>
  308. </widget>
  309. <addaction name="menu_system"/>
  310. <addaction name="menu_vm"/>
  311. <addaction name="menu_view"/>
  312. <addaction name="menu_about"/>
  313. </widget>
  314. <widget class="QToolBar" name="toolBar">
  315. <property name="windowTitle">
  316. <string>toolBar</string>
  317. </property>
  318. <property name="allowedAreas">
  319. <set>Qt::BottomToolBarArea|Qt::TopToolBarArea</set>
  320. </property>
  321. <property name="floatable">
  322. <bool>false</bool>
  323. </property>
  324. <attribute name="toolBarArea">
  325. <enum>TopToolBarArea</enum>
  326. </attribute>
  327. <attribute name="toolBarBreak">
  328. <bool>false</bool>
  329. </attribute>
  330. <addaction name="action_createvm"/>
  331. <addaction name="action_removevm"/>
  332. <addaction name="separator"/>
  333. <addaction name="action_resumevm"/>
  334. <addaction name="action_pausevm"/>
  335. <addaction name="action_shutdownvm"/>
  336. <addaction name="separator"/>
  337. <addaction name="action_settings"/>
  338. <addaction name="action_editfwrules"/>
  339. <addaction name="action_appmenus"/>
  340. <addaction name="action_updatevm"/>
  341. <addaction name="action_set_keyboard_layout"/>
  342. <addaction name="separator"/>
  343. <addaction name="action_global_settings"/>
  344. <addaction name="action_backup"/>
  345. <addaction name="action_restore"/>
  346. <addaction name="separator"/>
  347. <addaction name="action_showallvms"/>
  348. </widget>
  349. <action name="action_createvm">
  350. <property name="icon">
  351. <iconset resource="resources.qrc">
  352. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  353. </property>
  354. <property name="text">
  355. <string>Create AppVM</string>
  356. </property>
  357. <property name="toolTip">
  358. <string>Create a new AppVM</string>
  359. </property>
  360. </action>
  361. <action name="action_removevm">
  362. <property name="enabled">
  363. <bool>false</bool>
  364. </property>
  365. <property name="icon">
  366. <iconset resource="resources.qrc">
  367. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  368. </property>
  369. <property name="text">
  370. <string>Remove AppVM</string>
  371. </property>
  372. <property name="toolTip">
  373. <string>Remove an existing AppVM (must be stopped first)</string>
  374. </property>
  375. </action>
  376. <action name="action_resumevm">
  377. <property name="enabled">
  378. <bool>false</bool>
  379. </property>
  380. <property name="icon">
  381. <iconset resource="resources.qrc">
  382. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  383. </property>
  384. <property name="text">
  385. <string>Start/Resume VM</string>
  386. </property>
  387. <property name="toolTip">
  388. <string>Start/Resume selected VM</string>
  389. </property>
  390. </action>
  391. <action name="action_pausevm">
  392. <property name="enabled">
  393. <bool>false</bool>
  394. </property>
  395. <property name="icon">
  396. <iconset resource="resources.qrc">
  397. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  398. </property>
  399. <property name="text">
  400. <string>Pause VM</string>
  401. </property>
  402. <property name="toolTip">
  403. <string>Pause selected VM</string>
  404. </property>
  405. </action>
  406. <action name="action_shutdownvm">
  407. <property name="enabled">
  408. <bool>false</bool>
  409. </property>
  410. <property name="icon">
  411. <iconset resource="resources.qrc">
  412. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  413. </property>
  414. <property name="text">
  415. <string>Shutdown VM</string>
  416. </property>
  417. <property name="toolTip">
  418. <string>Shutdown selected VM</string>
  419. </property>
  420. </action>
  421. <action name="action_appmenus">
  422. <property name="enabled">
  423. <bool>false</bool>
  424. </property>
  425. <property name="icon">
  426. <iconset resource="resources.qrc">
  427. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  428. </property>
  429. <property name="text">
  430. <string>Select VM applications</string>
  431. </property>
  432. <property name="toolTip">
  433. <string>Select applications present in menu for this VM</string>
  434. </property>
  435. </action>
  436. <action name="action_updatevm">
  437. <property name="enabled">
  438. <bool>false</bool>
  439. </property>
  440. <property name="icon">
  441. <iconset resource="resources.qrc">
  442. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  443. </property>
  444. <property name="text">
  445. <string>Update VM</string>
  446. </property>
  447. <property name="toolTip">
  448. <string>Update VM system</string>
  449. </property>
  450. </action>
  451. <action name="action_showallvms">
  452. <property name="checkable">
  453. <bool>true</bool>
  454. </property>
  455. <property name="checked">
  456. <bool>false</bool>
  457. </property>
  458. <property name="icon">
  459. <iconset resource="resources.qrc">
  460. <normaloff>:/show-all-running.png</normaloff>
  461. <selectedoff>:/showallvms.png</selectedoff>:/show-all-running.png</iconset>
  462. </property>
  463. <property name="text">
  464. <string>Show/Hide inactive VMs</string>
  465. </property>
  466. <property name="toolTip">
  467. <string>Show/Hide inactive VMs</string>
  468. </property>
  469. </action>
  470. <action name="action_editfwrules">
  471. <property name="icon">
  472. <iconset resource="resources.qrc">
  473. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  474. </property>
  475. <property name="text">
  476. <string>Edit VM Firewall rules</string>
  477. </property>
  478. <property name="toolTip">
  479. <string>Edit VM Firewall rules</string>
  480. </property>
  481. </action>
  482. <action name="action_showgraphs">
  483. <property name="checkable">
  484. <bool>true</bool>
  485. </property>
  486. <property name="icon">
  487. <iconset resource="resources.qrc">
  488. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  489. </property>
  490. <property name="text">
  491. <string>Show graphs</string>
  492. </property>
  493. <property name="toolTip">
  494. <string>Show Graphs</string>
  495. </property>
  496. </action>
  497. <action name="action_options">
  498. <property name="text">
  499. <string>Options</string>
  500. </property>
  501. </action>
  502. <action name="action_view">
  503. <property name="text">
  504. <string>View</string>
  505. </property>
  506. </action>
  507. <action name="action_cpu">
  508. <property name="checkable">
  509. <bool>true</bool>
  510. </property>
  511. <property name="checked">
  512. <bool>true</bool>
  513. </property>
  514. <property name="text">
  515. <string>CPU</string>
  516. </property>
  517. </action>
  518. <action name="action_cpu_graph">
  519. <property name="checkable">
  520. <bool>true</bool>
  521. </property>
  522. <property name="checked">
  523. <bool>true</bool>
  524. </property>
  525. <property name="text">
  526. <string>CPU Graph</string>
  527. </property>
  528. </action>
  529. <action name="action_mem">
  530. <property name="checkable">
  531. <bool>true</bool>
  532. </property>
  533. <property name="checked">
  534. <bool>true</bool>
  535. </property>
  536. <property name="text">
  537. <string>MEM</string>
  538. </property>
  539. </action>
  540. <action name="action_mem_graph">
  541. <property name="checkable">
  542. <bool>true</bool>
  543. </property>
  544. <property name="checked">
  545. <bool>true</bool>
  546. </property>
  547. <property name="text">
  548. <string>MEM Graph</string>
  549. </property>
  550. </action>
  551. <action name="action_template">
  552. <property name="checkable">
  553. <bool>true</bool>
  554. </property>
  555. <property name="checked">
  556. <bool>true</bool>
  557. </property>
  558. <property name="text">
  559. <string>Template</string>
  560. </property>
  561. </action>
  562. <action name="action_netvm">
  563. <property name="checkable">
  564. <bool>true</bool>
  565. </property>
  566. <property name="checked">
  567. <bool>true</bool>
  568. </property>
  569. <property name="text">
  570. <string>NetVM</string>
  571. </property>
  572. </action>
  573. <action name="action_settings">
  574. <property name="icon">
  575. <iconset resource="resources.qrc">
  576. <normaloff>:/settings.png</normaloff>:/settings.png</iconset>
  577. </property>
  578. <property name="text">
  579. <string>VM settings</string>
  580. </property>
  581. <property name="toolTip">
  582. <string>VM Settings</string>
  583. </property>
  584. </action>
  585. <action name="action_restore">
  586. <property name="icon">
  587. <iconset resource="resources.qrc">
  588. <normaloff>:/restore.png</normaloff>:/restore.png</iconset>
  589. </property>
  590. <property name="text">
  591. <string>Restore VMs from backup</string>
  592. </property>
  593. </action>
  594. <action name="action_backup">
  595. <property name="icon">
  596. <iconset resource="resources.qrc">
  597. <normaloff>:/backup.png</normaloff>:/backup.png</iconset>
  598. </property>
  599. <property name="text">
  600. <string>Backup VMs</string>
  601. </property>
  602. </action>
  603. <action name="action_global_settings">
  604. <property name="icon">
  605. <iconset resource="resources.qrc">
  606. <normaloff>:/global-settings.png</normaloff>:/global-settings.png</iconset>
  607. </property>
  608. <property name="text">
  609. <string>Global settings</string>
  610. </property>
  611. </action>
  612. <action name="action_state">
  613. <property name="checkable">
  614. <bool>true</bool>
  615. </property>
  616. <property name="checked">
  617. <bool>true</bool>
  618. </property>
  619. <property name="text">
  620. <string>State</string>
  621. </property>
  622. </action>
  623. <action name="action_killvm">
  624. <property name="icon">
  625. <iconset resource="resources.qrc">
  626. <normaloff>:/killvm.png</normaloff>:/killvm.png</iconset>
  627. </property>
  628. <property name="text">
  629. <string>Kill VM</string>
  630. </property>
  631. <property name="toolTip">
  632. <string>Kill selected VM</string>
  633. </property>
  634. </action>
  635. <action name="action_set_keyboard_layout">
  636. <property name="icon">
  637. <iconset resource="resources.qrc">
  638. <normaloff>:/kbd-layout.png</normaloff>:/kbd-layout.png</iconset>
  639. </property>
  640. <property name="text">
  641. <string>Set keyboard layout</string>
  642. </property>
  643. <property name="toolTip">
  644. <string>Set keyboard layout per VM</string>
  645. </property>
  646. </action>
  647. <action name="action_vm_type">
  648. <property name="checkable">
  649. <bool>true</bool>
  650. </property>
  651. <property name="checked">
  652. <bool>true</bool>
  653. </property>
  654. <property name="text">
  655. <string>Type</string>
  656. </property>
  657. <property name="toolTip">
  658. <string>VM Type</string>
  659. </property>
  660. </action>
  661. <action name="action_label">
  662. <property name="checkable">
  663. <bool>true</bool>
  664. </property>
  665. <property name="checked">
  666. <bool>true</bool>
  667. </property>
  668. <property name="text">
  669. <string>Label</string>
  670. </property>
  671. </action>
  672. <action name="action_name">
  673. <property name="checkable">
  674. <bool>true</bool>
  675. </property>
  676. <property name="checked">
  677. <bool>true</bool>
  678. </property>
  679. <property name="text">
  680. <string>Name</string>
  681. </property>
  682. </action>
  683. <action name="action_toolbar">
  684. <property name="checkable">
  685. <bool>true</bool>
  686. </property>
  687. <property name="checked">
  688. <bool>true</bool>
  689. </property>
  690. <property name="text">
  691. <string>Show tool bar</string>
  692. </property>
  693. </action>
  694. <action name="action_menubar">
  695. <property name="checkable">
  696. <bool>true</bool>
  697. </property>
  698. <property name="checked">
  699. <bool>true</bool>
  700. </property>
  701. <property name="text">
  702. <string>Show menu bar</string>
  703. </property>
  704. </action>
  705. <action name="action_about_qubes">
  706. <property name="icon">
  707. <iconset resource="resources.qrc">
  708. <normaloff>:/qubes.png</normaloff>:/qubes.png</iconset>
  709. </property>
  710. <property name="text">
  711. <string>Qubes OS</string>
  712. </property>
  713. </action>
  714. <action name="action_size_on_disk">
  715. <property name="checkable">
  716. <bool>true</bool>
  717. </property>
  718. <property name="checked">
  719. <bool>true</bool>
  720. </property>
  721. <property name="text">
  722. <string>Size</string>
  723. </property>
  724. <property name="toolTip">
  725. <string>Size on Disk</string>
  726. </property>
  727. </action>
  728. </widget>
  729. <resources>
  730. <include location="resources.qrc"/>
  731. </resources>
  732. <connections/>
  733. </ui>