ui_argdialog.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'argdialog.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.13.0
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_ARGDIALOG_H
  9. #define UI_ARGDIALOG_H
  10. #include <QtCore/QVariant>
  11. #include <QtGui/QIcon>
  12. #include <QtWidgets/QApplication>
  13. #include <QtWidgets/QComboBox>
  14. #include <QtWidgets/QDateTimeEdit>
  15. #include <QtWidgets/QDialog>
  16. #include <QtWidgets/QDialogButtonBox>
  17. #include <QtWidgets/QHBoxLayout>
  18. #include <QtWidgets/QHeaderView>
  19. #include <QtWidgets/QLabel>
  20. #include <QtWidgets/QPushButton>
  21. #include <QtWidgets/QTableWidget>
  22. #include <QtWidgets/QTextEdit>
  23. #include <QtWidgets/QVBoxLayout>
  24. #include <QtWidgets/QWidget>
  25. QT_BEGIN_NAMESPACE
  26. class Ui_ArgDialog
  27. {
  28. public:
  29. QWidget *verticalLayoutWidget;
  30. QVBoxLayout *verticalLayout;
  31. QLabel *argDialogTitle;
  32. QHBoxLayout *horizontalLayout;
  33. QLabel *label_2;
  34. QComboBox *argType;
  35. QLabel *label_6;
  36. QComboBox *user;
  37. QHBoxLayout *horizontalLayout_2;
  38. QLabel *label_3;
  39. QTextEdit *argInput;
  40. QPushButton *addArgument;
  41. QHBoxLayout *horizontalLayout_3;
  42. QLabel *label_4;
  43. QPushButton *addFile;
  44. QHBoxLayout *horizontalLayout_4;
  45. QLabel *label_5;
  46. QDateTimeEdit *dateTime;
  47. QLabel *label;
  48. QHBoxLayout *horizontalLayout_6;
  49. QTableWidget *argList;
  50. QHBoxLayout *horizontalLayout_5;
  51. QPushButton *clear;
  52. QDialogButtonBox *argCommandButtons;
  53. void setupUi(QDialog *ArgDialog)
  54. {
  55. if (ArgDialog->objectName().isEmpty())
  56. ArgDialog->setObjectName(QString::fromUtf8("ArgDialog"));
  57. ArgDialog->resize(970, 864);
  58. QIcon icon;
  59. icon.addFile(QString::fromUtf8(":/icons/favicon.ico"), QSize(), QIcon::Normal, QIcon::Off);
  60. ArgDialog->setWindowIcon(icon);
  61. ArgDialog->setStyleSheet(QString::fromUtf8("border-color: rgb(0, 0, 0);\n"
  62. "background-color: rgb(0, 43, 54);"));
  63. verticalLayoutWidget = new QWidget(ArgDialog);
  64. verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
  65. verticalLayoutWidget->setGeometry(QRect(10, 10, 948, 851));
  66. verticalLayout = new QVBoxLayout(verticalLayoutWidget);
  67. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  68. verticalLayout->setContentsMargins(0, 0, 0, 0);
  69. argDialogTitle = new QLabel(verticalLayoutWidget);
  70. argDialogTitle->setObjectName(QString::fromUtf8("argDialogTitle"));
  71. QFont font;
  72. font.setPointSize(22);
  73. font.setBold(true);
  74. font.setWeight(75);
  75. argDialogTitle->setFont(font);
  76. argDialogTitle->setStyleSheet(QString::fromUtf8("color: rgb(170, 0, 255);\n"
  77. "color: rgb(255, 85, 0);\n"
  78. " qproperty-alignment: 'AlignHCenter';\n"
  79. ""));
  80. verticalLayout->addWidget(argDialogTitle);
  81. horizontalLayout = new QHBoxLayout();
  82. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  83. label_2 = new QLabel(verticalLayoutWidget);
  84. label_2->setObjectName(QString::fromUtf8("label_2"));
  85. QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
  86. sizePolicy.setHorizontalStretch(2);
  87. sizePolicy.setVerticalStretch(0);
  88. sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
  89. label_2->setSizePolicy(sizePolicy);
  90. label_2->setMinimumSize(QSize(196, 0));
  91. label_2->setMaximumSize(QSize(196, 16777215));
  92. label_2->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  93. "color: rgb(131, 148, 150);\n"
  94. "font-weight: 700;"));
  95. label_2->setAlignment(Qt::AlignCenter);
  96. horizontalLayout->addWidget(label_2);
  97. argType = new QComboBox(verticalLayoutWidget);
  98. argType->addItem(QString());
  99. argType->addItem(QString());
  100. argType->addItem(QString());
  101. argType->addItem(QString());
  102. argType->addItem(QString());
  103. argType->setObjectName(QString::fromUtf8("argType"));
  104. QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
  105. sizePolicy1.setHorizontalStretch(0);
  106. sizePolicy1.setVerticalStretch(0);
  107. sizePolicy1.setHeightForWidth(argType->sizePolicy().hasHeightForWidth());
  108. argType->setSizePolicy(sizePolicy1);
  109. argType->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  110. "background-color: #2f535f;\n"
  111. "color: rgb(131, 148, 150);\n"
  112. "font-weight: 700;\n"
  113. ""));
  114. horizontalLayout->addWidget(argType);
  115. label_6 = new QLabel(verticalLayoutWidget);
  116. label_6->setObjectName(QString::fromUtf8("label_6"));
  117. sizePolicy.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
  118. label_6->setSizePolicy(sizePolicy);
  119. label_6->setMinimumSize(QSize(196, 0));
  120. label_6->setMaximumSize(QSize(196, 16777215));
  121. label_6->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  122. "color: rgb(131, 148, 150);\n"
  123. "font-weight: 700;"));
  124. label_6->setAlignment(Qt::AlignCenter);
  125. horizontalLayout->addWidget(label_6);
  126. user = new QComboBox(verticalLayoutWidget);
  127. user->setObjectName(QString::fromUtf8("user"));
  128. sizePolicy1.setHeightForWidth(user->sizePolicy().hasHeightForWidth());
  129. user->setSizePolicy(sizePolicy1);
  130. user->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  131. "background-color: #2f535f;\n"
  132. "color: rgb(131, 148, 150);\n"
  133. "font-weight: 700;\n"
  134. ""));
  135. horizontalLayout->addWidget(user);
  136. verticalLayout->addLayout(horizontalLayout);
  137. horizontalLayout_2 = new QHBoxLayout();
  138. horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
  139. label_3 = new QLabel(verticalLayoutWidget);
  140. label_3->setObjectName(QString::fromUtf8("label_3"));
  141. QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
  142. sizePolicy2.setHorizontalStretch(0);
  143. sizePolicy2.setVerticalStretch(0);
  144. sizePolicy2.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
  145. label_3->setSizePolicy(sizePolicy2);
  146. label_3->setMinimumSize(QSize(196, 0));
  147. label_3->setMaximumSize(QSize(196, 16777215));
  148. label_3->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  149. "color: rgb(131, 148, 150);\n"
  150. "font-weight: 700;\n"
  151. " qproperty-alignment: 'AlignVLeft';"));
  152. label_3->setAlignment(Qt::AlignCenter);
  153. horizontalLayout_2->addWidget(label_3);
  154. argInput = new QTextEdit(verticalLayoutWidget);
  155. argInput->setObjectName(QString::fromUtf8("argInput"));
  156. argInput->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  157. "background-color: #2f535f;\n"
  158. "color: rgb(131, 148, 150);\n"
  159. "font-weight: 700;\n"
  160. ""));
  161. horizontalLayout_2->addWidget(argInput);
  162. verticalLayout->addLayout(horizontalLayout_2);
  163. addArgument = new QPushButton(verticalLayoutWidget);
  164. addArgument->setObjectName(QString::fromUtf8("addArgument"));
  165. QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Fixed);
  166. sizePolicy3.setHorizontalStretch(0);
  167. sizePolicy3.setVerticalStretch(0);
  168. sizePolicy3.setHeightForWidth(addArgument->sizePolicy().hasHeightForWidth());
  169. addArgument->setSizePolicy(sizePolicy3);
  170. addArgument->setMinimumSize(QSize(100, 0));
  171. addArgument->setLayoutDirection(Qt::LeftToRight);
  172. addArgument->setStyleSheet(QString::fromUtf8("background-color: #2f535f;\n"
  173. "font: 87 11pt \"Noto Sans\";\n"
  174. "color: rgb(149, 155, 156);\n"
  175. "font-weight: 700;\n"
  176. "padding: 4px;\n"
  177. "border-style: outset;\n"
  178. "border-width: 2px;\n"
  179. "border-radius: 4px;\n"
  180. "border-color: #00000f;\n"
  181. "min-width: 4em;\n"
  182. "padding: 4px;"));
  183. addArgument->setFlat(false);
  184. verticalLayout->addWidget(addArgument);
  185. horizontalLayout_3 = new QHBoxLayout();
  186. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  187. label_4 = new QLabel(verticalLayoutWidget);
  188. label_4->setObjectName(QString::fromUtf8("label_4"));
  189. QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Preferred);
  190. sizePolicy4.setHorizontalStretch(0);
  191. sizePolicy4.setVerticalStretch(0);
  192. sizePolicy4.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
  193. label_4->setSizePolicy(sizePolicy4);
  194. label_4->setMinimumSize(QSize(196, 0));
  195. label_4->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  196. "color: rgb(131, 148, 150);\n"
  197. "font-weight: 700;"));
  198. label_4->setAlignment(Qt::AlignCenter);
  199. horizontalLayout_3->addWidget(label_4, 0, Qt::AlignVCenter);
  200. addFile = new QPushButton(verticalLayoutWidget);
  201. addFile->setObjectName(QString::fromUtf8("addFile"));
  202. addFile->setStyleSheet(QString::fromUtf8("background-color: #2f535f;\n"
  203. "font: 87 11pt \"Noto Sans\";\n"
  204. "color: rgb(149, 155, 156);\n"
  205. "font-weight: 700;\n"
  206. "padding: 4px;\n"
  207. "border-style: outset;\n"
  208. "border-width: 2px;\n"
  209. "border-radius: 4px;\n"
  210. "border-color: #00000f;\n"
  211. "min-width: 4em;\n"
  212. "padding: 4px;"));
  213. QIcon icon1;
  214. QString iconThemeName = QString::fromUtf8("clip.png");
  215. if (QIcon::hasThemeIcon(iconThemeName)) {
  216. icon1 = QIcon::fromTheme(iconThemeName);
  217. } else {
  218. icon1.addFile(QString::fromUtf8(":/icons/icons/clip.png"), QSize(), QIcon::Normal, QIcon::On);
  219. }
  220. addFile->setIcon(icon1);
  221. horizontalLayout_3->addWidget(addFile);
  222. verticalLayout->addLayout(horizontalLayout_3);
  223. horizontalLayout_4 = new QHBoxLayout();
  224. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  225. label_5 = new QLabel(verticalLayoutWidget);
  226. label_5->setObjectName(QString::fromUtf8("label_5"));
  227. QSizePolicy sizePolicy5(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
  228. sizePolicy5.setHorizontalStretch(0);
  229. sizePolicy5.setVerticalStretch(0);
  230. sizePolicy5.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
  231. label_5->setSizePolicy(sizePolicy5);
  232. label_5->setMinimumSize(QSize(196, 0));
  233. label_5->setMaximumSize(QSize(196, 16777215));
  234. label_5->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  235. "color: rgb(131, 148, 150);\n"
  236. "font-weight: 700;\n"
  237. " qproperty-alignment: 'AlignHCenter';"));
  238. label_5->setAlignment(Qt::AlignHCenter);
  239. horizontalLayout_4->addWidget(label_5, 0, Qt::AlignVCenter);
  240. dateTime = new QDateTimeEdit(verticalLayoutWidget);
  241. dateTime->setObjectName(QString::fromUtf8("dateTime"));
  242. QSizePolicy sizePolicy6(QSizePolicy::Minimum, QSizePolicy::Fixed);
  243. sizePolicy6.setHorizontalStretch(0);
  244. sizePolicy6.setVerticalStretch(0);
  245. sizePolicy6.setHeightForWidth(dateTime->sizePolicy().hasHeightForWidth());
  246. dateTime->setSizePolicy(sizePolicy6);
  247. dateTime->setMinimumSize(QSize(740, 38));
  248. dateTime->setStyleSheet(QString::fromUtf8("background-color: #00000f;\n"
  249. "color: #2f535f;\n"
  250. "font-weight: 700;\n"
  251. "font-size: 16pt;"));
  252. horizontalLayout_4->addWidget(dateTime, 0, Qt::AlignRight);
  253. verticalLayout->addLayout(horizontalLayout_4);
  254. label = new QLabel(verticalLayoutWidget);
  255. label->setObjectName(QString::fromUtf8("label"));
  256. label->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  257. "color: rgb(131, 148, 150);\n"
  258. "font-weight: 700;\n"
  259. "padding-left: 8px;"));
  260. verticalLayout->addWidget(label);
  261. horizontalLayout_6 = new QHBoxLayout();
  262. horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
  263. argList = new QTableWidget(verticalLayoutWidget);
  264. if (argList->columnCount() < 4)
  265. argList->setColumnCount(4);
  266. argList->setObjectName(QString::fromUtf8("argList"));
  267. argList->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  268. "background-color: #2f535f;\n"
  269. "color: rgb(131, 148, 150);\n"
  270. "font-weight: 700;\n"
  271. "padding-left: 2px;"));
  272. argList->setShowGrid(true);
  273. argList->setColumnCount(4);
  274. argList->horizontalHeader()->setCascadingSectionResizes(false);
  275. argList->horizontalHeader()->setMinimumSectionSize(100);
  276. argList->horizontalHeader()->setDefaultSectionSize(200);
  277. argList->verticalHeader()->setMinimumSectionSize(100);
  278. argList->verticalHeader()->setDefaultSectionSize(100);
  279. horizontalLayout_6->addWidget(argList);
  280. verticalLayout->addLayout(horizontalLayout_6);
  281. horizontalLayout_5 = new QHBoxLayout();
  282. horizontalLayout_5->setSpacing(4);
  283. horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
  284. clear = new QPushButton(verticalLayoutWidget);
  285. clear->setObjectName(QString::fromUtf8("clear"));
  286. QSizePolicy sizePolicy7(QSizePolicy::Expanding, QSizePolicy::Fixed);
  287. sizePolicy7.setHorizontalStretch(0);
  288. sizePolicy7.setVerticalStretch(0);
  289. sizePolicy7.setHeightForWidth(clear->sizePolicy().hasHeightForWidth());
  290. clear->setSizePolicy(sizePolicy7);
  291. clear->setStyleSheet(QString::fromUtf8("background-color: #2f535f;\n"
  292. "font: 87 11pt \"Noto Sans\";\n"
  293. "color: rgb(149, 155, 156);\n"
  294. "font-weight: 700;\n"
  295. "padding: 4px;\n"
  296. "border-style: outset;\n"
  297. "border-width: 2px;\n"
  298. "border-radius: 4px;\n"
  299. "border-color: #00000f;\n"
  300. "min-width: 4em;\n"
  301. "padding: 4px;"));
  302. QIcon icon2;
  303. icon2.addFile(QString::fromUtf8(":/icons/icons/trash.png"), QSize(), QIcon::Normal, QIcon::On);
  304. clear->setIcon(icon2);
  305. horizontalLayout_5->addWidget(clear);
  306. argCommandButtons = new QDialogButtonBox(verticalLayoutWidget);
  307. argCommandButtons->setObjectName(QString::fromUtf8("argCommandButtons"));
  308. sizePolicy3.setHeightForWidth(argCommandButtons->sizePolicy().hasHeightForWidth());
  309. argCommandButtons->setSizePolicy(sizePolicy3);
  310. argCommandButtons->setLayoutDirection(Qt::LeftToRight);
  311. argCommandButtons->setAutoFillBackground(false);
  312. argCommandButtons->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  313. "font: 87 11pt \"Noto Sans\";\n"
  314. "color: rgb(0, 43, 54);\n"
  315. "font-weight: 700;\n"
  316. "padding: 4px;\n"
  317. "border-style: outset;\n"
  318. "border-width: 2px;\n"
  319. "border-radius: 4px;\n"
  320. "border-color: #00000f;\n"
  321. "min-width: 4em;\n"
  322. "padding: 4px;"));
  323. argCommandButtons->setOrientation(Qt::Horizontal);
  324. argCommandButtons->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Save);
  325. argCommandButtons->setCenterButtons(true);
  326. horizontalLayout_5->addWidget(argCommandButtons);
  327. verticalLayout->addLayout(horizontalLayout_5);
  328. verticalLayout->setStretch(2, 1);
  329. verticalLayout->setStretch(7, 3);
  330. retranslateUi(ArgDialog);
  331. QObject::connect(argCommandButtons, SIGNAL(accepted()), ArgDialog, SLOT(accept()));
  332. QObject::connect(argCommandButtons, SIGNAL(rejected()), ArgDialog, SLOT(reject()));
  333. QMetaObject::connectSlotsByName(ArgDialog);
  334. } // setupUi
  335. void retranslateUi(QDialog *ArgDialog)
  336. {
  337. ArgDialog->setWindowTitle(QCoreApplication::translate("ArgDialog", "Dialog", nullptr));
  338. argDialogTitle->setText(QCoreApplication::translate("ArgDialog", "Add Arguments", nullptr));
  339. label_2->setText(QCoreApplication::translate("ArgDialog", "Type", nullptr));
  340. argType->setItemText(0, QCoreApplication::translate("ArgDialog", "description", nullptr));
  341. argType->setItemText(1, QCoreApplication::translate("ArgDialog", "hashtag", nullptr));
  342. argType->setItemText(2, QCoreApplication::translate("ArgDialog", "requested by", nullptr));
  343. argType->setItemText(3, QCoreApplication::translate("ArgDialog", "promote/share", nullptr));
  344. argType->setItemText(4, QCoreApplication::translate("ArgDialog", "link/bio", nullptr));
  345. label_6->setText(QCoreApplication::translate("ArgDialog", "User", nullptr));
  346. label_3->setText(QCoreApplication::translate("ArgDialog", "Input", nullptr));
  347. addArgument->setText(QCoreApplication::translate("ArgDialog", "Add", nullptr));
  348. label_4->setText(QCoreApplication::translate("ArgDialog", "Add file attachment", nullptr));
  349. addFile->setText(QCoreApplication::translate("ArgDialog", "Choose", nullptr));
  350. label_5->setText(QCoreApplication::translate("ArgDialog", "Time", nullptr));
  351. label->setText(QCoreApplication::translate("ArgDialog", "Items to send", nullptr));
  352. clear->setText(QCoreApplication::translate("ArgDialog", "Clear", nullptr));
  353. } // retranslateUi
  354. };
  355. namespace Ui {
  356. class ArgDialog: public Ui_ArgDialog {};
  357. } // namespace Ui
  358. QT_END_NAMESPACE
  359. #endif // UI_ARGDIALOG_H