ui_argdialog.h 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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/QHeaderView>
  18. #include <QtWidgets/QLabel>
  19. #include <QtWidgets/QPushButton>
  20. #include <QtWidgets/QTableWidget>
  21. #include <QtWidgets/QTextEdit>
  22. QT_BEGIN_NAMESPACE
  23. class Ui_ArgDialog
  24. {
  25. public:
  26. QDialogButtonBox *argCommandButtons;
  27. QPushButton *addArgument;
  28. QLabel *argDialogTitle;
  29. QPushButton *addFile;
  30. QLabel *label;
  31. QTableWidget *argList;
  32. QLabel *label_2;
  33. QLabel *label_3;
  34. QLabel *label_4;
  35. QTextEdit *argInput;
  36. QLabel *label_5;
  37. QDateTimeEdit *dateTime;
  38. QComboBox *argType;
  39. QPushButton *devTestButton;
  40. void setupUi(QDialog *ArgDialog)
  41. {
  42. if (ArgDialog->objectName().isEmpty())
  43. ArgDialog->setObjectName(QString::fromUtf8("ArgDialog"));
  44. ArgDialog->resize(608, 710);
  45. QIcon icon;
  46. icon.addFile(QString::fromUtf8("favicon.ico"), QSize(), QIcon::Normal, QIcon::Off);
  47. ArgDialog->setWindowIcon(icon);
  48. ArgDialog->setStyleSheet(QString::fromUtf8("border-color: rgb(0, 0, 0);\n"
  49. "background-color: rgb(0, 43, 54);"));
  50. argCommandButtons = new QDialogButtonBox(ArgDialog);
  51. argCommandButtons->setObjectName(QString::fromUtf8("argCommandButtons"));
  52. argCommandButtons->setGeometry(QRect(330, 510, 211, 32));
  53. QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
  54. sizePolicy.setHorizontalStretch(0);
  55. sizePolicy.setVerticalStretch(0);
  56. sizePolicy.setHeightForWidth(argCommandButtons->sizePolicy().hasHeightForWidth());
  57. argCommandButtons->setSizePolicy(sizePolicy);
  58. argCommandButtons->setLayoutDirection(Qt::LeftToRight);
  59. argCommandButtons->setAutoFillBackground(false);
  60. argCommandButtons->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  61. "font: 87 11pt \"Noto Sans\";\n"
  62. "color: rgb(0, 43, 54);\n"
  63. "font-weight: 700;\n"
  64. "padding: 4px;"));
  65. argCommandButtons->setOrientation(Qt::Horizontal);
  66. argCommandButtons->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Save);
  67. argCommandButtons->setCenterButtons(true);
  68. addArgument = new QPushButton(ArgDialog);
  69. addArgument->setObjectName(QString::fromUtf8("addArgument"));
  70. addArgument->setGeometry(QRect(380, 190, 80, 26));
  71. addArgument->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  72. "font: 87 11pt \"Noto Sans\";\n"
  73. "color: rgb(0, 43, 54);\n"
  74. "font-weight: 700;\n"
  75. "padding: 4px;"));
  76. argDialogTitle = new QLabel(ArgDialog);
  77. argDialogTitle->setObjectName(QString::fromUtf8("argDialogTitle"));
  78. argDialogTitle->setGeometry(QRect(210, 10, 231, 51));
  79. QFont font;
  80. font.setPointSize(22);
  81. font.setBold(true);
  82. font.setWeight(75);
  83. argDialogTitle->setFont(font);
  84. argDialogTitle->setStyleSheet(QString::fromUtf8("color: rgb(170, 0, 255);"));
  85. addFile = new QPushButton(ArgDialog);
  86. addFile->setObjectName(QString::fromUtf8("addFile"));
  87. addFile->setGeometry(QRect(190, 220, 80, 26));
  88. addFile->setStyleSheet(QString::fromUtf8("background-color: rgb(255, 85, 0);\n"
  89. "font: 87 11pt \"Noto Sans\";\n"
  90. "color: rgb(0, 43, 54);\n"
  91. "font-weight: 700;\n"
  92. "padding: 4px;"));
  93. label = new QLabel(ArgDialog);
  94. label->setObjectName(QString::fromUtf8("label"));
  95. label->setGeometry(QRect(60, 290, 111, 18));
  96. label->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  97. "color: rgb(131, 148, 150);\n"
  98. "font-weight: 700;"));
  99. argList = new QTableWidget(ArgDialog);
  100. if (argList->columnCount() < 2)
  101. argList->setColumnCount(2);
  102. argList->setObjectName(QString::fromUtf8("argList"));
  103. argList->setGeometry(QRect(60, 320, 481, 171));
  104. argList->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  105. "background-color: rgb(7, 54, 66);\n"
  106. "color: rgb(131, 148, 150);\n"
  107. "font-weight: 700;\n"
  108. ""));
  109. argList->setColumnCount(2);
  110. argList->horizontalHeader()->setCascadingSectionResizes(false);
  111. argList->horizontalHeader()->setMinimumSectionSize(100);
  112. argList->horizontalHeader()->setDefaultSectionSize(200);
  113. argList->verticalHeader()->setMinimumSectionSize(100);
  114. argList->verticalHeader()->setDefaultSectionSize(100);
  115. label_2 = new QLabel(ArgDialog);
  116. label_2->setObjectName(QString::fromUtf8("label_2"));
  117. label_2->setGeometry(QRect(130, 80, 58, 18));
  118. label_2->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  119. "color: rgb(131, 148, 150);\n"
  120. "font-weight: 700;"));
  121. label_3 = new QLabel(ArgDialog);
  122. label_3->setObjectName(QString::fromUtf8("label_3"));
  123. label_3->setGeometry(QRect(110, 130, 51, 20));
  124. label_3->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  125. "color: rgb(131, 148, 150);\n"
  126. "font-weight: 700;"));
  127. label_4 = new QLabel(ArgDialog);
  128. label_4->setObjectName(QString::fromUtf8("label_4"));
  129. label_4->setGeometry(QRect(60, 220, 101, 20));
  130. label_4->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  131. "color: rgb(131, 148, 150);\n"
  132. "font-weight: 700;"));
  133. argInput = new QTextEdit(ArgDialog);
  134. argInput->setObjectName(QString::fromUtf8("argInput"));
  135. argInput->setGeometry(QRect(190, 130, 281, 51));
  136. argInput->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  137. "background-color: rgb(7, 54, 66);\n"
  138. "color: rgb(131, 148, 150);\n"
  139. "font-weight: 700;\n"
  140. ""));
  141. label_5 = new QLabel(ArgDialog);
  142. label_5->setObjectName(QString::fromUtf8("label_5"));
  143. label_5->setGeometry(QRect(120, 260, 41, 20));
  144. label_5->setStyleSheet(QString::fromUtf8("font: 75 11pt \"Noto Sans\";\n"
  145. "color: rgb(131, 148, 150);\n"
  146. "font-weight: 700;"));
  147. dateTime = new QDateTimeEdit(ArgDialog);
  148. dateTime->setObjectName(QString::fromUtf8("dateTime"));
  149. dateTime->setGeometry(QRect(200, 260, 194, 27));
  150. argType = new QComboBox(ArgDialog);
  151. argType->addItem(QString());
  152. argType->addItem(QString());
  153. argType->addItem(QString());
  154. argType->addItem(QString());
  155. argType->addItem(QString());
  156. argType->setObjectName(QString::fromUtf8("argType"));
  157. argType->setGeometry(QRect(190, 80, 141, 31));
  158. argType->setStyleSheet(QString::fromUtf8("font: 87 11pt \"Noto Sans\";\n"
  159. "background-color: rgb(7, 54, 66);\n"
  160. "color: rgb(131, 148, 150);\n"
  161. "font-weight: 700;\n"
  162. ""));
  163. devTestButton = new QPushButton(ArgDialog);
  164. devTestButton->setObjectName(QString::fromUtf8("devTestButton"));
  165. devTestButton->setGeometry(QRect(240, 590, 81, 31));
  166. devTestButton->setStyleSheet(QString::fromUtf8("background-color: rgb(130, 255, 121);\n"
  167. "background-color: rgb(2, 180, 43);\n"
  168. "font: 87 11pt \"Noto Sans\";\n"
  169. "color: rgb(0, 0, 0);\n"
  170. "font-weight: 700;\n"
  171. "padding: 4px;"));
  172. retranslateUi(ArgDialog);
  173. QObject::connect(argCommandButtons, SIGNAL(accepted()), ArgDialog, SLOT(accept()));
  174. QObject::connect(argCommandButtons, SIGNAL(rejected()), ArgDialog, SLOT(reject()));
  175. QMetaObject::connectSlotsByName(ArgDialog);
  176. } // setupUi
  177. void retranslateUi(QDialog *ArgDialog)
  178. {
  179. ArgDialog->setWindowTitle(QCoreApplication::translate("ArgDialog", "Dialog", nullptr));
  180. addArgument->setText(QCoreApplication::translate("ArgDialog", "Add", nullptr));
  181. argDialogTitle->setText(QCoreApplication::translate("ArgDialog", "Add Arguments", nullptr));
  182. addFile->setText(QCoreApplication::translate("ArgDialog", "File", nullptr));
  183. label->setText(QCoreApplication::translate("ArgDialog", "Items to send", nullptr));
  184. label_2->setText(QCoreApplication::translate("ArgDialog", "Type", nullptr));
  185. label_3->setText(QCoreApplication::translate("ArgDialog", "Input", nullptr));
  186. label_4->setText(QCoreApplication::translate("ArgDialog", "Attachment", nullptr));
  187. label_5->setText(QCoreApplication::translate("ArgDialog", "Time", nullptr));
  188. argType->setItemText(0, QCoreApplication::translate("ArgDialog", "description", nullptr));
  189. argType->setItemText(1, QCoreApplication::translate("ArgDialog", "hashtag", nullptr));
  190. argType->setItemText(2, QCoreApplication::translate("ArgDialog", "requested by", nullptr));
  191. argType->setItemText(3, QCoreApplication::translate("ArgDialog", "promote/share", nullptr));
  192. argType->setItemText(4, QCoreApplication::translate("ArgDialog", "link/bio", nullptr));
  193. devTestButton->setText(QCoreApplication::translate("ArgDialog", "TEST", nullptr));
  194. } // retranslateUi
  195. };
  196. namespace Ui {
  197. class ArgDialog: public Ui_ArgDialog {};
  198. } // namespace Ui
  199. QT_END_NAMESPACE
  200. #endif // UI_ARGDIALOG_H