mainwindow.ui 16 KB

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