mainwindow.ui 13 KB

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