mainwindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  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>Name</string>
  157. </property>
  158. <property name="toolTip">
  159. <string>VM name</string>
  160. </property>
  161. </column>
  162. <column>
  163. <property name="text">
  164. <string>State</string>
  165. </property>
  166. <property name="toolTip">
  167. <string>Update info</string>
  168. </property>
  169. </column>
  170. <column>
  171. <property name="text">
  172. <string>Template</string>
  173. </property>
  174. <property name="toolTip">
  175. <string>VM's template</string>
  176. </property>
  177. </column>
  178. <column>
  179. <property name="text">
  180. <string>NetVM</string>
  181. </property>
  182. <property name="toolTip">
  183. <string>VM's netVM</string>
  184. </property>
  185. </column>
  186. <column>
  187. <property name="text">
  188. <string>CPU</string>
  189. </property>
  190. </column>
  191. <column>
  192. <property name="text">
  193. <string>CPU Graph</string>
  194. </property>
  195. <property name="toolTip">
  196. <string>CPU usage graph</string>
  197. </property>
  198. </column>
  199. <column>
  200. <property name="text">
  201. <string>MEM</string>
  202. </property>
  203. </column>
  204. <column>
  205. <property name="text">
  206. <string>MEM Graph</string>
  207. </property>
  208. <property name="toolTip">
  209. <string>Memory usage graph</string>
  210. </property>
  211. </column>
  212. </widget>
  213. </item>
  214. </layout>
  215. </widget>
  216. <widget class="QMenuBar" name="menubar">
  217. <property name="geometry">
  218. <rect>
  219. <x>0</x>
  220. <y>0</y>
  221. <width>769</width>
  222. <height>23</height>
  223. </rect>
  224. </property>
  225. <widget class="QMenu" name="menuOptions">
  226. <property name="title">
  227. <string>Options</string>
  228. </property>
  229. <addaction name="action_global_settings"/>
  230. <addaction name="action_backup"/>
  231. <addaction name="action_restore"/>
  232. </widget>
  233. <widget class="QMenu" name="menuView">
  234. <property name="title">
  235. <string>View</string>
  236. </property>
  237. <addaction name="actionState"/>
  238. <addaction name="actionTemplate"/>
  239. <addaction name="actionNetVM"/>
  240. <addaction name="actionCPU"/>
  241. <addaction name="actionCPU_Graph"/>
  242. <addaction name="actionMEM"/>
  243. <addaction name="actionMEM_Graph"/>
  244. </widget>
  245. <addaction name="menuOptions"/>
  246. <addaction name="menuView"/>
  247. </widget>
  248. <widget class="QToolBar" name="toolBar">
  249. <property name="windowTitle">
  250. <string>toolBar</string>
  251. </property>
  252. <property name="allowedAreas">
  253. <set>Qt::BottomToolBarArea|Qt::TopToolBarArea</set>
  254. </property>
  255. <property name="floatable">
  256. <bool>false</bool>
  257. </property>
  258. <attribute name="toolBarArea">
  259. <enum>TopToolBarArea</enum>
  260. </attribute>
  261. <attribute name="toolBarBreak">
  262. <bool>false</bool>
  263. </attribute>
  264. <addaction name="action_createvm"/>
  265. <addaction name="action_removevm"/>
  266. <addaction name="separator"/>
  267. <addaction name="action_resumevm"/>
  268. <addaction name="action_pausevm"/>
  269. <addaction name="action_shutdownvm"/>
  270. <addaction name="separator"/>
  271. <addaction name="action_settings"/>
  272. <addaction name="action_editfwrules"/>
  273. <addaction name="action_appmenus"/>
  274. <addaction name="action_updatevm"/>
  275. <addaction name="separator"/>
  276. <addaction name="action_showallvms"/>
  277. <addaction name="separator"/>
  278. <addaction name="action_global_settings"/>
  279. <addaction name="action_backup"/>
  280. <addaction name="action_restore"/>
  281. </widget>
  282. <action name="action_createvm">
  283. <property name="icon">
  284. <iconset resource="resources.qrc">
  285. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  286. </property>
  287. <property name="text">
  288. <string>Create AppVM</string>
  289. </property>
  290. <property name="toolTip">
  291. <string>Create a new AppVM</string>
  292. </property>
  293. </action>
  294. <action name="action_removevm">
  295. <property name="enabled">
  296. <bool>false</bool>
  297. </property>
  298. <property name="icon">
  299. <iconset resource="resources.qrc">
  300. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  301. </property>
  302. <property name="text">
  303. <string>remove AppVM</string>
  304. </property>
  305. <property name="toolTip">
  306. <string>Remove an existing AppVM (must be stopped first)</string>
  307. </property>
  308. </action>
  309. <action name="action_resumevm">
  310. <property name="enabled">
  311. <bool>false</bool>
  312. </property>
  313. <property name="icon">
  314. <iconset resource="resources.qrc">
  315. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  316. </property>
  317. <property name="text">
  318. <string>Start/Resume VM</string>
  319. </property>
  320. <property name="toolTip">
  321. <string>Start/Resume a VM</string>
  322. </property>
  323. </action>
  324. <action name="action_pausevm">
  325. <property name="enabled">
  326. <bool>false</bool>
  327. </property>
  328. <property name="icon">
  329. <iconset resource="resources.qrc">
  330. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  331. </property>
  332. <property name="text">
  333. <string>Pause VM</string>
  334. </property>
  335. <property name="toolTip">
  336. <string>Pause a running VM</string>
  337. </property>
  338. </action>
  339. <action name="action_shutdownvm">
  340. <property name="enabled">
  341. <bool>false</bool>
  342. </property>
  343. <property name="icon">
  344. <iconset resource="resources.qrc">
  345. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  346. </property>
  347. <property name="text">
  348. <string>Shutdown VM</string>
  349. </property>
  350. <property name="toolTip">
  351. <string>Shutdown a running VM</string>
  352. </property>
  353. </action>
  354. <action name="action_appmenus">
  355. <property name="enabled">
  356. <bool>false</bool>
  357. </property>
  358. <property name="icon">
  359. <iconset resource="resources.qrc">
  360. <normaloff>:/appsprefs.png</normaloff>:/appsprefs.png</iconset>
  361. </property>
  362. <property name="text">
  363. <string>Select VM applications</string>
  364. </property>
  365. <property name="toolTip">
  366. <string>Select applications present in menu for this VM</string>
  367. </property>
  368. </action>
  369. <action name="action_updatevm">
  370. <property name="enabled">
  371. <bool>false</bool>
  372. </property>
  373. <property name="icon">
  374. <iconset resource="resources.qrc">
  375. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  376. </property>
  377. <property name="text">
  378. <string>Update VM</string>
  379. </property>
  380. <property name="toolTip">
  381. <string>Update VM system</string>
  382. </property>
  383. </action>
  384. <action name="action_showallvms">
  385. <property name="checkable">
  386. <bool>true</bool>
  387. </property>
  388. <property name="checked">
  389. <bool>true</bool>
  390. </property>
  391. <property name="icon">
  392. <iconset resource="resources.qrc">
  393. <normaloff>:/showallvms.png</normaloff>
  394. <selectedoff>:/showallvms.png</selectedoff>:/showallvms.png</iconset>
  395. </property>
  396. <property name="text">
  397. <string>Show/Hide inactive VMs</string>
  398. </property>
  399. <property name="toolTip">
  400. <string>Show/Hide inactive VMs</string>
  401. </property>
  402. </action>
  403. <action name="action_editfwrules">
  404. <property name="icon">
  405. <iconset resource="resources.qrc">
  406. <normaloff>:/redfirewall.png</normaloff>:/redfirewall.png</iconset>
  407. </property>
  408. <property name="text">
  409. <string>Edit VM Firewall rules</string>
  410. </property>
  411. <property name="toolTip">
  412. <string>Edit VM Firewall rules</string>
  413. </property>
  414. </action>
  415. <action name="action_showgraphs">
  416. <property name="checkable">
  417. <bool>true</bool>
  418. </property>
  419. <property name="icon">
  420. <iconset resource="resources.qrc">
  421. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  422. </property>
  423. <property name="text">
  424. <string>Show graphs</string>
  425. </property>
  426. <property name="toolTip">
  427. <string>Show Graphs</string>
  428. </property>
  429. </action>
  430. <action name="actionOptions">
  431. <property name="text">
  432. <string>Options</string>
  433. </property>
  434. </action>
  435. <action name="actionView">
  436. <property name="text">
  437. <string>View</string>
  438. </property>
  439. </action>
  440. <action name="actionCPU">
  441. <property name="checkable">
  442. <bool>true</bool>
  443. </property>
  444. <property name="checked">
  445. <bool>true</bool>
  446. </property>
  447. <property name="text">
  448. <string>CPU</string>
  449. </property>
  450. </action>
  451. <action name="actionCPU_Graph">
  452. <property name="checkable">
  453. <bool>true</bool>
  454. </property>
  455. <property name="checked">
  456. <bool>true</bool>
  457. </property>
  458. <property name="text">
  459. <string>CPU Graph</string>
  460. </property>
  461. </action>
  462. <action name="actionMEM">
  463. <property name="checkable">
  464. <bool>true</bool>
  465. </property>
  466. <property name="checked">
  467. <bool>true</bool>
  468. </property>
  469. <property name="text">
  470. <string>MEM</string>
  471. </property>
  472. </action>
  473. <action name="actionMEM_Graph">
  474. <property name="checkable">
  475. <bool>true</bool>
  476. </property>
  477. <property name="checked">
  478. <bool>true</bool>
  479. </property>
  480. <property name="text">
  481. <string>MEM Graph</string>
  482. </property>
  483. </action>
  484. <action name="actionTemplate">
  485. <property name="checkable">
  486. <bool>true</bool>
  487. </property>
  488. <property name="checked">
  489. <bool>true</bool>
  490. </property>
  491. <property name="text">
  492. <string>Template</string>
  493. </property>
  494. </action>
  495. <action name="actionNetVM">
  496. <property name="checkable">
  497. <bool>true</bool>
  498. </property>
  499. <property name="checked">
  500. <bool>true</bool>
  501. </property>
  502. <property name="text">
  503. <string>NetVM</string>
  504. </property>
  505. </action>
  506. <action name="action_settings">
  507. <property name="icon">
  508. <iconset resource="resources.qrc">
  509. <normaloff>:/root.png</normaloff>:/root.png</iconset>
  510. </property>
  511. <property name="text">
  512. <string>Settings</string>
  513. </property>
  514. <property name="toolTip">
  515. <string>VM Settings</string>
  516. </property>
  517. </action>
  518. <action name="action_restore">
  519. <property name="icon">
  520. <iconset resource="resources.qrc">
  521. <normaloff>:/restore.png</normaloff>:/restore.png</iconset>
  522. </property>
  523. <property name="text">
  524. <string>Restore VMs from backup</string>
  525. </property>
  526. </action>
  527. <action name="action_backup">
  528. <property name="icon">
  529. <iconset resource="resources.qrc">
  530. <normaloff>:/backup.png</normaloff>:/backup.png</iconset>
  531. </property>
  532. <property name="text">
  533. <string>Backup VMs</string>
  534. </property>
  535. </action>
  536. <action name="action_global_settings">
  537. <property name="icon">
  538. <iconset resource="resources.qrc">
  539. <normaloff>:/global-settings.png</normaloff>:/global-settings.png</iconset>
  540. </property>
  541. <property name="text">
  542. <string>Global settings</string>
  543. </property>
  544. </action>
  545. <action name="actionState">
  546. <property name="checkable">
  547. <bool>true</bool>
  548. </property>
  549. <property name="checked">
  550. <bool>true</bool>
  551. </property>
  552. <property name="text">
  553. <string>State</string>
  554. </property>
  555. </action>
  556. </widget>
  557. <resources>
  558. <include location="resources.qrc"/>
  559. </resources>
  560. <connections/>
  561. </ui>