mainwindow.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  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>742</width>
  10. <height>887</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>290</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">:/images/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>30</x>
  53. <y>60</y>
  54. <width>681</width>
  55. <height>750</height>
  56. </rect>
  57. </property>
  58. <layout class="QVBoxLayout" name="verticalLayout" stretch="6,0,0,3,0,0">
  59. <property name="spacing">
  60. <number>12</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">
  72. <property name="spacing">
  73. <number>12</number>
  74. </property>
  75. <item>
  76. <widget class="QPushButton" name="connect">
  77. <property name="styleSheet">
  78. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  79. color: rgb(0, 0, 0);
  80. background-color: rgb(2, 180, 43);
  81. font-weight: 700;
  82. padding: 4px;</string>
  83. </property>
  84. <property name="text">
  85. <string>Connect</string>
  86. </property>
  87. <property name="icon">
  88. <iconset resource="kres.qrc">
  89. <normaloff>:/icons/icons/start.png</normaloff>:/icons/icons/start.png</iconset>
  90. </property>
  91. </widget>
  92. </item>
  93. <item>
  94. <widget class="QLabel" name="selectProcessTitle">
  95. <property name="styleSheet">
  96. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  97. color: rgb(131, 148, 150);
  98. font-weight: 700;</string>
  99. </property>
  100. <property name="text">
  101. <string>Select process to execute</string>
  102. </property>
  103. <property name="scaledContents">
  104. <bool>false</bool>
  105. </property>
  106. <property name="alignment">
  107. <set>Qt::AlignCenter</set>
  108. </property>
  109. <property name="margin">
  110. <number>0</number>
  111. </property>
  112. <property name="indent">
  113. <number>-1</number>
  114. </property>
  115. </widget>
  116. </item>
  117. <item>
  118. <widget class="QComboBox" name="appList">
  119. <property name="styleSheet">
  120. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  121. background-color: rgb(7, 54, 66);
  122. color: rgb(131, 148, 150);
  123. font-weight: 700;
  124. </string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <layout class="QHBoxLayout" name="horizontalLayout_2">
  130. <property name="spacing">
  131. <number>6</number>
  132. </property>
  133. <item>
  134. <widget class="QPushButton" name="addArgs">
  135. <property name="sizePolicy">
  136. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  137. <horstretch>100</horstretch>
  138. <verstretch>0</verstretch>
  139. </sizepolicy>
  140. </property>
  141. <property name="styleSheet">
  142. <string notr="true">background-color: rgb(255, 85, 0);
  143. font: 87 11pt &quot;Noto Sans&quot;;
  144. color: rgb(0, 43, 54);
  145. font-weight: 700;
  146. padding: 4px;</string>
  147. </property>
  148. <property name="text">
  149. <string>Args</string>
  150. </property>
  151. </widget>
  152. </item>
  153. <item>
  154. <widget class="QPushButton" name="execute">
  155. <property name="sizePolicy">
  156. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  157. <horstretch>100</horstretch>
  158. <verstretch>0</verstretch>
  159. </sizepolicy>
  160. </property>
  161. <property name="styleSheet">
  162. <string notr="true">background-color: rgb(255, 85, 0);
  163. font: 87 11pt &quot;Noto Sans&quot;;
  164. color: rgb(0, 43, 54);
  165. font-weight: 700;
  166. padding: 4px;</string>
  167. </property>
  168. <property name="text">
  169. <string>Execute</string>
  170. </property>
  171. </widget>
  172. </item>
  173. </layout>
  174. </item>
  175. <item>
  176. <widget class="QLabel" name="eventListTitle">
  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>Events</string>
  184. </property>
  185. </widget>
  186. </item>
  187. <item>
  188. <widget class="QListWidget" name="eventList">
  189. <property name="styleSheet">
  190. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  191. background-color: rgb(7, 54, 66);
  192. color: rgb(131, 148, 150);
  193. font-weight: 700;
  194. </string>
  195. </property>
  196. <property name="alternatingRowColors">
  197. <bool>false</bool>
  198. </property>
  199. <property name="isWrapping" stdset="0">
  200. <bool>false</bool>
  201. </property>
  202. </widget>
  203. </item>
  204. <item>
  205. <widget class="QLabel" name="processListTitle">
  206. <property name="styleSheet">
  207. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  208. color: rgb(131, 148, 150);
  209. font-weight: 700;</string>
  210. </property>
  211. <property name="text">
  212. <string>Processes</string>
  213. </property>
  214. <property name="margin">
  215. <number>0</number>
  216. </property>
  217. </widget>
  218. </item>
  219. <item>
  220. <widget class="QListWidget" name="processList">
  221. <property name="styleSheet">
  222. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  223. background-color: rgb(7, 54, 66);
  224. color: rgb(131, 148, 150);
  225. font-weight: 700;
  226. </string>
  227. </property>
  228. </widget>
  229. </item>
  230. </layout>
  231. </item>
  232. <item row="0" column="1">
  233. <layout class="QGridLayout" name="gridLayout" rowstretch="1"/>
  234. </item>
  235. </layout>
  236. </item>
  237. <item>
  238. <widget class="QLabel" name="messagesTitle">
  239. <property name="styleSheet">
  240. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  241. color: rgb(131, 148, 150);
  242. font-weight: 700;</string>
  243. </property>
  244. <property name="text">
  245. <string>Messages</string>
  246. </property>
  247. </widget>
  248. </item>
  249. <item>
  250. <widget class="QTextEdit" name="messages">
  251. <property name="toolTip">
  252. <string>Messages</string>
  253. </property>
  254. <property name="toolTipDuration">
  255. <number>1</number>
  256. </property>
  257. <property name="autoFillBackground">
  258. <bool>false</bool>
  259. </property>
  260. <property name="styleSheet">
  261. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  262. background-color: rgb(7, 54, 66);
  263. color: rgb(131, 148, 150);
  264. font-weight: 700;
  265. </string>
  266. </property>
  267. <property name="lineWrapMode">
  268. <enum>QTextEdit::WidgetWidth</enum>
  269. </property>
  270. <property name="readOnly">
  271. <bool>true</bool>
  272. </property>
  273. <property name="placeholderText">
  274. <string/>
  275. </property>
  276. </widget>
  277. </item>
  278. <item>
  279. <layout class="QGridLayout" name="gridLayout_3" rowstretch="0,0,0" columnstretch="0">
  280. <property name="sizeConstraint">
  281. <enum>QLayout::SetMinimumSize</enum>
  282. </property>
  283. <property name="spacing">
  284. <number>6</number>
  285. </property>
  286. <item row="2" column="0">
  287. <layout class="QHBoxLayout" name="horizontalLayout" stretch="2,1">
  288. <item>
  289. <widget class="QProgressBar" name="progressBar">
  290. <property name="sizePolicy">
  291. <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
  292. <horstretch>0</horstretch>
  293. <verstretch>0</verstretch>
  294. </sizepolicy>
  295. </property>
  296. <property name="styleSheet">
  297. <string notr="true">background-color: rgb(94, 79, 255);
  298. font: 87 11pt &quot;Noto Sans&quot;;
  299. color: rgb(0, 0, 0);</string>
  300. </property>
  301. <property name="value">
  302. <number>0</number>
  303. </property>
  304. </widget>
  305. </item>
  306. <item>
  307. <widget class="QPushButton" name="sendMessage">
  308. <property name="sizePolicy">
  309. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  310. <horstretch>0</horstretch>
  311. <verstretch>0</verstretch>
  312. </sizepolicy>
  313. </property>
  314. <property name="styleSheet">
  315. <string notr="true">background-color: rgb(130, 255, 121);
  316. background-color: rgb(2, 180, 43);
  317. font: 87 11pt &quot;Noto Sans&quot;;
  318. color: rgb(0, 0, 0);
  319. font-weight: 700;
  320. padding: 4px;</string>
  321. </property>
  322. <property name="text">
  323. <string>Send</string>
  324. </property>
  325. <property name="icon">
  326. <iconset resource="kres.qrc">
  327. <normaloff>:/icons/send-button.png</normaloff>:/icons/send-button.png</iconset>
  328. </property>
  329. <property name="checkable">
  330. <bool>false</bool>
  331. </property>
  332. <property name="autoDefault">
  333. <bool>false</bool>
  334. </property>
  335. <property name="default">
  336. <bool>false</bool>
  337. </property>
  338. <property name="flat">
  339. <bool>false</bool>
  340. </property>
  341. </widget>
  342. </item>
  343. </layout>
  344. </item>
  345. <item row="1" column="0">
  346. <widget class="QTextEdit" name="inputText">
  347. <property name="sizePolicy">
  348. <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
  349. <horstretch>0</horstretch>
  350. <verstretch>0</verstretch>
  351. </sizepolicy>
  352. </property>
  353. <property name="styleSheet">
  354. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  355. background-color: rgb(7, 54, 66);
  356. color: rgb(131, 148, 150);
  357. font-weight: 700;
  358. </string>
  359. </property>
  360. </widget>
  361. </item>
  362. <item row="0" column="0">
  363. <widget class="QLabel" name="inputTitle">
  364. <property name="styleSheet">
  365. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  366. color: rgb(131, 148, 150);
  367. font-weight: 700;</string>
  368. </property>
  369. <property name="text">
  370. <string>Input</string>
  371. </property>
  372. </widget>
  373. </item>
  374. </layout>
  375. </item>
  376. <item>
  377. <layout class="QHBoxLayout" name="horizontalLayout_3">
  378. <item>
  379. <widget class="QPushButton" name="viewConsole">
  380. <property name="sizePolicy">
  381. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  382. <horstretch>0</horstretch>
  383. <verstretch>0</verstretch>
  384. </sizepolicy>
  385. </property>
  386. <property name="styleSheet">
  387. <string notr="true">background-color: rgb(157, 157, 157);
  388. font: 87 11pt &quot;Noto Sans&quot;;
  389. color: rgb(0, 0, 0);
  390. font-weight: 700;
  391. padding: 4px;</string>
  392. </property>
  393. <property name="text">
  394. <string>View Console</string>
  395. </property>
  396. <property name="icon">
  397. <iconset resource="kres.qrc">
  398. <normaloff>:/icons/log.png</normaloff>:/icons/log.png</iconset>
  399. </property>
  400. </widget>
  401. </item>
  402. <item>
  403. <widget class="QPushButton" name="tasks">
  404. <property name="sizePolicy">
  405. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  406. <horstretch>0</horstretch>
  407. <verstretch>0</verstretch>
  408. </sizepolicy>
  409. </property>
  410. <property name="styleSheet">
  411. <string notr="true">background-color: rgb(255, 85, 0);
  412. font: 87 11pt &quot;Noto Sans&quot;;
  413. color: rgb(0, 43, 54);
  414. font-weight: 700;
  415. padding: 4px;</string>
  416. </property>
  417. <property name="text">
  418. <string>Tasks</string>
  419. </property>
  420. </widget>
  421. </item>
  422. </layout>
  423. </item>
  424. <item>
  425. <widget class="QPushButton" name="disconnect">
  426. <property name="sizePolicy">
  427. <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
  428. <horstretch>0</horstretch>
  429. <verstretch>0</verstretch>
  430. </sizepolicy>
  431. </property>
  432. <property name="styleSheet">
  433. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  434. color: rgb(0, 0, 0);
  435. background-color: rgb(255, 65, 68);
  436. background-color: rgb(255, 0, 4);
  437. font-weight: 700;
  438. padding: 4px;</string>
  439. </property>
  440. <property name="text">
  441. <string>Disconnect</string>
  442. </property>
  443. <property name="icon">
  444. <iconset resource="kres.qrc">
  445. <normaloff>:/icons/disconnect.png</normaloff>:/icons/disconnect.png</iconset>
  446. </property>
  447. </widget>
  448. </item>
  449. </layout>
  450. </widget>
  451. <widget class="ConnectionIndicator" name="led">
  452. <property name="geometry">
  453. <rect>
  454. <x>30</x>
  455. <y>20</y>
  456. <width>41</width>
  457. <height>20</height>
  458. </rect>
  459. </property>
  460. <property name="text">
  461. <string/>
  462. </property>
  463. </widget>
  464. </widget>
  465. <widget class="QMenuBar" name="menuBar">
  466. <property name="geometry">
  467. <rect>
  468. <x>0</x>
  469. <y>0</y>
  470. <width>742</width>
  471. <height>23</height>
  472. </rect>
  473. </property>
  474. <widget class="QMenu" name="menuK_Y_GUI">
  475. <property name="title">
  476. <string>K Y GUI</string>
  477. </property>
  478. </widget>
  479. <addaction name="menuK_Y_GUI"/>
  480. </widget>
  481. <widget class="QToolBar" name="mainToolBar">
  482. <attribute name="toolBarArea">
  483. <enum>TopToolBarArea</enum>
  484. </attribute>
  485. <attribute name="toolBarBreak">
  486. <bool>false</bool>
  487. </attribute>
  488. </widget>
  489. <widget class="QStatusBar" name="statusBar"/>
  490. </widget>
  491. <layoutdefault spacing="6" margin="11"/>
  492. <customwidgets>
  493. <customwidget>
  494. <class>ConnectionIndicator</class>
  495. <extends>QLabel</extends>
  496. <header>connection_indicator.h</header>
  497. </customwidget>
  498. </customwidgets>
  499. <resources>
  500. <include location="kres.qrc"/>
  501. </resources>
  502. <connections/>
  503. </ui>