66 lines
3.1 KiB
Python
66 lines
3.1 KiB
Python
|
|
# -*- coding: utf-8 -*-
|
|||
|
|
|
|||
|
|
# Form implementation generated from reading ui file 'zhuan.ui'
|
|||
|
|
#
|
|||
|
|
# Created by: PyQt5 UI code generator 5.15.4
|
|||
|
|
#
|
|||
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|||
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|||
|
|
|
|||
|
|
|
|||
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|||
|
|
|
|||
|
|
|
|||
|
|
class Ui_Dialog(object):
|
|||
|
|
def setupUi(self, Dialog):
|
|||
|
|
Dialog.setObjectName("Dialog")
|
|||
|
|
Dialog.resize(461, 70)
|
|||
|
|
self.widget = QtWidgets.QWidget(Dialog)
|
|||
|
|
self.widget.setGeometry(QtCore.QRect(10, 35, 446, 23))
|
|||
|
|
self.widget.setObjectName("widget")
|
|||
|
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget)
|
|||
|
|
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
|
|||
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|||
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|||
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|||
|
|
self.label = QtWidgets.QLabel(self.widget)
|
|||
|
|
self.label.setObjectName("label")
|
|||
|
|
self.horizontalLayout.addWidget(self.label)
|
|||
|
|
self.lineEdit = QtWidgets.QLineEdit(self.widget)
|
|||
|
|
self.lineEdit.setObjectName("lineEdit")
|
|||
|
|
self.horizontalLayout.addWidget(self.lineEdit)
|
|||
|
|
self.horizontalLayout_3.addLayout(self.horizontalLayout)
|
|||
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|||
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|||
|
|
self.label_2 = QtWidgets.QLabel(self.widget)
|
|||
|
|
self.label_2.setObjectName("label_2")
|
|||
|
|
self.horizontalLayout_2.addWidget(self.label_2)
|
|||
|
|
self.lineEdit_2 = QtWidgets.QLineEdit(self.widget)
|
|||
|
|
self.lineEdit_2.setObjectName("lineEdit_2")
|
|||
|
|
self.horizontalLayout_2.addWidget(self.lineEdit_2)
|
|||
|
|
self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
|
|||
|
|
self.widget1 = QtWidgets.QWidget(Dialog)
|
|||
|
|
self.widget1.setGeometry(QtCore.QRect(10, 10, 216, 18))
|
|||
|
|
self.widget1.setObjectName("widget1")
|
|||
|
|
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget1)
|
|||
|
|
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
|
|||
|
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
|||
|
|
self.radioButton = QtWidgets.QRadioButton(self.widget1)
|
|||
|
|
self.radioButton.setChecked(True)
|
|||
|
|
self.radioButton.setObjectName("radioButton")
|
|||
|
|
self.horizontalLayout_4.addWidget(self.radioButton)
|
|||
|
|
self.radioButton_2 = QtWidgets.QRadioButton(self.widget1)
|
|||
|
|
self.radioButton_2.setObjectName("radioButton_2")
|
|||
|
|
self.horizontalLayout_4.addWidget(self.radioButton_2)
|
|||
|
|
|
|||
|
|
self.retranslateUi(Dialog)
|
|||
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|||
|
|
|
|||
|
|
def retranslateUi(self, Dialog):
|
|||
|
|
_translate = QtCore.QCoreApplication.translate
|
|||
|
|
Dialog.setWindowTitle(_translate("Dialog", "IEEE754转换工具"))
|
|||
|
|
self.label.setText(_translate("Dialog", "16进制表示"))
|
|||
|
|
self.label_2.setText(_translate("Dialog", "float值"))
|
|||
|
|
self.radioButton.setText(_translate("Dialog", "单精度(32位)"))
|
|||
|
|
self.radioButton_2.setText(_translate("Dialog", "双精度(64位)"))
|