ui_argdialog.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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. QPushButton *clear;
  52. QHBoxLayout *horizontalLayout_5;
  53. QDialogButtonBox *argCommandButtons;
  54. void setupUi(QDialog *ArgDialog)
  55. {
  56. if (ArgDialog->objectName().isEmpty())
  57. ArgDialog->setObjectName(QString::fromUtf8("ArgDialog"));
  58. ArgDialog->resize(940, 864);
  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, 921, 851));
  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. QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
  120. sizePolicy2.setHorizontalStretch(0);
  121. sizePolicy2.setVerticalStretch(0);
  122. sizePolicy2.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
  123. label_3->setSizePolicy(sizePolicy2);
  124. label_3->setMinimumSize(QSize(0, 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. addArgument = new QPushButton(verticalLayoutWidget);
  139. addArgument->setObjectName(QString::fromUtf8("addArgument"));
  140. QSizePolicy sizePolicy3(QSizePolicy::Fixed, QSizePolicy::Fixed);
  141. sizePolicy3.setHorizontalStretch(0);
  142. sizePolicy3.setVerticalStretch(0);
  143. sizePolicy3.setHeightForWidth(addArgument->sizePolicy().hasHeightForWidth());
  144. addArgument->setSizePolicy(sizePolicy3);
  145. addArgument->setMinimumSize(QSize(100, 0));
  146. addArgument->setStyleSheet(QString::fromUtf8("background-color: #2f535f;\n"
  147. "font: 87 11pt \"Noto Sans\";\n"
  148. "color: rgb(149, 155, 156);\n"
  149. "font-weight: 700;\n"
  150. "padding: 4px;\n"
  151. "border-style: outset;\n"
  152. "border-width: 2px;\n"
  153. "border-radius: 4px;\n"
  154. "border-color: #00000f;\n"
  155. "min-width: 4em;\n"
  156. "padding: 4px;"));
  157. QIcon icon1;
  158. icon1.addFile(QString::fromUtf8("icons/right-arrow.png"), QSize(), QIcon::Normal, QIcon::Off);
  159. addArgument->setIcon(icon1);
  160. addArgument->setFlat(false);
  161. horizontalLayout_2->addWidget(addArgument);
  162. verticalLayout->addLayout(horizontalLayout_2);
  163. horizontalLayout_3 = new QHBoxLayout();
  164. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  165. label_4 = new QLabel(verticalLayoutWidget);
  166. label_4->setObjectName(QString::fromUtf8("label_4"));
  167. QSizePolicy sizePolicy4(QSizePolicy::Fixed, QSizePolicy::Preferred);
  168. sizePolicy4.setHorizontalStretch(0);
  169. sizePolicy4.setVerticalStretch(0);
  170. sizePolicy4.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
  171. label_4->setSizePolicy(sizePolicy4);
  172. label_4->setMinimumSize(QSize(196, 0));
  173. label_4->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  174. "color: rgb(131, 148, 150);\n"
  175. "font-weight: 700;"));
  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. sizePolicy4.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
  197. label_5->setSizePolicy(sizePolicy4);
  198. label_5->setMinimumSize(QSize(52, 0));
  199. label_5->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  200. "color: rgb(131, 148, 150);\n"
  201. "font-weight: 700;\n"
  202. " qproperty-alignment: 'AlignHCenter';"));
  203. horizontalLayout_4->addWidget(label_5, 0, Qt::AlignVCenter);
  204. dateTime = new QDateTimeEdit(verticalLayoutWidget);
  205. dateTime->setObjectName(QString::fromUtf8("dateTime"));
  206. sizePolicy1.setHeightForWidth(dateTime->sizePolicy().hasHeightForWidth());
  207. dateTime->setSizePolicy(sizePolicy1);
  208. dateTime->setMinimumSize(QSize(380, 38));
  209. dateTime->setStyleSheet(QString::fromUtf8("background-color: #00000f;\n"
  210. "color: #2f535f;\n"
  211. "font-weight: 700;\n"
  212. "font-size: 16pt;"));
  213. horizontalLayout_4->addWidget(dateTime, 0, Qt::AlignRight);
  214. verticalLayout->addLayout(horizontalLayout_4);
  215. label = new QLabel(verticalLayoutWidget);
  216. label->setObjectName(QString::fromUtf8("label"));
  217. label->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  218. "color: rgb(131, 148, 150);\n"
  219. "font-weight: 700;\n"
  220. "padding-left: 8px;"));
  221. verticalLayout->addWidget(label);
  222. horizontalLayout_6 = new QHBoxLayout();
  223. horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
  224. horizontalSpacer = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  225. horizontalLayout_6->addItem(horizontalSpacer);
  226. argList = new QTableWidget(verticalLayoutWidget);
  227. if (argList->columnCount() < 4)
  228. argList->setColumnCount(4);
  229. argList->setObjectName(QString::fromUtf8("argList"));
  230. argList->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  231. "background-color: #2f535f;\n"
  232. "color: rgb(131, 148, 150);\n"
  233. "font-weight: 700;\n"
  234. "padding-left: 2px;"));
  235. argList->setShowGrid(true);
  236. argList->setColumnCount(4);
  237. argList->horizontalHeader()->setCascadingSectionResizes(false);
  238. argList->horizontalHeader()->setMinimumSectionSize(100);
  239. argList->horizontalHeader()->setDefaultSectionSize(200);
  240. argList->verticalHeader()->setMinimumSectionSize(100);
  241. argList->verticalHeader()->setDefaultSectionSize(100);
  242. horizontalLayout_6->addWidget(argList);
  243. horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Maximum, QSizePolicy::Minimum);
  244. horizontalLayout_6->addItem(horizontalSpacer_2);
  245. verticalLayout->addLayout(horizontalLayout_6);
  246. clear = new QPushButton(verticalLayoutWidget);
  247. clear->setObjectName(QString::fromUtf8("clear"));
  248. clear->setStyleSheet(QString::fromUtf8("background-color: #2f535f;\n"
  249. "font: 87 11pt \"Noto Sans\";\n"
  250. "color: rgb(149, 155, 156);\n"
  251. "font-weight: 700;\n"
  252. "padding: 4px;\n"
  253. "border-style: outset;\n"
  254. "border-width: 2px;\n"
  255. "border-radius: 4px;\n"
  256. "border-color: #00000f;\n"
  257. "min-width: 4em;\n"
  258. "padding: 4px;"));
  259. verticalLayout->addWidget(clear);
  260. horizontalLayout_5 = new QHBoxLayout();
  261. horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
  262. argCommandButtons = new QDialogButtonBox(verticalLayoutWidget);
  263. argCommandButtons->setObjectName(QString::fromUtf8("argCommandButtons"));
  264. sizePolicy3.setHeightForWidth(argCommandButtons->sizePolicy().hasHeightForWidth());
  265. argCommandButtons->setSizePolicy(sizePolicy3);
  266. argCommandButtons->setLayoutDirection(Qt::LeftToRight);
  267. argCommandButtons->setAutoFillBackground(false);
  268. argCommandButtons->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  269. "font: 87 11pt \"Noto Sans\";\n"
  270. "color: rgb(0, 43, 54);\n"
  271. "font-weight: 700;\n"
  272. "padding: 4px;\n"
  273. "border-style: outset;\n"
  274. "border-width: 2px;\n"
  275. "border-radius: 4px;\n"
  276. "border-color: #00000f;\n"
  277. "min-width: 4em;\n"
  278. "padding: 4px;"));
  279. argCommandButtons->setOrientation(Qt::Horizontal);
  280. argCommandButtons->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
  281. argCommandButtons->setCenterButtons(true);
  282. horizontalLayout_5->addWidget(argCommandButtons);
  283. verticalLayout->addLayout(horizontalLayout_5);
  284. verticalLayout->setStretch(2, 1);
  285. verticalLayout->setStretch(6, 3);
  286. retranslateUi(ArgDialog);
  287. QObject::connect(argCommandButtons, SIGNAL(accepted()), ArgDialog, SLOT(accept()));
  288. QObject::connect(argCommandButtons, SIGNAL(rejected()), ArgDialog, SLOT(reject()));
  289. QMetaObject::connectSlotsByName(ArgDialog);
  290. } // setupUi
  291. void retranslateUi(QDialog *ArgDialog)
  292. {
  293. ArgDialog->setWindowTitle(QCoreApplication::translate("ArgDialog", "Dialog", nullptr));
  294. argDialogTitle->setText(QCoreApplication::translate("ArgDialog", "Add Arguments", nullptr));
  295. label_2->setText(QCoreApplication::translate("ArgDialog", "Type", nullptr));
  296. argType->setItemText(0, QCoreApplication::translate("ArgDialog", "description", nullptr));
  297. argType->setItemText(1, QCoreApplication::translate("ArgDialog", "hashtag", nullptr));
  298. argType->setItemText(2, QCoreApplication::translate("ArgDialog", "requested by", nullptr));
  299. argType->setItemText(3, QCoreApplication::translate("ArgDialog", "promote/share", nullptr));
  300. argType->setItemText(4, QCoreApplication::translate("ArgDialog", "link/bio", nullptr));
  301. label_3->setText(QCoreApplication::translate("ArgDialog", "Input", nullptr));
  302. addArgument->setText(QCoreApplication::translate("ArgDialog", "Add", nullptr));
  303. label_4->setText(QCoreApplication::translate("ArgDialog", "Add file attachment", nullptr));
  304. addFile->setText(QCoreApplication::translate("ArgDialog", "Choose", nullptr));
  305. label_5->setText(QCoreApplication::translate("ArgDialog", "Time", nullptr));
  306. label->setText(QCoreApplication::translate("ArgDialog", "Items to send", nullptr));
  307. clear->setText(QCoreApplication::translate("ArgDialog", "Clear", nullptr));
  308. } // retranslateUi
  309. };
  310. namespace Ui {
  311. class ArgDialog: public Ui_ArgDialog {};
  312. } // namespace Ui
  313. QT_END_NAMESPACE
  314. #endif // UI_ARGDIALOG_H