ui_argdialog.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367
  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. 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. void setupUi(QDialog *ArgDialog)
  57. {
  58. if (ArgDialog->objectName().isEmpty())
  59. ArgDialog->setObjectName(QString::fromUtf8("ArgDialog"));
  60. ArgDialog->resize(1366, 671);
  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, 651));
  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. horizontalLayout_5 = new QHBoxLayout();
  203. horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
  204. devTestButton = new QPushButton(verticalLayoutWidget);
  205. devTestButton->setObjectName(QString::fromUtf8("devTestButton"));
  206. devTestButton->setStyleSheet(QString::fromUtf8("background-color: rgb(130, 255, 121);\n"
  207. "background-color: rgb(2, 180, 43);\n"
  208. "font: 87 11pt \"Noto Sans\";\n"
  209. "color: rgb(0, 0, 0);\n"
  210. "font-weight: 700;\n"
  211. "padding: 4px;\n"
  212. "border-style: outset;\n"
  213. "border-width: 2px;\n"
  214. "border-radius: 4px;\n"
  215. "border-color: #00000f;\n"
  216. "min-width: 4em;\n"
  217. "padding: 4px;"));
  218. horizontalLayout_5->addWidget(devTestButton);
  219. argCommandButtons = new QDialogButtonBox(verticalLayoutWidget);
  220. argCommandButtons->setObjectName(QString::fromUtf8("argCommandButtons"));
  221. QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Fixed);
  222. sizePolicy3.setHorizontalStretch(0);
  223. sizePolicy3.setVerticalStretch(0);
  224. sizePolicy3.setHeightForWidth(argCommandButtons->sizePolicy().hasHeightForWidth());
  225. argCommandButtons->setSizePolicy(sizePolicy3);
  226. argCommandButtons->setLayoutDirection(Qt::LeftToRight);
  227. argCommandButtons->setAutoFillBackground(false);
  228. argCommandButtons->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  229. "font: 87 11pt \"Noto Sans\";\n"
  230. "color: rgb(0, 43, 54);\n"
  231. "font-weight: 700;\n"
  232. "padding: 4px;\n"
  233. "border-style: outset;\n"
  234. "border-width: 2px;\n"
  235. "border-radius: 4px;\n"
  236. "border-color: #00000f;\n"
  237. "min-width: 4em;\n"
  238. "padding: 4px;"));
  239. argCommandButtons->setOrientation(Qt::Horizontal);
  240. argCommandButtons->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
  241. argCommandButtons->setCenterButtons(true);
  242. horizontalLayout_5->addWidget(argCommandButtons);
  243. verticalLayout->addLayout(horizontalLayout_5);
  244. verticalLayout->setStretch(2, 1);
  245. verticalLayoutWidget_2 = new QWidget(ArgDialog);
  246. verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
  247. verticalLayoutWidget_2->setGeometry(QRect(710, 10, 641, 651));
  248. verticalLayout_2 = new QVBoxLayout(verticalLayoutWidget_2);
  249. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  250. verticalLayout_2->setContentsMargins(0, 0, 0, 0);
  251. label = new QLabel(verticalLayoutWidget_2);
  252. label->setObjectName(QString::fromUtf8("label"));
  253. label->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  254. "color: rgb(131, 148, 150);\n"
  255. "font-weight: 700;\n"
  256. "padding-left: 8px;"));
  257. verticalLayout_2->addWidget(label);
  258. horizontalLayout_6 = new QHBoxLayout();
  259. horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
  260. horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  261. horizontalLayout_6->addItem(horizontalSpacer);
  262. argList = new QTableWidget(verticalLayoutWidget_2);
  263. if (argList->columnCount() < 3)
  264. argList->setColumnCount(3);
  265. argList->setObjectName(QString::fromUtf8("argList"));
  266. argList->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  267. "background-color: #2f535f;\n"
  268. "color: rgb(131, 148, 150);\n"
  269. "font-weight: 700;\n"
  270. "padding-left: 2px;"));
  271. argList->setShowGrid(true);
  272. argList->setColumnCount(3);
  273. argList->horizontalHeader()->setCascadingSectionResizes(false);
  274. argList->horizontalHeader()->setMinimumSectionSize(100);
  275. argList->horizontalHeader()->setDefaultSectionSize(200);
  276. argList->verticalHeader()->setMinimumSectionSize(100);
  277. argList->verticalHeader()->setDefaultSectionSize(100);
  278. horizontalLayout_6->addWidget(argList);
  279. horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  280. horizontalLayout_6->addItem(horizontalSpacer_2);
  281. verticalLayout_2->addLayout(horizontalLayout_6);
  282. retranslateUi(ArgDialog);
  283. QObject::connect(argCommandButtons, SIGNAL(accepted()), ArgDialog, SLOT(accept()));
  284. QObject::connect(argCommandButtons, SIGNAL(rejected()), ArgDialog, SLOT(reject()));
  285. QMetaObject::connectSlotsByName(ArgDialog);
  286. } // setupUi
  287. void retranslateUi(QDialog *ArgDialog)
  288. {
  289. ArgDialog->setWindowTitle(QCoreApplication::translate("ArgDialog", "Dialog", nullptr));
  290. argDialogTitle->setText(QCoreApplication::translate("ArgDialog", "Add Arguments", nullptr));
  291. label_2->setText(QCoreApplication::translate("ArgDialog", "Type", nullptr));
  292. argType->setItemText(0, QCoreApplication::translate("ArgDialog", "description", nullptr));
  293. argType->setItemText(1, QCoreApplication::translate("ArgDialog", "hashtag", nullptr));
  294. argType->setItemText(2, QCoreApplication::translate("ArgDialog", "requested by", nullptr));
  295. argType->setItemText(3, QCoreApplication::translate("ArgDialog", "promote/share", nullptr));
  296. argType->setItemText(4, QCoreApplication::translate("ArgDialog", "link/bio", nullptr));
  297. label_3->setText(QCoreApplication::translate("ArgDialog", "Input", nullptr));
  298. addArgument->setText(QCoreApplication::translate("ArgDialog", "Add", nullptr));
  299. label_4->setText(QCoreApplication::translate("ArgDialog", "Add file attachment", nullptr));
  300. addFile->setText(QCoreApplication::translate("ArgDialog", "Choose", nullptr));
  301. label_5->setText(QCoreApplication::translate("ArgDialog", "Time", nullptr));
  302. devTestButton->setText(QCoreApplication::translate("ArgDialog", "DEV TEST", nullptr));
  303. label->setText(QCoreApplication::translate("ArgDialog", "Items to send", nullptr));
  304. } // retranslateUi
  305. };
  306. namespace Ui {
  307. class ArgDialog: public Ui_ArgDialog {};
  308. } // namespace Ui
  309. QT_END_NAMESPACE
  310. #endif // UI_ARGDIALOG_H