mainwindow.ui 14 KB

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