mainwindow.ui 15 KB

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