mainwindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  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>821</width>
  10. <height>600</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  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="Maximum" vsizetype="Maximum">
  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="margin">
  53. <number>0</number>
  54. </property>
  55. <property name="spacing">
  56. <number>0</number>
  57. </property>
  58. <item row="0" column="0">
  59. <widget class="QTableWidget" name="table">
  60. <property name="sizePolicy">
  61. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  62. <horstretch>0</horstretch>
  63. <verstretch>0</verstretch>
  64. </sizepolicy>
  65. </property>
  66. <property name="minimumSize">
  67. <size>
  68. <width>0</width>
  69. <height>0</height>
  70. </size>
  71. </property>
  72. <property name="maximumSize">
  73. <size>
  74. <width>16777215</width>
  75. <height>16777215</height>
  76. </size>
  77. </property>
  78. <property name="sizeIncrement">
  79. <size>
  80. <width>200</width>
  81. <height>30</height>
  82. </size>
  83. </property>
  84. <property name="contextMenuPolicy">
  85. <enum>Qt::ActionsContextMenu</enum>
  86. </property>
  87. <property name="acceptDrops">
  88. <bool>false</bool>
  89. </property>
  90. <property name="lineWidth">
  91. <number>0</number>
  92. </property>
  93. <property name="alternatingRowColors">
  94. <bool>true</bool>
  95. </property>
  96. <property name="selectionMode">
  97. <enum>QAbstractItemView::SingleSelection</enum>
  98. </property>
  99. <property name="selectionBehavior">
  100. <enum>QAbstractItemView::SelectRows</enum>
  101. </property>
  102. <property name="showGrid">
  103. <bool>false</bool>
  104. </property>
  105. <property name="gridStyle">
  106. <enum>Qt::NoPen</enum>
  107. </property>
  108. <property name="sortingEnabled">
  109. <bool>true</bool>
  110. </property>
  111. <property name="cornerButtonEnabled">
  112. <bool>false</bool>
  113. </property>
  114. <property name="rowCount">
  115. <number>4</number>
  116. </property>
  117. <attribute name="horizontalHeaderCascadingSectionResizes">
  118. <bool>false</bool>
  119. </attribute>
  120. <attribute name="horizontalHeaderDefaultSectionSize">
  121. <number>150</number>
  122. </attribute>
  123. <attribute name="horizontalHeaderMinimumSectionSize">
  124. <number>150</number>
  125. </attribute>
  126. <attribute name="verticalHeaderVisible">
  127. <bool>false</bool>
  128. </attribute>
  129. <attribute name="verticalHeaderCascadingSectionResizes">
  130. <bool>false</bool>
  131. </attribute>
  132. <row>
  133. <property name="text">
  134. <string>Nowy wiersz</string>
  135. </property>
  136. </row>
  137. <row/>
  138. <row/>
  139. <row/>
  140. <column>
  141. <property name="text">
  142. <string>Name</string>
  143. </property>
  144. <property name="toolTip">
  145. <string>VM name</string>
  146. </property>
  147. </column>
  148. <column>
  149. <property name="text">
  150. <string>Upd</string>
  151. </property>
  152. <property name="toolTip">
  153. <string>Update info</string>
  154. </property>
  155. </column>
  156. <column>
  157. <property name="text">
  158. <string>Template</string>
  159. </property>
  160. <property name="toolTip">
  161. <string>VM's template</string>
  162. </property>
  163. </column>
  164. <column>
  165. <property name="text">
  166. <string>NetVM</string>
  167. </property>
  168. <property name="toolTip">
  169. <string>VM's netVM</string>
  170. </property>
  171. </column>
  172. <column>
  173. <property name="text">
  174. <string>CPU</string>
  175. </property>
  176. </column>
  177. <column>
  178. <property name="text">
  179. <string>CPU Graph</string>
  180. </property>
  181. <property name="toolTip">
  182. <string>CPU usage graph</string>
  183. </property>
  184. </column>
  185. <column>
  186. <property name="text">
  187. <string>MEM</string>
  188. </property>
  189. </column>
  190. <column>
  191. <property name="text">
  192. <string>MEM Graph</string>
  193. </property>
  194. <property name="toolTip">
  195. <string>Memory usage graph</string>
  196. </property>
  197. </column>
  198. <column>
  199. <property name="text">
  200. <string>Update Info</string>
  201. </property>
  202. </column>
  203. <column>
  204. <property name="text">
  205. <string>Block Devices</string>
  206. </property>
  207. </column>
  208. </widget>
  209. </item>
  210. </layout>
  211. </widget>
  212. <widget class="QMenuBar" name="menubar">
  213. <property name="geometry">
  214. <rect>
  215. <x>0</x>
  216. <y>0</y>
  217. <width>821</width>
  218. <height>23</height>
  219. </rect>
  220. </property>
  221. <widget class="QMenu" name="menuOptions">
  222. <property name="title">
  223. <string>Options</string>
  224. </property>
  225. <addaction name="action_global_settings"/>
  226. <addaction name="action_backup"/>
  227. <addaction name="action_restore"/>
  228. </widget>
  229. <widget class="QMenu" name="menuView">
  230. <property name="title">
  231. <string>View</string>
  232. </property>
  233. <widget class="QMenu" name="menuColumns_visibility">
  234. <property name="title">
  235. <string>Columns visibility</string>
  236. </property>
  237. <addaction name="actionUpd"/>
  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. <addaction name="actionUpdate_Info"/>
  245. <addaction name="actionBlock_Devices"/>
  246. </widget>
  247. <addaction name="menuColumns_visibility"/>
  248. </widget>
  249. <addaction name="menuOptions"/>
  250. <addaction name="menuView"/>
  251. </widget>
  252. <widget class="QToolBar" name="toolBar">
  253. <property name="windowTitle">
  254. <string>toolBar</string>
  255. </property>
  256. <property name="floatable">
  257. <bool>false</bool>
  258. </property>
  259. <attribute name="toolBarArea">
  260. <enum>TopToolBarArea</enum>
  261. </attribute>
  262. <attribute name="toolBarBreak">
  263. <bool>false</bool>
  264. </attribute>
  265. <addaction name="action_createvm"/>
  266. <addaction name="separator"/>
  267. <addaction name="action_removevm"/>
  268. <addaction name="action_resumevm"/>
  269. <addaction name="action_pausevm"/>
  270. <addaction name="action_shutdownvm"/>
  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. </widget>
  278. <action name="action_createvm">
  279. <property name="icon">
  280. <iconset resource="resources.qrc">
  281. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  282. </property>
  283. <property name="text">
  284. <string>Create AppVM</string>
  285. </property>
  286. <property name="toolTip">
  287. <string>Create a new AppVM</string>
  288. </property>
  289. </action>
  290. <action name="action_removevm">
  291. <property name="enabled">
  292. <bool>false</bool>
  293. </property>
  294. <property name="icon">
  295. <iconset resource="resources.qrc">
  296. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  297. </property>
  298. <property name="text">
  299. <string>remove AppVM</string>
  300. </property>
  301. <property name="toolTip">
  302. <string>Remove an existing AppVM (must be stopped first)</string>
  303. </property>
  304. </action>
  305. <action name="action_resumevm">
  306. <property name="enabled">
  307. <bool>false</bool>
  308. </property>
  309. <property name="icon">
  310. <iconset resource="resources.qrc">
  311. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  312. </property>
  313. <property name="text">
  314. <string>Start/Resume VM</string>
  315. </property>
  316. <property name="toolTip">
  317. <string>Start/Resume a VM</string>
  318. </property>
  319. </action>
  320. <action name="action_pausevm">
  321. <property name="enabled">
  322. <bool>false</bool>
  323. </property>
  324. <property name="icon">
  325. <iconset resource="resources.qrc">
  326. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  327. </property>
  328. <property name="text">
  329. <string>Pause VM</string>
  330. </property>
  331. <property name="toolTip">
  332. <string>Pause a running VM</string>
  333. </property>
  334. </action>
  335. <action name="action_shutdownvm">
  336. <property name="enabled">
  337. <bool>false</bool>
  338. </property>
  339. <property name="icon">
  340. <iconset resource="resources.qrc">
  341. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  342. </property>
  343. <property name="text">
  344. <string>Shutdown VM</string>
  345. </property>
  346. <property name="toolTip">
  347. <string>Shutdown a running VM</string>
  348. </property>
  349. </action>
  350. <action name="action_appmenus">
  351. <property name="enabled">
  352. <bool>false</bool>
  353. </property>
  354. <property name="icon">
  355. <iconset resource="resources.qrc">
  356. <normaloff>:/appsprefs.png</normaloff>:/appsprefs.png</iconset>
  357. </property>
  358. <property name="text">
  359. <string>Select VM applications</string>
  360. </property>
  361. <property name="toolTip">
  362. <string>Select applications present in menu for this VM</string>
  363. </property>
  364. </action>
  365. <action name="action_updatevm">
  366. <property name="enabled">
  367. <bool>false</bool>
  368. </property>
  369. <property name="icon">
  370. <iconset resource="resources.qrc">
  371. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  372. </property>
  373. <property name="text">
  374. <string>Update VM</string>
  375. </property>
  376. <property name="toolTip">
  377. <string>Update VM system</string>
  378. </property>
  379. </action>
  380. <action name="action_showallvms">
  381. <property name="checkable">
  382. <bool>true</bool>
  383. </property>
  384. <property name="checked">
  385. <bool>true</bool>
  386. </property>
  387. <property name="icon">
  388. <iconset resource="resources.qrc">
  389. <normaloff>:/showallvms.png</normaloff>
  390. <selectedoff>:/showallvms.png</selectedoff>:/showallvms.png</iconset>
  391. </property>
  392. <property name="text">
  393. <string>Show/Hide inactive VMs</string>
  394. </property>
  395. <property name="toolTip">
  396. <string>Show/Hide inactive VMs</string>
  397. </property>
  398. </action>
  399. <action name="action_editfwrules">
  400. <property name="icon">
  401. <iconset resource="resources.qrc">
  402. <normaloff>:/newfirewall.png</normaloff>:/newfirewall.png</iconset>
  403. </property>
  404. <property name="text">
  405. <string>Edit VM Firewall rules</string>
  406. </property>
  407. <property name="toolTip">
  408. <string>Edit VM Firewall rules</string>
  409. </property>
  410. </action>
  411. <action name="action_showgraphs">
  412. <property name="checkable">
  413. <bool>true</bool>
  414. </property>
  415. <property name="icon">
  416. <iconset resource="resources.qrc">
  417. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  418. </property>
  419. <property name="text">
  420. <string>Show graphs</string>
  421. </property>
  422. <property name="toolTip">
  423. <string>Show Graphs</string>
  424. </property>
  425. </action>
  426. <action name="actionOptions">
  427. <property name="text">
  428. <string>Options</string>
  429. </property>
  430. </action>
  431. <action name="actionView">
  432. <property name="text">
  433. <string>View</string>
  434. </property>
  435. </action>
  436. <action name="actionCPU">
  437. <property name="checkable">
  438. <bool>true</bool>
  439. </property>
  440. <property name="checked">
  441. <bool>true</bool>
  442. </property>
  443. <property name="text">
  444. <string>CPU</string>
  445. </property>
  446. </action>
  447. <action name="actionCPU_Graph">
  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 Graph</string>
  456. </property>
  457. </action>
  458. <action name="actionMEM">
  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>MEM</string>
  467. </property>
  468. </action>
  469. <action name="actionMEM_Graph">
  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 Graph</string>
  478. </property>
  479. </action>
  480. <action name="actionTemplate">
  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>Template</string>
  489. </property>
  490. </action>
  491. <action name="actionNetVM">
  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>NetVM</string>
  500. </property>
  501. </action>
  502. <action name="actionBlock_Devices">
  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>Block Devices</string>
  511. </property>
  512. </action>
  513. <action name="actionUpdate_Info">
  514. <property name="checkable">
  515. <bool>true</bool>
  516. </property>
  517. <property name="checked">
  518. <bool>true</bool>
  519. </property>
  520. <property name="text">
  521. <string>Update Info</string>
  522. </property>
  523. </action>
  524. <action name="action_settings">
  525. <property name="icon">
  526. <iconset resource="resources.qrc">
  527. <normaloff>:/root.png</normaloff>:/root.png</iconset>
  528. </property>
  529. <property name="text">
  530. <string>Settings</string>
  531. </property>
  532. <property name="toolTip">
  533. <string>VM Settings</string>
  534. </property>
  535. </action>
  536. <action name="action_restore">
  537. <property name="text">
  538. <string>Restore VMs from backup</string>
  539. </property>
  540. </action>
  541. <action name="action_backup">
  542. <property name="text">
  543. <string>Backup VMs</string>
  544. </property>
  545. </action>
  546. <action name="action_global_settings">
  547. <property name="text">
  548. <string>Global settings</string>
  549. </property>
  550. </action>
  551. <action name="actionUpd">
  552. <property name="checkable">
  553. <bool>true</bool>
  554. </property>
  555. <property name="text">
  556. <string>Upd</string>
  557. </property>
  558. </action>
  559. </widget>
  560. <resources>
  561. <include location="resources.qrc"/>
  562. </resources>
  563. <connections/>
  564. </ui>