ui_preprocesswindow.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. /********************************************************************************
  2. ** Form generated from reading UI file 'preprocesswindow.ui'
  3. **
  4. ** Created by: Qt User Interface Compiler version 5.14.2
  5. **
  6. ** WARNING! All changes made in this file will be lost when recompiling UI file!
  7. ********************************************************************************/
  8. #ifndef UI_PREPROCESSWINDOW_H
  9. #define UI_PREPROCESSWINDOW_H
  10. #include <QtCore/QVariant>
  11. #include <QtWidgets/QApplication>
  12. #include <QtWidgets/QCheckBox>
  13. #include <QtWidgets/QDialog>
  14. #include <QtWidgets/QFrame>
  15. #include <QtWidgets/QGridLayout>
  16. #include <QtWidgets/QGroupBox>
  17. #include <QtWidgets/QHBoxLayout>
  18. #include <QtWidgets/QHeaderView>
  19. #include <QtWidgets/QLabel>
  20. #include <QtWidgets/QPushButton>
  21. #include <QtWidgets/QSpacerItem>
  22. #include <QtWidgets/QStackedWidget>
  23. #include <QtWidgets/QTableWidget>
  24. #include <QtWidgets/QVBoxLayout>
  25. #include <QtWidgets/QWidget>
  26. #include <mybutton.h>
  27. QT_BEGIN_NAMESPACE
  28. class Ui_PreprocessWindow
  29. {
  30. public:
  31. QVBoxLayout *verticalLayout;
  32. QWidget *widget;
  33. QVBoxLayout *verticalLayout_2;
  34. QWidget *widget_2;
  35. QHBoxLayout *horizontalLayout_4;
  36. QStackedWidget *stackedWidget;
  37. QWidget *page_main;
  38. QVBoxLayout *verticalLayout_5;
  39. QGroupBox *groupC;
  40. QVBoxLayout *verticalLayout_6;
  41. QGridLayout *gridLayout_3;
  42. QFrame *frame;
  43. QHBoxLayout *horizontalLayout_2;
  44. QLabel *label;
  45. QLabel *label_type;
  46. MyButton *btn_menu;
  47. QSpacerItem *horizontalSpacer_4;
  48. QCheckBox *checkRealTime;
  49. QHBoxLayout *horizontalLayout_3;
  50. QFrame *frame_3;
  51. QVBoxLayout *verticalLayout_3;
  52. QTableWidget *tableWidgetType;
  53. QFrame *frame_4;
  54. QVBoxLayout *verticalLayout_4;
  55. MyButton *btn_addType;
  56. MyButton *btnDeleteType;
  57. MyButton *btnMoveUp;
  58. MyButton *btnMoveDown;
  59. QSpacerItem *verticalSpacer_3;
  60. QWidget *page_rotateImage;
  61. QLabel *label_2;
  62. QHBoxLayout *horizontalLayout;
  63. QSpacerItem *horizontalSpacer_8;
  64. QPushButton *btnExecute_2;
  65. QPushButton *btnExecute;
  66. QSpacerItem *horizontalSpacer_2;
  67. void setupUi(QDialog *PreprocessWindow)
  68. {
  69. if (PreprocessWindow->objectName().isEmpty())
  70. PreprocessWindow->setObjectName(QString::fromUtf8("PreprocessWindow"));
  71. PreprocessWindow->resize(837, 524);
  72. PreprocessWindow->setStyleSheet(QString::fromUtf8("background-color: rgb(37, 37, 37);"));
  73. verticalLayout = new QVBoxLayout(PreprocessWindow);
  74. verticalLayout->setSpacing(0);
  75. verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
  76. verticalLayout->setContentsMargins(0, 0, 0, 0);
  77. widget = new QWidget(PreprocessWindow);
  78. widget->setObjectName(QString::fromUtf8("widget"));
  79. verticalLayout_2 = new QVBoxLayout(widget);
  80. verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
  81. widget_2 = new QWidget(widget);
  82. widget_2->setObjectName(QString::fromUtf8("widget_2"));
  83. horizontalLayout_4 = new QHBoxLayout(widget_2);
  84. horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
  85. stackedWidget = new QStackedWidget(widget_2);
  86. stackedWidget->setObjectName(QString::fromUtf8("stackedWidget"));
  87. page_main = new QWidget();
  88. page_main->setObjectName(QString::fromUtf8("page_main"));
  89. verticalLayout_5 = new QVBoxLayout(page_main);
  90. verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
  91. groupC = new QGroupBox(page_main);
  92. groupC->setObjectName(QString::fromUtf8("groupC"));
  93. QFont font;
  94. font.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
  95. font.setPointSize(10);
  96. groupC->setFont(font);
  97. groupC->setStyleSheet(QString::fromUtf8(""));
  98. verticalLayout_6 = new QVBoxLayout(groupC);
  99. verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
  100. gridLayout_3 = new QGridLayout();
  101. gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
  102. gridLayout_3->setHorizontalSpacing(1);
  103. gridLayout_3->setVerticalSpacing(0);
  104. frame = new QFrame(groupC);
  105. frame->setObjectName(QString::fromUtf8("frame"));
  106. QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
  107. sizePolicy.setHorizontalStretch(0);
  108. sizePolicy.setVerticalStretch(0);
  109. sizePolicy.setHeightForWidth(frame->sizePolicy().hasHeightForWidth());
  110. frame->setSizePolicy(sizePolicy);
  111. frame->setStyleSheet(QString::fromUtf8("border: 1px solid;\n"
  112. "border-color: rgba(173, 173, 173, 155);"));
  113. frame->setFrameShape(QFrame::StyledPanel);
  114. frame->setFrameShadow(QFrame::Raised);
  115. horizontalLayout_2 = new QHBoxLayout(frame);
  116. horizontalLayout_2->setSpacing(0);
  117. horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
  118. horizontalLayout_2->setContentsMargins(0, 0, 1, 0);
  119. label = new QLabel(frame);
  120. label->setObjectName(QString::fromUtf8("label"));
  121. QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Preferred);
  122. sizePolicy1.setHorizontalStretch(0);
  123. sizePolicy1.setVerticalStretch(0);
  124. sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
  125. label->setSizePolicy(sizePolicy1);
  126. label->setFont(font);
  127. label->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);"));
  128. horizontalLayout_2->addWidget(label);
  129. label_type = new QLabel(frame);
  130. label_type->setObjectName(QString::fromUtf8("label_type"));
  131. sizePolicy1.setHeightForWidth(label_type->sizePolicy().hasHeightForWidth());
  132. label_type->setSizePolicy(sizePolicy1);
  133. label_type->setMinimumSize(QSize(136, 0));
  134. label_type->setMaximumSize(QSize(136, 16777215));
  135. label_type->setFont(font);
  136. label_type->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);"));
  137. label_type->setAlignment(Qt::AlignCenter);
  138. horizontalLayout_2->addWidget(label_type);
  139. btn_menu = new MyButton(frame);
  140. btn_menu->setObjectName(QString::fromUtf8("btn_menu"));
  141. QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed);
  142. sizePolicy2.setHorizontalStretch(0);
  143. sizePolicy2.setVerticalStretch(0);
  144. sizePolicy2.setHeightForWidth(btn_menu->sizePolicy().hasHeightForWidth());
  145. btn_menu->setSizePolicy(sizePolicy2);
  146. btn_menu->setMinimumSize(QSize(42, 35));
  147. btn_menu->setMaximumSize(QSize(42, 35));
  148. btn_menu->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  149. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  150. "border:0px;\n"
  151. "background-color: rgb(8, 91, 82);\n"
  152. "border-radius:10px;\n"
  153. ""));
  154. btn_menu->setIconSize(QSize(42, 35));
  155. horizontalLayout_2->addWidget(btn_menu);
  156. horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum);
  157. horizontalLayout_2->addItem(horizontalSpacer_4);
  158. checkRealTime = new QCheckBox(frame);
  159. checkRealTime->setObjectName(QString::fromUtf8("checkRealTime"));
  160. sizePolicy2.setHeightForWidth(checkRealTime->sizePolicy().hasHeightForWidth());
  161. checkRealTime->setSizePolicy(sizePolicy2);
  162. checkRealTime->setFont(font);
  163. checkRealTime->setStyleSheet(QString::fromUtf8("QCheckBox{\n"
  164. " color: rgb(30, 30, 30);\n"
  165. " border-style: flat;\n"
  166. " background: transparent;\n"
  167. "}\n"
  168. "QCheckBox::indicator {\n"
  169. " width: 17px;\n"
  170. " height: 17px; \n"
  171. "}\n"
  172. "QCheckBox::indicator::unchecked {\n"
  173. " image: url(:/resource/untick.png);\n"
  174. "}\n"
  175. "QCheckBox::indicator::checked {\n"
  176. " image: url(:/resource/tick.png);\n"
  177. "};"));
  178. horizontalLayout_2->addWidget(checkRealTime);
  179. gridLayout_3->addWidget(frame, 0, 0, 1, 1);
  180. verticalLayout_6->addLayout(gridLayout_3);
  181. horizontalLayout_3 = new QHBoxLayout();
  182. horizontalLayout_3->setSpacing(3);
  183. horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
  184. frame_3 = new QFrame(groupC);
  185. frame_3->setObjectName(QString::fromUtf8("frame_3"));
  186. frame_3->setStyleSheet(QString::fromUtf8("border: 1px solid;\n"
  187. "border-color: rgba(173, 173, 173, 155);"));
  188. frame_3->setFrameShape(QFrame::StyledPanel);
  189. frame_3->setFrameShadow(QFrame::Raised);
  190. verticalLayout_3 = new QVBoxLayout(frame_3);
  191. verticalLayout_3->setSpacing(0);
  192. verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
  193. verticalLayout_3->setContentsMargins(0, 0, 0, 0);
  194. tableWidgetType = new QTableWidget(frame_3);
  195. if (tableWidgetType->columnCount() < 1)
  196. tableWidgetType->setColumnCount(1);
  197. QBrush brush(QColor(255, 255, 255, 255));
  198. brush.setStyle(Qt::NoBrush);
  199. QFont font1;
  200. font1.setBold(true);
  201. font1.setWeight(75);
  202. QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
  203. __qtablewidgetitem->setFont(font1);
  204. __qtablewidgetitem->setBackground(QColor(255, 255, 255));
  205. __qtablewidgetitem->setForeground(brush);
  206. tableWidgetType->setHorizontalHeaderItem(0, __qtablewidgetitem);
  207. tableWidgetType->setObjectName(QString::fromUtf8("tableWidgetType"));
  208. QFont font2;
  209. font2.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
  210. tableWidgetType->setFont(font2);
  211. tableWidgetType->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  212. "background-color: rgb(37, 37, 37);"));
  213. tableWidgetType->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
  214. tableWidgetType->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
  215. tableWidgetType->setGridStyle(Qt::DashLine);
  216. tableWidgetType->horizontalHeader()->setMinimumSectionSize(29);
  217. tableWidgetType->horizontalHeader()->setDefaultSectionSize(338);
  218. tableWidgetType->verticalHeader()->setDefaultSectionSize(30);
  219. verticalLayout_3->addWidget(tableWidgetType);
  220. horizontalLayout_3->addWidget(frame_3);
  221. frame_4 = new QFrame(groupC);
  222. frame_4->setObjectName(QString::fromUtf8("frame_4"));
  223. frame_4->setStyleSheet(QString::fromUtf8(""));
  224. frame_4->setFrameShape(QFrame::StyledPanel);
  225. frame_4->setFrameShadow(QFrame::Raised);
  226. verticalLayout_4 = new QVBoxLayout(frame_4);
  227. verticalLayout_4->setSpacing(17);
  228. verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
  229. verticalLayout_4->setContentsMargins(1, 2, 1, 1);
  230. btn_addType = new MyButton(frame_4);
  231. btn_addType->setObjectName(QString::fromUtf8("btn_addType"));
  232. sizePolicy2.setHeightForWidth(btn_addType->sizePolicy().hasHeightForWidth());
  233. btn_addType->setSizePolicy(sizePolicy2);
  234. btn_addType->setMinimumSize(QSize(60, 30));
  235. QFont font3;
  236. font3.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
  237. font3.setPointSize(10);
  238. font3.setBold(false);
  239. font3.setItalic(false);
  240. font3.setWeight(50);
  241. btn_addType->setFont(font3);
  242. btn_addType->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  243. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  244. "border:0px;\n"
  245. "background-color: rgb(8, 91, 82);\n"
  246. "border-radius:10px;"));
  247. verticalLayout_4->addWidget(btn_addType);
  248. btnDeleteType = new MyButton(frame_4);
  249. btnDeleteType->setObjectName(QString::fromUtf8("btnDeleteType"));
  250. sizePolicy2.setHeightForWidth(btnDeleteType->sizePolicy().hasHeightForWidth());
  251. btnDeleteType->setSizePolicy(sizePolicy2);
  252. btnDeleteType->setMinimumSize(QSize(60, 30));
  253. btnDeleteType->setFont(font3);
  254. btnDeleteType->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  255. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  256. "border:0px;\n"
  257. "background-color: rgb(8, 91, 82);\n"
  258. "border-radius:10px;"));
  259. verticalLayout_4->addWidget(btnDeleteType);
  260. btnMoveUp = new MyButton(frame_4);
  261. btnMoveUp->setObjectName(QString::fromUtf8("btnMoveUp"));
  262. sizePolicy2.setHeightForWidth(btnMoveUp->sizePolicy().hasHeightForWidth());
  263. btnMoveUp->setSizePolicy(sizePolicy2);
  264. btnMoveUp->setMinimumSize(QSize(60, 30));
  265. btnMoveUp->setFont(font3);
  266. btnMoveUp->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  267. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  268. "border:0px;\n"
  269. "background-color: rgb(8, 91, 82);\n"
  270. "border-radius:10px;"));
  271. verticalLayout_4->addWidget(btnMoveUp);
  272. btnMoveDown = new MyButton(frame_4);
  273. btnMoveDown->setObjectName(QString::fromUtf8("btnMoveDown"));
  274. sizePolicy2.setHeightForWidth(btnMoveDown->sizePolicy().hasHeightForWidth());
  275. btnMoveDown->setSizePolicy(sizePolicy2);
  276. btnMoveDown->setMinimumSize(QSize(60, 30));
  277. btnMoveDown->setFont(font3);
  278. btnMoveDown->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  279. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  280. "border:0px;\n"
  281. "background-color: rgb(8, 91, 82);\n"
  282. "border-radius:10px;"));
  283. verticalLayout_4->addWidget(btnMoveDown);
  284. verticalSpacer_3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
  285. verticalLayout_4->addItem(verticalSpacer_3);
  286. horizontalLayout_3->addWidget(frame_4);
  287. verticalLayout_6->addLayout(horizontalLayout_3);
  288. verticalLayout_6->setStretch(0, 1);
  289. verticalLayout_6->setStretch(1, 8);
  290. verticalLayout_5->addWidget(groupC);
  291. stackedWidget->addWidget(page_main);
  292. page_rotateImage = new QWidget();
  293. page_rotateImage->setObjectName(QString::fromUtf8("page_rotateImage"));
  294. stackedWidget->addWidget(page_rotateImage);
  295. horizontalLayout_4->addWidget(stackedWidget);
  296. label_2 = new QLabel(widget_2);
  297. label_2->setObjectName(QString::fromUtf8("label_2"));
  298. horizontalLayout_4->addWidget(label_2);
  299. horizontalLayout_4->setStretch(0, 5);
  300. horizontalLayout_4->setStretch(1, 5);
  301. verticalLayout_2->addWidget(widget_2);
  302. horizontalLayout = new QHBoxLayout();
  303. horizontalLayout->setSpacing(0);
  304. horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
  305. horizontalLayout->setContentsMargins(-1, -1, -1, 6);
  306. horizontalSpacer_8 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  307. horizontalLayout->addItem(horizontalSpacer_8);
  308. btnExecute_2 = new QPushButton(widget);
  309. btnExecute_2->setObjectName(QString::fromUtf8("btnExecute_2"));
  310. btnExecute_2->setMinimumSize(QSize(90, 37));
  311. btnExecute_2->setFont(font3);
  312. btnExecute_2->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  313. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  314. "border:0px;\n"
  315. "background-color: rgb(8, 91, 82);\n"
  316. "border-radius:10px;"));
  317. horizontalLayout->addWidget(btnExecute_2);
  318. btnExecute = new QPushButton(widget);
  319. btnExecute->setObjectName(QString::fromUtf8("btnExecute"));
  320. btnExecute->setMinimumSize(QSize(90, 37));
  321. btnExecute->setFont(font3);
  322. btnExecute->setStyleSheet(QString::fromUtf8("color: rgb(255, 255, 255);\n"
  323. "font: 10pt \"\345\276\256\350\275\257\351\233\205\351\273\221\";\n"
  324. "border:0px;\n"
  325. "background-color: rgb(8, 91, 82);\n"
  326. "border-radius:10px;"));
  327. horizontalLayout->addWidget(btnExecute);
  328. horizontalSpacer_2 = new QSpacerItem(6, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
  329. horizontalLayout->addItem(horizontalSpacer_2);
  330. verticalLayout_2->addLayout(horizontalLayout);
  331. verticalLayout_2->setStretch(0, 10);
  332. verticalLayout_2->setStretch(1, 1);
  333. verticalLayout->addWidget(widget);
  334. retranslateUi(PreprocessWindow);
  335. stackedWidget->setCurrentIndex(0);
  336. QMetaObject::connectSlotsByName(PreprocessWindow);
  337. } // setupUi
  338. void retranslateUi(QDialog *PreprocessWindow)
  339. {
  340. PreprocessWindow->setWindowTitle(QCoreApplication::translate("PreprocessWindow", "\351\242\204\345\244\204\347\220\206", nullptr));
  341. groupC->setTitle(QCoreApplication::translate("PreprocessWindow", "\351\242\204\345\244\204\347\220\206\345\217\202\346\225\260", nullptr));
  342. label->setText(QCoreApplication::translate("PreprocessWindow", "\351\242\204\345\244\204\347\220\206\347\261\273\345\236\213\357\274\232", nullptr));
  343. label_type->setText(QString());
  344. #if QT_CONFIG(tooltip)
  345. btn_menu->setToolTip(QCoreApplication::translate("PreprocessWindow", "\346\267\273\345\212\240\351\242\204\345\244\204\347\220\206", nullptr));
  346. #endif // QT_CONFIG(tooltip)
  347. btn_menu->setText(QCoreApplication::translate("PreprocessWindow", "All", nullptr));
  348. checkRealTime->setText(QCoreApplication::translate("PreprocessWindow", "\345\256\236\346\227\266", nullptr));
  349. QTableWidgetItem *___qtablewidgetitem = tableWidgetType->horizontalHeaderItem(0);
  350. ___qtablewidgetitem->setText(QCoreApplication::translate("PreprocessWindow", "\351\242\204\345\244\204\347\220\206\351\241\271\347\233\256", nullptr));
  351. btn_addType->setText(QCoreApplication::translate("PreprocessWindow", "\346\267\273\345\212\240", nullptr));
  352. btnDeleteType->setText(QCoreApplication::translate("PreprocessWindow", "\345\210\240\351\231\244", nullptr));
  353. btnMoveUp->setText(QCoreApplication::translate("PreprocessWindow", "\344\270\212\347\247\273", nullptr));
  354. btnMoveDown->setText(QCoreApplication::translate("PreprocessWindow", "\344\270\213\347\247\273", nullptr));
  355. label_2->setText(QCoreApplication::translate("PreprocessWindow", "TextLabel", nullptr));
  356. btnExecute_2->setText(QCoreApplication::translate("PreprocessWindow", "\344\277\235\345\255\230", nullptr));
  357. btnExecute->setText(QCoreApplication::translate("PreprocessWindow", "\346\211\247\350\241\214", nullptr));
  358. } // retranslateUi
  359. };
  360. namespace Ui {
  361. class PreprocessWindow: public Ui_PreprocessWindow {};
  362. } // namespace Ui
  363. QT_END_NAMESPACE
  364. #endif // UI_PREPROCESSWINDOW_H