ui_argdialog.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'argdialog.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.14.1
  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. QHBoxLayout *horizontalLayout_5;
  47. QPushButton *devTestButton;
  48. QDialogButtonBox *argCommandButtons;
  49. QWidget *verticalLayoutWidget_2;
  50. QVBoxLayout *verticalLayout_2;
  51. QLabel *label;
  52. QHBoxLayout *horizontalLayout_6;
  53. QSpacerItem *horizontalSpacer;
  54. QTableWidget *argList;
  55. QSpacerItem *horizontalSpacer_2;
  56. QPushButton *clear;
  57. void setupUi(QDialog *ArgDialog)
  58. {
  59. if (ArgDialog->objectName().isEmpty())
  60. ArgDialog->setObjectName(QString::fromUtf8("ArgDialog"));
  61. ArgDialog->resize(1366, 671);
  62. QIcon icon;
  63. icon.addFile(QString::fromUtf8("favicon.ico"), QSize(), QIcon::Normal, QIcon::Off);
  64. ArgDialog->setWindowIcon(icon);
  65. ArgDialog->setStyleSheet(QString::fromUtf8("border-color: rgb(0, 0, 0);\n"
  66. "background-color: rgb(0, 43, 54);"));
  67. verticalLayoutWidget = new QWidget(ArgDialog);
  68. verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
  69. verticalLayoutWidget->setGeometry(QRect(10, 10, 701, 591));
  70. verticalLayout = new QVBoxLayout(verticalLayoutWidget);
  71. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  72. verticalLayout->setContentsMargins(0, 0, 0, 0);
  73. argDialogTitle = new QLabel(verticalLayoutWidget);
  74. argDialogTitle->setObjectName(QString::fromUtf8("argDialogTitle"));
  75. QFont font;
  76. font.setPointSize(22);
  77. font.setBold(true);
  78. font.setWeight(75);
  79. argDialogTitle->setFont(font);
  80. argDialogTitle->setStyleSheet(QString::fromUtf8("color: rgb(170, 0, 255);\n"
  81. "color: rgb(255, 85, 0);\n"
  82. " qproperty-alignment: 'AlignHCenter';\n"
  83. ""));
  84. verticalLayout->addWidget(argDialogTitle);
  85. horizontalLayout = new QHBoxLayout();
  86. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  87. label_2 = new QLabel(verticalLayoutWidget);
  88. label_2->setObjectName(QString::fromUtf8("label_2"));
  89. QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
  90. sizePolicy.setHorizontalStretch(2);
  91. sizePolicy.setVerticalStretch(0);
  92. sizePolicy.setHeightForWidth(label_2->sizePolicy().hasHeightForWidth());
  93. label_2->setSizePolicy(sizePolicy);
  94. label_2->setMinimumSize(QSize(108, 0));
  95. label_2->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  96. "color: rgb(131, 148, 150);\n"
  97. "font-weight: 700;"));
  98. horizontalLayout->addWidget(label_2);
  99. argType = new QComboBox(verticalLayoutWidget);
  100. argType->addItem(QString());
  101. argType->addItem(QString());
  102. argType->addItem(QString());
  103. argType->addItem(QString());
  104. argType->addItem(QString());
  105. argType->setObjectName(QString::fromUtf8("argType"));
  106. QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
  107. sizePolicy1.setHorizontalStretch(0);
  108. sizePolicy1.setVerticalStretch(0);
  109. sizePolicy1.setHeightForWidth(argType->sizePolicy().hasHeightForWidth());
  110. argType->setSizePolicy(sizePolicy1);
  111. argType->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  112. "background-color: #2f535f;\n"
  113. "color: rgb(131, 148, 150);\n"
  114. "font-weight: 700;\n"
  115. ""));
  116. horizontalLayout->addWidget(argType);
  117. verticalLayout->addLayout(horizontalLayout);
  118. horizontalLayout_2 = new QHBoxLayout();
  119. horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
  120. label_3 = new QLabel(verticalLayoutWidget);
  121. label_3->setObjectName(QString::fromUtf8("label_3"));
  122. label_3->setMinimumSize(QSize(108, 0));
  123. label_3->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  124. "color: rgb(131, 148, 150);\n"
  125. "font-weight: 700;\n"
  126. " qproperty-alignment: 'AlignVLeft';"));
  127. horizontalLayout_2->addWidget(label_3);
  128. argInput = new QTextEdit(verticalLayoutWidget);
  129. argInput->setObjectName(QString::fromUtf8("argInput"));
  130. argInput->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_2->addWidget(argInput);
  136. verticalLayout->addLayout(horizontalLayout_2);
  137. addArgument = new QPushButton(verticalLayoutWidget);
  138. addArgument->setObjectName(QString::fromUtf8("addArgument"));
  139. addArgument->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  140. "font: 87 11pt \"Noto Sans\";\n"
  141. "color: rgb(0, 43, 54);\n"
  142. "font-weight: 700;\n"
  143. "padding: 4px;\n"
  144. "border-style: outset;\n"
  145. "border-width: 2px;\n"
  146. "border-radius: 4px;\n"
  147. "border-color: #00000f;\n"
  148. "min-width: 4em;\n"
  149. "padding: 4px;"));
  150. verticalLayout->addWidget(addArgument);
  151. horizontalLayout_3 = new QHBoxLayout();
  152. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  153. label_4 = new QLabel(verticalLayoutWidget);
  154. label_4->setObjectName(QString::fromUtf8("label_4"));
  155. QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Preferred);
  156. sizePolicy2.setHorizontalStretch(0);
  157. sizePolicy2.setVerticalStretch(0);
  158. sizePolicy2.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
  159. label_4->setSizePolicy(sizePolicy2);
  160. label_4->setMinimumSize(QSize(196, 0));
  161. label_4->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  162. "color: rgb(131, 148, 150);\n"
  163. "font-weight: 700;"));
  164. horizontalLayout_3->addWidget(label_4, 0, Qt::AlignVCenter);
  165. addFile = new QPushButton(verticalLayoutWidget);
  166. addFile->setObjectName(QString::fromUtf8("addFile"));
  167. addFile->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  168. "font: 87 11pt \"Noto Sans\";\n"
  169. "color: rgb(0, 43, 54);\n"
  170. "font-weight: 700;\n"
  171. "padding: 4px;\n"
  172. "border-style: outset;\n"
  173. "border-width: 2px;\n"
  174. "border-radius: 4px;\n"
  175. "border-color: #00000f;\n"
  176. "min-width: 4em;\n"
  177. "padding: 4px;"));
  178. horizontalLayout_3->addWidget(addFile);
  179. verticalLayout->addLayout(horizontalLayout_3);
  180. horizontalLayout_4 = new QHBoxLayout();
  181. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  182. label_5 = new QLabel(verticalLayoutWidget);
  183. label_5->setObjectName(QString::fromUtf8("label_5"));
  184. sizePolicy2.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
  185. label_5->setSizePolicy(sizePolicy2);
  186. label_5->setMinimumSize(QSize(52, 0));
  187. label_5->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  188. "color: rgb(131, 148, 150);\n"
  189. "font-weight: 700;\n"
  190. " qproperty-alignment: 'AlignHCenter';"));
  191. horizontalLayout_4->addWidget(label_5, 0, Qt::AlignVCenter);
  192. dateTime = new QDateTimeEdit(verticalLayoutWidget);
  193. dateTime->setObjectName(QString::fromUtf8("dateTime"));
  194. sizePolicy1.setHeightForWidth(dateTime->sizePolicy().hasHeightForWidth());
  195. dateTime->setSizePolicy(sizePolicy1);
  196. dateTime->setMinimumSize(QSize(380, 38));
  197. dateTime->setStyleSheet(QString::fromUtf8("background-color: #00000f;\n"
  198. "color: #2f535f;\n"
  199. "font-weight: 700;\n"
  200. "font-size: 16pt;"));
  201. horizontalLayout_4->addWidget(dateTime, 0, Qt::AlignRight);
  202. verticalLayout->addLayout(horizontalLayout_4);
  203. horizontalLayout_5 = new QHBoxLayout();
  204. horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
  205. devTestButton = new QPushButton(verticalLayoutWidget);
  206. devTestButton->setObjectName(QString::fromUtf8("devTestButton"));
  207. devTestButton->setStyleSheet(QString::fromUtf8("background-color: rgb(130, 255, 121);\n"
  208. "background-color: rgb(2, 180, 43);\n"
  209. "font: 87 11pt \"Noto Sans\";\n"
  210. "color: rgb(0, 0, 0);\n"
  211. "font-weight: 700;\n"
  212. "padding: 4px;\n"
  213. "border-style: outset;\n"
  214. "border-width: 2px;\n"
  215. "border-radius: 4px;\n"
  216. "border-color: #00000f;\n"
  217. "min-width: 4em;\n"
  218. "padding: 4px;"));
  219. horizontalLayout_5->addWidget(devTestButton);
  220. argCommandButtons = new QDialogButtonBox(verticalLayoutWidget);
  221. argCommandButtons->setObjectName(QString::fromUtf8("argCommandButtons"));
  222. QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Fixed);
  223. sizePolicy3.setHorizontalStretch(0);
  224. sizePolicy3.setVerticalStretch(0);
  225. sizePolicy3.setHeightForWidth(argCommandButtons->sizePolicy().hasHeightForWidth());
  226. argCommandButtons->setSizePolicy(sizePolicy3);
  227. argCommandButtons->setLayoutDirection(Qt::LeftToRight);
  228. argCommandButtons->setAutoFillBackground(false);
  229. argCommandButtons->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  230. "font: 87 11pt \"Noto Sans\";\n"
  231. "color: rgb(0, 43, 54);\n"
  232. "font-weight: 700;\n"
  233. "padding: 4px;\n"
  234. "border-style: outset;\n"
  235. "border-width: 2px;\n"
  236. "border-radius: 4px;\n"
  237. "border-color: #00000f;\n"
  238. "min-width: 4em;\n"
  239. "padding: 4px;"));
  240. argCommandButtons->setOrientation(Qt::Horizontal);
  241. argCommandButtons->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
  242. argCommandButtons->setCenterButtons(true);
  243. horizontalLayout_5->addWidget(argCommandButtons);
  244. verticalLayout->addLayout(horizontalLayout_5);
  245. verticalLayout->setStretch(2, 1);
  246. verticalLayoutWidget_2 = new QWidget(ArgDialog);
  247. verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
  248. verticalLayoutWidget_2->setGeometry(QRect(710, 10, 641, 591));
  249. verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
  250. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  251. verticalLayout_2->setContentsMargins(0, 0, 0, 0);
  252. label = new QLabel(verticalLayoutWidget_2);
  253. label->setObjectName(QString::fromUtf8("label"));
  254. label->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  255. "color: rgb(131, 148, 150);\n"
  256. "font-weight: 700;\n"
  257. "padding-left: 8px;"));
  258. verticalLayout_2->addWidget(label);
  259. horizontalLayout_6 = new QHBoxLayout();
  260. horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
  261. horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  262. horizontalLayout_6->addItem(horizontalSpacer);
  263. argList = new QTableWidget(verticalLayoutWidget_2);
  264. if (argList->columnCount() < 3)
  265. argList->setColumnCount(3);
  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(3);
  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. horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  281. horizontalLayout_6->addItem(horizontalSpacer_2);
  282. verticalLayout_2->addLayout(horizontalLayout_6);
  283. clear = new QPushButton(verticalLayoutWidget_2);
  284. clear->setObjectName(QString::fromUtf8("clear"));
  285. clear->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  286. "font: 87 11pt \"Noto Sans\";\n"
  287. "color: rgb(0, 43, 54);\n"
  288. "font-weight: 700;\n"
  289. "padding: 4px;\n"
  290. "border-style: outset;\n"
  291. "border-width: 2px;\n"
  292. "border-radius: 4px;\n"
  293. "border-color: #00000f;\n"
  294. "min-width: 4em;\n"
  295. "padding: 4px;"));
  296. verticalLayout_2->addWidget(clear);
  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. devTestButton->setText(QCoreApplication::translate("ArgDialog", "DEV TEST", nullptr));
  318. label->setText(QCoreApplication::translate("ArgDialog", "Items to send", 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