mainwindow.ui 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  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. </widget>
  218. </item>
  219. </layout>
  220. </widget>
  221. <widget class="QMenuBar" name="menubar">
  222. <property name="geometry">
  223. <rect>
  224. <x>0</x>
  225. <y>0</y>
  226. <width>769</width>
  227. <height>23</height>
  228. </rect>
  229. </property>
  230. <widget class="QMenu" name="menuOptions">
  231. <property name="title">
  232. <string>Options</string>
  233. </property>
  234. <addaction name="action_global_settings"/>
  235. <addaction name="action_backup"/>
  236. <addaction name="action_restore"/>
  237. </widget>
  238. <widget class="QMenu" name="menuView">
  239. <property name="title">
  240. <string>View</string>
  241. </property>
  242. <addaction name="actionState"/>
  243. <addaction name="actionTemplate"/>
  244. <addaction name="actionNetVM"/>
  245. <addaction name="actionCPU"/>
  246. <addaction name="actionCPU_Graph"/>
  247. <addaction name="actionMEM"/>
  248. <addaction name="actionMEM_Graph"/>
  249. </widget>
  250. <addaction name="menuOptions"/>
  251. <addaction name="menuView"/>
  252. </widget>
  253. <widget class="QToolBar" name="toolBar">
  254. <property name="windowTitle">
  255. <string>toolBar</string>
  256. </property>
  257. <property name="allowedAreas">
  258. <set>Qt::BottomToolBarArea|Qt::TopToolBarArea</set>
  259. </property>
  260. <property name="floatable">
  261. <bool>false</bool>
  262. </property>
  263. <attribute name="toolBarArea">
  264. <enum>TopToolBarArea</enum>
  265. </attribute>
  266. <attribute name="toolBarBreak">
  267. <bool>false</bool>
  268. </attribute>
  269. <addaction name="action_createvm"/>
  270. <addaction name="action_removevm"/>
  271. <addaction name="separator"/>
  272. <addaction name="action_resumevm"/>
  273. <addaction name="action_pausevm"/>
  274. <addaction name="action_shutdownvm"/>
  275. <addaction name="action_killvm"/>
  276. <addaction name="separator"/>
  277. <addaction name="action_settings"/>
  278. <addaction name="action_editfwrules"/>
  279. <addaction name="action_appmenus"/>
  280. <addaction name="action_updatevm"/>
  281. <addaction name="action_set_keyboard_layout"/>
  282. <addaction name="separator"/>
  283. <addaction name="action_global_settings"/>
  284. <addaction name="action_backup"/>
  285. <addaction name="action_restore"/>
  286. <addaction name="separator"/>
  287. <addaction name="action_showallvms"/>
  288. </widget>
  289. <action name="action_createvm">
  290. <property name="icon">
  291. <iconset resource="resources.qrc">
  292. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  293. </property>
  294. <property name="text">
  295. <string>Create AppVM</string>
  296. </property>
  297. <property name="toolTip">
  298. <string>Create a new AppVM</string>
  299. </property>
  300. </action>
  301. <action name="action_removevm">
  302. <property name="enabled">
  303. <bool>false</bool>
  304. </property>
  305. <property name="icon">
  306. <iconset resource="resources.qrc">
  307. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  308. </property>
  309. <property name="text">
  310. <string>Remove AppVM</string>
  311. </property>
  312. <property name="toolTip">
  313. <string>Remove an existing AppVM (must be stopped first)</string>
  314. </property>
  315. </action>
  316. <action name="action_resumevm">
  317. <property name="enabled">
  318. <bool>false</bool>
  319. </property>
  320. <property name="icon">
  321. <iconset resource="resources.qrc">
  322. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  323. </property>
  324. <property name="text">
  325. <string>Start/Resume VM</string>
  326. </property>
  327. <property name="toolTip">
  328. <string>Start/Resume selected VM</string>
  329. </property>
  330. </action>
  331. <action name="action_pausevm">
  332. <property name="enabled">
  333. <bool>false</bool>
  334. </property>
  335. <property name="icon">
  336. <iconset resource="resources.qrc">
  337. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  338. </property>
  339. <property name="text">
  340. <string>Pause VM</string>
  341. </property>
  342. <property name="toolTip">
  343. <string>Pause selected VM</string>
  344. </property>
  345. </action>
  346. <action name="action_shutdownvm">
  347. <property name="enabled">
  348. <bool>false</bool>
  349. </property>
  350. <property name="icon">
  351. <iconset resource="resources.qrc">
  352. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  353. </property>
  354. <property name="text">
  355. <string>Shutdown VM</string>
  356. </property>
  357. <property name="toolTip">
  358. <string>Shutdown selected VM</string>
  359. </property>
  360. </action>
  361. <action name="action_appmenus">
  362. <property name="enabled">
  363. <bool>false</bool>
  364. </property>
  365. <property name="icon">
  366. <iconset resource="resources.qrc">
  367. <normaloff>:/apps.png</normaloff>:/apps.png</iconset>
  368. </property>
  369. <property name="text">
  370. <string>Select VM applications</string>
  371. </property>
  372. <property name="toolTip">
  373. <string>Select applications present in menu for this VM</string>
  374. </property>
  375. </action>
  376. <action name="action_updatevm">
  377. <property name="enabled">
  378. <bool>false</bool>
  379. </property>
  380. <property name="icon">
  381. <iconset resource="resources.qrc">
  382. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  383. </property>
  384. <property name="text">
  385. <string>Update VM</string>
  386. </property>
  387. <property name="toolTip">
  388. <string>Update VM system</string>
  389. </property>
  390. </action>
  391. <action name="action_showallvms">
  392. <property name="checkable">
  393. <bool>true</bool>
  394. </property>
  395. <property name="checked">
  396. <bool>false</bool>
  397. </property>
  398. <property name="icon">
  399. <iconset resource="resources.qrc">
  400. <normaloff>:/show-all-running.png</normaloff>
  401. <selectedoff>:/showallvms.png</selectedoff>:/show-all-running.png</iconset>
  402. </property>
  403. <property name="text">
  404. <string>Show/Hide inactive VMs</string>
  405. </property>
  406. <property name="toolTip">
  407. <string>Show/Hide inactive VMs</string>
  408. </property>
  409. </action>
  410. <action name="action_editfwrules">
  411. <property name="icon">
  412. <iconset resource="resources.qrc">
  413. <normaloff>:/firewall.png</normaloff>:/firewall.png</iconset>
  414. </property>
  415. <property name="text">
  416. <string>Edit VM Firewall rules</string>
  417. </property>
  418. <property name="toolTip">
  419. <string>Edit VM Firewall rules</string>
  420. </property>
  421. </action>
  422. <action name="action_showgraphs">
  423. <property name="checkable">
  424. <bool>true</bool>
  425. </property>
  426. <property name="icon">
  427. <iconset resource="resources.qrc">
  428. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  429. </property>
  430. <property name="text">
  431. <string>Show graphs</string>
  432. </property>
  433. <property name="toolTip">
  434. <string>Show Graphs</string>
  435. </property>
  436. </action>
  437. <action name="actionOptions">
  438. <property name="text">
  439. <string>Options</string>
  440. </property>
  441. </action>
  442. <action name="actionView">
  443. <property name="text">
  444. <string>View</string>
  445. </property>
  446. </action>
  447. <action name="actionCPU">
  448. <property name="checkable">
  449. <bool>true</bool>
  450. </property>
  451. <property name="checked">
  452. <bool>true</bool>
  453. </property>
  454. <property name="text">
  455. <string>CPU</string>
  456. </property>
  457. </action>
  458. <action name="actionCPU_Graph">
  459. <property name="checkable">
  460. <bool>true</bool>
  461. </property>
  462. <property name="checked">
  463. <bool>true</bool>
  464. </property>
  465. <property name="text">
  466. <string>CPU Graph</string>
  467. </property>
  468. </action>
  469. <action name="actionMEM">
  470. <property name="checkable">
  471. <bool>true</bool>
  472. </property>
  473. <property name="checked">
  474. <bool>true</bool>
  475. </property>
  476. <property name="text">
  477. <string>MEM</string>
  478. </property>
  479. </action>
  480. <action name="actionMEM_Graph">
  481. <property name="checkable">
  482. <bool>true</bool>
  483. </property>
  484. <property name="checked">
  485. <bool>true</bool>
  486. </property>
  487. <property name="text">
  488. <string>MEM Graph</string>
  489. </property>
  490. </action>
  491. <action name="actionTemplate">
  492. <property name="checkable">
  493. <bool>true</bool>
  494. </property>
  495. <property name="checked">
  496. <bool>true</bool>
  497. </property>
  498. <property name="text">
  499. <string>Template</string>
  500. </property>
  501. </action>
  502. <action name="actionNetVM">
  503. <property name="checkable">
  504. <bool>true</bool>
  505. </property>
  506. <property name="checked">
  507. <bool>true</bool>
  508. </property>
  509. <property name="text">
  510. <string>NetVM</string>
  511. </property>
  512. </action>
  513. <action name="action_settings">
  514. <property name="icon">
  515. <iconset resource="resources.qrc">
  516. <normaloff>:/settings.png</normaloff>:/settings.png</iconset>
  517. </property>
  518. <property name="text">
  519. <string>VM settings</string>
  520. </property>
  521. <property name="toolTip">
  522. <string>VM Settings</string>
  523. </property>
  524. </action>
  525. <action name="action_restore">
  526. <property name="icon">
  527. <iconset resource="resources.qrc">
  528. <normaloff>:/restore.png</normaloff>:/restore.png</iconset>
  529. </property>
  530. <property name="text">
  531. <string>Restore VMs from backup</string>
  532. </property>
  533. </action>
  534. <action name="action_backup">
  535. <property name="icon">
  536. <iconset resource="resources.qrc">
  537. <normaloff>:/backup.png</normaloff>:/backup.png</iconset>
  538. </property>
  539. <property name="text">
  540. <string>Backup VMs</string>
  541. </property>
  542. </action>
  543. <action name="action_global_settings">
  544. <property name="icon">
  545. <iconset resource="resources.qrc">
  546. <normaloff>:/global-settings.png</normaloff>:/global-settings.png</iconset>
  547. </property>
  548. <property name="text">
  549. <string>Global settings</string>
  550. </property>
  551. </action>
  552. <action name="actionState">
  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>State</string>
  561. </property>
  562. </action>
  563. <action name="action_killvm">
  564. <property name="icon">
  565. <iconset resource="resources.qrc">
  566. <normaloff>:/killvm.png</normaloff>:/killvm.png</iconset>
  567. </property>
  568. <property name="text">
  569. <string>Kill VM</string>
  570. </property>
  571. <property name="toolTip">
  572. <string>Kill selected VM</string>
  573. </property>
  574. </action>
  575. <action name="action_set_keyboard_layout">
  576. <property name="icon">
  577. <iconset resource="resources.qrc">
  578. <normaloff>:/kbd-layout.png</normaloff>:/kbd-layout.png</iconset>
  579. </property>
  580. <property name="text">
  581. <string>Set keyboard layout</string>
  582. </property>
  583. <property name="toolTip">
  584. <string>Set keyboard layout per VM</string>
  585. </property>
  586. </action>
  587. </widget>
  588. <resources>
  589. <include location="resources.qrc"/>
  590. </resources>
  591. <connections/>
  592. </ui>