ui_argdialog.h 16 KB

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