ui_argdialog.h 15 KB

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