ui_argdialog.h 15 KB

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