1 #-*- coding: utf-8 -*-
2
3 #Form implementation generated from reading ui file 'E:\Development\IProcesser/IProcessingDialog.ui'
4 #5 #Created by: PyQt5 UI code generator 5.5.1
6 #7 #WARNING! All changes made in this file will be lost!
8
9 from PyQt5 importQtCore, QtGui, QtWidgets10
11 classUi_Dialog(object):12 defsetupUi(self, Dialog):13 Dialog.setObjectName("Dialog")14 Dialog.resize(411, 525)15 self.verticalLayout_2 =QtWidgets.QVBoxLayout(Dialog)16 self.verticalLayout_2.setObjectName("verticalLayout_2")17 self.tabWidget =QtWidgets.QTabWidget(Dialog)18 self.tabWidget.setObjectName("tabWidget")19 self.tab =QtWidgets.QWidget()20 self.tab.setObjectName("tab")21 self.verticalLayout =QtWidgets.QVBoxLayout(self.tab)22 self.verticalLayout.setObjectName("verticalLayout")23 self.horizontalLayout_5 =QtWidgets.QHBoxLayout()24 self.horizontalLayout_5.setObjectName("horizontalLayout_5")25 self.label_5 =QtWidgets.QLabel(self.tab)26 self.label_5.setObjectName("label_5")27 self.horizontalLayout_5.addWidget(self.label_5)28 self.reslotion_src_le =QtWidgets.QLineEdit(self.tab)29 self.reslotion_src_le.setObjectName("reslotion_src_le")30 self.horizontalLayout_5.addWidget(self.reslotion_src_le)31 self.reslotion_src_view_btn =QtWidgets.QPushButton(self.tab)32 self.reslotion_src_view_btn.setObjectName("reslotion_src_view_btn")33 self.horizontalLayout_5.addWidget(self.reslotion_src_view_btn)34 self.verticalLayout.addLayout(self.horizontalLayout_5)35 self.horizontalLayout_7 =QtWidgets.QHBoxLayout()36 self.horizontalLayout_7.setObjectName("horizontalLayout_7")37 self.label_8 =QtWidgets.QLabel(self.tab)38 self.label_8.setObjectName("label_8")39 self.horizontalLayout_7.addWidget(self.label_8)40 self.reslotion_dst_le =QtWidgets.QLineEdit(self.tab)41 self.reslotion_dst_le.setEnabled(True)42 self.reslotion_dst_le.setObjectName("reslotion_dst_le")43 self.horizontalLayout_7.addWidget(self.reslotion_dst_le)44 self.reslotion_dst_view_btn =QtWidgets.QPushButton(self.tab)45 self.reslotion_dst_view_btn.setObjectName("reslotion_dst_view_btn")46 self.horizontalLayout_7.addWidget(self.reslotion_dst_view_btn)47 self.verticalLayout.addLayout(self.horizontalLayout_7)48 self.horizontalLayout =QtWidgets.QHBoxLayout()49 self.horizontalLayout.setObjectName("horizontalLayout")50 self.label_6 =QtWidgets.QLabel(self.tab)51 self.label_6.setObjectName("label_6")52 self.horizontalLayout.addWidget(self.label_6)53 self.reslotion_srcw_le =QtWidgets.QLineEdit(self.tab)54 self.reslotion_srcw_le.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)55 self.reslotion_srcw_le.setObjectName("reslotion_srcw_le")56 self.horizontalLayout.addWidget(self.reslotion_srcw_le)57 self.label_7 =QtWidgets.QLabel(self.tab)58 self.label_7.setObjectName("label_7")59 self.horizontalLayout.addWidget(self.label_7)60 self.reslotion_srch_le =QtWidgets.QLineEdit(self.tab)61 self.reslotion_srch_le.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)62 self.reslotion_srch_le.setObjectName("reslotion_srch_le")63 self.horizontalLayout.addWidget(self.reslotion_srch_le)64 self.label_10 =QtWidgets.QLabel(self.tab)65 self.label_10.setObjectName("label_10")66 self.horizontalLayout.addWidget(self.label_10)67 self.reslotion_dstw_le =QtWidgets.QLineEdit(self.tab)68 self.reslotion_dstw_le.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)69 self.reslotion_dstw_le.setObjectName("reslotion_dstw_le")70 self.horizontalLayout.addWidget(self.reslotion_dstw_le)71 self.label_9 =QtWidgets.QLabel(self.tab)72 self.label_9.setObjectName("label_9")73 self.horizontalLayout.addWidget(self.label_9)74 self.reslotion_dsth_le =QtWidgets.QLineEdit(self.tab)75 self.reslotion_dsth_le.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)76 self.reslotion_dsth_le.setObjectName("reslotion_dsth_le")77 self.horizontalLayout.addWidget(self.reslotion_dsth_le)78 self.verticalLayout.addLayout(self.horizontalLayout)79 self.horizontalLayout_8 =QtWidgets.QHBoxLayout()80 self.horizontalLayout_8.setObjectName("horizontalLayout_8")81 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)82 self.horizontalLayout_8.addItem(spacerItem)83 self.reslotion_submit_btn =QtWidgets.QPushButton(self.tab)84 self.reslotion_submit_btn.setEnabled(True)85 self.reslotion_submit_btn.setObjectName("reslotion_submit_btn")86 self.horizontalLayout_8.addWidget(self.reslotion_submit_btn)87 self.verticalLayout.addLayout(self.horizontalLayout_8)88 self.tabWidget.addTab(self.tab, "")89 self.tab_2 =QtWidgets.QWidget()90 self.tab_2.setObjectName("tab_2")91 self.verticalLayout_4 =QtWidgets.QVBoxLayout(self.tab_2)92 self.verticalLayout_4.setObjectName("verticalLayout_4")93 self.horizontalLayout_2 =QtWidgets.QHBoxLayout()94 self.horizontalLayout_2.setObjectName("horizontalLayout_2")95 self.label =QtWidgets.QLabel(self.tab_2)96 self.label.setObjectName("label")97 self.horizontalLayout_2.addWidget(self.label)98 self.offset_pixel_le =QtWidgets.QLineEdit(self.tab_2)99 self.offset_pixel_le.setObjectName("offset_pixel_le")100 self.horizontalLayout_2.addWidget(self.offset_pixel_le)101 self.label_2 =QtWidgets.QLabel(self.tab_2)102 self.label_2.setObjectName("label_2")103 self.horizontalLayout_2.addWidget(self.label_2)104 self.offset_meter_le =QtWidgets.QLineEdit(self.tab_2)105 self.offset_meter_le.setObjectName("offset_meter_le")106 self.horizontalLayout_2.addWidget(self.offset_meter_le)107 self.label_3 =QtWidgets.QLabel(self.tab_2)108 self.label_3.setObjectName("label_3")109 self.horizontalLayout_2.addWidget(self.label_3)110 self.verticalLayout_4.addLayout(self.horizontalLayout_2)111 self.horizontalLayout_3 =QtWidgets.QHBoxLayout()112 self.horizontalLayout_3.setObjectName("horizontalLayout_3")113 self.label_4 =QtWidgets.QLabel(self.tab_2)114 self.label_4.setObjectName("label_4")115 self.horizontalLayout_3.addWidget(self.label_4)116 self.offset_dire_le =QtWidgets.QLineEdit(self.tab_2)117 self.offset_dire_le.setObjectName("offset_dire_le")118 self.horizontalLayout_3.addWidget(self.offset_dire_le)119 self.offset_view_btn =QtWidgets.QPushButton(self.tab_2)120 self.offset_view_btn.setObjectName("offset_view_btn")121 self.horizontalLayout_3.addWidget(self.offset_view_btn)122 self.verticalLayout_4.addLayout(self.horizontalLayout_3)123 self.horizontalLayout_4 =QtWidgets.QHBoxLayout()124 self.horizontalLayout_4.setObjectName("horizontalLayout_4")125 self.label_11 =QtWidgets.QLabel(self.tab_2)126 self.label_11.setObjectName("label_11")127 self.horizontalLayout_4.addWidget(self.label_11)128 self.offset_ltx_le =QtWidgets.QLineEdit(self.tab_2)129 self.offset_ltx_le.setMaximumSize(QtCore.QSize(50, 16777215))130 self.offset_ltx_le.setObjectName("offset_ltx_le")131 self.horizontalLayout_4.addWidget(self.offset_ltx_le)132 self.label_12 =QtWidgets.QLabel(self.tab_2)133 self.label_12.setObjectName("label_12")134 self.horizontalLayout_4.addWidget(self.label_12)135 self.offset_lty_le =QtWidgets.QLineEdit(self.tab_2)136 self.offset_lty_le.setMaximumSize(QtCore.QSize(50, 16777215))137 self.offset_lty_le.setObjectName("offset_lty_le")138 self.horizontalLayout_4.addWidget(self.offset_lty_le)139 spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)140 self.horizontalLayout_4.addItem(spacerItem1)141 self.rename_ckb =QtWidgets.QCheckBox(self.tab_2)142 self.rename_ckb.setObjectName("rename_ckb")143 self.horizontalLayout_4.addWidget(self.rename_ckb)144 self.verticalLayout_4.addLayout(self.horizontalLayout_4)145 self.horizontalLayout_6 =QtWidgets.QHBoxLayout()146 self.horizontalLayout_6.setObjectName("horizontalLayout_6")147 spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)148 self.horizontalLayout_6.addItem(spacerItem2)149 self.offset_submit_btn =QtWidgets.QPushButton(self.tab_2)150 self.offset_submit_btn.setObjectName("offset_submit_btn")151 self.horizontalLayout_6.addWidget(self.offset_submit_btn)152 self.verticalLayout_4.addLayout(self.horizontalLayout_6)153 self.tabWidget.addTab(self.tab_2, "")154 self.tab_5 =QtWidgets.QWidget()155 self.tab_5.setObjectName("tab_5")156 self.verticalLayout_5 =QtWidgets.QVBoxLayout(self.tab_5)157 self.verticalLayout_5.setObjectName("verticalLayout_5")158 self.horizontalLayout_9 =QtWidgets.QHBoxLayout()159 self.horizontalLayout_9.setObjectName("horizontalLayout_9")160 self.label_13 =QtWidgets.QLabel(self.tab_5)161 self.label_13.setObjectName("label_13")162 self.horizontalLayout_9.addWidget(self.label_13)163 self.size_directory_le =QtWidgets.QLineEdit(self.tab_5)164 self.size_directory_le.setObjectName("size_directory_le")165 self.horizontalLayout_9.addWidget(self.size_directory_le)166 self.size_view_btn =QtWidgets.QPushButton(self.tab_5)167 self.size_view_btn.setObjectName("size_view_btn")168 self.horizontalLayout_9.addWidget(self.size_view_btn)169 self.verticalLayout_5.addLayout(self.horizontalLayout_9)170 self.horizontalLayout_10 =QtWidgets.QHBoxLayout()171 self.horizontalLayout_10.setObjectName("horizontalLayout_10")172 self.label_14 =QtWidgets.QLabel(self.tab_5)173 self.label_14.setObjectName("label_14")174 self.horizontalLayout_10.addWidget(self.label_14)175 self.size_width_le =QtWidgets.QLineEdit(self.tab_5)176 self.size_width_le.setInputMethodHints(QtCore.Qt.ImhNone)177 self.size_width_le.setObjectName("size_width_le")178 self.horizontalLayout_10.addWidget(self.size_width_le)179 self.label_15 =QtWidgets.QLabel(self.tab_5)180 self.label_15.setObjectName("label_15")181 self.horizontalLayout_10.addWidget(self.label_15)182 self.size_height_le =QtWidgets.QLineEdit(self.tab_5)183 self.size_height_le.setInputMethodHints(QtCore.Qt.ImhNone)184 self.size_height_le.setObjectName("size_height_le")185 self.horizontalLayout_10.addWidget(self.size_height_le)186 self.verticalLayout_5.addLayout(self.horizontalLayout_10)187 spacerItem3 = QtWidgets.QSpacerItem(20, 41, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)188 self.verticalLayout_5.addItem(spacerItem3)189 self.horizontalLayout_11 =QtWidgets.QHBoxLayout()190 self.horizontalLayout_11.setObjectName("horizontalLayout_11")191 spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)192 self.horizontalLayout_11.addItem(spacerItem4)193 self.size_submit_btn =QtWidgets.QPushButton(self.tab_5)194 self.size_submit_btn.setObjectName("size_submit_btn")195 self.horizontalLayout_11.addWidget(self.size_submit_btn)196 self.verticalLayout_5.addLayout(self.horizontalLayout_11)197 self.tabWidget.addTab(self.tab_5, "")198 self.verticalLayout_2.addWidget(self.tabWidget)199 self.groupBox_3 =QtWidgets.QGroupBox(Dialog)200 self.groupBox_3.setObjectName("groupBox_3")201 self.verticalLayout_3 =QtWidgets.QVBoxLayout(self.groupBox_3)202 self.verticalLayout_3.setObjectName("verticalLayout_3")203 self.output_lw =QtWidgets.QListWidget(self.groupBox_3)204 self.output_lw.setObjectName("output_lw")205 self.verticalLayout_3.addWidget(self.output_lw)206 self.verticalLayout_2.addWidget(self.groupBox_3)207 self.verticalLayout_2.setStretch(1, 2)208
209 self.retranslateUi(Dialog)210 self.tabWidget.setCurrentIndex(0)211 QtCore.QMetaObject.connectSlotsByName(Dialog)212
213 defretranslateUi(self, Dialog):214 _translate =QtCore.QCoreApplication.translate215 Dialog.setWindowTitle(_translate("Dialog", "IProcesser"))216 self.label_5.setText(_translate("Dialog", "Src:"))217 self.reslotion_src_view_btn.setText(_translate("Dialog", "View..."))218 self.label_8.setText(_translate("Dialog", "Dst:"))219 self.reslotion_dst_view_btn.setText(_translate("Dialog", "View..."))220 self.label_6.setText(_translate("Dialog", "SrcW"))221 self.label_7.setText(_translate("Dialog", "SrcH"))222 self.label_10.setText(_translate("Dialog", "DstW:"))223 self.label_9.setText(_translate("Dialog", "DstH:"))224 self.reslotion_submit_btn.setText(_translate("Dialog", "Submit"))225 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("Dialog", "分辨率转换"))226 self.label.setText(_translate("Dialog", "设定像素比:"))227 self.offset_pixel_le.setPlaceholderText(_translate("Dialog", "1"))228 self.label_2.setText(_translate("Dialog", "Pixel"))229 self.offset_meter_le.setPlaceholderText(_translate("Dialog", "1"))230 self.label_3.setText(_translate("Dialog", "Meter"))231 self.label_4.setText(_translate("Dialog", "序列文件夹:"))232 self.offset_view_btn.setText(_translate("Dialog", "View..."))233 self.label_11.setText(_translate("Dialog", "LTx:"))234 self.offset_ltx_le.setPlaceholderText(_translate("Dialog", "0"))235 self.label_12.setText(_translate("Dialog", "LTy:"))236 self.offset_lty_le.setPlaceholderText(_translate("Dialog", "0"))237 self.rename_ckb.setText(_translate("Dialog", "改名"))238 self.offset_submit_btn.setText(_translate("Dialog", "Submit"))239 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("Dialog", "偏移值调整"))240 self.label_13.setText(_translate("Dialog", "目录:"))241 self.size_view_btn.setText(_translate("Dialog", "View..."))242 self.label_14.setText(_translate("Dialog", "设定宽度:"))243 self.label_15.setText(_translate("Dialog", "设定高度:"))244 self.size_submit_btn.setText(_translate("Dialog", "Submit"))245 self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("Dialog", "尺寸调整"))246 self.groupBox_3.setTitle(_translate("Dialog", "输出"))247
248 import IProcessing_rc