argdialog.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  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>864</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>851</height>
  31. </rect>
  32. </property>
  33. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,1,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. <item>
  105. <property name="text">
  106. <string>description</string>
  107. </property>
  108. </item>
  109. <item>
  110. <property name="text">
  111. <string>hashtag</string>
  112. </property>
  113. </item>
  114. <item>
  115. <property name="text">
  116. <string>requested by</string>
  117. </property>
  118. </item>
  119. <item>
  120. <property name="text">
  121. <string>promote/share</string>
  122. </property>
  123. </item>
  124. <item>
  125. <property name="text">
  126. <string>link/bio</string>
  127. </property>
  128. </item>
  129. </widget>
  130. </item>
  131. <item>
  132. <widget class="QLabel" name="label_6">
  133. <property name="sizePolicy">
  134. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  135. <horstretch>2</horstretch>
  136. <verstretch>0</verstretch>
  137. </sizepolicy>
  138. </property>
  139. <property name="minimumSize">
  140. <size>
  141. <width>196</width>
  142. <height>0</height>
  143. </size>
  144. </property>
  145. <property name="maximumSize">
  146. <size>
  147. <width>196</width>
  148. <height>16777215</height>
  149. </size>
  150. </property>
  151. <property name="styleSheet">
  152. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  153. color: rgb(131, 148, 150);
  154. font-weight: 700;</string>
  155. </property>
  156. <property name="text">
  157. <string>User</string>
  158. </property>
  159. <property name="alignment">
  160. <set>Qt::AlignCenter</set>
  161. </property>
  162. </widget>
  163. </item>
  164. <item>
  165. <widget class="QComboBox" name="user">
  166. <property name="sizePolicy">
  167. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  168. <horstretch>0</horstretch>
  169. <verstretch>0</verstretch>
  170. </sizepolicy>
  171. </property>
  172. <property name="styleSheet">
  173. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  174. background-color: #2f535f;
  175. color: rgb(131, 148, 150);
  176. font-weight: 700;
  177. </string>
  178. </property>
  179. </widget>
  180. </item>
  181. </layout>
  182. </item>
  183. <item>
  184. <layout class="QHBoxLayout" name="horizontalLayout_2">
  185. <item>
  186. <widget class="QLabel" name="label_3">
  187. <property name="sizePolicy">
  188. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  189. <horstretch>0</horstretch>
  190. <verstretch>0</verstretch>
  191. </sizepolicy>
  192. </property>
  193. <property name="minimumSize">
  194. <size>
  195. <width>196</width>
  196. <height>0</height>
  197. </size>
  198. </property>
  199. <property name="maximumSize">
  200. <size>
  201. <width>196</width>
  202. <height>16777215</height>
  203. </size>
  204. </property>
  205. <property name="styleSheet">
  206. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  207. color: rgb(131, 148, 150);
  208. font-weight: 700;
  209. qproperty-alignment: 'AlignVLeft';</string>
  210. </property>
  211. <property name="text">
  212. <string>Input</string>
  213. </property>
  214. <property name="alignment">
  215. <set>Qt::AlignCenter</set>
  216. </property>
  217. </widget>
  218. </item>
  219. <item>
  220. <widget class="QTextEdit" name="argInput">
  221. <property name="styleSheet">
  222. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  223. background-color: #2f535f;
  224. color: rgb(131, 148, 150);
  225. font-weight: 700;
  226. </string>
  227. </property>
  228. </widget>
  229. </item>
  230. </layout>
  231. </item>
  232. <item>
  233. <widget class="QPushButton" name="addArgument">
  234. <property name="sizePolicy">
  235. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  236. <horstretch>0</horstretch>
  237. <verstretch>0</verstretch>
  238. </sizepolicy>
  239. </property>
  240. <property name="minimumSize">
  241. <size>
  242. <width>100</width>
  243. <height>0</height>
  244. </size>
  245. </property>
  246. <property name="layoutDirection">
  247. <enum>Qt::LeftToRight</enum>
  248. </property>
  249. <property name="styleSheet">
  250. <string notr="true">background-color: #2f535f;
  251. font: 87 11pt &quot;Noto Sans&quot;;
  252. color: rgb(149, 155, 156);
  253. font-weight: 700;
  254. padding: 4px;
  255. border-style: outset;
  256. border-width: 2px;
  257. border-radius: 4px;
  258. border-color: #00000f;
  259. min-width: 4em;
  260. padding: 4px;</string>
  261. </property>
  262. <property name="text">
  263. <string>Add</string>
  264. </property>
  265. <property name="flat">
  266. <bool>false</bool>
  267. </property>
  268. </widget>
  269. </item>
  270. <item>
  271. <layout class="QHBoxLayout" name="horizontalLayout_3">
  272. <item alignment="Qt::AlignVCenter">
  273. <widget class="QLabel" name="label_4">
  274. <property name="sizePolicy">
  275. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  276. <horstretch>0</horstretch>
  277. <verstretch>0</verstretch>
  278. </sizepolicy>
  279. </property>
  280. <property name="minimumSize">
  281. <size>
  282. <width>196</width>
  283. <height>0</height>
  284. </size>
  285. </property>
  286. <property name="styleSheet">
  287. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  288. color: rgb(131, 148, 150);
  289. font-weight: 700;</string>
  290. </property>
  291. <property name="text">
  292. <string>Add file attachment</string>
  293. </property>
  294. <property name="alignment">
  295. <set>Qt::AlignCenter</set>
  296. </property>
  297. </widget>
  298. </item>
  299. <item>
  300. <widget class="QPushButton" name="addFile">
  301. <property name="styleSheet">
  302. <string notr="true">background-color: #2f535f;
  303. font: 87 11pt &quot;Noto Sans&quot;;
  304. color: rgb(149, 155, 156);
  305. font-weight: 700;
  306. padding: 4px;
  307. border-style: outset;
  308. border-width: 2px;
  309. border-radius: 4px;
  310. border-color: #00000f;
  311. min-width: 4em;
  312. padding: 4px;</string>
  313. </property>
  314. <property name="text">
  315. <string>Choose</string>
  316. </property>
  317. <property name="icon">
  318. <iconset theme="clip.png">
  319. <normalon>:/icons/icons/clip.png</normalon>
  320. </iconset>
  321. </property>
  322. </widget>
  323. </item>
  324. </layout>
  325. </item>
  326. <item>
  327. <layout class="QHBoxLayout" name="horizontalLayout_4">
  328. <item alignment="Qt::AlignVCenter">
  329. <widget class="QLabel" name="label_5">
  330. <property name="sizePolicy">
  331. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
  332. <horstretch>0</horstretch>
  333. <verstretch>0</verstretch>
  334. </sizepolicy>
  335. </property>
  336. <property name="minimumSize">
  337. <size>
  338. <width>196</width>
  339. <height>0</height>
  340. </size>
  341. </property>
  342. <property name="maximumSize">
  343. <size>
  344. <width>196</width>
  345. <height>16777215</height>
  346. </size>
  347. </property>
  348. <property name="styleSheet">
  349. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  350. color: rgb(131, 148, 150);
  351. font-weight: 700;
  352. qproperty-alignment: 'AlignHCenter';</string>
  353. </property>
  354. <property name="text">
  355. <string>Time</string>
  356. </property>
  357. <property name="alignment">
  358. <set>Qt::AlignHCenter</set>
  359. </property>
  360. </widget>
  361. </item>
  362. <item alignment="Qt::AlignRight">
  363. <widget class="QDateTimeEdit" name="dateTime">
  364. <property name="sizePolicy">
  365. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  366. <horstretch>0</horstretch>
  367. <verstretch>0</verstretch>
  368. </sizepolicy>
  369. </property>
  370. <property name="minimumSize">
  371. <size>
  372. <width>740</width>
  373. <height>38</height>
  374. </size>
  375. </property>
  376. <property name="styleSheet">
  377. <string notr="true">background-color: #00000f;
  378. color: #2f535f;
  379. font-weight: 700;
  380. font-size: 16pt;</string>
  381. </property>
  382. </widget>
  383. </item>
  384. </layout>
  385. </item>
  386. <item>
  387. <widget class="QLabel" name="label">
  388. <property name="styleSheet">
  389. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  390. color: rgb(131, 148, 150);
  391. font-weight: 700;
  392. padding-left: 8px;</string>
  393. </property>
  394. <property name="text">
  395. <string>Items to send</string>
  396. </property>
  397. </widget>
  398. </item>
  399. <item>
  400. <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0">
  401. <item>
  402. <widget class="QTableWidget" name="argList">
  403. <property name="styleSheet">
  404. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  405. background-color: #2f535f;
  406. color: rgb(131, 148, 150);
  407. font-weight: 700;
  408. padding-left: 2px;</string>
  409. </property>
  410. <property name="showGrid">
  411. <bool>true</bool>
  412. </property>
  413. <property name="columnCount">
  414. <number>4</number>
  415. </property>
  416. <attribute name="horizontalHeaderCascadingSectionResizes">
  417. <bool>false</bool>
  418. </attribute>
  419. <attribute name="horizontalHeaderMinimumSectionSize">
  420. <number>100</number>
  421. </attribute>
  422. <attribute name="horizontalHeaderDefaultSectionSize">
  423. <number>200</number>
  424. </attribute>
  425. <attribute name="verticalHeaderMinimumSectionSize">
  426. <number>100</number>
  427. </attribute>
  428. <attribute name="verticalHeaderDefaultSectionSize">
  429. <number>100</number>
  430. </attribute>
  431. <column/>
  432. <column/>
  433. <column/>
  434. <column/>
  435. </widget>
  436. </item>
  437. </layout>
  438. </item>
  439. <item>
  440. <layout class="QHBoxLayout" name="horizontalLayout_5">
  441. <property name="spacing">
  442. <number>4</number>
  443. </property>
  444. <item>
  445. <widget class="QPushButton" name="clear">
  446. <property name="sizePolicy">
  447. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  448. <horstretch>0</horstretch>
  449. <verstretch>0</verstretch>
  450. </sizepolicy>
  451. </property>
  452. <property name="styleSheet">
  453. <string notr="true">background-color: #2f535f;
  454. font: 87 11pt &quot;Noto Sans&quot;;
  455. color: rgb(149, 155, 156);
  456. font-weight: 700;
  457. padding: 4px;
  458. border-style: outset;
  459. border-width: 2px;
  460. border-radius: 4px;
  461. border-color: #00000f;
  462. min-width: 4em;
  463. padding: 4px;</string>
  464. </property>
  465. <property name="text">
  466. <string>Clear</string>
  467. </property>
  468. <property name="icon">
  469. <iconset>
  470. <normalon>:/icons/icons/trash.png</normalon>
  471. </iconset>
  472. </property>
  473. </widget>
  474. </item>
  475. <item>
  476. <widget class="QDialogButtonBox" name="argCommandButtons">
  477. <property name="sizePolicy">
  478. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  479. <horstretch>0</horstretch>
  480. <verstretch>0</verstretch>
  481. </sizepolicy>
  482. </property>
  483. <property name="layoutDirection">
  484. <enum>Qt::LeftToRight</enum>
  485. </property>
  486. <property name="autoFillBackground">
  487. <bool>false</bool>
  488. </property>
  489. <property name="styleSheet">
  490. <string notr="true">background-color: rgb(255, 85, 0);
  491. font: 87 11pt &quot;Noto Sans&quot;;
  492. color: rgb(0, 43, 54);
  493. font-weight: 700;
  494. padding: 4px;
  495. border-style: outset;
  496. border-width: 2px;
  497. border-radius: 4px;
  498. border-color: #00000f;
  499. min-width: 4em;
  500. padding: 4px;</string>
  501. </property>
  502. <property name="orientation">
  503. <enum>Qt::Horizontal</enum>
  504. </property>
  505. <property name="standardButtons">
  506. <set>QDialogButtonBox::Close|QDialogButtonBox::Save</set>
  507. </property>
  508. <property name="centerButtons">
  509. <bool>true</bool>
  510. </property>
  511. </widget>
  512. </item>
  513. </layout>
  514. </item>
  515. </layout>
  516. </widget>
  517. </widget>
  518. <resources>
  519. <include location="kres.qrc"/>
  520. </resources>
  521. <connections>
  522. <connection>
  523. <sender>argCommandButtons</sender>
  524. <signal>accepted()</signal>
  525. <receiver>ArgDialog</receiver>
  526. <slot>accept()</slot>
  527. <hints>
  528. <hint type="sourcelabel">
  529. <x>248</x>
  530. <y>254</y>
  531. </hint>
  532. <hint type="destinationlabel">
  533. <x>157</x>
  534. <y>274</y>
  535. </hint>
  536. </hints>
  537. </connection>
  538. <connection>
  539. <sender>argCommandButtons</sender>
  540. <signal>rejected()</signal>
  541. <receiver>ArgDialog</receiver>
  542. <slot>reject()</slot>
  543. <hints>
  544. <hint type="sourcelabel">
  545. <x>316</x>
  546. <y>260</y>
  547. </hint>
  548. <hint type="destinationlabel">
  549. <x>286</x>
  550. <y>274</y>
  551. </hint>
  552. </hints>
  553. </connection>
  554. </connections>
  555. </ui>