代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '病历书写.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtWidgets import QMainWindow
class Ui_MainWindow(QMainWindow):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1252, 718)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.centralwidget)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.label_15 = QtWidgets.QLabel(self.centralwidget)
self.label_15.setObjectName("label_15")
self.verticalLayout_3.addWidget(self.label_15)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.treeWidget = QtWidgets.QTreeWidget(self.centralwidget)
self.treeWidget.setMinimumSize(QtCore.QSize(200, 0))
self.treeWidget.setMaximumSize(QtCore.QSize(300, 16777215))
self.treeWidget.setObjectName("treeWidget")
self.treeWidget.headerItem().setText(0, "1")
self.horizontalLayout.addWidget(self.treeWidget)
self.scrollArea = QtWidgets.QScrollArea(self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
self.scrollArea.setSizePolicy(sizePolicy)
self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.scrollArea.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, -328, 593, 2500))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(0, 2500))
self.scrollAreaWidgetContents.setSizeIncrement(QtCore.QSize(0, 1000))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.layoutWidget = QtWidgets.QWidget(self.scrollAreaWidgetContents)
self.layoutWidget.setGeometry(QtCore.QRect(0, 0, 1182, 2229))
self.layoutWidget.setObjectName("layoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.formLayout = QtWidgets.QFormLayout()
self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow)
self.formLayout.setObjectName("formLayout")
self.Label = QtWidgets.QLabel(self.layoutWidget)
self.Label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing)
self.Label.setObjectName("Label")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.Label)
self.LineEdit_name = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_name.sizePolicy().hasHeightForWidth())
self.LineEdit_name.setSizePolicy(sizePolicy)
self.LineEdit_name.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_name.setSizeIncrement(QtCore.QSize(0, 0))
self.LineEdit_name.setObjectName("LineEdit_name")
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.LineEdit_name)
self.Label_2 = QtWidgets.QLabel(self.layoutWidget)
self.Label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing)
self.Label_2.setObjectName("Label_2")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.Label_2)
self.LineEdit_sex = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_sex.sizePolicy().hasHeightForWidth())
self.LineEdit_sex.setSizePolicy(sizePolicy)
self.LineEdit_sex.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_sex.setObjectName("LineEdit_sex")
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.LineEdit_sex)
self.Label_3 = QtWidgets.QLabel(self.layoutWidget)
self.Label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_3.setObjectName("Label_3")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.Label_3)
self.LineEdit_age = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_age.sizePolicy().hasHeightForWidth())
self.LineEdit_age.setSizePolicy(sizePolicy)
self.LineEdit_age.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_age.setObjectName("LineEdit_age")
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.LineEdit_age)
self.Label_4 = QtWidgets.QLabel(self.layoutWidget)
self.Label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_4.setObjectName("Label_4")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.Label_4)
self.LineEdit_jiguan = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_jiguan.sizePolicy().hasHeightForWidth())
self.LineEdit_jiguan.setSizePolicy(sizePolicy)
self.LineEdit_jiguan.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_jiguan.setObjectName("LineEdit_jiguan")
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.LineEdit_jiguan)
self.Label_5 = QtWidgets.QLabel(self.layoutWidget)
self.Label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_5.setObjectName("Label_5")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.Label_5)
self.LineEdit_job = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_job.sizePolicy().hasHeightForWidth())
self.LineEdit_job.setSizePolicy(sizePolicy)
self.LineEdit_job.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_job.setObjectName("LineEdit_job")
self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.LineEdit_job)
self.Label_6 = QtWidgets.QLabel(self.layoutWidget)
self.Label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_6.setObjectName("Label_6")
self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.Label_6)
self.LineEdit_hunyin = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_hunyin.sizePolicy().hasHeightForWidth())
self.LineEdit_hunyin.setSizePolicy(sizePolicy)
self.LineEdit_hunyin.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_hunyin.setObjectName("LineEdit_hunyin")
self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.LineEdit_hunyin)
self.Label_7 = QtWidgets.QLabel(self.layoutWidget)
self.Label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_7.setObjectName("Label_7")
self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.Label_7)
self.LineEdit_ruyuanriqi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_ruyuanriqi.sizePolicy().hasHeightForWidth())
self.LineEdit_ruyuanriqi.setSizePolicy(sizePolicy)
self.LineEdit_ruyuanriqi.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_ruyuanriqi.setObjectName("LineEdit_ruyuanriqi")
self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.LineEdit_ruyuanriqi)
self.Label_8 = QtWidgets.QLabel(self.layoutWidget)
self.Label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_8.setObjectName("Label_8")
self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.Label_8)
self.LineEdit_jiatingzhuzhi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_jiatingzhuzhi.sizePolicy().hasHeightForWidth())
self.LineEdit_jiatingzhuzhi.setSizePolicy(sizePolicy)
self.LineEdit_jiatingzhuzhi.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_jiatingzhuzhi.setObjectName("LineEdit_jiatingzhuzhi")
self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.LineEdit_jiatingzhuzhi)
self.Label_9 = QtWidgets.QLabel(self.layoutWidget)
self.Label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_9.setObjectName("Label_9")
self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.Label_9)
self.LineEdit_bingshicaijiriqi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_bingshicaijiriqi.sizePolicy().hasHeightForWidth())
self.LineEdit_bingshicaijiriqi.setSizePolicy(sizePolicy)
self.LineEdit_bingshicaijiriqi.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_bingshicaijiriqi.setObjectName("LineEdit_bingshicaijiriqi")
self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.LineEdit_bingshicaijiriqi)
self.Label_10 = QtWidgets.QLabel(self.layoutWidget)
self.Label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_10.setObjectName("Label_10")
self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.Label_10)
self.LineEdit_lianxiren = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_lianxiren.sizePolicy().hasHeightForWidth())
self.LineEdit_lianxiren.setSizePolicy(sizePolicy)
self.LineEdit_lianxiren.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_lianxiren.setObjectName("LineEdit_lianxiren")
self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.LineEdit_lianxiren)
self.Label_11 = QtWidgets.QLabel(self.layoutWidget)
self.Label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_11.setObjectName("Label_11")
self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.Label_11)
self.LineEdit_guanxi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_guanxi.sizePolicy().hasHeightForWidth())
self.LineEdit_guanxi.setSizePolicy(sizePolicy)
self.LineEdit_guanxi.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_guanxi.setObjectName("LineEdit_guanxi")
self.formLayout.setWidget(10, QtWidgets.QFormLayout.FieldRole, self.LineEdit_guanxi)
self.Label_12 = QtWidgets.QLabel(self.layoutWidget)
self.Label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_12.setObjectName("Label_12")
self.formLayout.setWidget(11, QtWidgets.QFormLayout.LabelRole, self.Label_12)
self.LineEdit_dianhua = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.LineEdit_dianhua.sizePolicy().hasHeightForWidth())
self.LineEdit_dianhua.setSizePolicy(sizePolicy)
self.LineEdit_dianhua.setMinimumSize(QtCore.QSize(400, 0))
self.LineEdit_dianhua.setObjectName("LineEdit_dianhua")
self.formLayout.setWidget(11, QtWidgets.QFormLayout.FieldRole, self.LineEdit_dianhua)
self.Label_13 = QtWidgets.QLabel(self.layoutWidget)
self.Label_13.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.Label_13.setObjectName("Label_13")
self.formLayout.setWidget(13, QtWidgets.QFormLayout.LabelRole, self.Label_13)
self.lineEdit_jiatingzhuzhi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_jiatingzhuzhi.sizePolicy().hasHeightForWidth())
self.lineEdit_jiatingzhuzhi.setSizePolicy(sizePolicy)
self.lineEdit_jiatingzhuzhi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_jiatingzhuzhi.setObjectName("lineEdit_jiatingzhuzhi")
self.formLayout.setWidget(13, QtWidgets.QFormLayout.FieldRole, self.lineEdit_jiatingzhuzhi)
self.label = QtWidgets.QLabel(self.layoutWidget)
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label.setObjectName("label")
self.formLayout.setWidget(14, QtWidgets.QFormLayout.LabelRole, self.label)
self.lineEdit_zhusu = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_zhusu.sizePolicy().hasHeightForWidth())
self.lineEdit_zhusu.setSizePolicy(sizePolicy)
self.lineEdit_zhusu.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_zhusu.setObjectName("lineEdit_zhusu")
self.formLayout.setWidget(14, QtWidgets.QFormLayout.FieldRole, self.lineEdit_zhusu)
self.label_2 = QtWidgets.QLabel(self.layoutWidget)
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_2.setObjectName("label_2")
self.formLayout.setWidget(15, QtWidgets.QFormLayout.LabelRole, self.label_2)
self.textEdit_xianbingshi = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_xianbingshi.sizePolicy().hasHeightForWidth())
self.textEdit_xianbingshi.setSizePolicy(sizePolicy)
self.textEdit_xianbingshi.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_xianbingshi.setObjectName("textEdit_xianbingshi")
self.formLayout.setWidget(15, QtWidgets.QFormLayout.FieldRole, self.textEdit_xianbingshi)
self.label_3 = QtWidgets.QLabel(self.layoutWidget)
self.label_3.setObjectName("label_3")
self.formLayout.setWidget(16, QtWidgets.QFormLayout.LabelRole, self.label_3)
self.textEdit_jiwangshi = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_jiwangshi.sizePolicy().hasHeightForWidth())
self.textEdit_jiwangshi.setSizePolicy(sizePolicy)
self.textEdit_jiwangshi.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_jiwangshi.setObjectName("textEdit_jiwangshi")
self.formLayout.setWidget(16, QtWidgets.QFormLayout.FieldRole, self.textEdit_jiwangshi)
self.label_4 = QtWidgets.QLabel(self.layoutWidget)
self.label_4.setObjectName("label_4")
self.formLayout.setWidget(17, QtWidgets.QFormLayout.LabelRole, self.label_4)
self.textEdit_guominshi = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_guominshi.sizePolicy().hasHeightForWidth())
self.textEdit_guominshi.setSizePolicy(sizePolicy)
self.textEdit_guominshi.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_guominshi.setObjectName("textEdit_guominshi")
self.formLayout.setWidget(17, QtWidgets.QFormLayout.FieldRole, self.textEdit_guominshi)
self.label_5 = QtWidgets.QLabel(self.layoutWidget)
self.label_5.setObjectName("label_5")
self.formLayout.setWidget(18, QtWidgets.QFormLayout.LabelRole, self.label_5)
self.textEdit_gerenshi = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_gerenshi.sizePolicy().hasHeightForWidth())
self.textEdit_gerenshi.setSizePolicy(sizePolicy)
self.textEdit_gerenshi.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_gerenshi.setObjectName("textEdit_gerenshi")
self.formLayout.setWidget(18, QtWidgets.QFormLayout.FieldRole, self.textEdit_gerenshi)
self.label_6 = QtWidgets.QLabel(self.layoutWidget)
self.label_6.setObjectName("label_6")
self.formLayout.setWidget(19, QtWidgets.QFormLayout.LabelRole, self.label_6)
self.lineEdit_hunyinshi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_hunyinshi.sizePolicy().hasHeightForWidth())
self.lineEdit_hunyinshi.setSizePolicy(sizePolicy)
self.lineEdit_hunyinshi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_hunyinshi.setObjectName("lineEdit_hunyinshi")
self.formLayout.setWidget(19, QtWidgets.QFormLayout.FieldRole, self.lineEdit_hunyinshi)
self.label_16 = QtWidgets.QLabel(self.layoutWidget)
self.label_16.setObjectName("label_16")
self.formLayout.setWidget(21, QtWidgets.QFormLayout.LabelRole, self.label_16)
self.lineEdit_yuejingshi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_yuejingshi.sizePolicy().hasHeightForWidth())
self.lineEdit_yuejingshi.setSizePolicy(sizePolicy)
self.lineEdit_yuejingshi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_yuejingshi.setObjectName("lineEdit_yuejingshi")
self.formLayout.setWidget(21, QtWidgets.QFormLayout.FieldRole, self.lineEdit_yuejingshi)
self.label_7 = QtWidgets.QLabel(self.layoutWidget)
self.label_7.setObjectName("label_7")
self.formLayout.setWidget(22, QtWidgets.QFormLayout.LabelRole, self.label_7)
self.lineEdit_jiazushi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_jiazushi.sizePolicy().hasHeightForWidth())
self.lineEdit_jiazushi.setSizePolicy(sizePolicy)
self.lineEdit_jiazushi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_jiazushi.setObjectName("lineEdit_jiazushi")
self.formLayout.setWidget(22, QtWidgets.QFormLayout.FieldRole, self.lineEdit_jiazushi)
self.label_8 = QtWidgets.QLabel(self.layoutWidget)
self.label_8.setObjectName("label_8")
self.formLayout.setWidget(23, QtWidgets.QFormLayout.LabelRole, self.label_8)
self.lineEdit_tiwen = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_tiwen.sizePolicy().hasHeightForWidth())
self.lineEdit_tiwen.setSizePolicy(sizePolicy)
self.lineEdit_tiwen.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_tiwen.setObjectName("lineEdit_tiwen")
self.formLayout.setWidget(23, QtWidgets.QFormLayout.FieldRole, self.lineEdit_tiwen)
self.label_9 = QtWidgets.QLabel(self.layoutWidget)
self.label_9.setObjectName("label_9")
self.formLayout.setWidget(24, QtWidgets.QFormLayout.LabelRole, self.label_9)
self.lineEdit_maibo = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_maibo.sizePolicy().hasHeightForWidth())
self.lineEdit_maibo.setSizePolicy(sizePolicy)
self.lineEdit_maibo.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_maibo.setObjectName("lineEdit_maibo")
self.formLayout.setWidget(24, QtWidgets.QFormLayout.FieldRole, self.lineEdit_maibo)
self.label_10 = QtWidgets.QLabel(self.layoutWidget)
self.label_10.setObjectName("label_10")
self.formLayout.setWidget(25, QtWidgets.QFormLayout.LabelRole, self.label_10)
self.lineEdit_huxi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_huxi.sizePolicy().hasHeightForWidth())
self.lineEdit_huxi.setSizePolicy(sizePolicy)
self.lineEdit_huxi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_huxi.setObjectName("lineEdit_huxi")
self.formLayout.setWidget(25, QtWidgets.QFormLayout.FieldRole, self.lineEdit_huxi)
self.label_11 = QtWidgets.QLabel(self.layoutWidget)
self.label_11.setObjectName("label_11")
self.formLayout.setWidget(26, QtWidgets.QFormLayout.LabelRole, self.label_11)
self.lineEdit_xueya = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_xueya.sizePolicy().hasHeightForWidth())
self.lineEdit_xueya.setSizePolicy(sizePolicy)
self.lineEdit_xueya.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_xueya.setObjectName("lineEdit_xueya")
self.formLayout.setWidget(26, QtWidgets.QFormLayout.FieldRole, self.lineEdit_xueya)
self.label_12 = QtWidgets.QLabel(self.layoutWidget)
self.label_12.setObjectName("label_12")
self.formLayout.setWidget(27, QtWidgets.QFormLayout.LabelRole, self.label_12)
self.textEdit_zhuankejiancha = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_zhuankejiancha.sizePolicy().hasHeightForWidth())
self.textEdit_zhuankejiancha.setSizePolicy(sizePolicy)
self.textEdit_zhuankejiancha.setMinimumSize(QtCore.QSize(400, 200))
self.textEdit_zhuankejiancha.setObjectName("textEdit_zhuankejiancha")
self.formLayout.setWidget(27, QtWidgets.QFormLayout.FieldRole, self.textEdit_zhuankejiancha)
self.label_13 = QtWidgets.QLabel(self.layoutWidget)
self.label_13.setObjectName("label_13")
self.formLayout.setWidget(28, QtWidgets.QFormLayout.LabelRole, self.label_13)
self.textEdit_fuzhujiancha = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_fuzhujiancha.sizePolicy().hasHeightForWidth())
self.textEdit_fuzhujiancha.setSizePolicy(sizePolicy)
self.textEdit_fuzhujiancha.setMinimumSize(QtCore.QSize(400, 200))
self.textEdit_fuzhujiancha.setObjectName("textEdit_fuzhujiancha")
self.formLayout.setWidget(28, QtWidgets.QFormLayout.FieldRole, self.textEdit_fuzhujiancha)
self.label_14 = QtWidgets.QLabel(self.layoutWidget)
self.label_14.setObjectName("label_14")
self.formLayout.setWidget(29, QtWidgets.QFormLayout.LabelRole, self.label_14)
self.textEdit_chubuzhenduan = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(40)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_chubuzhenduan.sizePolicy().hasHeightForWidth())
self.textEdit_chubuzhenduan.setSizePolicy(sizePolicy)
self.textEdit_chubuzhenduan.setMinimumSize(QtCore.QSize(400, 200))
self.textEdit_chubuzhenduan.setObjectName("textEdit_chubuzhenduan")
self.formLayout.setWidget(29, QtWidgets.QFormLayout.FieldRole, self.textEdit_chubuzhenduan)
self.label_17 = QtWidgets.QLabel(self.layoutWidget)
self.label_17.setObjectName("label_17")
self.formLayout.setWidget(30, QtWidgets.QFormLayout.LabelRole, self.label_17)
self.textEdit_jianbiezhenduan = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_jianbiezhenduan.sizePolicy().hasHeightForWidth())
self.textEdit_jianbiezhenduan.setSizePolicy(sizePolicy)
self.textEdit_jianbiezhenduan.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_jianbiezhenduan.setObjectName("textEdit_jianbiezhenduan")
self.formLayout.setWidget(30, QtWidgets.QFormLayout.FieldRole, self.textEdit_jianbiezhenduan)
self.label_18 = QtWidgets.QLabel(self.layoutWidget)
self.label_18.setObjectName("label_18")
self.formLayout.setWidget(31, QtWidgets.QFormLayout.LabelRole, self.label_18)
self.lineEdit_zhiliaojihua = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_zhiliaojihua.sizePolicy().hasHeightForWidth())
self.lineEdit_zhiliaojihua.setSizePolicy(sizePolicy)
self.lineEdit_zhiliaojihua.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_zhiliaojihua.setObjectName("lineEdit_zhiliaojihua")
self.formLayout.setWidget(31, QtWidgets.QFormLayout.FieldRole, self.lineEdit_zhiliaojihua)
self.label_19 = QtWidgets.QLabel(self.layoutWidget)
self.label_19.setObjectName("label_19")
self.formLayout.setWidget(32, QtWidgets.QFormLayout.LabelRole, self.label_19)
self.label_20 = QtWidgets.QLabel(self.layoutWidget)
self.label_20.setObjectName("label_20")
self.formLayout.setWidget(33, QtWidgets.QFormLayout.LabelRole, self.label_20)
self.label_21 = QtWidgets.QLabel(self.layoutWidget)
self.label_21.setObjectName("label_21")
self.formLayout.setWidget(34, QtWidgets.QFormLayout.LabelRole, self.label_21)
self.label_22 = QtWidgets.QLabel(self.layoutWidget)
self.label_22.setObjectName("label_22")
self.formLayout.setWidget(35, QtWidgets.QFormLayout.LabelRole, self.label_22)
self.lineEdit_bingming = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_bingming.sizePolicy().hasHeightForWidth())
self.lineEdit_bingming.setSizePolicy(sizePolicy)
self.lineEdit_bingming.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_bingming.setObjectName("lineEdit_bingming")
self.formLayout.setWidget(32, QtWidgets.QFormLayout.FieldRole, self.lineEdit_bingming)
self.lineEdit_bianzheng = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_bianzheng.sizePolicy().hasHeightForWidth())
self.lineEdit_bianzheng.setSizePolicy(sizePolicy)
self.lineEdit_bianzheng.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_bianzheng.setObjectName("lineEdit_bianzheng")
self.formLayout.setWidget(33, QtWidgets.QFormLayout.FieldRole, self.lineEdit_bianzheng)
self.lineEdit_fangzi = QtWidgets.QLineEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_fangzi.sizePolicy().hasHeightForWidth())
self.lineEdit_fangzi.setSizePolicy(sizePolicy)
self.lineEdit_fangzi.setMinimumSize(QtCore.QSize(400, 0))
self.lineEdit_fangzi.setObjectName("lineEdit_fangzi")
self.formLayout.setWidget(34, QtWidgets.QFormLayout.FieldRole, self.lineEdit_fangzi)
self.textEdit_fangzineirong = QtWidgets.QTextEdit(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.textEdit_fangzineirong.sizePolicy().hasHeightForWidth())
self.textEdit_fangzineirong.setSizePolicy(sizePolicy)
self.textEdit_fangzineirong.setMinimumSize(QtCore.QSize(400, 0))
self.textEdit_fangzineirong.setObjectName("textEdit_fangzineirong")
self.formLayout.setWidget(35, QtWidgets.QFormLayout.FieldRole, self.textEdit_fangzineirong)
self.verticalLayout.addLayout(self.formLayout)
self.buttonbox = QtWidgets.QDialogButtonBox(self.layoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.buttonbox.sizePolicy().hasHeightForWidth())
self.buttonbox.setSizePolicy(sizePolicy)
self.buttonbox.setOrientation(QtCore.Qt.Horizontal)
self.buttonbox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
self.buttonbox.setObjectName("buttonbox")
self.verticalLayout.addWidget(self.buttonbox)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.horizontalLayout.addWidget(self.scrollArea)
self.verticalLayout_3.addLayout(self.horizontalLayout)
self.horizontalLayout_2.addLayout(self.verticalLayout_3)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setObjectName("pushButton")
self.verticalLayout_2.addWidget(self.pushButton)
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
self.pushButton_2.setObjectName("pushButton_2")
self.verticalLayout_2.addWidget(self.pushButton_2)
self.horizontalLayout_2.addLayout(self.verticalLayout_2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1252, 30))
self.menubar.setObjectName("menubar")
self.menu = QtWidgets.QMenu(self.menubar)
self.menu.setObjectName("menu")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.xinjian = QtWidgets.QAction(MainWindow)
self.xinjian.setObjectName("xinjian")
self.menu.addAction(self.xinjian)
self.menubar.addAction(self.menu.menuAction())
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label_15.setText(_translate("MainWindow", "选择病历模板"))
self.Label.setText(_translate("MainWindow", "姓名"))
self.Label_2.setText(_translate("MainWindow", "性别"))
self.LineEdit_sex.setText(_translate("MainWindow", "男"))
self.Label_3.setText(_translate("MainWindow", "年龄"))
self.LineEdit_age.setText(_translate("MainWindow", "60岁"))
self.Label_4.setText(_translate("MainWindow", "籍贯"))
self.LineEdit_jiguan.setText(_translate("MainWindow", "河南省新郑市"))
self.Label_5.setText(_translate("MainWindow", "职业"))
self.LineEdit_job.setText(_translate("MainWindow", "无业"))
self.Label_6.setText(_translate("MainWindow", "婚姻"))
self.LineEdit_hunyin.setText(_translate("MainWindow", "已婚"))
self.Label_7.setText(_translate("MainWindow", "入院日期"))
self.Label_8.setText(_translate("MainWindow", "家庭住址"))
self.LineEdit_jiatingzhuzhi.setText(_translate("MainWindow", "新郑市"))
self.Label_9.setText(_translate("MainWindow", "病史采集日期"))
self.Label_10.setText(_translate("MainWindow", "联系人"))
self.Label_11.setText(_translate("MainWindow", "与患者关系"))
self.Label_12.setText(_translate("MainWindow", "电话"))
self.Label_13.setText(_translate("MainWindow", "家庭住址"))
self.lineEdit_jiatingzhuzhi.setText(_translate("MainWindow", "新郑市"))
self.label.setText(_translate("MainWindow", "主诉"))
self.label_2.setText(_translate("MainWindow", "现病史"))
self.label_3.setText(_translate("MainWindow", "既往史"))
self.label_4.setText(_translate("MainWindow", "过敏史"))
self.label_5.setText(_translate("MainWindow", "个人史"))
self.label_6.setText(_translate("MainWindow", "婚姻史"))
self.label_16.setText(_translate("MainWindow", "月经史"))
self.label_7.setText(_translate("MainWindow", "家族史"))
self.label_8.setText(_translate("MainWindow", "体温"))
self.label_9.setText(_translate("MainWindow", "脉搏"))
self.label_10.setText(_translate("MainWindow", "呼吸"))
self.label_11.setText(_translate("MainWindow", "血压"))
self.label_12.setText(_translate("MainWindow", "专科检查"))
self.label_13.setText(_translate("MainWindow", "辅助检查"))
self.label_14.setText(_translate("MainWindow", "初步诊断"))
self.label_17.setText(_translate("MainWindow", "鉴别诊断"))
self.label_18.setText(_translate("MainWindow", "治疗计划"))
self.label_19.setText(_translate("MainWindow", "病名"))
self.label_20.setText(_translate("MainWindow", "辩证"))
self.label_21.setText(_translate("MainWindow", "方子"))
self.label_22.setText(_translate("MainWindow", "方子内容"))
self.pushButton.setText(_translate("MainWindow", "生成大病历、病程记录、出院记录"))
self.pushButton_2.setText(_translate("MainWindow", "生成病程记录出院记录"))
self.menu.setTitle(_translate("MainWindow", "文件"))
self.xinjian.setText(_translate("MainWindow", "新建病人"))
self.xinjian.setToolTip(_translate("MainWindow", "<html><head/><body><p><span style=\" font-weight:600; color:#55ff00;\">新建病人</span></p></body></html>"))
self.xinjian.setStatusTip(_translate("MainWindow", "新建一个病人"))
self.xinjian.setShortcut(_translate("MainWindow", "Ctrl+N"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。