ui_argdialog.h 15 KB

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