mainwindow.ui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. <widget class="QWidget" name="centralwidget">
  26. <property name="enabled">
  27. <bool>true</bool>
  28. </property>
  29. <property name="sizePolicy">
  30. <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
  31. <horstretch>0</horstretch>
  32. <verstretch>0</verstretch>
  33. </sizepolicy>
  34. </property>
  35. <property name="acceptDrops">
  36. <bool>false</bool>
  37. </property>
  38. <property name="autoFillBackground">
  39. <bool>true</bool>
  40. </property>
  41. <property name="locale">
  42. <locale language="English" country="UnitedStates"/>
  43. </property>
  44. <layout class="QGridLayout" name="gridLayout">
  45. <item row="0" column="0">
  46. <widget class="QTableWidget" name="table">
  47. <property name="sizePolicy">
  48. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  49. <horstretch>0</horstretch>
  50. <verstretch>0</verstretch>
  51. </sizepolicy>
  52. </property>
  53. <property name="minimumSize">
  54. <size>
  55. <width>0</width>
  56. <height>0</height>
  57. </size>
  58. </property>
  59. <property name="maximumSize">
  60. <size>
  61. <width>16777215</width>
  62. <height>16777215</height>
  63. </size>
  64. </property>
  65. <property name="sizeIncrement">
  66. <size>
  67. <width>200</width>
  68. <height>30</height>
  69. </size>
  70. </property>
  71. <property name="contextMenuPolicy">
  72. <enum>Qt::ActionsContextMenu</enum>
  73. </property>
  74. <property name="acceptDrops">
  75. <bool>false</bool>
  76. </property>
  77. <property name="lineWidth">
  78. <number>0</number>
  79. </property>
  80. <property name="alternatingRowColors">
  81. <bool>true</bool>
  82. </property>
  83. <property name="selectionMode">
  84. <enum>QAbstractItemView::SingleSelection</enum>
  85. </property>
  86. <property name="selectionBehavior">
  87. <enum>QAbstractItemView::SelectRows</enum>
  88. </property>
  89. <property name="showGrid">
  90. <bool>true</bool>
  91. </property>
  92. <property name="gridStyle">
  93. <enum>Qt::DashLine</enum>
  94. </property>
  95. <property name="sortingEnabled">
  96. <bool>true</bool>
  97. </property>
  98. <property name="cornerButtonEnabled">
  99. <bool>false</bool>
  100. </property>
  101. <property name="rowCount">
  102. <number>4</number>
  103. </property>
  104. <attribute name="horizontalHeaderCascadingSectionResizes">
  105. <bool>false</bool>
  106. </attribute>
  107. <attribute name="horizontalHeaderDefaultSectionSize">
  108. <number>150</number>
  109. </attribute>
  110. <attribute name="horizontalHeaderMinimumSectionSize">
  111. <number>150</number>
  112. </attribute>
  113. <attribute name="verticalHeaderVisible">
  114. <bool>false</bool>
  115. </attribute>
  116. <attribute name="verticalHeaderCascadingSectionResizes">
  117. <bool>false</bool>
  118. </attribute>
  119. <row>
  120. <property name="text">
  121. <string>Nowy wiersz</string>
  122. </property>
  123. </row>
  124. <row/>
  125. <row/>
  126. <row/>
  127. <column>
  128. <property name="text">
  129. <string>Name</string>
  130. </property>
  131. </column>
  132. <column>
  133. <property name="text">
  134. <string>Template</string>
  135. </property>
  136. </column>
  137. <column>
  138. <property name="text">
  139. <string>NetVM</string>
  140. </property>
  141. </column>
  142. <column>
  143. <property name="text">
  144. <string>CPU</string>
  145. </property>
  146. </column>
  147. <column>
  148. <property name="text">
  149. <string>CPU Graph</string>
  150. </property>
  151. </column>
  152. <column>
  153. <property name="text">
  154. <string>MEM</string>
  155. </property>
  156. </column>
  157. <column>
  158. <property name="text">
  159. <string>MEM Graph</string>
  160. </property>
  161. </column>
  162. <column>
  163. <property name="text">
  164. <string>Update Info</string>
  165. </property>
  166. </column>
  167. <column>
  168. <property name="text">
  169. <string>Block Devices</string>
  170. </property>
  171. </column>
  172. </widget>
  173. </item>
  174. </layout>
  175. </widget>
  176. <widget class="QMenuBar" name="menubar">
  177. <property name="geometry">
  178. <rect>
  179. <x>0</x>
  180. <y>0</y>
  181. <width>821</width>
  182. <height>23</height>
  183. </rect>
  184. </property>
  185. <widget class="QMenu" name="menuOptions">
  186. <property name="title">
  187. <string>Options</string>
  188. </property>
  189. <addaction name="action_global_settings"/>
  190. <addaction name="action_backup"/>
  191. <addaction name="action_restore"/>
  192. </widget>
  193. <widget class="QMenu" name="menuView">
  194. <property name="title">
  195. <string>View</string>
  196. </property>
  197. <widget class="QMenu" name="menuColumns_visibility">
  198. <property name="title">
  199. <string>Columns visibility</string>
  200. </property>
  201. <addaction name="actionTemplate"/>
  202. <addaction name="actionNetVM"/>
  203. <addaction name="actionCPU"/>
  204. <addaction name="actionCPU_Graph"/>
  205. <addaction name="actionMEM"/>
  206. <addaction name="actionMEM_Graph"/>
  207. <addaction name="actionUpdate_Info"/>
  208. <addaction name="actionBlock_Devices"/>
  209. </widget>
  210. <addaction name="menuColumns_visibility"/>
  211. </widget>
  212. <addaction name="menuOptions"/>
  213. <addaction name="menuView"/>
  214. </widget>
  215. <widget class="QStatusBar" name="statusbar">
  216. <property name="sizePolicy">
  217. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  218. <horstretch>0</horstretch>
  219. <verstretch>0</verstretch>
  220. </sizepolicy>
  221. </property>
  222. <property name="sizeGripEnabled">
  223. <bool>false</bool>
  224. </property>
  225. </widget>
  226. <widget class="QToolBar" name="toolBar">
  227. <property name="windowTitle">
  228. <string>toolBar</string>
  229. </property>
  230. <property name="floatable">
  231. <bool>false</bool>
  232. </property>
  233. <attribute name="toolBarArea">
  234. <enum>TopToolBarArea</enum>
  235. </attribute>
  236. <attribute name="toolBarBreak">
  237. <bool>false</bool>
  238. </attribute>
  239. <addaction name="action_createvm"/>
  240. <addaction name="separator"/>
  241. <addaction name="action_removevm"/>
  242. <addaction name="action_resumevm"/>
  243. <addaction name="action_pausevm"/>
  244. <addaction name="action_shutdownvm"/>
  245. <addaction name="action_settings"/>
  246. <addaction name="action_editfwrules"/>
  247. <addaction name="action_appmenus"/>
  248. <addaction name="action_updatevm"/>
  249. <addaction name="separator"/>
  250. <addaction name="action_showallvms"/>
  251. </widget>
  252. <action name="action_createvm">
  253. <property name="icon">
  254. <iconset resource="resources.qrc">
  255. <normaloff>:/createvm.png</normaloff>:/createvm.png</iconset>
  256. </property>
  257. <property name="text">
  258. <string>Create AppVM</string>
  259. </property>
  260. <property name="toolTip">
  261. <string>Create a new AppVM</string>
  262. </property>
  263. </action>
  264. <action name="action_removevm">
  265. <property name="enabled">
  266. <bool>false</bool>
  267. </property>
  268. <property name="icon">
  269. <iconset resource="resources.qrc">
  270. <normaloff>:/removevm.png</normaloff>:/removevm.png</iconset>
  271. </property>
  272. <property name="text">
  273. <string>remove AppVM</string>
  274. </property>
  275. <property name="toolTip">
  276. <string>Remove an existing AppVM (must be stopped first)</string>
  277. </property>
  278. </action>
  279. <action name="action_resumevm">
  280. <property name="enabled">
  281. <bool>false</bool>
  282. </property>
  283. <property name="icon">
  284. <iconset resource="resources.qrc">
  285. <normaloff>:/resumevm.png</normaloff>:/resumevm.png</iconset>
  286. </property>
  287. <property name="text">
  288. <string>Start/Resume VM</string>
  289. </property>
  290. <property name="toolTip">
  291. <string>Start/Resume a VM</string>
  292. </property>
  293. </action>
  294. <action name="action_pausevm">
  295. <property name="enabled">
  296. <bool>false</bool>
  297. </property>
  298. <property name="icon">
  299. <iconset resource="resources.qrc">
  300. <normaloff>:/pausevm.png</normaloff>:/pausevm.png</iconset>
  301. </property>
  302. <property name="text">
  303. <string>Pause VM</string>
  304. </property>
  305. <property name="toolTip">
  306. <string>Pause a running VM</string>
  307. </property>
  308. </action>
  309. <action name="action_shutdownvm">
  310. <property name="enabled">
  311. <bool>false</bool>
  312. </property>
  313. <property name="icon">
  314. <iconset resource="resources.qrc">
  315. <normaloff>:/shutdownvm.png</normaloff>:/shutdownvm.png</iconset>
  316. </property>
  317. <property name="text">
  318. <string>Shutdown VM</string>
  319. </property>
  320. <property name="toolTip">
  321. <string>Shutdown a running VM</string>
  322. </property>
  323. </action>
  324. <action name="action_appmenus">
  325. <property name="enabled">
  326. <bool>false</bool>
  327. </property>
  328. <property name="icon">
  329. <iconset resource="resources.qrc">
  330. <normaloff>:/appsprefs.png</normaloff>:/appsprefs.png</iconset>
  331. </property>
  332. <property name="text">
  333. <string>Select VM applications</string>
  334. </property>
  335. <property name="toolTip">
  336. <string>Select applications present in menu for this VM</string>
  337. </property>
  338. </action>
  339. <action name="action_updatevm">
  340. <property name="enabled">
  341. <bool>false</bool>
  342. </property>
  343. <property name="icon">
  344. <iconset resource="resources.qrc">
  345. <normaloff>:/updateable.png</normaloff>:/updateable.png</iconset>
  346. </property>
  347. <property name="text">
  348. <string>Update VM</string>
  349. </property>
  350. <property name="toolTip">
  351. <string>Update VM system</string>
  352. </property>
  353. </action>
  354. <action name="action_showallvms">
  355. <property name="checkable">
  356. <bool>true</bool>
  357. </property>
  358. <property name="checked">
  359. <bool>true</bool>
  360. </property>
  361. <property name="icon">
  362. <iconset resource="resources.qrc">
  363. <normaloff>:/showallvms.png</normaloff>
  364. <selectedoff>:/showallvms.png</selectedoff>:/showallvms.png</iconset>
  365. </property>
  366. <property name="text">
  367. <string>Show/Hide inactive VMs</string>
  368. </property>
  369. <property name="toolTip">
  370. <string>Show/Hide inactive VMs</string>
  371. </property>
  372. </action>
  373. <action name="action_editfwrules">
  374. <property name="icon">
  375. <iconset resource="resources.qrc">
  376. <normaloff>:/newfirewall.png</normaloff>:/newfirewall.png</iconset>
  377. </property>
  378. <property name="text">
  379. <string>Edit VM Firewall rules</string>
  380. </property>
  381. <property name="toolTip">
  382. <string>Edit VM Firewall rules</string>
  383. </property>
  384. </action>
  385. <action name="action_showgraphs">
  386. <property name="checkable">
  387. <bool>true</bool>
  388. </property>
  389. <property name="icon">
  390. <iconset resource="resources.qrc">
  391. <normaloff>:/showcpuload.png</normaloff>:/showcpuload.png</iconset>
  392. </property>
  393. <property name="text">
  394. <string>Show graphs</string>
  395. </property>
  396. <property name="toolTip">
  397. <string>Show Graphs</string>
  398. </property>
  399. </action>
  400. <action name="actionOptions">
  401. <property name="text">
  402. <string>Options</string>
  403. </property>
  404. </action>
  405. <action name="actionView">
  406. <property name="text">
  407. <string>View</string>
  408. </property>
  409. </action>
  410. <action name="actionCPU">
  411. <property name="checkable">
  412. <bool>true</bool>
  413. </property>
  414. <property name="checked">
  415. <bool>true</bool>
  416. </property>
  417. <property name="text">
  418. <string>CPU</string>
  419. </property>
  420. </action>
  421. <action name="actionCPU_Graph">
  422. <property name="checkable">
  423. <bool>true</bool>
  424. </property>
  425. <property name="checked">
  426. <bool>true</bool>
  427. </property>
  428. <property name="text">
  429. <string>CPU Graph</string>
  430. </property>
  431. </action>
  432. <action name="actionMEM">
  433. <property name="checkable">
  434. <bool>true</bool>
  435. </property>
  436. <property name="checked">
  437. <bool>true</bool>
  438. </property>
  439. <property name="text">
  440. <string>MEM</string>
  441. </property>
  442. </action>
  443. <action name="actionMEM_Graph">
  444. <property name="checkable">
  445. <bool>true</bool>
  446. </property>
  447. <property name="checked">
  448. <bool>true</bool>
  449. </property>
  450. <property name="text">
  451. <string>MEM Graph</string>
  452. </property>
  453. </action>
  454. <action name="actionTemplate">
  455. <property name="checkable">
  456. <bool>true</bool>
  457. </property>
  458. <property name="checked">
  459. <bool>true</bool>
  460. </property>
  461. <property name="text">
  462. <string>Template</string>
  463. </property>
  464. </action>
  465. <action name="actionNetVM">
  466. <property name="checkable">
  467. <bool>true</bool>
  468. </property>
  469. <property name="checked">
  470. <bool>true</bool>
  471. </property>
  472. <property name="text">
  473. <string>NetVM</string>
  474. </property>
  475. </action>
  476. <action name="actionBlock_Devices">
  477. <property name="checkable">
  478. <bool>true</bool>
  479. </property>
  480. <property name="checked">
  481. <bool>true</bool>
  482. </property>
  483. <property name="text">
  484. <string>Block Devices</string>
  485. </property>
  486. </action>
  487. <action name="actionUpdate_Info">
  488. <property name="checkable">
  489. <bool>true</bool>
  490. </property>
  491. <property name="checked">
  492. <bool>true</bool>
  493. </property>
  494. <property name="text">
  495. <string>Update Info</string>
  496. </property>
  497. </action>
  498. <action name="action_settings">
  499. <property name="icon">
  500. <iconset resource="resources.qrc">
  501. <normaloff>:/root.png</normaloff>:/root.png</iconset>
  502. </property>
  503. <property name="text">
  504. <string>Settings</string>
  505. </property>
  506. <property name="toolTip">
  507. <string>VM Settings</string>
  508. </property>
  509. </action>
  510. <action name="action_restore">
  511. <property name="text">
  512. <string>Restore VMs from backup</string>
  513. </property>
  514. </action>
  515. <action name="action_backup">
  516. <property name="text">
  517. <string>Backup VMs</string>
  518. </property>
  519. </action>
  520. <action name="action_global_settings">
  521. <property name="text">
  522. <string>Global settings</string>
  523. </property>
  524. </action>
  525. </widget>
  526. <resources>
  527. <include location="resources.qrc"/>
  528. </resources>
  529. <connections/>
  530. </ui>