argdialog.ui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487
  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>940</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>
  18. <normaloff>favicon.ico</normaloff>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>921</width>
  30. <height>851</height>
  31. </rect>
  32. </property>
  33. <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,1,0,0,0,3,0,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">
  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>108</width>
  67. <height>0</height>
  68. </size>
  69. </property>
  70. <property name="styleSheet">
  71. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  72. color: rgb(131, 148, 150);
  73. font-weight: 700;</string>
  74. </property>
  75. <property name="text">
  76. <string>Type</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item>
  81. <widget class="QComboBox" name="argType">
  82. <property name="sizePolicy">
  83. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  84. <horstretch>0</horstretch>
  85. <verstretch>0</verstretch>
  86. </sizepolicy>
  87. </property>
  88. <property name="styleSheet">
  89. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  90. background-color: #2f535f;
  91. color: rgb(131, 148, 150);
  92. font-weight: 700;
  93. </string>
  94. </property>
  95. <item>
  96. <property name="text">
  97. <string>description</string>
  98. </property>
  99. </item>
  100. <item>
  101. <property name="text">
  102. <string>hashtag</string>
  103. </property>
  104. </item>
  105. <item>
  106. <property name="text">
  107. <string>requested by</string>
  108. </property>
  109. </item>
  110. <item>
  111. <property name="text">
  112. <string>promote/share</string>
  113. </property>
  114. </item>
  115. <item>
  116. <property name="text">
  117. <string>link/bio</string>
  118. </property>
  119. </item>
  120. </widget>
  121. </item>
  122. </layout>
  123. </item>
  124. <item>
  125. <layout class="QHBoxLayout" name="horizontalLayout_2">
  126. <item>
  127. <widget class="QLabel" name="label_3">
  128. <property name="sizePolicy">
  129. <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
  130. <horstretch>0</horstretch>
  131. <verstretch>0</verstretch>
  132. </sizepolicy>
  133. </property>
  134. <property name="minimumSize">
  135. <size>
  136. <width>0</width>
  137. <height>0</height>
  138. </size>
  139. </property>
  140. <property name="styleSheet">
  141. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  142. color: rgb(131, 148, 150);
  143. font-weight: 700;
  144. qproperty-alignment: 'AlignVLeft';</string>
  145. </property>
  146. <property name="text">
  147. <string>Input</string>
  148. </property>
  149. </widget>
  150. </item>
  151. <item>
  152. <widget class="QTextEdit" name="argInput">
  153. <property name="styleSheet">
  154. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  155. background-color: #2f535f;
  156. color: rgb(131, 148, 150);
  157. font-weight: 700;
  158. </string>
  159. </property>
  160. </widget>
  161. </item>
  162. <item>
  163. <widget class="QPushButton" name="addArgument">
  164. <property name="sizePolicy">
  165. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  166. <horstretch>0</horstretch>
  167. <verstretch>0</verstretch>
  168. </sizepolicy>
  169. </property>
  170. <property name="minimumSize">
  171. <size>
  172. <width>100</width>
  173. <height>0</height>
  174. </size>
  175. </property>
  176. <property name="styleSheet">
  177. <string notr="true">background-color: #2f535f;
  178. font: 87 11pt &quot;Noto Sans&quot;;
  179. color: rgb(149, 155, 156);
  180. font-weight: 700;
  181. padding: 4px;
  182. border-style: outset;
  183. border-width: 2px;
  184. border-radius: 4px;
  185. border-color: #00000f;
  186. min-width: 4em;
  187. padding: 4px;</string>
  188. </property>
  189. <property name="text">
  190. <string>Add</string>
  191. </property>
  192. <property name="icon">
  193. <iconset>
  194. <normaloff>icons/right-arrow.png</normaloff>icons/right-arrow.png</iconset>
  195. </property>
  196. <property name="flat">
  197. <bool>false</bool>
  198. </property>
  199. </widget>
  200. </item>
  201. </layout>
  202. </item>
  203. <item>
  204. <layout class="QHBoxLayout" name="horizontalLayout_3">
  205. <item alignment="Qt::AlignVCenter">
  206. <widget class="QLabel" name="label_4">
  207. <property name="sizePolicy">
  208. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  209. <horstretch>0</horstretch>
  210. <verstretch>0</verstretch>
  211. </sizepolicy>
  212. </property>
  213. <property name="minimumSize">
  214. <size>
  215. <width>196</width>
  216. <height>0</height>
  217. </size>
  218. </property>
  219. <property name="styleSheet">
  220. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  221. color: rgb(131, 148, 150);
  222. font-weight: 700;</string>
  223. </property>
  224. <property name="text">
  225. <string>Add file attachment</string>
  226. </property>
  227. </widget>
  228. </item>
  229. <item>
  230. <widget class="QPushButton" name="addFile">
  231. <property name="styleSheet">
  232. <string notr="true">background-color: #2f535f;
  233. font: 87 11pt &quot;Noto Sans&quot;;
  234. color: rgb(149, 155, 156);
  235. font-weight: 700;
  236. padding: 4px;
  237. border-style: outset;
  238. border-width: 2px;
  239. border-radius: 4px;
  240. border-color: #00000f;
  241. min-width: 4em;
  242. padding: 4px;</string>
  243. </property>
  244. <property name="text">
  245. <string>Choose</string>
  246. </property>
  247. </widget>
  248. </item>
  249. </layout>
  250. </item>
  251. <item>
  252. <layout class="QHBoxLayout" name="horizontalLayout_4">
  253. <item alignment="Qt::AlignVCenter">
  254. <widget class="QLabel" name="label_5">
  255. <property name="sizePolicy">
  256. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  257. <horstretch>0</horstretch>
  258. <verstretch>0</verstretch>
  259. </sizepolicy>
  260. </property>
  261. <property name="minimumSize">
  262. <size>
  263. <width>52</width>
  264. <height>0</height>
  265. </size>
  266. </property>
  267. <property name="styleSheet">
  268. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  269. color: rgb(131, 148, 150);
  270. font-weight: 700;
  271. qproperty-alignment: 'AlignHCenter';</string>
  272. </property>
  273. <property name="text">
  274. <string>Time</string>
  275. </property>
  276. </widget>
  277. </item>
  278. <item alignment="Qt::AlignRight">
  279. <widget class="QDateTimeEdit" name="dateTime">
  280. <property name="sizePolicy">
  281. <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
  282. <horstretch>0</horstretch>
  283. <verstretch>0</verstretch>
  284. </sizepolicy>
  285. </property>
  286. <property name="minimumSize">
  287. <size>
  288. <width>380</width>
  289. <height>38</height>
  290. </size>
  291. </property>
  292. <property name="styleSheet">
  293. <string notr="true">background-color: #00000f;
  294. color: #2f535f;
  295. font-weight: 700;
  296. font-size: 16pt;</string>
  297. </property>
  298. </widget>
  299. </item>
  300. </layout>
  301. </item>
  302. <item>
  303. <widget class="QLabel" name="label">
  304. <property name="styleSheet">
  305. <string notr="true">font: 75 11pt &quot;Noto Sans&quot;;
  306. color: rgb(131, 148, 150);
  307. font-weight: 700;
  308. padding-left: 8px;</string>
  309. </property>
  310. <property name="text">
  311. <string>Items to send</string>
  312. </property>
  313. </widget>
  314. </item>
  315. <item>
  316. <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="0,0,0">
  317. <item>
  318. <spacer name="horizontalSpacer">
  319. <property name="orientation">
  320. <enum>Qt::Horizontal</enum>
  321. </property>
  322. <property name="sizeType">
  323. <enum>QSizePolicy::Maximum</enum>
  324. </property>
  325. <property name="sizeHint" stdset="0">
  326. <size>
  327. <width>20</width>
  328. <height>20</height>
  329. </size>
  330. </property>
  331. </spacer>
  332. </item>
  333. <item>
  334. <widget class="QTableWidget" name="argList">
  335. <property name="styleSheet">
  336. <string notr="true">font: 87 11pt &quot;Noto Sans&quot;;
  337. background-color: #2f535f;
  338. color: rgb(131, 148, 150);
  339. font-weight: 700;
  340. padding-left: 2px;</string>
  341. </property>
  342. <property name="showGrid">
  343. <bool>true</bool>
  344. </property>
  345. <property name="columnCount">
  346. <number>4</number>
  347. </property>
  348. <attribute name="horizontalHeaderCascadingSectionResizes">
  349. <bool>false</bool>
  350. </attribute>
  351. <attribute name="horizontalHeaderMinimumSectionSize">
  352. <number>100</number>
  353. </attribute>
  354. <attribute name="horizontalHeaderDefaultSectionSize">
  355. <number>200</number>
  356. </attribute>
  357. <attribute name="verticalHeaderMinimumSectionSize">
  358. <number>100</number>
  359. </attribute>
  360. <attribute name="verticalHeaderDefaultSectionSize">
  361. <number>100</number>
  362. </attribute>
  363. <column/>
  364. <column/>
  365. <column/>
  366. <column/>
  367. </widget>
  368. </item>
  369. <item>
  370. <spacer name="horizontalSpacer_2">
  371. <property name="orientation">
  372. <enum>Qt::Horizontal</enum>
  373. </property>
  374. <property name="sizeType">
  375. <enum>QSizePolicy::Maximum</enum>
  376. </property>
  377. <property name="sizeHint" stdset="0">
  378. <size>
  379. <width>20</width>
  380. <height>20</height>
  381. </size>
  382. </property>
  383. </spacer>
  384. </item>
  385. </layout>
  386. </item>
  387. <item>
  388. <widget class="QPushButton" name="clear">
  389. <property name="styleSheet">
  390. <string notr="true">background-color: #2f535f;
  391. font: 87 11pt &quot;Noto Sans&quot;;
  392. color: rgb(149, 155, 156);
  393. font-weight: 700;
  394. padding: 4px;
  395. border-style: outset;
  396. border-width: 2px;
  397. border-radius: 4px;
  398. border-color: #00000f;
  399. min-width: 4em;
  400. padding: 4px;</string>
  401. </property>
  402. <property name="text">
  403. <string>Clear</string>
  404. </property>
  405. </widget>
  406. </item>
  407. <item>
  408. <layout class="QHBoxLayout" name="horizontalLayout_5">
  409. <item>
  410. <widget class="QDialogButtonBox" name="argCommandButtons">
  411. <property name="sizePolicy">
  412. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  413. <horstretch>0</horstretch>
  414. <verstretch>0</verstretch>
  415. </sizepolicy>
  416. </property>
  417. <property name="layoutDirection">
  418. <enum>Qt::LeftToRight</enum>
  419. </property>
  420. <property name="autoFillBackground">
  421. <bool>false</bool>
  422. </property>
  423. <property name="styleSheet">
  424. <string notr="true">background-color: rgb(255, 85, 0);
  425. font: 87 11pt &quot;Noto Sans&quot;;
  426. color: rgb(0, 43, 54);
  427. font-weight: 700;
  428. padding: 4px;
  429. border-style: outset;
  430. border-width: 2px;
  431. border-radius: 4px;
  432. border-color: #00000f;
  433. min-width: 4em;
  434. padding: 4px;</string>
  435. </property>
  436. <property name="orientation">
  437. <enum>Qt::Horizontal</enum>
  438. </property>
  439. <property name="standardButtons">
  440. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
  441. </property>
  442. <property name="centerButtons">
  443. <bool>true</bool>
  444. </property>
  445. </widget>
  446. </item>
  447. </layout>
  448. </item>
  449. </layout>
  450. </widget>
  451. </widget>
  452. <resources/>
  453. <connections>
  454. <connection>
  455. <sender>argCommandButtons</sender>
  456. <signal>accepted()</signal>
  457. <receiver>ArgDialog</receiver>
  458. <slot>accept()</slot>
  459. <hints>
  460. <hint type="sourcelabel">
  461. <x>248</x>
  462. <y>254</y>
  463. </hint>
  464. <hint type="destinationlabel">
  465. <x>157</x>
  466. <y>274</y>
  467. </hint>
  468. </hints>
  469. </connection>
  470. <connection>
  471. <sender>argCommandButtons</sender>
  472. <signal>rejected()</signal>
  473. <receiver>ArgDialog</receiver>
  474. <slot>reject()</slot>
  475. <hints>
  476. <hint type="sourcelabel">
  477. <x>316</x>
  478. <y>260</y>
  479. </hint>
  480. <hint type="destinationlabel">
  481. <x>286</x>
  482. <y>274</y>
  483. </hint>
  484. </hints>
  485. </connection>
  486. </connections>
  487. </ui>