|
|
@@ -14,284 +14,195 @@ from PyQt5 import QtCore, QtGui, QtWidgets |
|
|
|
class Ui_MainWindow(object):
|
|
|
|
def setupUi(self, MainWindow):
|
|
|
|
MainWindow.setObjectName("MainWindow")
|
|
|
|
MainWindow.resize(1761, 1188)
|
|
|
|
MainWindow.resize(1742, 1211)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
|
|
|
|
MainWindow.setSizePolicy(sizePolicy)
|
|
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
|
|
self.open_file = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.open_file.setGeometry(QtCore.QRect(630, 1010, 93, 28))
|
|
|
|
self.open_file.setObjectName("open_file")
|
|
|
|
self.label_64 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_64.setGeometry(QtCore.QRect(1190, 1083, 41, 16))
|
|
|
|
self.label_64.setObjectName("label_64")
|
|
|
|
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
|
|
|
|
self.textBrowser.setGeometry(QtCore.QRect(10, 410, 411, 551))
|
|
|
|
self.textBrowser.setObjectName("textBrowser")
|
|
|
|
self.label_3 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_3.setGeometry(QtCore.QRect(1484, 1009, 71, 16))
|
|
|
|
self.label_3.setObjectName("label_3")
|
|
|
|
self.btn_height = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn_height.setGeometry(QtCore.QRect(1393, 1010, 75, 24))
|
|
|
|
self.btn_height.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_height.setObjectName("btn_height")
|
|
|
|
self.height = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.height.setGeometry(QtCore.QRect(1560, 1009, 39, 16))
|
|
|
|
self.height.setObjectName("height")
|
|
|
|
self.label_67 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_67.setGeometry(QtCore.QRect(1010, 1010, 41, 16))
|
|
|
|
self.label_67.setObjectName("label_67")
|
|
|
|
self.beg6 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.beg6.setGeometry(QtCore.QRect(1060, 1010, 121, 16))
|
|
|
|
self.beg6.setObjectName("beg6")
|
|
|
|
self.btn6 = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn6.setGeometry(QtCore.QRect(929, 1010, 75, 24))
|
|
|
|
self.btn6.setObjectName("btn6")
|
|
|
|
self.label_69 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_69.setGeometry(QtCore.QRect(1190, 1010, 41, 16))
|
|
|
|
self.label_69.setObjectName("label_69")
|
|
|
|
self.end6 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.end6.setGeometry(QtCore.QRect(1240, 1010, 141, 20))
|
|
|
|
self.end6.setObjectName("end6")
|
|
|
|
self.label_4 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_4.setGeometry(QtCore.QRect(1484, 1046, 71, 16))
|
|
|
|
self.label_4.setObjectName("label_4")
|
|
|
|
self.btn_length = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn_length.setGeometry(QtCore.QRect(1393, 1047, 75, 24))
|
|
|
|
self.btn_length.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_length.setObjectName("btn_length")
|
|
|
|
self.length = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.length.setGeometry(QtCore.QRect(1560, 1046, 161, 16))
|
|
|
|
self.length.setObjectName("length")
|
|
|
|
self.end9 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.end9.setGeometry(QtCore.QRect(1240, 1047, 141, 20))
|
|
|
|
self.end9.setObjectName("end9")
|
|
|
|
self.btn9 = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn9.setGeometry(QtCore.QRect(929, 1047, 75, 24))
|
|
|
|
self.btn9.setObjectName("btn9")
|
|
|
|
self.label_77 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_77.setGeometry(QtCore.QRect(1010, 1047, 41, 16))
|
|
|
|
self.label_77.setObjectName("label_77")
|
|
|
|
self.beg9 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.beg9.setGeometry(QtCore.QRect(1060, 1047, 121, 20))
|
|
|
|
self.beg9.setObjectName("beg9")
|
|
|
|
self.label_79 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_79.setGeometry(QtCore.QRect(1190, 1047, 41, 16))
|
|
|
|
self.label_79.setObjectName("label_79")
|
|
|
|
self.btn_width = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn_width.setGeometry(QtCore.QRect(1393, 1083, 75, 24))
|
|
|
|
self.btn_width.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_width.setObjectName("btn_width")
|
|
|
|
self.label_5 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_5.setGeometry(QtCore.QRect(1484, 1082, 71, 16))
|
|
|
|
self.label_5.setObjectName("label_5")
|
|
|
|
self.width = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.width.setGeometry(QtCore.QRect(1560, 1082, 161, 16))
|
|
|
|
self.width.setObjectName("width")
|
|
|
|
self.btn10 = QtWidgets.QPushButton(self.centralwidget)
|
|
|
|
self.btn10.setGeometry(QtCore.QRect(929, 1083, 75, 24))
|
|
|
|
self.btn10.setObjectName("btn10")
|
|
|
|
self.beg10 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.beg10.setGeometry(QtCore.QRect(1060, 1083, 121, 20))
|
|
|
|
self.beg10.setObjectName("beg10")
|
|
|
|
self.label_62 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.label_62.setGeometry(QtCore.QRect(1010, 1083, 41, 16))
|
|
|
|
self.label_62.setObjectName("label_62")
|
|
|
|
self.end10 = QtWidgets.QLabel(self.centralwidget)
|
|
|
|
self.end10.setGeometry(QtCore.QRect(1240, 1083, 141, 20))
|
|
|
|
self.end10.setObjectName("end10")
|
|
|
|
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
|
|
|
|
self.layoutWidget.setGeometry(QtCore.QRect(10, 11, 411, 106))
|
|
|
|
self.layoutWidget.setObjectName("layoutWidget")
|
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
|
|
|
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.gridLayout_4 = QtWidgets.QGridLayout(self.centralwidget)
|
|
|
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
|
|
|
self.splitter = QtWidgets.QSplitter(self.centralwidget)
|
|
|
|
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
|
|
|
self.splitter.setObjectName("splitter")
|
|
|
|
self.widget = QtWidgets.QWidget(self.splitter)
|
|
|
|
self.widget.setObjectName("widget")
|
|
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget)
|
|
|
|
self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
|
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
|
|
self.btn1 = QtWidgets.QPushButton(self.layoutWidget)
|
|
|
|
self.btn1 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn1.setObjectName("btn1")
|
|
|
|
self.horizontalLayout.addWidget(self.btn1)
|
|
|
|
self.label_9 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.label_9 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_9.setObjectName("label_9")
|
|
|
|
self.horizontalLayout.addWidget(self.label_9)
|
|
|
|
self.beg1 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.beg1 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg1.setObjectName("beg1")
|
|
|
|
self.horizontalLayout.addWidget(self.beg1)
|
|
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout.addItem(spacerItem)
|
|
|
|
self.label_10 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.label_10 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_10.setObjectName("label_10")
|
|
|
|
self.horizontalLayout.addWidget(self.label_10)
|
|
|
|
self.end1 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.end1 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end1.setObjectName("end1")
|
|
|
|
self.horizontalLayout.addWidget(self.end1)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
|
|
self.btn2 = QtWidgets.QPushButton(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
self.btn2 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn2.setObjectName("btn2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.btn2)
|
|
|
|
self.label_42 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2.addWidget(self.btn2)
|
|
|
|
self.label_42 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_42.setObjectName("label_42")
|
|
|
|
self.horizontalLayout_3.addWidget(self.label_42)
|
|
|
|
self.beg2 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2.addWidget(self.label_42)
|
|
|
|
self.beg2 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg2.setObjectName("beg2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.beg2)
|
|
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_3.addItem(spacerItem1)
|
|
|
|
self.label_44 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2.addWidget(self.beg2)
|
|
|
|
self.label_44 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_44.setObjectName("label_44")
|
|
|
|
self.horizontalLayout_3.addWidget(self.label_44)
|
|
|
|
self.end2 = QtWidgets.QLabel(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2.addWidget(self.label_44)
|
|
|
|
self.end2 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end2.setObjectName("end2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.end2)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
|
|
self.btn_refLen1 = QtWidgets.QPushButton(self.layoutWidget)
|
|
|
|
self.horizontalLayout_2.addWidget(self.end2)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
|
|
self.btn_refLen1 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn_refLen1.setObjectName("btn_refLen1")
|
|
|
|
self.horizontalLayout_2.addWidget(self.btn_refLen1)
|
|
|
|
self.refLen1 = QtWidgets.QLineEdit(self.layoutWidget)
|
|
|
|
self.horizontalLayout_3.addWidget(self.btn_refLen1)
|
|
|
|
self.refLen1 = QtWidgets.QLineEdit(self.widget)
|
|
|
|
self.refLen1.setObjectName("refLen1")
|
|
|
|
self.horizontalLayout_2.addWidget(self.refLen1)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
|
|
self.layoutWidget1 = QtWidgets.QWidget(self.centralwidget)
|
|
|
|
self.layoutWidget1.setGeometry(QtCore.QRect(10, 131, 411, 106))
|
|
|
|
self.layoutWidget1.setObjectName("layoutWidget1")
|
|
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget1)
|
|
|
|
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
|
self.horizontalLayout_3.addWidget(self.refLen1)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
|
|
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
|
|
|
self.btn3 = QtWidgets.QPushButton(self.layoutWidget1)
|
|
|
|
self.btn3 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn3.setObjectName("btn3")
|
|
|
|
self.horizontalLayout_4.addWidget(self.btn3)
|
|
|
|
self.label_47 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.label_47 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_47.setObjectName("label_47")
|
|
|
|
self.horizontalLayout_4.addWidget(self.label_47)
|
|
|
|
self.beg3 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.beg3 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg3.setObjectName("beg3")
|
|
|
|
self.horizontalLayout_4.addWidget(self.beg3)
|
|
|
|
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_4.addItem(spacerItem2)
|
|
|
|
self.label_49 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.label_49 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_49.setObjectName("label_49")
|
|
|
|
self.horizontalLayout_4.addWidget(self.label_49)
|
|
|
|
self.end3 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.end3 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end3.setObjectName("end3")
|
|
|
|
self.horizontalLayout_4.addWidget(self.end3)
|
|
|
|
self.verticalLayout_2.addLayout(self.horizontalLayout_4)
|
|
|
|
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
|
|
|
self.btn4 = QtWidgets.QPushButton(self.layoutWidget1)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_4)
|
|
|
|
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
|
|
|
self.btn4 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn4.setObjectName("btn4")
|
|
|
|
self.horizontalLayout_6.addWidget(self.btn4)
|
|
|
|
self.label_52 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_5.addWidget(self.btn4)
|
|
|
|
self.label_52 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_52.setObjectName("label_52")
|
|
|
|
self.horizontalLayout_6.addWidget(self.label_52)
|
|
|
|
self.beg4 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_5.addWidget(self.label_52)
|
|
|
|
self.beg4 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg4.setObjectName("beg4")
|
|
|
|
self.horizontalLayout_6.addWidget(self.beg4)
|
|
|
|
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_6.addItem(spacerItem3)
|
|
|
|
self.label_54 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_5.addWidget(self.beg4)
|
|
|
|
self.label_54 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_54.setObjectName("label_54")
|
|
|
|
self.horizontalLayout_6.addWidget(self.label_54)
|
|
|
|
self.end4 = QtWidgets.QLabel(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_5.addWidget(self.label_54)
|
|
|
|
self.end4 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end4.setObjectName("end4")
|
|
|
|
self.horizontalLayout_6.addWidget(self.end4)
|
|
|
|
self.verticalLayout_2.addLayout(self.horizontalLayout_6)
|
|
|
|
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
|
|
|
self.btn_refLen2 = QtWidgets.QPushButton(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_5.addWidget(self.end4)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_5)
|
|
|
|
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
|
|
|
self.btn_refLen2 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn_refLen2.setObjectName("btn_refLen2")
|
|
|
|
self.horizontalLayout_5.addWidget(self.btn_refLen2)
|
|
|
|
self.refLen2 = QtWidgets.QLineEdit(self.layoutWidget1)
|
|
|
|
self.horizontalLayout_6.addWidget(self.btn_refLen2)
|
|
|
|
self.refLen2 = QtWidgets.QLineEdit(self.widget)
|
|
|
|
self.refLen2.setObjectName("refLen2")
|
|
|
|
self.horizontalLayout_5.addWidget(self.refLen2)
|
|
|
|
self.verticalLayout_2.addLayout(self.horizontalLayout_5)
|
|
|
|
self.layoutWidget2 = QtWidgets.QWidget(self.centralwidget)
|
|
|
|
self.layoutWidget2.setGeometry(QtCore.QRect(10, 330, 411, 69))
|
|
|
|
self.layoutWidget2.setObjectName("layoutWidget2")
|
|
|
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget2)
|
|
|
|
self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
|
|
self.horizontalLayout_6.addWidget(self.refLen2)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_6)
|
|
|
|
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
|
|
|
self.btn5 = QtWidgets.QPushButton(self.layoutWidget2)
|
|
|
|
self.btn5.setObjectName("btn5")
|
|
|
|
self.horizontalLayout_7.addWidget(self.btn5)
|
|
|
|
self.label_11 = QtWidgets.QLabel(self.layoutWidget2)
|
|
|
|
self.label_11.setObjectName("label_11")
|
|
|
|
self.horizontalLayout_7.addWidget(self.label_11)
|
|
|
|
self.beg5 = QtWidgets.QLabel(self.layoutWidget2)
|
|
|
|
self.beg5.setObjectName("beg5")
|
|
|
|
self.horizontalLayout_7.addWidget(self.beg5)
|
|
|
|
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_7.addItem(spacerItem4)
|
|
|
|
self.label_12 = QtWidgets.QLabel(self.layoutWidget2)
|
|
|
|
self.label_12.setObjectName("label_12")
|
|
|
|
self.horizontalLayout_7.addWidget(self.label_12)
|
|
|
|
self.end5 = QtWidgets.QLabel(self.layoutWidget2)
|
|
|
|
self.end5.setObjectName("end5")
|
|
|
|
self.horizontalLayout_7.addWidget(self.end5)
|
|
|
|
self.verticalLayout_3.addLayout(self.horizontalLayout_7)
|
|
|
|
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
|
|
|
self.btn_refheight = QtWidgets.QPushButton(self.layoutWidget2)
|
|
|
|
self.btn_refheight.setObjectName("btn_refheight")
|
|
|
|
self.horizontalLayout_8.addWidget(self.btn_refheight)
|
|
|
|
self.refHei = QtWidgets.QLineEdit(self.layoutWidget2)
|
|
|
|
self.refHei.setText("")
|
|
|
|
self.refHei.setObjectName("refHei")
|
|
|
|
self.horizontalLayout_8.addWidget(self.refHei)
|
|
|
|
self.verticalLayout_3.addLayout(self.horizontalLayout_8)
|
|
|
|
self.layoutWidget3 = QtWidgets.QWidget(self.centralwidget)
|
|
|
|
self.layoutWidget3.setGeometry(QtCore.QRect(10, 250, 411, 69))
|
|
|
|
self.layoutWidget3.setObjectName("layoutWidget3")
|
|
|
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.layoutWidget3)
|
|
|
|
self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
|
|
|
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
|
|
|
|
self.btn7 = QtWidgets.QPushButton(self.layoutWidget3)
|
|
|
|
self.btn7 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn7.setObjectName("btn7")
|
|
|
|
self.horizontalLayout_9.addWidget(self.btn7)
|
|
|
|
self.label_57 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_7.addWidget(self.btn7)
|
|
|
|
self.label_57 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_57.setObjectName("label_57")
|
|
|
|
self.horizontalLayout_9.addWidget(self.label_57)
|
|
|
|
self.beg7 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_7.addWidget(self.label_57)
|
|
|
|
self.beg7 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg7.setObjectName("beg7")
|
|
|
|
self.horizontalLayout_9.addWidget(self.beg7)
|
|
|
|
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_9.addItem(spacerItem5)
|
|
|
|
self.label_59 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_7.addWidget(self.beg7)
|
|
|
|
self.label_59 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_59.setObjectName("label_59")
|
|
|
|
self.horizontalLayout_9.addWidget(self.label_59)
|
|
|
|
self.end7 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_7.addWidget(self.label_59)
|
|
|
|
self.end7 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end7.setObjectName("end7")
|
|
|
|
self.horizontalLayout_9.addWidget(self.end7)
|
|
|
|
self.verticalLayout_4.addLayout(self.horizontalLayout_9)
|
|
|
|
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
|
|
|
|
self.btn8 = QtWidgets.QPushButton(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_7.addWidget(self.end7)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_7)
|
|
|
|
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
|
|
|
self.btn8 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn8.setObjectName("btn8")
|
|
|
|
self.horizontalLayout_10.addWidget(self.btn8)
|
|
|
|
self.label_72 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_8.addWidget(self.btn8)
|
|
|
|
self.label_72 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_72.setObjectName("label_72")
|
|
|
|
self.horizontalLayout_10.addWidget(self.label_72)
|
|
|
|
self.beg8 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_8.addWidget(self.label_72)
|
|
|
|
self.beg8 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg8.setObjectName("beg8")
|
|
|
|
self.horizontalLayout_10.addWidget(self.beg8)
|
|
|
|
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
self.horizontalLayout_10.addItem(spacerItem6)
|
|
|
|
self.label_74 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_8.addWidget(self.beg8)
|
|
|
|
self.label_74 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_74.setObjectName("label_74")
|
|
|
|
self.horizontalLayout_10.addWidget(self.label_74)
|
|
|
|
self.end8 = QtWidgets.QLabel(self.layoutWidget3)
|
|
|
|
self.horizontalLayout_8.addWidget(self.label_74)
|
|
|
|
self.end8 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end8.setObjectName("end8")
|
|
|
|
self.horizontalLayout_10.addWidget(self.end8)
|
|
|
|
self.verticalLayout_4.addLayout(self.horizontalLayout_10)
|
|
|
|
self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
|
|
|
|
self.scrollArea.setGeometry(QtCore.QRect(430, 10, 1321, 951))
|
|
|
|
self.horizontalLayout_8.addWidget(self.end8)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_8)
|
|
|
|
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
|
|
|
|
self.btn5 = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn5.setObjectName("btn5")
|
|
|
|
self.horizontalLayout_9.addWidget(self.btn5)
|
|
|
|
self.label_11 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_11.setObjectName("label_11")
|
|
|
|
self.horizontalLayout_9.addWidget(self.label_11)
|
|
|
|
self.beg5 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.beg5.setObjectName("beg5")
|
|
|
|
self.horizontalLayout_9.addWidget(self.beg5)
|
|
|
|
self.label_12 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.label_12.setObjectName("label_12")
|
|
|
|
self.horizontalLayout_9.addWidget(self.label_12)
|
|
|
|
self.end5 = QtWidgets.QLabel(self.widget)
|
|
|
|
self.end5.setObjectName("end5")
|
|
|
|
self.horizontalLayout_9.addWidget(self.end5)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_9)
|
|
|
|
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
|
|
|
|
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
|
|
|
|
self.btn_refheight = QtWidgets.QPushButton(self.widget)
|
|
|
|
self.btn_refheight.setObjectName("btn_refheight")
|
|
|
|
self.horizontalLayout_10.addWidget(self.btn_refheight)
|
|
|
|
self.refHei = QtWidgets.QLineEdit(self.widget)
|
|
|
|
self.refHei.setText("")
|
|
|
|
self.refHei.setObjectName("refHei")
|
|
|
|
self.horizontalLayout_10.addWidget(self.refHei)
|
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_10)
|
|
|
|
self.verticalLayout_3.addLayout(self.verticalLayout)
|
|
|
|
self.textBrowser = QtWidgets.QTextBrowser(self.widget)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.textBrowser.sizePolicy().hasHeightForWidth())
|
|
|
|
self.textBrowser.setSizePolicy(sizePolicy)
|
|
|
|
self.textBrowser.setObjectName("textBrowser")
|
|
|
|
self.verticalLayout_3.addWidget(self.textBrowser)
|
|
|
|
self.widget1 = QtWidgets.QWidget(self.splitter)
|
|
|
|
self.widget1.setObjectName("widget1")
|
|
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget1)
|
|
|
|
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
|
self.scrollArea = QtWidgets.QScrollArea(self.widget1)
|
|
|
|
self.scrollArea.setWidgetResizable(False)
|
|
|
|
self.scrollArea.setObjectName("scrollArea")
|
|
|
|
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
|
|
@@ -300,28 +211,146 @@ class Ui_MainWindow(object): |
|
|
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
|
|
|
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
|
|
|
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
|
|
|
self.layoutWidget4 = QtWidgets.QWidget(self.centralwidget)
|
|
|
|
self.layoutWidget4.setGeometry(QtCore.QRect(450, 1050, 451, 24))
|
|
|
|
self.layoutWidget4.setObjectName("layoutWidget4")
|
|
|
|
self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.layoutWidget4)
|
|
|
|
self.horizontalLayout_11.setContentsMargins(0, 0, 0, 0)
|
|
|
|
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
|
|
|
|
self.adjustZoomLabel = QtWidgets.QLabel(self.layoutWidget4)
|
|
|
|
self.verticalLayout_2.addWidget(self.scrollArea)
|
|
|
|
self.gridLayout_3 = QtWidgets.QGridLayout()
|
|
|
|
self.gridLayout_3.setObjectName("gridLayout_3")
|
|
|
|
self._2 = QtWidgets.QGridLayout()
|
|
|
|
self._2.setContentsMargins(21, 3, 24, 0)
|
|
|
|
self._2.setHorizontalSpacing(28)
|
|
|
|
self._2.setObjectName("_2")
|
|
|
|
self.adjustZoomLabel = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.adjustZoomLabel.setObjectName("adjustZoomLabel")
|
|
|
|
self.horizontalLayout_11.addWidget(self.adjustZoomLabel)
|
|
|
|
self.adjustZoomSlider = QtWidgets.QSlider(self.layoutWidget4)
|
|
|
|
self._2.addWidget(self.adjustZoomLabel, 1, 0, 1, 1)
|
|
|
|
self.adjustZoomNumLabel = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.adjustZoomNumLabel.setObjectName("adjustZoomNumLabel")
|
|
|
|
self._2.addWidget(self.adjustZoomNumLabel, 1, 2, 1, 1)
|
|
|
|
self.adjustZoomSlider = QtWidgets.QSlider(self.widget1)
|
|
|
|
self.adjustZoomSlider.setMinimum(1)
|
|
|
|
self.adjustZoomSlider.setMaximum(500)
|
|
|
|
self.adjustZoomSlider.setProperty("value", 100)
|
|
|
|
self.adjustZoomSlider.setOrientation(QtCore.Qt.Horizontal)
|
|
|
|
self.adjustZoomSlider.setObjectName("adjustZoomSlider")
|
|
|
|
self.horizontalLayout_11.addWidget(self.adjustZoomSlider)
|
|
|
|
self.adjustZoomNumLabel = QtWidgets.QLabel(self.layoutWidget4)
|
|
|
|
self.adjustZoomNumLabel.setObjectName("adjustZoomNumLabel")
|
|
|
|
self.horizontalLayout_11.addWidget(self.adjustZoomNumLabel)
|
|
|
|
self._2.addWidget(self.adjustZoomSlider, 1, 1, 1, 1)
|
|
|
|
self.open_file = QtWidgets.QPushButton(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.open_file.sizePolicy().hasHeightForWidth())
|
|
|
|
self.open_file.setSizePolicy(sizePolicy)
|
|
|
|
self.open_file.setObjectName("open_file")
|
|
|
|
self._2.addWidget(self.open_file, 0, 1, 1, 1)
|
|
|
|
self.gridLayout_3.addLayout(self._2, 0, 0, 1, 1)
|
|
|
|
self.gridLayout_2 = QtWidgets.QGridLayout()
|
|
|
|
self.gridLayout_2.setContentsMargins(63, 6, 90, 6)
|
|
|
|
self.gridLayout_2.setHorizontalSpacing(36)
|
|
|
|
self.gridLayout_2.setVerticalSpacing(7)
|
|
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
|
|
self.label_5 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_5.setObjectName("label_5")
|
|
|
|
self.gridLayout_2.addWidget(self.label_5, 2, 6, 1, 1)
|
|
|
|
self.width = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.width.setObjectName("width")
|
|
|
|
self.gridLayout_2.addWidget(self.width, 2, 7, 1, 1)
|
|
|
|
self.label_77 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_77.setObjectName("label_77")
|
|
|
|
self.gridLayout_2.addWidget(self.label_77, 1, 1, 1, 1)
|
|
|
|
self.label_62 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_62.setObjectName("label_62")
|
|
|
|
self.gridLayout_2.addWidget(self.label_62, 2, 1, 1, 1)
|
|
|
|
self.label_64 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_64.setObjectName("label_64")
|
|
|
|
self.gridLayout_2.addWidget(self.label_64, 2, 3, 1, 1)
|
|
|
|
self.label_3 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_3.setObjectName("label_3")
|
|
|
|
self.gridLayout_2.addWidget(self.label_3, 0, 6, 1, 1)
|
|
|
|
self.end10 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.end10.setObjectName("end10")
|
|
|
|
self.gridLayout_2.addWidget(self.end10, 2, 4, 1, 1)
|
|
|
|
self.label_4 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_4.setObjectName("label_4")
|
|
|
|
self.gridLayout_2.addWidget(self.label_4, 1, 6, 1, 1)
|
|
|
|
self.end9 = QtWidgets.QLabel(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.end9.sizePolicy().hasHeightForWidth())
|
|
|
|
self.end9.setSizePolicy(sizePolicy)
|
|
|
|
self.end9.setObjectName("end9")
|
|
|
|
self.gridLayout_2.addWidget(self.end9, 1, 4, 1, 1)
|
|
|
|
self.length = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.length.setObjectName("length")
|
|
|
|
self.gridLayout_2.addWidget(self.length, 1, 7, 1, 1)
|
|
|
|
self.btn_height = QtWidgets.QPushButton(self.widget1)
|
|
|
|
self.btn_height.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_height.setObjectName("btn_height")
|
|
|
|
self.gridLayout_2.addWidget(self.btn_height, 0, 5, 1, 1)
|
|
|
|
self.end6 = QtWidgets.QLabel(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.end6.sizePolicy().hasHeightForWidth())
|
|
|
|
self.end6.setSizePolicy(sizePolicy)
|
|
|
|
self.end6.setObjectName("end6")
|
|
|
|
self.gridLayout_2.addWidget(self.end6, 0, 4, 1, 1)
|
|
|
|
self.btn6 = QtWidgets.QPushButton(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.btn6.sizePolicy().hasHeightForWidth())
|
|
|
|
self.btn6.setSizePolicy(sizePolicy)
|
|
|
|
self.btn6.setObjectName("btn6")
|
|
|
|
self.gridLayout_2.addWidget(self.btn6, 0, 0, 1, 1)
|
|
|
|
self.btn_width = QtWidgets.QPushButton(self.widget1)
|
|
|
|
self.btn_width.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_width.setObjectName("btn_width")
|
|
|
|
self.gridLayout_2.addWidget(self.btn_width, 2, 5, 1, 1)
|
|
|
|
self.btn10 = QtWidgets.QPushButton(self.widget1)
|
|
|
|
self.btn10.setObjectName("btn10")
|
|
|
|
self.gridLayout_2.addWidget(self.btn10, 2, 0, 1, 1)
|
|
|
|
self.label_79 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_79.setObjectName("label_79")
|
|
|
|
self.gridLayout_2.addWidget(self.label_79, 1, 3, 1, 1)
|
|
|
|
self.label_67 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_67.setObjectName("label_67")
|
|
|
|
self.gridLayout_2.addWidget(self.label_67, 0, 1, 1, 1)
|
|
|
|
self.height = QtWidgets.QLabel(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.height.sizePolicy().hasHeightForWidth())
|
|
|
|
self.height.setSizePolicy(sizePolicy)
|
|
|
|
self.height.setObjectName("height")
|
|
|
|
self.gridLayout_2.addWidget(self.height, 0, 7, 1, 1)
|
|
|
|
self.beg9 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.beg9.setObjectName("beg9")
|
|
|
|
self.gridLayout_2.addWidget(self.beg9, 1, 2, 1, 1)
|
|
|
|
self.btn9 = QtWidgets.QPushButton(self.widget1)
|
|
|
|
self.btn9.setObjectName("btn9")
|
|
|
|
self.gridLayout_2.addWidget(self.btn9, 1, 0, 1, 1)
|
|
|
|
self.label_69 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.label_69.setObjectName("label_69")
|
|
|
|
self.gridLayout_2.addWidget(self.label_69, 0, 3, 1, 1)
|
|
|
|
self.beg10 = QtWidgets.QLabel(self.widget1)
|
|
|
|
self.beg10.setObjectName("beg10")
|
|
|
|
self.gridLayout_2.addWidget(self.beg10, 2, 2, 1, 1)
|
|
|
|
self.btn_length = QtWidgets.QPushButton(self.widget1)
|
|
|
|
self.btn_length.setLayoutDirection(QtCore.Qt.LeftToRight)
|
|
|
|
self.btn_length.setObjectName("btn_length")
|
|
|
|
self.gridLayout_2.addWidget(self.btn_length, 1, 5, 1, 1)
|
|
|
|
self.beg6 = QtWidgets.QLabel(self.widget1)
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
sizePolicy.setHeightForWidth(self.beg6.sizePolicy().hasHeightForWidth())
|
|
|
|
self.beg6.setSizePolicy(sizePolicy)
|
|
|
|
self.beg6.setObjectName("beg6")
|
|
|
|
self.gridLayout_2.addWidget(self.beg6, 0, 2, 1, 1)
|
|
|
|
self.gridLayout_3.addLayout(self.gridLayout_2, 0, 1, 1, 1)
|
|
|
|
self.verticalLayout_2.addLayout(self.gridLayout_3)
|
|
|
|
self.gridLayout_4.addWidget(self.splitter, 0, 0, 1, 1)
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1761, 26))
|
|
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1742, 26))
|
|
|
|
self.menubar.setObjectName("menubar")
|
|
|
|
MainWindow.setMenuBar(self.menubar)
|
|
|
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
|
|
@@ -340,44 +369,6 @@ class Ui_MainWindow(object): |
|
|
|
def retranslateUi(self, MainWindow):
|
|
|
|
_translate = QtCore.QCoreApplication.translate
|
|
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
|
|
|
self.open_file.setText(_translate("MainWindow", "选择图片"))
|
|
|
|
self.label_64.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.textBrowser.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
|
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">算法操作流程:</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">4、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">5、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">6、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">7、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">8、</p></body></html>"))
|
|
|
|
self.label_3.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.btn_height.setText(_translate("MainWindow", "计算高"))
|
|
|
|
self.height.setText(_translate("MainWindow", "result1"))
|
|
|
|
self.label_67.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg6.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn6.setText(_translate("MainWindow", "取高:"))
|
|
|
|
self.label_69.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.end6.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_4.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.btn_length.setText(_translate("MainWindow", "计算长"))
|
|
|
|
self.length.setText(_translate("MainWindow", "result2"))
|
|
|
|
self.end9.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn9.setText(_translate("MainWindow", "取长:"))
|
|
|
|
self.label_77.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg9.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_79.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.btn_width.setText(_translate("MainWindow", "计算宽"))
|
|
|
|
self.label_5.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.width.setText(_translate("MainWindow", "result3"))
|
|
|
|
self.btn10.setText(_translate("MainWindow", "取宽:"))
|
|
|
|
self.beg10.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_62.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.end10.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn1.setText(_translate("MainWindow", "取线段x1:"))
|
|
|
|
self.label_9.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg1.setText(_translate("MainWindow", "null"))
|
|
|
@@ -400,12 +391,6 @@ class Ui_MainWindow(object): |
|
|
|
self.label_54.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.end4.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn_refLen2.setText(_translate("MainWindow", "参考长度"))
|
|
|
|
self.btn5.setText(_translate("MainWindow", "取线段z3:"))
|
|
|
|
self.label_11.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg5.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_12.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.end5.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn_refheight.setText(_translate("MainWindow", "参考高度"))
|
|
|
|
self.btn7.setText(_translate("MainWindow", "取线z1:"))
|
|
|
|
self.label_57.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg7.setText(_translate("MainWindow", "null"))
|
|
|
@@ -416,7 +401,51 @@ class Ui_MainWindow(object): |
|
|
|
self.beg8.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_74.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.end8.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn5.setText(_translate("MainWindow", "取线段z3:"))
|
|
|
|
self.label_11.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.beg5.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_12.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.end5.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn_refheight.setText(_translate("MainWindow", "参考高度"))
|
|
|
|
self.textBrowser.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
|
|
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
|
|
|
"p, li { white-space: pre-wrap; }\n"
|
|
|
|
"</style></head><body style=\" font-family:\'SimSun\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">算法操作流程:</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">4、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">5、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">6、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">7、</p>\n"
|
|
|
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">8、</p></body></html>"))
|
|
|
|
self.adjustZoomLabel.setText(_translate("MainWindow", "Size调节"))
|
|
|
|
self.adjustZoomNumLabel.setText(_translate("MainWindow", "100 %"))
|
|
|
|
self.open_file.setText(_translate("MainWindow", "选择图片"))
|
|
|
|
self.label_5.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.width.setText(_translate("MainWindow", "result3"))
|
|
|
|
self.label_77.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.label_62.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.label_64.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.label_3.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.end10.setText(_translate("MainWindow", "null"))
|
|
|
|
self.label_4.setText(_translate("MainWindow", "计算结果:"))
|
|
|
|
self.end9.setText(_translate("MainWindow", "null"))
|
|
|
|
self.length.setText(_translate("MainWindow", "result2"))
|
|
|
|
self.btn_height.setText(_translate("MainWindow", "计算高"))
|
|
|
|
self.end6.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn6.setText(_translate("MainWindow", "取高:"))
|
|
|
|
self.btn_width.setText(_translate("MainWindow", "计算宽"))
|
|
|
|
self.btn10.setText(_translate("MainWindow", "取宽:"))
|
|
|
|
self.label_79.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.label_67.setText(_translate("MainWindow", "起点:"))
|
|
|
|
self.height.setText(_translate("MainWindow", "result1"))
|
|
|
|
self.beg9.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn9.setText(_translate("MainWindow", "取长:"))
|
|
|
|
self.label_69.setText(_translate("MainWindow", "终点:"))
|
|
|
|
self.beg10.setText(_translate("MainWindow", "null"))
|
|
|
|
self.btn_length.setText(_translate("MainWindow", "计算长"))
|
|
|
|
self.beg6.setText(_translate("MainWindow", "null"))
|
|
|
|
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
|
|
|
|
self.toolBar_2.setWindowTitle(_translate("MainWindow", "toolBar_2"))
|