mainwindow.ui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>723</width>
  10. <height>937</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset>
  18. <normaloff>favicon.ico</normaloff>favicon.ico</iconset>
  19. </property>
  20. <property name="styleSheet">
  21. <string notr="true">font: 87 10pt &quot;Noto Sans&quot;;
  22. background-color: rgb(255, 85, 0);
  23. </string>
  24. </property>
  25. <widget class="QWidget" name="centralWidget">
  26. <property name="styleSheet">
  27. <string notr="true">border-color: rgb(0, 0, 0);
  28. background-color: rgb(0, 43, 54);</string>
  29. </property>
  30. <widget class="QLabel" name="label">
  31. <property name="geometry">
  32. <rect>
  33. <x>280</x>
  34. <y>10</y>
  35. <width>161</width>
  36. <height>31</height>
  37. </rect>
  38. </property>
  39. <property name="text">
  40. <string/>
  41. </property>
  42. <property name="pixmap">
  43. <pixmap resource="kres.qrc">:/icons/icons/kstyleyo_logo.png</pixmap>
  44. </property>
  45. <property name="scaledContents">
  46. <bool>true</bool>
  47. </property>
  48. </widget>
  49. <widget class="QWidget" name="verticalLayoutWidget">
  50. <property name="geometry">
  51. <rect>
  52. <x>20</x>
  53. <y>50</y>
  54. <width>681</width>
  55. <height>828</height>
  56. </rect>
  57. </property>
  58. <layout class="QVBoxLayout" name="verticalLayout" stretch="1,0,0,0,0,0,0">
  59. <property name="spacing">
  60. <number>4</number>
  61. </property>
  62. <item>
  63. <layout class="QGridLayout" name="gridLayout_2" rowstretch="5" columnstretch="0,0">
  64. <property name="sizeConstraint">
  65. <enum>QLayout::SetNoConstraint</enum>
  66. </property>
  67. <property name="spacing">
  68. <number>0</number>
  69. </property>
  70. <item row="0" column="0">
  71. <layout class="QVBoxLayout" name="verticalLayout_2" stretch="2,2,1,0,2,0">
  72. <property name="spacing">
  73. <number>4</number>
  74. </property>
  75. <item>
  76. <widget class="QLabel" name="selectProcessTitle">
  77. <property name="styleSheet">
  78. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  79. color: rgb(131, 148, 150);
  80. font-weight: 700;</string>
  81. </property>
  82. <property name="text">
  83. <string>Select process to execute</string>
  84. </property>
  85. <property name="scaledContents">
  86. <bool>false</bool>
  87. </property>
  88. <property name="alignment">
  89. <set>Qt::AlignCenter</set>
  90. </property>
  91. <property name="margin">
  92. <number>0</number>
  93. </property>
  94. <property name="indent">
  95. <number>-1</number>
  96. </property>
  97. </widget>
  98. </item>
  99. <item>
  100. <widget class="QComboBox" name="appList">
  101. <property name="styleSheet">
  102. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  103. background-color: rgb(7, 54, 66);
  104. color: rgb(131, 148, 150);
  105. font-weight: 700;
  106. </string>
  107. </property>
  108. </widget>
  109. </item>
  110. <item>
  111. <layout class="QHBoxLayout" name="horizontalLayout_2">
  112. <property name="spacing">
  113. <number>4</number>
  114. </property>
  115. <item>
  116. <widget class="QPushButton" name="addArgs">
  117. <property name="sizePolicy">
  118. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  119. <horstretch>100</horstretch>
  120. <verstretch>0</verstretch>
  121. </sizepolicy>
  122. </property>
  123. <property name="styleSheet">
  124. <string notr="true">background-color: rgb(255, 85, 0);
  125. font: 87 11pt &quot;Noto Sans&quot;;
  126. color: rgb(0, 43, 54);
  127. font-weight: 700;
  128. padding: 4px;</string>
  129. </property>
  130. <property name="text">
  131. <string>Args</string>
  132. </property>
  133. <property name="icon">
  134. <iconset resource="kres.qrc">
  135. <normaloff>:/icons/icons/arguments.png</normaloff>:/icons/icons/arguments.png</iconset>
  136. </property>
  137. </widget>
  138. </item>
  139. <item>
  140. <widget class="QPushButton" name="execute">
  141. <property name="sizePolicy">
  142. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  143. <horstretch>100</horstretch>
  144. <verstretch>0</verstretch>
  145. </sizepolicy>
  146. </property>
  147. <property name="styleSheet">
  148. <string notr="true">background-color: rgb(255, 85, 0);
  149. font: 87 11pt &quot;Noto Sans&quot;;
  150. color: rgb(0, 43, 54);
  151. font-weight: 700;
  152. padding: 4px;</string>
  153. </property>
  154. <property name="text">
  155. <string>Execute</string>
  156. </property>
  157. <property name="icon">
  158. <iconset resource="kres.qrc">
  159. <normaloff>:/icons/icons/execute.png</normaloff>:/icons/icons/execute.png</iconset>
  160. </property>
  161. </widget>
  162. </item>
  163. </layout>
  164. </item>
  165. <item>
  166. <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,0">
  167. <property name="spacing">
  168. <number>4</number>
  169. </property>
  170. <item>
  171. <layout class="QVBoxLayout" name="verticalLayout_3">
  172. <property name="spacing">
  173. <number>4</number>
  174. </property>
  175. <item>
  176. <widget class="QLabel" name="messagesTitle">
  177. <property name="styleSheet">
  178. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  179. color: rgb(131, 148, 150);
  180. font-weight: 700;</string>
  181. </property>
  182. <property name="text">
  183. <string>History</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QTextEdit" name="messages">
  189. <property name="sizePolicy">
  190. <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
  191. <horstretch>0</horstretch>
  192. <verstretch>0</verstretch>
  193. </sizepolicy>
  194. </property>
  195. <property name="toolTip">
  196. <string>Messages</string>
  197. </property>
  198. <property name="toolTipDuration">
  199. <number>1</number>
  200. </property>
  201. <property name="autoFillBackground">
  202. <bool>false</bool>
  203. </property>
  204. <property name="styleSheet">
  205. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  206. background-color: rgb(7, 54, 66);
  207. color: rgb(131, 148, 150);
  208. font-weight: 700;
  209. </string>
  210. </property>
  211. <property name="lineWrapMode">
  212. <enum>QTextEdit::WidgetWidth</enum>
  213. </property>
  214. <property name="readOnly">
  215. <bool>true</bool>
  216. </property>
  217. <property name="placeholderText">
  218. <string notr="true"/>
  219. </property>
  220. </widget>
  221. </item>
  222. </layout>
  223. </item>
  224. <item>
  225. <widget class="QPushButton" name="viewConsole">
  226. <property name="sizePolicy">
  227. <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
  228. <horstretch>0</horstretch>
  229. <verstretch>0</verstretch>
  230. </sizepolicy>
  231. </property>
  232. <property name="styleSheet">
  233. <string notr="true">background-color: rgb(157, 157, 157);
  234. font: 87 11pt &quot;Noto Sans&quot;;
  235. color: rgb(0, 0, 0);
  236. font-weight: 700;
  237. padding: 4px;</string>
  238. </property>
  239. <property name="text">
  240. <string>Console</string>
  241. </property>
  242. <property name="icon">
  243. <iconset resource="kres.qrc">
  244. <normaloff>:/icons/log.png</normaloff>:/icons/log.png</iconset>
  245. </property>
  246. </widget>
  247. </item>
  248. </layout>
  249. </item>
  250. <item>
  251. <widget class="QLabel" name="processListTitle">
  252. <property name="styleSheet">
  253. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  254. color: rgb(131, 148, 150);
  255. font-weight: 700;</string>
  256. </property>
  257. <property name="text">
  258. <string>Processes</string>
  259. </property>
  260. <property name="margin">
  261. <number>0</number>
  262. </property>
  263. </widget>
  264. </item>
  265. <item>
  266. <widget class="QListView" name="processList">
  267. <property name="sizePolicy">
  268. <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
  269. <horstretch>0</horstretch>
  270. <verstretch>0</verstretch>
  271. </sizepolicy>
  272. </property>
  273. <property name="styleSheet">
  274. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  275. background-color: rgb(7, 54, 66);
  276. color: rgb(131, 148, 150);
  277. font-weight: 700;
  278. </string>
  279. </property>
  280. <property name="spacing">
  281. <number>2</number>
  282. </property>
  283. </widget>
  284. </item>
  285. </layout>
  286. </item>
  287. <item row="0" column="1">
  288. <layout class="QGridLayout" name="gridLayout" rowstretch="1"/>
  289. </item>
  290. </layout>
  291. </item>
  292. <item>
  293. <widget class="QLabel" name="eventListTitle">
  294. <property name="styleSheet">
  295. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  296. color: rgb(131, 148, 150);
  297. font-weight: 700;</string>
  298. </property>
  299. <property name="text">
  300. <string>Events</string>
  301. </property>
  302. </widget>
  303. </item>
  304. <item>
  305. <widget class="QListWidget" name="eventList">
  306. <property name="sizePolicy">
  307. <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
  308. <horstretch>0</horstretch>
  309. <verstretch>0</verstretch>
  310. </sizepolicy>
  311. </property>
  312. <property name="styleSheet">
  313. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  314. background-color: rgb(7, 54, 66);
  315. color: rgb(131, 148, 150);
  316. font-weight: 700;
  317. </string>
  318. </property>
  319. <property name="alternatingRowColors">
  320. <bool>false</bool>
  321. </property>
  322. <property name="isWrapping" stdset="0">
  323. <bool>false</bool>
  324. </property>
  325. <property name="resizeMode">
  326. <enum>QListView::Fixed</enum>
  327. </property>
  328. <property name="spacing">
  329. <number>2</number>
  330. </property>
  331. <property name="modelColumn">
  332. <number>0</number>
  333. </property>
  334. <property name="wordWrap">
  335. <bool>true</bool>
  336. </property>
  337. <property name="sortingEnabled">
  338. <bool>false</bool>
  339. </property>
  340. </widget>
  341. </item>
  342. <item>
  343. <layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0" columnstretch="0">
  344. <property name="sizeConstraint">
  345. <enum>QLayout::SetMinimumSize</enum>
  346. </property>
  347. <property name="spacing">
  348. <number>4</number>
  349. </property>
  350. <item row="2" column="0">
  351. <layout class="QHBoxLayout" name="horizontalLayout">
  352. <property name="spacing">
  353. <number>4</number>
  354. </property>
  355. </layout>
  356. </item>
  357. <item row="1" column="0">
  358. <widget class="QTextEdit" name="inputText">
  359. <property name="sizePolicy">
  360. <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
  361. <horstretch>0</horstretch>
  362. <verstretch>0</verstretch>
  363. </sizepolicy>
  364. </property>
  365. <property name="styleSheet">
  366. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  367. background-color: rgb(7, 54, 66);
  368. color: rgb(131, 148, 150);
  369. font-weight: 700;
  370. </string>
  371. </property>
  372. </widget>
  373. </item>
  374. <item row="0" column="0">
  375. <widget class="QLabel" name="inputTitle">
  376. <property name="styleSheet">
  377. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  378. color: rgb(131, 148, 150);
  379. font-weight: 700;</string>
  380. </property>
  381. <property name="text">
  382. <string>Input</string>
  383. </property>
  384. </widget>
  385. </item>
  386. </layout>
  387. </item>
  388. <item>
  389. <layout class="QHBoxLayout" name="horizontalLayout_3">
  390. <property name="spacing">
  391. <number>4</number>
  392. </property>
  393. <item>
  394. <widget class="QPushButton" name="disconnect">
  395. <property name="sizePolicy">
  396. <sizepolicy hsizetype="Maximum" vsizetype="Minimum">
  397. <horstretch>0</horstretch>
  398. <verstretch>0</verstretch>
  399. </sizepolicy>
  400. </property>
  401. <property name="styleSheet">
  402. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  403. color: rgb(0, 0, 0);
  404. background-color: rgb(255, 65, 68);
  405. background-color: rgb(255, 0, 4);
  406. font-weight: 700;
  407. padding: 4px;</string>
  408. </property>
  409. <property name="text">
  410. <string>Disconnect</string>
  411. </property>
  412. <property name="icon">
  413. <iconset resource="kres.qrc">
  414. <normaloff>:/icons/disconnect.png</normaloff>:/icons/disconnect.png</iconset>
  415. </property>
  416. </widget>
  417. </item>
  418. <item>
  419. <widget class="QPushButton" name="tasks">
  420. <property name="sizePolicy">
  421. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  422. <horstretch>0</horstretch>
  423. <verstretch>0</verstretch>
  424. </sizepolicy>
  425. </property>
  426. <property name="styleSheet">
  427. <string notr="true">background-color: rgb(255, 85, 0);
  428. font: 87 11pt &quot;Noto Sans&quot;;
  429. color: rgb(0, 43, 54);
  430. font-weight: 700;
  431. padding: 4px;</string>
  432. </property>
  433. <property name="text">
  434. <string>Tasks</string>
  435. </property>
  436. <property name="icon">
  437. <iconset resource="kres.qrc">
  438. <normaloff>:/icons/icons/task.png</normaloff>:/icons/icons/task.png</iconset>
  439. </property>
  440. </widget>
  441. </item>
  442. <item>
  443. <widget class="QPushButton" name="sendMessage">
  444. <property name="sizePolicy">
  445. <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
  446. <horstretch>0</horstretch>
  447. <verstretch>0</verstretch>
  448. </sizepolicy>
  449. </property>
  450. <property name="styleSheet">
  451. <string notr="true">background-color: rgb(130, 255, 121);
  452. background-color: rgb(2, 180, 43);
  453. font: 87 11pt &quot;Noto Sans&quot;;
  454. color: rgb(0, 0, 0);
  455. font-weight: 700;
  456. padding: 4px;</string>
  457. </property>
  458. <property name="text">
  459. <string>Send</string>
  460. </property>
  461. <property name="icon">
  462. <iconset resource="kres.qrc">
  463. <normaloff>:/icons/send-button.png</normaloff>:/icons/send-button.png</iconset>
  464. </property>
  465. <property name="checkable">
  466. <bool>false</bool>
  467. </property>
  468. <property name="autoDefault">
  469. <bool>false</bool>
  470. </property>
  471. <property name="default">
  472. <bool>false</bool>
  473. </property>
  474. <property name="flat">
  475. <bool>false</bool>
  476. </property>
  477. </widget>
  478. </item>
  479. </layout>
  480. </item>
  481. <item>
  482. <layout class="QHBoxLayout" name="horizontalLayout_5">
  483. <property name="spacing">
  484. <number>4</number>
  485. </property>
  486. </layout>
  487. </item>
  488. <item>
  489. <widget class="QProgressBar" name="progressBar">
  490. <property name="sizePolicy">
  491. <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
  492. <horstretch>0</horstretch>
  493. <verstretch>0</verstretch>
  494. </sizepolicy>
  495. </property>
  496. <property name="styleSheet">
  497. <string notr="true">background-color: rgb(94, 79, 255);
  498. font: 87 11pt &quot;Noto Sans&quot;;
  499. color: rgb(0, 0, 0);</string>
  500. </property>
  501. <property name="value">
  502. <number>0</number>
  503. </property>
  504. </widget>
  505. </item>
  506. </layout>
  507. </widget>
  508. <widget class="ConnectionIndicator" name="led">
  509. <property name="geometry">
  510. <rect>
  511. <x>30</x>
  512. <y>20</y>
  513. <width>41</width>
  514. <height>20</height>
  515. </rect>
  516. </property>
  517. <property name="text">
  518. <string/>
  519. </property>
  520. </widget>
  521. <widget class="QPushButton" name="connect">
  522. <property name="geometry">
  523. <rect>
  524. <x>590</x>
  525. <y>10</y>
  526. <width>111</width>
  527. <height>31</height>
  528. </rect>
  529. </property>
  530. <property name="styleSheet">
  531. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  532. color: rgb(0, 0, 0);
  533. background-color: rgb(2, 180, 43);
  534. font-weight: 700;
  535. padding: 4px;</string>
  536. </property>
  537. <property name="text">
  538. <string>Connect</string>
  539. </property>
  540. <property name="icon">
  541. <iconset resource="kres.qrc">
  542. <normaloff>:/icons/icons/start.png</normaloff>:/icons/icons/start.png</iconset>
  543. </property>
  544. </widget>
  545. </widget>
  546. <widget class="QMenuBar" name="menuBar">
  547. <property name="geometry">
  548. <rect>
  549. <x>0</x>
  550. <y>0</y>
  551. <width>723</width>
  552. <height>23</height>
  553. </rect>
  554. </property>
  555. <widget class="QMenu" name="menuK_Y_GUI">
  556. <property name="title">
  557. <string>K Y GUI</string>
  558. </property>
  559. </widget>
  560. <addaction name="menuK_Y_GUI"/>
  561. </widget>
  562. <widget class="QToolBar" name="mainToolBar">
  563. <attribute name="toolBarArea">
  564. <enum>TopToolBarArea</enum>
  565. </attribute>
  566. <attribute name="toolBarBreak">
  567. <bool>false</bool>
  568. </attribute>
  569. </widget>
  570. <widget class="QStatusBar" name="statusBar"/>
  571. </widget>
  572. <layoutdefault spacing="6" margin="11"/>
  573. <customwidgets>
  574. <customwidget>
  575. <class>ConnectionIndicator</class>
  576. <extends>QLabel</extends>
  577. <header>include/connection_indicator.h</header>
  578. </customwidget>
  579. </customwidgets>
  580. <resources>
  581. <include location="kres.qrc"/>
  582. </resources>
  583. <connections/>
  584. </ui>