ui_argdialog.h 14 KB

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