argdialog.ui 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>ArgDialog</class>
  4. <widget class="QDialog" name="ArgDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>970</width>
  10. <height>904</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <property name="windowIcon">
  17. <iconset resource="kres.qrc">
  18. <normaloff>:/icons/favicon.ico</normaloff>:/icons/favicon.ico</iconset>
  19. </property>
  20. <property name="styleSheet">
  21. <string notr="true">border-color: rgb(0, 0, 0);
  22. background-color: rgb(0, 43, 54);</string>
  23. </property>
  24. <widget class="QWidget" name="verticalLayoutWidget">
  25. <property name="geometry">
  26. <rect>
  27. <x>10</x>
  28. <y>10</y>
  29. <width>948</width>
  30. <height>891</height>
  31. </rect>
  32. </property>
  33. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,1,0,0,0,0,0,3,0">
  34. <item>
  35. <widget class="QLabel" name="argDialogTitle">
  36. <property name="font">
  37. <font>
  38. <pointsize>22</pointsize>
  39. <weight>75</weight>
  40. <bold>true</bold>
  41. </font>
  42. </property>
  43. <property name="styleSheet">
  44. <string notr="true">color: rgb(170, 0, 255);
  45. color: rgb(255, 85, 0);
  46. qproperty-alignment: 'AlignHCenter';
  47. </string>
  48. </property>
  49. <property name="text">
  50. <string>Add Arguments</string>
  51. </property>
  52. </widget>
  53. </item>
  54. <item>
  55. <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,0,0,0">
  56. <item>
  57. <widget class="QLabel" name="label_2">
  58. <property name="sizePolicy">
  59. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  60. <horstretch>2</horstretch>
  61. <verstretch>0</verstretch>
  62. </sizepolicy>
  63. </property>
  64. <property name="minimumSize">
  65. <size>
  66. <width>196</width>
  67. <height>0</height>
  68. </size>
  69. </property>
  70. <property name="maximumSize">
  71. <size>
  72. <width>196</width>
  73. <height>16777215</height>
  74. </size>
  75. </property>
  76. <property name="styleSheet">
  77. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  78. color: rgb(131, 148, 150);
  79. font-weight: 700;</string>
  80. </property>
  81. <property name="text">
  82. <string>Type</string>
  83. </property>
  84. <property name="alignment">
  85. <set>Qt::AlignCenter</set>
  86. </property>
  87. </widget>
  88. </item>
  89. <item>
  90. <widget class="QComboBox" name="argType">
  91. <property name="sizePolicy">
  92. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  93. <horstretch>0</horstretch>
  94. <verstretch>0</verstretch>
  95. </sizepolicy>
  96. </property>
  97. <property name="styleSheet">
  98. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  99. background-color: #2f535f;
  100. color: rgb(131, 148, 150);
  101. font-weight: 700;
  102. </string>
  103. </property>
  104. </widget>
  105. </item>
  106. <item>
  107. <widget class="QLabel" name="label_6">
  108. <property name="sizePolicy">
  109. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  110. <horstretch>2</horstretch>
  111. <verstretch>0</verstretch>
  112. </sizepolicy>
  113. </property>
  114. <property name="minimumSize">
  115. <size>
  116. <width>196</width>
  117. <height>0</height>
  118. </size>
  119. </property>
  120. <property name="maximumSize">
  121. <size>
  122. <width>196</width>
  123. <height>16777215</height>
  124. </size>
  125. </property>
  126. <property name="styleSheet">
  127. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  128. color: rgb(131, 148, 150);
  129. font-weight: 700;</string>
  130. </property>
  131. <property name="text">
  132. <string>User</string>
  133. </property>
  134. <property name="alignment">
  135. <set>Qt::AlignCenter</set>
  136. </property>
  137. </widget>
  138. </item>
  139. <item>
  140. <widget class="QComboBox" name="user">
  141. <property name="sizePolicy">
  142. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  143. <horstretch>0</horstretch>
  144. <verstretch>0</verstretch>
  145. </sizepolicy>
  146. </property>
  147. <property name="styleSheet">
  148. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  149. background-color: #2f535f;
  150. color: rgb(131, 148, 150);
  151. font-weight: 700;
  152. </string>
  153. </property>
  154. </widget>
  155. </item>
  156. </layout>
  157. </item>
  158. <item>
  159. <layout class="QHBoxLayout" name="horizontalLayout_2">
  160. <item>
  161. <widget class="QLabel" name="label_3">
  162. <property name="sizePolicy">
  163. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  164. <horstretch>0</horstretch>
  165. <verstretch>0</verstretch>
  166. </sizepolicy>
  167. </property>
  168. <property name="minimumSize">
  169. <size>
  170. <width>196</width>
  171. <height>0</height>
  172. </size>
  173. </property>
  174. <property name="maximumSize">
  175. <size>
  176. <width>196</width>
  177. <height>16777215</height>
  178. </size>
  179. </property>
  180. <property name="styleSheet">
  181. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  182. color: rgb(131, 148, 150);
  183. font-weight: 700;
  184. qproperty-alignment: 'AlignVLeft';</string>
  185. </property>
  186. <property name="text">
  187. <string>Input</string>
  188. </property>
  189. <property name="alignment">
  190. <set>Qt::AlignCenter</set>
  191. </property>
  192. </widget>
  193. </item>
  194. <item>
  195. <widget class="QTextEdit" name="argInput">
  196. <property name="styleSheet">
  197. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  198. background-color: #2f535f;
  199. color: rgb(131, 148, 150);
  200. font-weight: 700;
  201. </string>
  202. </property>
  203. </widget>
  204. </item>
  205. </layout>
  206. </item>
  207. <item>
  208. <widget class="QPushButton" name="addArgument">
  209. <property name="sizePolicy">
  210. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  211. <horstretch>0</horstretch>
  212. <verstretch>0</verstretch>
  213. </sizepolicy>
  214. </property>
  215. <property name="minimumSize">
  216. <size>
  217. <width>100</width>
  218. <height>0</height>
  219. </size>
  220. </property>
  221. <property name="layoutDirection">
  222. <enum>Qt::LeftToRight</enum>
  223. </property>
  224. <property name="styleSheet">
  225. <string notr="true">background-color: #2f535f;
  226. font: 87 11pt &quot;Noto Sans&quot;;
  227. color: rgb(149, 155, 156);
  228. font-weight: 700;
  229. padding: 4px;
  230. border-style: outset;
  231. border-width: 2px;
  232. border-radius: 4px;
  233. border-color: #00000f;
  234. min-width: 4em;
  235. padding: 4px;</string>
  236. </property>
  237. <property name="text">
  238. <string>Add</string>
  239. </property>
  240. <property name="flat">
  241. <bool>false</bool>
  242. </property>
  243. </widget>
  244. </item>
  245. <item>
  246. <layout class="QHBoxLayout" name="horizontalLayout_3">
  247. <item alignment="Qt::AlignVCenter">
  248. <widget class="QLabel" name="label_4">
  249. <property name="sizePolicy">
  250. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  251. <horstretch>0</horstretch>
  252. <verstretch>0</verstretch>
  253. </sizepolicy>
  254. </property>
  255. <property name="minimumSize">
  256. <size>
  257. <width>196</width>
  258. <height>0</height>
  259. </size>
  260. </property>
  261. <property name="styleSheet">
  262. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  263. color: rgb(131, 148, 150);
  264. font-weight: 700;</string>
  265. </property>
  266. <property name="text">
  267. <string>Add file attachment</string>
  268. </property>
  269. <property name="alignment">
  270. <set>Qt::AlignCenter</set>
  271. </property>
  272. </widget>
  273. </item>
  274. <item>
  275. <widget class="QPushButton" name="addFile">
  276. <property name="styleSheet">
  277. <string notr="true">background-color: #2f535f;
  278. font: 87 11pt &quot;Noto Sans&quot;;
  279. color: rgb(149, 155, 156);
  280. font-weight: 700;
  281. padding: 4px;
  282. border-style: outset;
  283. border-width: 2px;
  284. border-radius: 4px;
  285. border-color: #00000f;
  286. min-width: 4em;
  287. padding: 4px;</string>
  288. </property>
  289. <property name="text">
  290. <string>Choose</string>
  291. </property>
  292. <property name="icon">
  293. <iconset theme="clip.png">
  294. <normalon>:/icons/icons/clip.png</normalon>
  295. </iconset>
  296. </property>
  297. </widget>
  298. </item>
  299. </layout>
  300. </item>
  301. <item>
  302. <layout class="QHBoxLayout" name="horizontalLayout_4">
  303. <item alignment="Qt::AlignVCenter">
  304. <widget class="QLabel" name="label_5">
  305. <property name="sizePolicy">
  306. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  307. <horstretch>0</horstretch>
  308. <verstretch>0</verstretch>
  309. </sizepolicy>
  310. </property>
  311. <property name="minimumSize">
  312. <size>
  313. <width>196</width>
  314. <height>0</height>
  315. </size>
  316. </property>
  317. <property name="maximumSize">
  318. <size>
  319. <width>196</width>
  320. <height>16777215</height>
  321. </size>
  322. </property>
  323. <property name="styleSheet">
  324. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  325. color: rgb(131, 148, 150);
  326. font-weight: 700;
  327. qproperty-alignment: 'AlignHCenter';</string>
  328. </property>
  329. <property name="text">
  330. <string>Time</string>
  331. </property>
  332. <property name="alignment">
  333. <set>Qt::AlignHCenter</set>
  334. </property>
  335. </widget>
  336. </item>
  337. <item alignment="Qt::AlignRight">
  338. <widget class="QDateTimeEdit" name="dateTime">
  339. <property name="sizePolicy">
  340. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  341. <horstretch>0</horstretch>
  342. <verstretch>0</verstretch>
  343. </sizepolicy>
  344. </property>
  345. <property name="minimumSize">
  346. <size>
  347. <width>740</width>
  348. <height>38</height>
  349. </size>
  350. </property>
  351. <property name="styleSheet">
  352. <string notr="true">background-color: #00000f;
  353. color: #2f535f;
  354. font-weight: 700;
  355. font-size: 16pt;</string>
  356. </property>
  357. </widget>
  358. </item>
  359. </layout>
  360. </item>
  361. <item>
  362. <layout class="QHBoxLayout" name="horizontalLayout_7">
  363. <item>
  364. <widget class="QLabel" name="recurringLabel">
  365. <property name="sizePolicy">
  366. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  367. <horstretch>0</horstretch>
  368. <verstretch>0</verstretch>
  369. </sizepolicy>
  370. </property>
  371. <property name="minimumSize">
  372. <size>
  373. <width>196</width>
  374. <height>0</height>
  375. </size>
  376. </property>
  377. <property name="maximumSize">
  378. <size>
  379. <width>196</width>
  380. <height>16777215</height>
  381. </size>
  382. </property>
  383. <property name="styleSheet">
  384. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  385. color: rgb(131, 148, 150);
  386. font-weight: 700;
  387. qproperty-alignment: 'AlignHCenter';</string>
  388. </property>
  389. <property name="text">
  390. <string>Recurring</string>
  391. </property>
  392. <property name="alignment">
  393. <set>Qt::AlignHCenter</set>
  394. </property>
  395. </widget>
  396. </item>
  397. <item>
  398. <widget class="QComboBox" name="recurring">
  399. <property name="sizePolicy">
  400. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  401. <horstretch>0</horstretch>
  402. <verstretch>0</verstretch>
  403. </sizepolicy>
  404. </property>
  405. <property name="styleSheet">
  406. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  407. background-color: #2f535f;
  408. color: rgb(131, 148, 150);
  409. font-weight: 700;
  410. </string>
  411. </property>
  412. <item>
  413. <property name="text">
  414. <string>No</string>
  415. </property>
  416. </item>
  417. <item>
  418. <property name="text">
  419. <string>Hourly</string>
  420. </property>
  421. </item>
  422. <item>
  423. <property name="text">
  424. <string>Daily</string>
  425. </property>
  426. </item>
  427. <item>
  428. <property name="text">
  429. <string>Weekly</string>
  430. </property>
  431. </item>
  432. </widget>
  433. </item>
  434. </layout>
  435. </item>
  436. <item>
  437. <widget class="QLabel" name="label">
  438. <property name="styleSheet">
  439. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  440. color: rgb(131, 148, 150);
  441. font-weight: 700;
  442. padding-left: 8px;</string>
  443. </property>
  444. <property name="text">
  445. <string>Items to send</string>
  446. </property>
  447. </widget>
  448. </item>
  449. <item>
  450. <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0">
  451. <item>
  452. <widget class="QTableWidget" name="argList">
  453. <property name="styleSheet">
  454. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  455. background-color: #2f535f;
  456. color: rgb(131, 148, 150);
  457. font-weight: 700;
  458. padding-left: 2px;</string>
  459. </property>
  460. <property name="showGrid">
  461. <bool>true</bool>
  462. </property>
  463. <property name="columnCount">
  464. <number>4</number>
  465. </property>
  466. <attribute name="horizontalHeaderCascadingSectionResizes">
  467. <bool>false</bool>
  468. </attribute>
  469. <attribute name="horizontalHeaderMinimumSectionSize">
  470. <number>100</number>
  471. </attribute>
  472. <attribute name="horizontalHeaderDefaultSectionSize">
  473. <number>200</number>
  474. </attribute>
  475. <attribute name="verticalHeaderMinimumSectionSize">
  476. <number>100</number>
  477. </attribute>
  478. <attribute name="verticalHeaderDefaultSectionSize">
  479. <number>100</number>
  480. </attribute>
  481. <column/>
  482. <column/>
  483. <column/>
  484. <column/>
  485. </widget>
  486. </item>
  487. </layout>
  488. </item>
  489. <item>
  490. <layout class="QHBoxLayout" name="horizontalLayout_5">
  491. <property name="spacing">
  492. <number>4</number>
  493. </property>
  494. <item>
  495. <widget class="QPushButton" name="clear">
  496. <property name="sizePolicy">
  497. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  498. <horstretch>0</horstretch>
  499. <verstretch>0</verstretch>
  500. </sizepolicy>
  501. </property>
  502. <property name="styleSheet">
  503. <string notr="true">background-color: #2f535f;
  504. font: 87 11pt &quot;Noto Sans&quot;;
  505. color: rgb(149, 155, 156);
  506. font-weight: 700;
  507. padding: 4px;
  508. border-style: outset;
  509. border-width: 2px;
  510. border-radius: 4px;
  511. border-color: #00000f;
  512. min-width: 4em;
  513. padding: 4px;</string>
  514. </property>
  515. <property name="text">
  516. <string>Clear</string>
  517. </property>
  518. <property name="icon">
  519. <iconset>
  520. <normalon>:/icons/icons/trash.png</normalon>
  521. </iconset>
  522. </property>
  523. </widget>
  524. </item>
  525. <item>
  526. <widget class="QDialogButtonBox" name="argCommandButtons">
  527. <property name="sizePolicy">
  528. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  529. <horstretch>0</horstretch>
  530. <verstretch>0</verstretch>
  531. </sizepolicy>
  532. </property>
  533. <property name="layoutDirection">
  534. <enum>Qt::LeftToRight</enum>
  535. </property>
  536. <property name="autoFillBackground">
  537. <bool>false</bool>
  538. </property>
  539. <property name="styleSheet">
  540. <string notr="true">background-color: rgb(255, 85, 0);
  541. font: 87 11pt &quot;Noto Sans&quot;;
  542. color: rgb(0, 43, 54);
  543. font-weight: 700;
  544. padding: 4px;
  545. border-style: outset;
  546. border-width: 2px;
  547. border-radius: 4px;
  548. border-color: #00000f;
  549. min-width: 4em;
  550. padding: 4px;</string>
  551. </property>
  552. <property name="orientation">
  553. <enum>Qt::Horizontal</enum>
  554. </property>
  555. <property name="standardButtons">
  556. <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
  557. </property>
  558. <property name="centerButtons">
  559. <bool>true</bool>
  560. </property>
  561. </widget>
  562. </item>
  563. </layout>
  564. </item>
  565. </layout>
  566. </widget>
  567. <widget class="QLabel" name="loaderText">
  568. <property name="geometry">
  569. <rect>
  570. <x>0</x>
  571. <y>0</y>
  572. <width>0</width>
  573. <height>0</height>
  574. </rect>
  575. </property>
  576. <property name="text">
  577. <string>Sending request to Server. Please wait ...</string>
  578. </property>
  579. </widget>
  580. <widget class="QLabel" name="loaderMovie">
  581. <property name="geometry">
  582. <rect>
  583. <x>0</x>
  584. <y>0</y>
  585. <width>0</width>
  586. <height>0</height>
  587. </rect>
  588. </property>
  589. <property name="text">
  590. <string/>
  591. </property>
  592. </widget>
  593. </widget>
  594. <resources>
  595. <include location="kres.qrc"/>
  596. </resources>
  597. <connections>
  598. <connection>
  599. <sender>argCommandButtons</sender>
  600. <signal>accepted()</signal>
  601. <receiver>ArgDialog</receiver>
  602. <slot>accept()</slot>
  603. <hints>
  604. <hint type="sourcelabel">
  605. <x>248</x>
  606. <y>254</y>
  607. </hint>
  608. <hint type="destinationlabel">
  609. <x>157</x>
  610. <y>274</y>
  611. </hint>
  612. </hints>
  613. </connection>
  614. <connection>
  615. <sender>argCommandButtons</sender>
  616. <signal>rejected()</signal>
  617. <receiver>ArgDialog</receiver>
  618. <slot>reject()</slot>
  619. <hints>
  620. <hint type="sourcelabel">
  621. <x>316</x>
  622. <y>260</y>
  623. </hint>
  624. <hint type="destinationlabel">
  625. <x>286</x>
  626. <y>274</y>
  627. </hint>
  628. </hints>
  629. </connection>
  630. </connections>
  631. </ui>