mainwindow.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  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_run_command_in_vm"/>
  299. <addaction name="action_set_keyboard_layout"/>
  300. <addaction name="separator"/>
  301. <addaction name="logs_menu"/>
  302. <addaction name="blk_menu"/>
  303. </widget>
  304. <widget class="QMenu" name="menu_about">
  305. <property name="title">
  306. <string>About</string>
  307. </property>
  308. <addaction name="action_about_qubes"/>
  309. </widget>
  310. <addaction name="menu_system"/>
  311. <addaction name="menu_vm"/>
  312. <addaction name="menu_view"/>
  313. <addaction name="menu_about"/>
  314. </widget>
  315. <widget class="QToolBar" name="toolBar">
  316. <property name="windowTitle">
  317. <string>toolBar</string>
  318. </property>
  319. <property name="allowedAreas">
  320. <set>Qt::BottomToolBarArea|Qt::TopToolBarArea</set>
  321. </property>
  322. <property name="floatable">
  323. <bool>false</bool>
  324. </property>
  325. <attribute name="toolBarArea">
  326. <enum>TopToolBarArea</enum>
  327. </attribute>
  328. <attribute name="toolBarBreak">
  329. <bool>false</bool>
  330. </attribute>
  331. <addaction name="action_createvm"/>
  332. <addaction name="action_removevm"/>
  333. <addaction name="separator"/>
  334. <addaction name="action_resumevm"/>
  335. <addaction name="action_pausevm"/>
  336. <addaction name="action_shutdownvm"/>
  337. <addaction name="separator"/>
  338. <addaction name="action_settings"/>
  339. <addaction name="action_editfwrules"/>
  340. <addaction name="action_appmenus"/>
  341. <addaction name="action_updatevm"/>
  342. <addaction name="action_set_keyboard_layout"/>
  343. <addaction name="separator"/>
  344. <addaction name="action_global_settings"/>
  345. <addaction name="action_backup"/>
  346. <addaction name="action_restore"/>
  347. <addaction name="separator"/>
  348. <addaction name="action_showallvms"/>
  349. </widget>
  350. <action name="action_createvm">
  351. <property name="icon">
  352. <iconset resource="resources.qrc">
  353. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  354. </property>
  355. <property name="text">
  356. <string>Create AppVM</string>
  357. </property>
  358. <property name="toolTip">
  359. <string>Create a new AppVM</string>
  360. </property>
  361. </action>
  362. <action name="action_removevm">
  363. <property name="enabled">
  364. <bool>false</bool>
  365. </property>
  366. <property name="icon">
  367. <iconset resource="resources.qrc">
  368. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  369. </property>
  370. <property name="text">
  371. <string>Remove AppVM</string>
  372. </property>
  373. <property name="toolTip">
  374. <string>Remove an existing AppVM (must be stopped first)</string>
  375. </property>
  376. </action>
  377. <action name="action_resumevm">
  378. <property name="enabled">
  379. <bool>false</bool>
  380. </property>
  381. <property name="icon">
  382. <iconset resource="resources.qrc">
  383. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  384. </property>
  385. <property name="text">
  386. <string>Start/Resume VM</string>
  387. </property>
  388. <property name="toolTip">
  389. <string>Start/Resume selected VM</string>
  390. </property>
  391. </action>
  392. <action name="action_pausevm">
  393. <property name="enabled">
  394. <bool>false</bool>
  395. </property>
  396. <property name="icon">
  397. <iconset resource="resources.qrc">
  398. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  399. </property>
  400. <property name="text">
  401. <string>Pause VM</string>
  402. </property>
  403. <property name="toolTip">
  404. <string>Pause selected VM</string>
  405. </property>
  406. </action>
  407. <action name="action_shutdownvm">
  408. <property name="enabled">
  409. <bool>false</bool>
  410. </property>
  411. <property name="icon">
  412. <iconset resource="resources.qrc">
  413. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  414. </property>
  415. <property name="text">
  416. <string>Shutdown VM</string>
  417. </property>
  418. <property name="toolTip">
  419. <string>Shutdown selected VM</string>
  420. </property>
  421. </action>
  422. <action name="action_appmenus">
  423. <property name="enabled">
  424. <bool>false</bool>
  425. </property>
  426. <property name="icon">
  427. <iconset resource="resources.qrc">
  428. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  429. </property>
  430. <property name="text">
  431. <string>Select VM applications</string>
  432. </property>
  433. <property name="toolTip">
  434. <string>Select applications present in menu for this VM</string>
  435. </property>
  436. </action>
  437. <action name="action_updatevm">
  438. <property name="enabled">
  439. <bool>false</bool>
  440. </property>
  441. <property name="icon">
  442. <iconset resource="resources.qrc">
  443. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  444. </property>
  445. <property name="text">
  446. <string>Update VM</string>
  447. </property>
  448. <property name="toolTip">
  449. <string>Update VM system</string>
  450. </property>
  451. </action>
  452. <action name="action_showallvms">
  453. <property name="checkable">
  454. <bool>true</bool>
  455. </property>
  456. <property name="checked">
  457. <bool>false</bool>
  458. </property>
  459. <property name="icon">
  460. <iconset resource="resources.qrc">
  461. <normaloff>:/show-all-running.png</normaloff>
  462. <selectedoff>:/showallvms.png</selectedoff>:/show-all-running.png</iconset>
  463. </property>
  464. <property name="text">
  465. <string>Show/Hide inactive VMs</string>
  466. </property>
  467. <property name="toolTip">
  468. <string>Show/Hide inactive VMs</string>
  469. </property>
  470. </action>
  471. <action name="action_editfwrules">
  472. <property name="icon">
  473. <iconset resource="resources.qrc">
  474. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  475. </property>
  476. <property name="text">
  477. <string>Edit VM Firewall rules</string>
  478. </property>
  479. <property name="toolTip">
  480. <string>Edit VM Firewall rules</string>
  481. </property>
  482. </action>
  483. <action name="action_showgraphs">
  484. <property name="checkable">
  485. <bool>true</bool>
  486. </property>
  487. <property name="icon">
  488. <iconset resource="resources.qrc">
  489. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  490. </property>
  491. <property name="text">
  492. <string>Show graphs</string>
  493. </property>
  494. <property name="toolTip">
  495. <string>Show Graphs</string>
  496. </property>
  497. </action>
  498. <action name="action_options">
  499. <property name="text">
  500. <string>Options</string>
  501. </property>
  502. </action>
  503. <action name="action_view">
  504. <property name="text">
  505. <string>View</string>
  506. </property>
  507. </action>
  508. <action name="action_cpu">
  509. <property name="checkable">
  510. <bool>true</bool>
  511. </property>
  512. <property name="checked">
  513. <bool>true</bool>
  514. </property>
  515. <property name="text">
  516. <string>CPU</string>
  517. </property>
  518. </action>
  519. <action name="action_cpu_graph">
  520. <property name="checkable">
  521. <bool>true</bool>
  522. </property>
  523. <property name="checked">
  524. <bool>true</bool>
  525. </property>
  526. <property name="text">
  527. <string>CPU Graph</string>
  528. </property>
  529. </action>
  530. <action name="action_mem">
  531. <property name="checkable">
  532. <bool>true</bool>
  533. </property>
  534. <property name="checked">
  535. <bool>true</bool>
  536. </property>
  537. <property name="text">
  538. <string>MEM</string>
  539. </property>
  540. </action>
  541. <action name="action_mem_graph">
  542. <property name="checkable">
  543. <bool>true</bool>
  544. </property>
  545. <property name="checked">
  546. <bool>true</bool>
  547. </property>
  548. <property name="text">
  549. <string>MEM Graph</string>
  550. </property>
  551. </action>
  552. <action name="action_template">
  553. <property name="checkable">
  554. <bool>true</bool>
  555. </property>
  556. <property name="checked">
  557. <bool>true</bool>
  558. </property>
  559. <property name="text">
  560. <string>Template</string>
  561. </property>
  562. </action>
  563. <action name="action_netvm">
  564. <property name="checkable">
  565. <bool>true</bool>
  566. </property>
  567. <property name="checked">
  568. <bool>true</bool>
  569. </property>
  570. <property name="text">
  571. <string>NetVM</string>
  572. </property>
  573. </action>
  574. <action name="action_settings">
  575. <property name="icon">
  576. <iconset resource="resources.qrc">
  577. <normaloff>:/settings.png</normaloff>:/settings.png</iconset>
  578. </property>
  579. <property name="text">
  580. <string>VM settings</string>
  581. </property>
  582. <property name="toolTip">
  583. <string>VM Settings</string>
  584. </property>
  585. </action>
  586. <action name="action_restore">
  587. <property name="icon">
  588. <iconset resource="resources.qrc">
  589. <normaloff>:/restore.png</normaloff>:/restore.png</iconset>
  590. </property>
  591. <property name="text">
  592. <string>Restore VMs from backup</string>
  593. </property>
  594. </action>
  595. <action name="action_backup">
  596. <property name="icon">
  597. <iconset resource="resources.qrc">
  598. <normaloff>:/backup.png</normaloff>:/backup.png</iconset>
  599. </property>
  600. <property name="text">
  601. <string>Backup VMs</string>
  602. </property>
  603. </action>
  604. <action name="action_global_settings">
  605. <property name="icon">
  606. <iconset resource="resources.qrc">
  607. <normaloff>:/global-settings.png</normaloff>:/global-settings.png</iconset>
  608. </property>
  609. <property name="text">
  610. <string>Global settings</string>
  611. </property>
  612. </action>
  613. <action name="action_state">
  614. <property name="checkable">
  615. <bool>true</bool>
  616. </property>
  617. <property name="checked">
  618. <bool>true</bool>
  619. </property>
  620. <property name="text">
  621. <string>State</string>
  622. </property>
  623. </action>
  624. <action name="action_killvm">
  625. <property name="icon">
  626. <iconset resource="resources.qrc">
  627. <normaloff>:/killvm.png</normaloff>:/killvm.png</iconset>
  628. </property>
  629. <property name="text">
  630. <string>Kill VM</string>
  631. </property>
  632. <property name="toolTip">
  633. <string>Kill selected VM</string>
  634. </property>
  635. </action>
  636. <action name="action_set_keyboard_layout">
  637. <property name="icon">
  638. <iconset resource="resources.qrc">
  639. <normaloff>:/kbd-layout.png</normaloff>:/kbd-layout.png</iconset>
  640. </property>
  641. <property name="text">
  642. <string>Set keyboard layout</string>
  643. </property>
  644. <property name="toolTip">
  645. <string>Set keyboard layout per VM</string>
  646. </property>
  647. </action>
  648. <action name="action_vm_type">
  649. <property name="checkable">
  650. <bool>true</bool>
  651. </property>
  652. <property name="checked">
  653. <bool>true</bool>
  654. </property>
  655. <property name="text">
  656. <string>Type</string>
  657. </property>
  658. <property name="toolTip">
  659. <string>VM Type</string>
  660. </property>
  661. </action>
  662. <action name="action_label">
  663. <property name="checkable">
  664. <bool>true</bool>
  665. </property>
  666. <property name="checked">
  667. <bool>true</bool>
  668. </property>
  669. <property name="text">
  670. <string>Label</string>
  671. </property>
  672. </action>
  673. <action name="action_name">
  674. <property name="checkable">
  675. <bool>true</bool>
  676. </property>
  677. <property name="checked">
  678. <bool>true</bool>
  679. </property>
  680. <property name="text">
  681. <string>Name</string>
  682. </property>
  683. </action>
  684. <action name="action_toolbar">
  685. <property name="checkable">
  686. <bool>true</bool>
  687. </property>
  688. <property name="checked">
  689. <bool>true</bool>
  690. </property>
  691. <property name="text">
  692. <string>Show tool bar</string>
  693. </property>
  694. </action>
  695. <action name="action_menubar">
  696. <property name="checkable">
  697. <bool>true</bool>
  698. </property>
  699. <property name="checked">
  700. <bool>true</bool>
  701. </property>
  702. <property name="text">
  703. <string>Show menu bar</string>
  704. </property>
  705. </action>
  706. <action name="action_about_qubes">
  707. <property name="icon">
  708. <iconset resource="resources.qrc">
  709. <normaloff>:/qubes.png</normaloff>:/qubes.png</iconset>
  710. </property>
  711. <property name="text">
  712. <string>Qubes OS</string>
  713. </property>
  714. </action>
  715. <action name="action_size_on_disk">
  716. <property name="checkable">
  717. <bool>true</bool>
  718. </property>
  719. <property name="checked">
  720. <bool>true</bool>
  721. </property>
  722. <property name="text">
  723. <string>Size</string>
  724. </property>
  725. <property name="toolTip">
  726. <string>Size on Disk</string>
  727. </property>
  728. </action>
  729. <action name="action_run_command_in_vm">
  730. <property name="icon">
  731. <iconset resource="resources.qrc">
  732. <normaloff>:/run-command.png</normaloff>:/run-command.png</iconset>
  733. </property>
  734. <property name="text">
  735. <string>Run command in VM</string>
  736. </property>
  737. <property name="toolTip">
  738. <string>Run command in the specified VM</string>
  739. </property>
  740. </action>
  741. </widget>
  742. <resources>
  743. <include location="resources.qrc"/>
  744. </resources>
  745. <connections/>
  746. </ui>