class Ui_JobTicketEditorDialog(object): def setupUi(self, JobTicketEditorDialog): JobTicketEditorDialog.setObjectName(_fromUtf8("JobTicketEditorDialog")) JobTicketEditorDialog.resize(1069, 654) JobTicketEditorDialog.setSizeGripEnabled(False) self.verticalLayout_2 = QtGui.QVBoxLayout(JobTicketEditorDialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter_2 = QtGui.QSplitter(JobTicketEditorDialog) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.txtClientInfoBrowser = CTextBrowser(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setReadOnly(True) self.txtClientInfoBrowser.setTextInteractionFlags( QtCore.Qt.TextBrowserInteraction) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.frmCommon = QtGui.QFrame(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmCommon.sizePolicy().hasHeightForWidth()) self.frmCommon.setSizePolicy(sizePolicy) self.frmCommon.setFrameShape(QtGui.QFrame.NoFrame) self.frmCommon.setFrameShadow(QtGui.QFrame.Plain) self.frmCommon.setLineWidth(0) self.frmCommon.setObjectName(_fromUtf8("frmCommon")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.frmCommon) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setSpacing(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.grpTissue = QtGui.QGroupBox(self.frmCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpTissue.sizePolicy().hasHeightForWidth()) self.grpTissue.setSizePolicy(sizePolicy) self.grpTissue.setObjectName(_fromUtf8("grpTissue")) self.gridLayout_3 = QtGui.QGridLayout(self.grpTissue) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblTissueType = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueType.sizePolicy().hasHeightForWidth()) self.lblTissueType.setSizePolicy(sizePolicy) self.lblTissueType.setObjectName(_fromUtf8("lblTissueType")) self.gridLayout_3.addWidget(self.lblTissueType, 1, 0, 1, 2) self.cmbTissueType = CRBComboBox(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueType.sizePolicy().hasHeightForWidth()) self.cmbTissueType.setSizePolicy(sizePolicy) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout_3.addWidget(self.cmbTissueType, 1, 2, 1, 1) self.lblTissueDateTime = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueDateTime.sizePolicy().hasHeightForWidth()) self.lblTissueDateTime.setSizePolicy(sizePolicy) self.lblTissueDateTime.setObjectName(_fromUtf8("lblTissueDateTime")) self.gridLayout_3.addWidget(self.lblTissueDateTime, 1, 3, 1, 1) self.edtTissueDate = CDateEdit(self.grpTissue) self.edtTissueDate.setCalendarPopup(True) self.edtTissueDate.setObjectName(_fromUtf8("edtTissueDate")) self.gridLayout_3.addWidget(self.edtTissueDate, 1, 4, 1, 1) self.edtTissueTime = QtGui.QTimeEdit(self.grpTissue) self.edtTissueTime.setObjectName(_fromUtf8("edtTissueTime")) self.gridLayout_3.addWidget(self.edtTissueTime, 1, 5, 1, 1) self.lblTissueExternalId = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueExternalId.sizePolicy().hasHeightForWidth()) self.lblTissueExternalId.setSizePolicy(sizePolicy) self.lblTissueExternalId.setObjectName( _fromUtf8("lblTissueExternalId")) self.gridLayout_3.addWidget(self.lblTissueExternalId, 3, 3, 1, 1) self.edtTissueExternalId = QtGui.QLineEdit(self.grpTissue) self.edtTissueExternalId.setReadOnly(True) self.edtTissueExternalId.setObjectName( _fromUtf8("edtTissueExternalId")) self.gridLayout_3.addWidget(self.edtTissueExternalId, 3, 4, 1, 2) self.lblTissueNote = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueNote.sizePolicy().hasHeightForWidth()) self.lblTissueNote.setSizePolicy(sizePolicy) self.lblTissueNote.setObjectName(_fromUtf8("lblTissueNote")) self.gridLayout_3.addWidget(self.lblTissueNote, 5, 0, 1, 2) self.edtTissueNote = QtGui.QLineEdit(self.grpTissue) self.edtTissueNote.setObjectName(_fromUtf8("edtTissueNote")) self.gridLayout_3.addWidget(self.edtTissueNote, 5, 2, 1, 7) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 6, 1, 3) self.lblTissueAmount = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueAmount.sizePolicy().hasHeightForWidth()) self.lblTissueAmount.setSizePolicy(sizePolicy) self.lblTissueAmount.setObjectName(_fromUtf8("lblTissueAmount")) self.gridLayout_3.addWidget(self.lblTissueAmount, 2, 3, 1, 1) self.edtTissueAmount = QtGui.QSpinBox(self.grpTissue) self.edtTissueAmount.setMaximum(999999) self.edtTissueAmount.setObjectName(_fromUtf8("edtTissueAmount")) self.gridLayout_3.addWidget(self.edtTissueAmount, 2, 4, 1, 2) self.lblTissyeExecPerson = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissyeExecPerson.sizePolicy().hasHeightForWidth()) self.lblTissyeExecPerson.setSizePolicy(sizePolicy) self.lblTissyeExecPerson.setObjectName( _fromUtf8("lblTissyeExecPerson")) self.gridLayout_3.addWidget(self.lblTissyeExecPerson, 2, 0, 1, 1) self.cmbTissueExecPerson = CPersonComboBoxEx(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueExecPerson.sizePolicy().hasHeightForWidth()) self.cmbTissueExecPerson.setSizePolicy(sizePolicy) self.cmbTissueExecPerson.setObjectName( _fromUtf8("cmbTissueExecPerson")) self.gridLayout_3.addWidget(self.cmbTissueExecPerson, 2, 2, 1, 1) self.lblTissueUnit = QtGui.QLabel(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueUnit.sizePolicy().hasHeightForWidth()) self.lblTissueUnit.setSizePolicy(sizePolicy) self.lblTissueUnit.setObjectName(_fromUtf8("lblTissueUnit")) self.gridLayout_3.addWidget(self.lblTissueUnit, 3, 0, 1, 1) self.cmbTissueUnit = CRBComboBox(self.grpTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueUnit.sizePolicy().hasHeightForWidth()) self.cmbTissueUnit.setSizePolicy(sizePolicy) self.cmbTissueUnit.setObjectName(_fromUtf8("cmbTissueUnit")) self.gridLayout_3.addWidget(self.cmbTissueUnit, 3, 2, 1, 1) self.lblTissueNumber = QtGui.QLabel(self.grpTissue) self.lblTissueNumber.setObjectName(_fromUtf8("lblTissueNumber")) self.gridLayout_3.addWidget(self.lblTissueNumber, 3, 7, 1, 1) self.edtTissueNumber = QtGui.QLineEdit(self.grpTissue) self.edtTissueNumber.setReadOnly(True) self.edtTissueNumber.setObjectName(_fromUtf8("edtTissueNumber")) self.gridLayout_3.addWidget(self.edtTissueNumber, 3, 8, 1, 1) self.btnPrintTissueLabel = QtGui.QPushButton(self.grpTissue) self.btnPrintTissueLabel.setEnabled(False) self.btnPrintTissueLabel.setObjectName( _fromUtf8("btnPrintTissueLabel")) self.gridLayout_3.addWidget(self.btnPrintTissueLabel, 3, 6, 1, 1) self.verticalLayout_3.addWidget(self.grpTissue) self.grpMain = QtGui.QGroupBox(self.frmCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpMain.sizePolicy().hasHeightForWidth()) self.grpMain.setSizePolicy(sizePolicy) self.grpMain.setObjectName(_fromUtf8("grpMain")) self.gridLayout = QtGui.QGridLayout(self.grpMain) self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblDatetime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDatetime.sizePolicy().hasHeightForWidth()) self.lblDatetime.setSizePolicy(sizePolicy) self.lblDatetime.setObjectName(_fromUtf8("lblDatetime")) self.gridLayout.addWidget(self.lblDatetime, 0, 0, 1, 1) self.lblDatetimeValue = QtGui.QLabel(self.grpMain) self.lblDatetimeValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblDatetimeValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblDatetimeValue.setObjectName(_fromUtf8("lblDatetimeValue")) self.gridLayout.addWidget(self.lblDatetimeValue, 0, 1, 1, 1) self.lblBegDateTime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDateTime.sizePolicy().hasHeightForWidth()) self.lblBegDateTime.setSizePolicy(sizePolicy) self.lblBegDateTime.setObjectName(_fromUtf8("lblBegDateTime")) self.gridLayout.addWidget(self.lblBegDateTime, 0, 2, 1, 1) self.edtBegDate = CDateEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1) self.edtBegTime = QtGui.QTimeEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegTime.sizePolicy().hasHeightForWidth()) self.edtBegTime.setSizePolicy(sizePolicy) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setCurrentSectionIndex(0) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.gridLayout.addWidget(self.edtBegTime, 0, 4, 1, 1) self.btnSetBegDateTime = QtGui.QToolButton(self.grpMain) self.btnSetBegDateTime.setArrowType(QtCore.Qt.LeftArrow) self.btnSetBegDateTime.setObjectName(_fromUtf8("btnSetBegDateTime")) self.gridLayout.addWidget(self.btnSetBegDateTime, 0, 5, 1, 1) self.lblOrgStructure = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblOrgStructure.sizePolicy().hasHeightForWidth()) self.lblOrgStructure.setSizePolicy(sizePolicy) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 1, 0, 1, 1) self.lblOrgStructureValue = QtGui.QLabel(self.grpMain) self.lblOrgStructureValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblOrgStructureValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblOrgStructureValue.setObjectName( _fromUtf8("lblOrgStructureValue")) self.gridLayout.addWidget(self.lblOrgStructureValue, 1, 1, 1, 1) self.lblEndDatetime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDatetime.sizePolicy().hasHeightForWidth()) self.lblEndDatetime.setSizePolicy(sizePolicy) self.lblEndDatetime.setObjectName(_fromUtf8("lblEndDatetime")) self.gridLayout.addWidget(self.lblEndDatetime, 1, 2, 1, 1) self.edtEndDate = CDateEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 1) self.edtEndTime = QtGui.QTimeEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndTime.sizePolicy().hasHeightForWidth()) self.edtEndTime.setSizePolicy(sizePolicy) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setCurrentSectionIndex(0) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.gridLayout.addWidget(self.edtEndTime, 1, 4, 1, 1) self.btnSetEndDateTime = QtGui.QToolButton(self.grpMain) self.btnSetEndDateTime.setArrowType(QtCore.Qt.LeftArrow) self.btnSetEndDateTime.setObjectName(_fromUtf8("btnSetEndDateTime")) self.gridLayout.addWidget(self.btnSetEndDateTime, 1, 5, 1, 1) self.lblJobType = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblJobType.sizePolicy().hasHeightForWidth()) self.lblJobType.setSizePolicy(sizePolicy) self.lblJobType.setObjectName(_fromUtf8("lblJobType")) self.gridLayout.addWidget(self.lblJobType, 2, 0, 1, 1) self.lblJobTypeValue = QtGui.QLabel(self.grpMain) self.lblJobTypeValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblJobTypeValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblJobTypeValue.setObjectName(_fromUtf8("lblJobTypeValue")) self.gridLayout.addWidget(self.lblJobTypeValue, 2, 1, 1, 1) self.lblStatus = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblStatus.sizePolicy().hasHeightForWidth()) self.lblStatus.setSizePolicy(sizePolicy) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout.addWidget(self.lblStatus, 3, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(self.grpMain) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbStatus, 3, 1, 1, 1) self.lblLabel = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblLabel.sizePolicy().hasHeightForWidth()) self.lblLabel.setSizePolicy(sizePolicy) self.lblLabel.setObjectName(_fromUtf8("lblLabel")) self.gridLayout.addWidget(self.lblLabel, 4, 0, 1, 1) self.edtLabel = QtGui.QLineEdit(self.grpMain) self.edtLabel.setObjectName(_fromUtf8("edtLabel")) self.gridLayout.addWidget(self.edtLabel, 4, 1, 1, 5) self.lblNote = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblNote.sizePolicy().hasHeightForWidth()) self.lblNote.setSizePolicy(sizePolicy) self.lblNote.setObjectName(_fromUtf8("lblNote")) self.gridLayout.addWidget(self.lblNote, 5, 0, 1, 1) self.edtNote = QtGui.QLineEdit(self.grpMain) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout.addWidget(self.edtNote, 5, 1, 1, 5) self.verticalLayout_3.addWidget(self.grpMain) self.tabWidget = QtGui.QTabWidget(self.splitter_2) self.tabWidget.setEnabled(True) self.tabWidget.setTabPosition(QtGui.QTabWidget.North) self.tabWidget.setElideMode(QtCore.Qt.ElideNone) self.tabWidget.setUsesScrollButtons(True) self.tabWidget.setDocumentMode(False) self.tabWidget.setTabsClosable(False) self.tabWidget.setMovable(False) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabActions = QtGui.QWidget() self.tabActions.setObjectName(_fromUtf8("tabActions")) self.verticalLayout = QtGui.QVBoxLayout(self.tabActions) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter = QtGui.QSplitter(self.tabActions) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblActions = CTableView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblActions.sizePolicy().hasHeightForWidth()) self.tblActions.setSizePolicy(sizePolicy) self.tblActions.setObjectName(_fromUtf8("tblActions")) self.widget = QtGui.QWidget(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.gridLayout_2 = QtGui.QGridLayout(self.widget) self.gridLayout_2.setMargin(0) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblProps = CActionPropertiesTableView(self.widget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblProps.sizePolicy().hasHeightForWidth()) self.tblProps.setSizePolicy(sizePolicy) self.tblProps.setObjectName(_fromUtf8("tblProps")) self.gridLayout_2.addWidget(self.tblProps, 0, 0, 1, 11) self.verticalLayout.addWidget(self.splitter) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.btnSaveAsTemplate = QtGui.QPushButton(self.tabActions) self.btnSaveAsTemplate.setObjectName(_fromUtf8("btnSaveAsTemplate")) self.gridLayout_5.addWidget(self.btnSaveAsTemplate, 0, 2, 1, 1) self.btnCloneValues = QtGui.QPushButton(self.tabActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnCloneValues.sizePolicy().hasHeightForWidth()) self.btnCloneValues.setSizePolicy(sizePolicy) self.btnCloneValues.setObjectName(_fromUtf8("btnCloneValues")) self.gridLayout_5.addWidget(self.btnCloneValues, 0, 3, 1, 1) self.btnFillPropertiesValue = QtGui.QPushButton(self.tabActions) self.btnFillPropertiesValue.setObjectName( _fromUtf8("btnFillPropertiesValue")) self.gridLayout_5.addWidget(self.btnFillPropertiesValue, 0, 4, 1, 1) self.btnEditEvent = QtGui.QPushButton(self.tabActions) self.btnEditEvent.setObjectName(_fromUtf8("btnEditEvent")) self.gridLayout_5.addWidget(self.btnEditEvent, 0, 6, 1, 1) self.btnAmbCard = QtGui.QPushButton(self.tabActions) self.btnAmbCard.setObjectName(_fromUtf8("btnAmbCard")) self.gridLayout_5.addWidget(self.btnAmbCard, 0, 5, 1, 1) self.btnShowSnapshots = QtGui.QPushButton(self.tabActions) self.btnShowSnapshots.setObjectName(_fromUtf8("btnShowSnapshots")) self.gridLayout_5.addWidget(self.btnShowSnapshots, 0, 7, 1, 1) self.btnFindSnapshots = QtGui.QPushButton(self.tabActions) self.btnFindSnapshots.setObjectName(_fromUtf8("btnFindSnapshots")) self.gridLayout_5.addWidget(self.btnFindSnapshots, 0, 8, 1, 1) self.btnLoadTemplate = CActionTemplateChooseButton(self.tabActions) self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate")) self.gridLayout_5.addWidget(self.btnLoadTemplate, 0, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 0, 0, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 10, 1, 1) self.verticalLayout.addLayout(self.gridLayout_5) self.tabWidget.addTab(self.tabActions, _fromUtf8("")) self.tabProbes = QtGui.QWidget() self.tabProbes.setObjectName(_fromUtf8("tabProbes")) self.gridLayout_4 = QtGui.QGridLayout(self.tabProbes) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.tblTreeProbe = CJobTicketProbeTreeView(self.tabProbes) self.tblTreeProbe.setObjectName(_fromUtf8("tblTreeProbe")) self.gridLayout_4.addWidget(self.tblTreeProbe, 0, 0, 1, 1) self.tabWidget.addTab(self.tabProbes, _fromUtf8("")) self.verticalLayout_2.addWidget(self.splitter_2) self.buttonBox = QtGui.QDialogButtonBox(JobTicketEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout_2.addWidget(self.buttonBox) self.lblTissueType.setBuddy(self.cmbTissueType) self.lblTissueDateTime.setBuddy(self.edtTissueDate) self.lblTissueExternalId.setBuddy(self.edtTissueExternalId) self.lblTissueNote.setBuddy(self.edtTissueNote) self.lblTissueAmount.setBuddy(self.edtTissueAmount) self.lblTissyeExecPerson.setBuddy(self.cmbTissueExecPerson) self.lblTissueUnit.setBuddy(self.cmbTissueUnit) self.lblBegDateTime.setBuddy(self.edtBegDate) self.lblEndDatetime.setBuddy(self.edtEndDate) self.lblStatus.setBuddy(self.cmbStatus) self.lblLabel.setBuddy(self.edtLabel) self.lblNote.setBuddy(self.edtNote) self.retranslateUi(JobTicketEditorDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), JobTicketEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), JobTicketEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(JobTicketEditorDialog) JobTicketEditorDialog.setTabOrder(self.cmbTissueType, self.edtTissueDate) JobTicketEditorDialog.setTabOrder(self.edtTissueDate, self.edtTissueTime) JobTicketEditorDialog.setTabOrder(self.edtTissueTime, self.cmbTissueExecPerson) JobTicketEditorDialog.setTabOrder(self.cmbTissueExecPerson, self.edtTissueAmount) JobTicketEditorDialog.setTabOrder(self.edtTissueAmount, self.cmbTissueUnit) JobTicketEditorDialog.setTabOrder(self.cmbTissueUnit, self.edtTissueExternalId) JobTicketEditorDialog.setTabOrder(self.edtTissueExternalId, self.btnPrintTissueLabel) JobTicketEditorDialog.setTabOrder(self.btnPrintTissueLabel, self.edtTissueNumber) JobTicketEditorDialog.setTabOrder(self.edtTissueNumber, self.edtTissueNote) JobTicketEditorDialog.setTabOrder(self.edtTissueNote, self.edtBegDate) JobTicketEditorDialog.setTabOrder(self.edtBegDate, self.edtBegTime) JobTicketEditorDialog.setTabOrder(self.edtBegTime, self.btnSetBegDateTime) JobTicketEditorDialog.setTabOrder(self.btnSetBegDateTime, self.edtEndDate) JobTicketEditorDialog.setTabOrder(self.edtEndDate, self.edtEndTime) JobTicketEditorDialog.setTabOrder(self.edtEndTime, self.btnSetEndDateTime) JobTicketEditorDialog.setTabOrder(self.btnSetEndDateTime, self.cmbStatus) JobTicketEditorDialog.setTabOrder(self.cmbStatus, self.edtLabel) JobTicketEditorDialog.setTabOrder(self.edtLabel, self.edtNote) JobTicketEditorDialog.setTabOrder(self.edtNote, self.tabWidget) JobTicketEditorDialog.setTabOrder(self.tabWidget, self.tblActions) JobTicketEditorDialog.setTabOrder(self.tblActions, self.tblProps) JobTicketEditorDialog.setTabOrder(self.tblProps, self.tblTreeProbe) JobTicketEditorDialog.setTabOrder(self.tblTreeProbe, self.buttonBox) def retranslateUi(self, JobTicketEditorDialog): JobTicketEditorDialog.setWindowTitle( _translate("JobTicketEditorDialog", "ChangeMe!", None)) self.txtClientInfoBrowser.setHtml( _translate( "JobTicketEditorDialog", "<!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:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None)) self.grpTissue.setTitle( _translate("JobTicketEditorDialog", "Биоматериал", None)) self.lblTissueType.setText( _translate("JobTicketEditorDialog", "Тип биоматериала", None)) self.lblTissueDateTime.setText( _translate("JobTicketEditorDialog", "Дата и время", None)) self.lblTissueExternalId.setText( _translate("JobTicketEditorDialog", "&Идентификатор", None)) self.lblTissueNote.setText( _translate("JobTicketEditorDialog", "Примечание", None)) self.lblTissueAmount.setText( _translate("JobTicketEditorDialog", "Количество", None)) self.lblTissyeExecPerson.setText( _translate("JobTicketEditorDialog", "Исполнитель", None)) self.lblTissueUnit.setText( _translate("JobTicketEditorDialog", "Ед. измерения", None)) self.lblTissueNumber.setText( _translate("JobTicketEditorDialog", "Номер", None)) self.btnPrintTissueLabel.setText( _translate("JobTicketEditorDialog", "...", None)) self.grpMain.setTitle( _translate("JobTicketEditorDialog", "Основная информация", None)) self.lblDatetime.setText( _translate("JobTicketEditorDialog", "Плановые дата и время", None)) self.lblDatetimeValue.setText( _translate("JobTicketEditorDialog", "01.12.2009 19:30", None)) self.lblBegDateTime.setText( _translate("JobTicketEditorDialog", "Дата и время начала выполнения", None)) self.edtBegTime.setDisplayFormat( _translate("JobTicketEditorDialog", "HH:mm", None)) self.btnSetBegDateTime.setText( _translate("JobTicketEditorDialog", "...", None)) self.lblOrgStructure.setText( _translate("JobTicketEditorDialog", "Подразделение", None)) self.lblOrgStructureValue.setText( _translate("JobTicketEditorDialog", "Лаборатория", None)) self.lblEndDatetime.setText( _translate("JobTicketEditorDialog", "Дата и время окончания выполнения", None)) self.edtEndTime.setDisplayFormat( _translate("JobTicketEditorDialog", "HH:mm", None)) self.btnSetEndDateTime.setText( _translate("JobTicketEditorDialog", "...", None)) self.lblJobType.setText( _translate("JobTicketEditorDialog", "Работа", None)) self.lblJobTypeValue.setText( _translate("JobTicketEditorDialog", "анализ крови", None)) self.lblStatus.setText( _translate("JobTicketEditorDialog", "Состояние", None)) self.cmbStatus.setItemText( 0, _translate("JobTicketEditorDialog", "Ожидание", None)) self.cmbStatus.setItemText( 1, _translate("JobTicketEditorDialog", "Выполняется", None)) self.cmbStatus.setItemText( 2, _translate("JobTicketEditorDialog", "Закончено", None)) self.lblLabel.setText( _translate("JobTicketEditorDialog", "Отметка", None)) self.lblNote.setText( _translate("JobTicketEditorDialog", "Примечание", None)) self.btnSaveAsTemplate.setText( _translate("JobTicketEditorDialog", "Сохранить шаблон", None)) self.btnCloneValues.setText( _translate("JobTicketEditorDialog", "Размножить значения свойств", None)) self.btnFillPropertiesValue.setText( _translate("JobTicketEditorDialog", "Заполнить значения проб", None)) self.btnEditEvent.setText( _translate("JobTicketEditorDialog", "Перейти в обращение", None)) self.btnAmbCard.setText( _translate("JobTicketEditorDialog", "Медицинская карта", None)) self.btnShowSnapshots.setText( _translate("JobTicketEditorDialog", "Показать снимки", None)) self.btnFindSnapshots.setText( _translate("JobTicketEditorDialog", "Поиск снимков", None)) self.btnLoadTemplate.setText( _translate("JobTicketEditorDialog", "Загрузить шаблон", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabActions), _translate("JobTicketEditorDialog", "&Действия", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabProbes), _translate("JobTicketEditorDialog", "&Пробы", None))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(919, 628) self.verticalLayout = QtGui.QVBoxLayout(Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.gridLayout = QtGui.QGridLayout(self.tabToken) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 867, 1115)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.layoutWidget = QtGui.QWidget(self.splitter_3) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.layoutWidget) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.grpBase = QtGui.QGroupBox(self.layoutWidget) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblNextDate = QtGui.QLabel(self.grpBase) self.lblNextDate.setObjectName(_fromUtf8("lblNextDate")) self.gridLayout_2.addWidget(self.lblNextDate, 5, 0, 1, 1) self.lblEndDate = QtGui.QLabel(self.grpBase) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 4, 0, 1, 1) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 3) self.lblBegDate = QtGui.QLabel(self.grpBase) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 3, 0, 1, 1) self.lblResult = QtGui.QLabel(self.grpBase) self.lblResult.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_2.addWidget(self.lblResult, 8, 2, 1, 1) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbResult, 9, 0, 1, 3) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 3) self.chkPrimary = QtGui.QCheckBox(self.grpBase) self.chkPrimary.setObjectName(_fromUtf8("chkPrimary")) self.gridLayout_2.addWidget(self.chkPrimary, 8, 0, 1, 2) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 16, 0, 1, 2) self.lblPerson = QtGui.QLabel(self.grpBase) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 3) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_2.addWidget(self.chkZNOMorph, 14, 0, 1, 3) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 10, 1, 1, 2) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 10, 0, 1, 1) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_2.addWidget(self.chkZNOFirst, 15, 0, 1, 3) self.chkDispByMobileTeam = QtGui.QCheckBox(self.grpBase) self.chkDispByMobileTeam.setToolTip(_fromUtf8("")) self.chkDispByMobileTeam.setWhatsThis(_fromUtf8("")) self.chkDispByMobileTeam.setObjectName( _fromUtf8("chkDispByMobileTeam")) self.gridLayout_2.addWidget(self.chkDispByMobileTeam, 11, 0, 1, 3) self.gbLittleStrangerFlag = QtGui.QGroupBox(self.grpBase) self.gbLittleStrangerFlag.setCheckable(True) self.gbLittleStrangerFlag.setChecked(False) self.gbLittleStrangerFlag.setObjectName( _fromUtf8("gbLittleStrangerFlag")) self.gridLayout_5 = QtGui.QGridLayout(self.gbLittleStrangerFlag) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.lblChildBirthDate = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildBirthDate.setObjectName(_fromUtf8("lblChildBirthDate")) self.gridLayout_5.addWidget(self.lblChildBirthDate, 1, 0, 1, 1) self.lblChildSex = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildSex.setObjectName(_fromUtf8("lblChildSex")) self.gridLayout_5.addWidget(self.lblChildSex, 0, 2, 1, 1) self.cmbChildSex = QtGui.QComboBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbChildSex.sizePolicy().hasHeightForWidth()) self.cmbChildSex.setSizePolicy(sizePolicy) self.cmbChildSex.setObjectName(_fromUtf8("cmbChildSex")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.setItemText(0, _fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.gridLayout_5.addWidget(self.cmbChildSex, 0, 3, 1, 1) self.chkMultipleBirths = QtGui.QCheckBox(self.gbLittleStrangerFlag) self.chkMultipleBirths.setObjectName(_fromUtf8("chkMultipleBirths")) self.gridLayout_5.addWidget(self.chkMultipleBirths, 4, 0, 1, 2) self.edtChildBirthDate = CDateEdit(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtChildBirthDate.sizePolicy().hasHeightForWidth()) self.edtChildBirthDate.setSizePolicy(sizePolicy) self.edtChildBirthDate.setCalendarPopup(True) self.edtChildBirthDate.setObjectName(_fromUtf8("edtChildBirthDate")) self.gridLayout_5.addWidget(self.edtChildBirthDate, 1, 2, 1, 2) self.lblChildNumber = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildNumber.setObjectName(_fromUtf8("lblChildNumber")) self.gridLayout_5.addWidget(self.lblChildNumber, 0, 0, 1, 1) self.sbChildNumber = QtGui.QSpinBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.sbChildNumber.sizePolicy().hasHeightForWidth()) self.sbChildNumber.setSizePolicy(sizePolicy) self.sbChildNumber.setMinimum(1) self.sbChildNumber.setObjectName(_fromUtf8("sbChildNumber")) self.gridLayout_5.addWidget(self.sbChildNumber, 0, 1, 1, 1) self.lblBirthWeight = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblBirthWeight.setObjectName(_fromUtf8("lblBirthWeight")) self.gridLayout_5.addWidget(self.lblBirthWeight, 2, 0, 1, 2) self.sbBirthWeight = QtGui.QDoubleSpinBox(self.gbLittleStrangerFlag) self.sbBirthWeight.setMaximum(9999.99) self.sbBirthWeight.setObjectName(_fromUtf8("sbBirthWeight")) self.gridLayout_5.addWidget(self.sbBirthWeight, 2, 2, 1, 2) self.gridLayout_2.addWidget(self.gbLittleStrangerFlag, 12, 0, 1, 3) self.frmBegDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmBegDateTime.sizePolicy().hasHeightForWidth()) self.frmBegDateTime.setSizePolicy(sizePolicy) self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmBegDateTime.setLineWidth(0) self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime")) self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frmBegDateTime) self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setSpacing(4) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.edtBegDate = CDateEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_5.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegTime.sizePolicy().hasHeightForWidth()) self.edtBegTime.setSizePolicy(sizePolicy) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_5.addWidget(self.edtBegTime) self.gridLayout_2.addWidget(self.frmBegDateTime, 3, 1, 1, 2) self.frmNextDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmNextDateTime.sizePolicy().hasHeightForWidth()) self.frmNextDateTime.setSizePolicy(sizePolicy) self.frmNextDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmNextDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmNextDateTime.setLineWidth(0) self.frmNextDateTime.setObjectName(_fromUtf8("frmNextDateTime")) self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmNextDateTime) self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtNextDate = CDateEdit(self.frmNextDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtNextDate.sizePolicy().hasHeightForWidth()) self.edtNextDate.setSizePolicy(sizePolicy) self.edtNextDate.setCalendarPopup(True) self.edtNextDate.setObjectName(_fromUtf8("edtNextDate")) self.horizontalLayout_3.addWidget(self.edtNextDate) self.gridLayout_2.addWidget(self.frmNextDateTime, 5, 1, 1, 2) self.frmEndDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmEndDateTime.sizePolicy().hasHeightForWidth()) self.frmEndDateTime.setSizePolicy(sizePolicy) self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmEndDateTime.setLineWidth(0) self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.edtEndDate = CDateEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_2.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndTime.sizePolicy().hasHeightForWidth()) self.edtEndTime.setSizePolicy(sizePolicy) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_2.addWidget(self.edtEndTime) self.gridLayout_2.addWidget(self.frmEndDateTime, 4, 1, 1, 2) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 3) self.horizontalLayout_4.addWidget(self.grpBase) self.grpWork = QtGui.QGroupBox(self.layoutWidget) self.grpWork.setObjectName(_fromUtf8("grpWork")) self._2 = QtGui.QGridLayout(self.grpWork) self._2.setMargin(4) self._2.setSpacing(4) self._2.setObjectName(_fromUtf8("_2")) self.btnSelectWorkOrganisation = QtGui.QToolButton(self.grpWork) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectWorkOrganisation.sizePolicy().hasHeightForWidth()) self.btnSelectWorkOrganisation.setSizePolicy(sizePolicy) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self._2.addWidget(self.btnSelectWorkOrganisation, 0, 3, 1, 1) self.cmbWorkOKVED = COKVEDComboBox(self.grpWork) self.cmbWorkOKVED.setObjectName(_fromUtf8("cmbWorkOKVED")) self._2.addWidget(self.cmbWorkOKVED, 5, 1, 1, 3) spacerItem1 = QtGui.QSpacerItem(111, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self._2.addItem(spacerItem1, 8, 0, 1, 2) self.edtPrevDate = CDateEdit(self.grpWork) self.edtPrevDate.setCalendarPopup(True) self.edtPrevDate.setObjectName(_fromUtf8("edtPrevDate")) self._2.addWidget(self.edtPrevDate, 7, 2, 1, 2) self.edtWorkStage = QtGui.QSpinBox(self.grpWork) self.edtWorkStage.setObjectName(_fromUtf8("edtWorkStage")) self._2.addWidget(self.edtWorkStage, 6, 1, 1, 3) self.lblWorkPost = QtGui.QLabel(self.grpWork) self.lblWorkPost.setObjectName(_fromUtf8("lblWorkPost")) self._2.addWidget(self.lblWorkPost, 4, 0, 1, 1) self.lblWorkOKVED = QtGui.QLabel(self.grpWork) self.lblWorkOKVED.setObjectName(_fromUtf8("lblWorkOKVED")) self._2.addWidget(self.lblWorkOKVED, 5, 0, 1, 1) self.label_7 = QtGui.QLabel(self.grpWork) self.label_7.setObjectName(_fromUtf8("label_7")) self._2.addWidget(self.label_7, 7, 0, 1, 2) self.lblWorkStage = QtGui.QLabel(self.grpWork) self.lblWorkStage.setObjectName(_fromUtf8("lblWorkStage")) self._2.addWidget(self.lblWorkStage, 6, 0, 1, 1) self.lblKPP = QtGui.QLabel(self.grpWork) self.lblKPP.setObjectName(_fromUtf8("lblKPP")) self._2.addWidget(self.lblKPP, 2, 0, 1, 4) self.lblINN = QtGui.QLabel(self.grpWork) self.lblINN.setObjectName(_fromUtf8("lblINN")) self._2.addWidget(self.lblINN, 1, 0, 1, 4) self.edtWorkPost = QtGui.QLineEdit(self.grpWork) self.edtWorkPost.setObjectName(_fromUtf8("edtWorkPost")) self._2.addWidget(self.edtWorkPost, 4, 1, 1, 3) self.cmbWorkOrganisation = COrgComboBox(self.grpWork) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self._2.addWidget(self.cmbWorkOrganisation, 0, 0, 1, 3) self.lblOGRN = QtGui.QLabel(self.grpWork) self.lblOGRN.setObjectName(_fromUtf8("lblOGRN")) self._2.addWidget(self.lblOGRN, 3, 0, 1, 4) self.horizontalLayout_4.addWidget(self.grpWork) self.tblWorkHurt = QtGui.QGroupBox(self.layoutWidget) self.tblWorkHurt.setObjectName(_fromUtf8("tblWorkHurt")) self._3 = QtGui.QGridLayout(self.tblWorkHurt) self._3.setMargin(0) self._3.setSpacing(0) self._3.setObjectName(_fromUtf8("_3")) self.splitter = QtGui.QSplitter(self.tblWorkHurt) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblWorkHurts = CWorkHurtTableView(self.splitter) self.tblWorkHurts.setObjectName(_fromUtf8("tblWorkHurts")) self.tblWorkHurtFactors = CInDocTableView(self.splitter) self.tblWorkHurtFactors.setObjectName(_fromUtf8("tblWorkHurtFactors")) self._3.addWidget(self.splitter, 0, 0, 1, 1) self.horizontalLayout_4.addWidget(self.tblWorkHurt) self.splitter_2 = QtGui.QSplitter(self.splitter_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_2.sizePolicy().hasHeightForWidth()) self.splitter_2.setSizePolicy(sizePolicy) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.grpInspections = QtGui.QGroupBox(self.splitter_2) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self._4 = QtGui.QVBoxLayout(self.grpInspections) self._4.setMargin(4) self._4.setSpacing(4) self._4.setObjectName(_fromUtf8("_4")) self.tblFinalDiagnostics = CInDocTableView(self.grpInspections) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self._4.addWidget(self.tblFinalDiagnostics) self.grpActions = QtGui.QGroupBox(self.splitter_2) self.grpActions.setObjectName(_fromUtf8("grpActions")) self._5 = QtGui.QGridLayout(self.grpActions) self._5.setMargin(4) self._5.setSpacing(4) self._5.setObjectName(_fromUtf8("_5")) self.tblActions = CInDocTableView(self.grpActions) self.tblActions.setMinimumSize(QtCore.QSize(0, 100)) self.tblActions.setObjectName(_fromUtf8("tblActions")) self._5.addWidget(self.tblActions, 0, 0, 1, 1) self.verticalLayout_2.addWidget(self.splitter_3) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabMes = CFastEventMesPage() self.tabMes.setObjectName(_fromUtf8("tabMes")) self.tabWidget.addTab(self.tabMes, _fromUtf8("")) self.tabStatus = CFastActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CFastActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabCure = CFastActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CFastActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabCash = CFastEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabReferral = CReferralPage() self.tabReferral.setObjectName(_fromUtf8("tabReferral")) self.tabWidget.addTab(self.tabReferral, _fromUtf8("")) self.tabNotes = CFastEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout.addWidget(self.sptTopLevel) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblProlongateEvent = QtGui.QLabel(Dialog) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(Dialog) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout.addWidget(self.lblValueExternalId) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout.addWidget(self.statusBar) self.lblNextDate.setBuddy(self.edtNextDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblBegDate.setBuddy(self.edtBegDate) self.lblResult.setBuddy(self.cmbResult) self.lblPerson.setBuddy(self.cmbPerson) self.lblGoal.setBuddy(self.cmbGoal) self.lblChildBirthDate.setBuddy(self.edtChildBirthDate) self.lblChildSex.setBuddy(self.cmbChildSex) self.lblChildNumber.setBuddy(self.sbChildNumber) self.lblBirthWeight.setBuddy(self.sbBirthWeight) self.lblWorkPost.setBuddy(self.edtWorkPost) self.lblWorkOKVED.setBuddy(self.cmbWorkOKVED) self.label_7.setBuddy(self.edtPrevDate) self.lblWorkStage.setBuddy(self.edtWorkStage) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.cmbContract) Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.edtNextDate) Dialog.setTabOrder(self.edtNextDate, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.chkPrimary) Dialog.setTabOrder(self.chkPrimary, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.chkDispByMobileTeam) Dialog.setTabOrder(self.chkDispByMobileTeam, self.gbLittleStrangerFlag) Dialog.setTabOrder(self.gbLittleStrangerFlag, self.sbChildNumber) Dialog.setTabOrder(self.sbChildNumber, self.cmbChildSex) Dialog.setTabOrder(self.cmbChildSex, self.edtChildBirthDate) Dialog.setTabOrder(self.edtChildBirthDate, self.sbBirthWeight) Dialog.setTabOrder(self.sbBirthWeight, self.chkMultipleBirths) Dialog.setTabOrder(self.chkMultipleBirths, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.cmbWorkOrganisation) Dialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) Dialog.setTabOrder(self.btnSelectWorkOrganisation, self.edtWorkPost) Dialog.setTabOrder(self.edtWorkPost, self.cmbWorkOKVED) Dialog.setTabOrder(self.cmbWorkOKVED, self.edtWorkStage) Dialog.setTabOrder(self.edtWorkStage, self.edtPrevDate) Dialog.setTabOrder(self.edtPrevDate, self.tblWorkHurts) Dialog.setTabOrder(self.tblWorkHurts, self.tblWorkHurtFactors) Dialog.setTabOrder(self.tblWorkHurtFactors, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblActions) Dialog.setTabOrder(self.tblActions, self.buttonBox) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "Dialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle(_translate("Dialog", "&ф.131", None)) self.lblNextDate.setText(_translate("Dialog", "След.явка", None)) self.lblEndDate.setText(_translate("Dialog", "Выполнено", None)) self.cmbContract.setWhatsThis( _translate( "Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None)) self.lblBegDate.setText(_translate("Dialog", "Назначено", None)) self.lblResult.setText(_translate("Dialog", "Результа&т", None)) self.cmbResult.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None)) self.lblPerson.setText(_translate("Dialog", "Ответственный", None)) self.chkZNOMorph.setToolTip( _translate("Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText( _translate("Dialog", "ЗНО подтв. морф-ки", None)) self.chkExposeConfirmed.setText( _translate("Dialog", "Добавить к выставлению", None)) self.cmbGoal.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.lblGoal.setText(_translate("Dialog", "Цель", None)) self.chkZNOFirst.setToolTip( _translate("Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None)) self.chkDispByMobileTeam.setText( _translate("Dialog", "Диспансеризация(проф.осмотр) проведена МВБ", None)) self.gbLittleStrangerFlag.setTitle( _translate("Dialog", "Признак новорожденного", None)) self.lblChildBirthDate.setText( _translate("Dialog", "Дата рождения", None)) self.lblChildSex.setText(_translate("Dialog", "Пол", None)) self.cmbChildSex.setItemText(1, _translate("Dialog", "М", None)) self.cmbChildSex.setItemText(2, _translate("Dialog", "Ж", None)) self.chkMultipleBirths.setText( _translate("Dialog", "Многоплодные роды", None)) self.lblChildNumber.setText( _translate("Dialog", "По счету в семье", None)) self.lblBirthWeight.setText( _translate("Dialog", "Вес при рождении", None)) self.edtBegDate.setWhatsThis( _translate("Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.edtEndDate.setWhatsThis( _translate("Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None)) self.grpWork.setTitle(_translate("Dialog", "&Занятость", None)) self.btnSelectWorkOrganisation.setText( _translate("Dialog", "...", None)) self.lblWorkPost.setText(_translate("Dialog", "Должность", None)) self.lblWorkOKVED.setText(_translate("Dialog", "ОКВЭД", None)) self.label_7.setText(_translate("Dialog", "Дата период.осмотра", None)) self.lblWorkStage.setText(_translate("Dialog", "стаж", None)) self.lblKPP.setText(_translate("Dialog", "КПП", None)) self.lblINN.setText(_translate("Dialog", "ИНН", None)) self.cmbWorkOrganisation.setWhatsThis( _translate("Dialog", "место работы пациента", None)) self.lblOGRN.setText(_translate("Dialog", "ОГРН", None)) self.tblWorkHurt.setTitle(_translate("Dialog", "&Вредность", None)) self.tblWorkHurtFactors.setWhatsThis( _translate("Dialog", "вредные факторы работы пациента", None)) self.grpInspections.setTitle(_translate("Dialog", "&Осмотр", None)) self.grpActions.setTitle(_translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Стат.&учёт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMes), _translate("Dialog", "Стандарт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("Dialog", "&Статус", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagnostic), _translate("Dialog", "&Диагностика", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCure), _translate("Dialog", "&Лечение", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("Dialog", "Оплата", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabReferral), _translate("Dialog", "Направления", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
class Ui_CashBookDialog(object): def setupUi(self, CashBookDialog): CashBookDialog.setObjectName(_fromUtf8("CashBookDialog")) CashBookDialog.resize(718, 676) CashBookDialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(CashBookDialog) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(4) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tabWidget = QtGui.QTabWidget(CashBookDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabBook = QtGui.QWidget() self.tabBook.setObjectName(_fromUtf8("tabBook")) self.gridLayout_2 = QtGui.QGridLayout(self.tabBook) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.splitterBook = QtGui.QSplitter(self.tabBook) self.splitterBook.setOrientation(QtCore.Qt.Horizontal) self.splitterBook.setChildrenCollapsible(False) self.splitterBook.setObjectName(_fromUtf8("splitterBook")) self.grpBookFilter = QtGui.QGroupBox(self.splitterBook) self.grpBookFilter.setObjectName(_fromUtf8("grpBookFilter")) self.gridLayout = QtGui.QGridLayout(self.grpBookFilter) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblFilterBegDate = QtGui.QLabel(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblFilterBegDate.sizePolicy().hasHeightForWidth()) self.lblFilterBegDate.setSizePolicy(sizePolicy) self.lblFilterBegDate.setObjectName(_fromUtf8("lblFilterBegDate")) self.gridLayout.addWidget(self.lblFilterBegDate, 0, 0, 1, 1) self.edtFilterBegDate = CDateEdit(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBegDate.sizePolicy().hasHeightForWidth()) self.edtFilterBegDate.setSizePolicy(sizePolicy) self.edtFilterBegDate.setObjectName(_fromUtf8("edtFilterBegDate")) self.gridLayout.addWidget(self.edtFilterBegDate, 0, 1, 1, 1) self.lblFilterEndDate = QtGui.QLabel(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblFilterEndDate.sizePolicy().hasHeightForWidth()) self.lblFilterEndDate.setSizePolicy(sizePolicy) self.lblFilterEndDate.setObjectName(_fromUtf8("lblFilterEndDate")) self.gridLayout.addWidget(self.lblFilterEndDate, 1, 0, 1, 1) self.edtFilterEndDate = CDateEdit(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterEndDate.sizePolicy().hasHeightForWidth()) self.edtFilterEndDate.setSizePolicy(sizePolicy) self.edtFilterEndDate.setObjectName(_fromUtf8("edtFilterEndDate")) self.gridLayout.addWidget(self.edtFilterEndDate, 1, 1, 1, 1) self.lblFilterCashBox = QtGui.QLabel(self.grpBookFilter) self.lblFilterCashBox.setObjectName(_fromUtf8("lblFilterCashBox")) self.gridLayout.addWidget(self.lblFilterCashBox, 2, 0, 1, 1) self.edtFilterCashBox = QtGui.QLineEdit(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterCashBox.sizePolicy().hasHeightForWidth()) self.edtFilterCashBox.setSizePolicy(sizePolicy) self.edtFilterCashBox.setObjectName(_fromUtf8("edtFilterCashBox")) self.gridLayout.addWidget(self.edtFilterCashBox, 2, 1, 1, 1) self.lblFilterCashKeeper = QtGui.QLabel(self.grpBookFilter) self.lblFilterCashKeeper.setObjectName( _fromUtf8("lblFilterCashKeeper")) self.gridLayout.addWidget(self.lblFilterCashKeeper, 3, 0, 1, 1) self.cmbFilterCashKeeper = CPersonComboBoxEx(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterCashKeeper.sizePolicy().hasHeightForWidth()) self.cmbFilterCashKeeper.setSizePolicy(sizePolicy) self.cmbFilterCashKeeper.setObjectName( _fromUtf8("cmbFilterCashKeeper")) self.gridLayout.addWidget(self.cmbFilterCashKeeper, 3, 1, 1, 1) self.lblFilterCashOperation = QtGui.QLabel(self.grpBookFilter) self.lblFilterCashOperation.setObjectName( _fromUtf8("lblFilterCashOperation")) self.gridLayout.addWidget(self.lblFilterCashOperation, 4, 0, 1, 1) self.cmbFilterCashOperation = CRBComboBox(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterCashOperation.sizePolicy().hasHeightForWidth()) self.cmbFilterCashOperation.setSizePolicy(sizePolicy) self.cmbFilterCashOperation.setObjectName( _fromUtf8("cmbFilterCashOperation")) self.gridLayout.addWidget(self.cmbFilterCashOperation, 4, 1, 1, 1) self.lblFilterEventPurpose = QtGui.QLabel(self.grpBookFilter) self.lblFilterEventPurpose.setObjectName( _fromUtf8("lblFilterEventPurpose")) self.gridLayout.addWidget(self.lblFilterEventPurpose, 5, 0, 1, 1) self.cmbFilterEventPurpose = CRBComboBox(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterEventPurpose.sizePolicy().hasHeightForWidth()) self.cmbFilterEventPurpose.setSizePolicy(sizePolicy) self.cmbFilterEventPurpose.setObjectName( _fromUtf8("cmbFilterEventPurpose")) self.gridLayout.addWidget(self.cmbFilterEventPurpose, 5, 1, 1, 1) self.lblFilterEventType = QtGui.QLabel(self.grpBookFilter) self.lblFilterEventType.setObjectName(_fromUtf8("lblFilterEventType")) self.gridLayout.addWidget(self.lblFilterEventType, 6, 0, 1, 1) self.cmbFilterEventType = CRBComboBox(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterEventType.sizePolicy().hasHeightForWidth()) self.cmbFilterEventType.setSizePolicy(sizePolicy) self.cmbFilterEventType.setObjectName(_fromUtf8("cmbFilterEventType")) self.gridLayout.addWidget(self.cmbFilterEventType, 6, 1, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 11, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.bbxFilter = QtGui.QDialogButtonBox(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.bbxFilter.sizePolicy().hasHeightForWidth()) self.bbxFilter.setSizePolicy(sizePolicy) self.bbxFilter.setOrientation(QtCore.Qt.Horizontal) self.bbxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.bbxFilter.setCenterButtons(False) self.bbxFilter.setObjectName(_fromUtf8("bbxFilter")) self.horizontalLayout.addWidget(self.bbxFilter) self.gridLayout.addLayout(self.horizontalLayout, 12, 0, 1, 2) self.cmbFilterPerson = CPersonComboBoxEx(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterPerson.sizePolicy().hasHeightForWidth()) self.cmbFilterPerson.setSizePolicy(sizePolicy) self.cmbFilterPerson.setObjectName(_fromUtf8("cmbFilterPerson")) self.gridLayout.addWidget(self.cmbFilterPerson, 9, 1, 1, 1) self.cmbFilterOrgStructure = COrgStructureComboBox(self.grpBookFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterOrgStructure.sizePolicy().hasHeightForWidth()) self.cmbFilterOrgStructure.setSizePolicy(sizePolicy) self.cmbFilterOrgStructure.setObjectName( _fromUtf8("cmbFilterOrgStructure")) self.gridLayout.addWidget(self.cmbFilterOrgStructure, 8, 1, 1, 1) self.lblFilterOrgStructure = QtGui.QLabel(self.grpBookFilter) self.lblFilterOrgStructure.setObjectName( _fromUtf8("lblFilterOrgStructure")) self.gridLayout.addWidget(self.lblFilterOrgStructure, 8, 0, 1, 1) self.lblFilterPerson = QtGui.QLabel(self.grpBookFilter) self.lblFilterPerson.setObjectName(_fromUtf8("lblFilterPerson")) self.gridLayout.addWidget(self.lblFilterPerson, 9, 0, 1, 1) self.widget = QtGui.QWidget(self.splitterBook) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout = QtGui.QVBoxLayout(self.widget) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tblCashItems = CTableView(self.widget) self.tblCashItems.setObjectName(_fromUtf8("tblCashItems")) self.verticalLayout.addWidget(self.tblCashItems) self.groupAccount = QtGui.QGroupBox(self.widget) self.groupAccount.setObjectName(_fromUtf8("groupAccount")) self._2 = QtGui.QHBoxLayout(self.groupAccount) self._2.setSpacing(4) self._2.setMargin(4) self._2.setObjectName(_fromUtf8("_2")) self.lblCashItemsCount = QtGui.QLabel(self.groupAccount) self.lblCashItemsCount.setObjectName(_fromUtf8("lblCashItemsCount")) self._2.addWidget(self.lblCashItemsCount) self.edtCashItemsCount = QtGui.QLineEdit(self.groupAccount) self.edtCashItemsCount.setFocusPolicy(QtCore.Qt.NoFocus) self.edtCashItemsCount.setAlignment(QtCore.Qt.AlignRight) self.edtCashItemsCount.setReadOnly(True) self.edtCashItemsCount.setObjectName(_fromUtf8("edtCashItemsCount")) self._2.addWidget(self.edtCashItemsCount) self.lblIncome = QtGui.QLabel(self.groupAccount) self.lblIncome.setObjectName(_fromUtf8("lblIncome")) self._2.addWidget(self.lblIncome) self.edtIncome = QtGui.QLineEdit(self.groupAccount) self.edtIncome.setFocusPolicy(QtCore.Qt.NoFocus) self.edtIncome.setAlignment(QtCore.Qt.AlignRight) self.edtIncome.setReadOnly(True) self.edtIncome.setObjectName(_fromUtf8("edtIncome")) self._2.addWidget(self.edtIncome) self.lblOutcome = QtGui.QLabel(self.groupAccount) self.lblOutcome.setObjectName(_fromUtf8("lblOutcome")) self._2.addWidget(self.lblOutcome) self.edtOutcome = QtGui.QLineEdit(self.groupAccount) self.edtOutcome.setFocusPolicy(QtCore.Qt.NoFocus) self.edtOutcome.setAlignment(QtCore.Qt.AlignRight) self.edtOutcome.setReadOnly(True) self.edtOutcome.setObjectName(_fromUtf8("edtOutcome")) self._2.addWidget(self.edtOutcome) self.verticalLayout.addWidget(self.groupAccount) self.gridLayout_2.addWidget(self.splitterBook, 0, 0, 1, 1) self.tabWidget.addTab(self.tabBook, _fromUtf8("")) self.tabPayment = QtGui.QWidget() self.tabPayment.setObjectName(_fromUtf8("tabPayment")) self.gridLayout_4 = QtGui.QGridLayout(self.tabPayment) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.splitterPayment = QtGui.QSplitter(self.tabPayment) self.splitterPayment.setOrientation(QtCore.Qt.Horizontal) self.splitterPayment.setChildrenCollapsible(False) self.splitterPayment.setObjectName(_fromUtf8("splitterPayment")) self.grpPaymentFilter = QtGui.QGroupBox(self.splitterPayment) self.grpPaymentFilter.setObjectName(_fromUtf8("grpPaymentFilter")) self.gridLayout_3 = QtGui.QGridLayout(self.grpPaymentFilter) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.edtPaymentFilterBirthDay = CDateEdit(self.grpPaymentFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtPaymentFilterBirthDay.sizePolicy().hasHeightForWidth()) self.edtPaymentFilterBirthDay.setSizePolicy(sizePolicy) self.edtPaymentFilterBirthDay.setObjectName( _fromUtf8("edtPaymentFilterBirthDay")) self.gridLayout_3.addWidget(self.edtPaymentFilterBirthDay, 6, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem2, 13, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.bbxPaymentFilter = QtGui.QDialogButtonBox(self.grpPaymentFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.bbxPaymentFilter.sizePolicy().hasHeightForWidth()) self.bbxPaymentFilter.setSizePolicy(sizePolicy) self.bbxPaymentFilter.setOrientation(QtCore.Qt.Horizontal) self.bbxPaymentFilter.setStandardButtons( QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.bbxPaymentFilter.setCenterButtons(False) self.bbxPaymentFilter.setObjectName(_fromUtf8("bbxPaymentFilter")) self.horizontalLayout_2.addWidget(self.bbxPaymentFilter) self.gridLayout_3.addLayout(self.horizontalLayout_2, 14, 0, 1, 2) self.lblPaymentFilterAccountingSystem = QtGui.QLabel( self.grpPaymentFilter) self.lblPaymentFilterAccountingSystem.setObjectName( _fromUtf8("lblPaymentFilterAccountingSystem")) self.gridLayout_3.addWidget(self.lblPaymentFilterAccountingSystem, 0, 0, 1, 1) self.cmbPaymentFilterAccountingSystem = CRBComboBox( self.grpPaymentFilter) self.cmbPaymentFilterAccountingSystem.setEnabled(False) self.cmbPaymentFilterAccountingSystem.setObjectName( _fromUtf8("cmbPaymentFilterAccountingSystem")) self.gridLayout_3.addWidget(self.cmbPaymentFilterAccountingSystem, 0, 1, 1, 1) self.lblPaymentFilterClientCode = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterClientCode.setObjectName( _fromUtf8("lblPaymentFilterClientCode")) self.gridLayout_3.addWidget(self.lblPaymentFilterClientCode, 1, 0, 1, 1) self.edtPaymentFilterClientCode = QtGui.QLineEdit( self.grpPaymentFilter) self.edtPaymentFilterClientCode.setObjectName( _fromUtf8("edtPaymentFilterClientCode")) self.gridLayout_3.addWidget(self.edtPaymentFilterClientCode, 1, 1, 1, 1) self.lblPaymentFilterPatrName = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterPatrName.setObjectName( _fromUtf8("lblPaymentFilterPatrName")) self.gridLayout_3.addWidget(self.lblPaymentFilterPatrName, 5, 0, 1, 1) self.edtPaymentFilterPatrName = QtGui.QLineEdit(self.grpPaymentFilter) self.edtPaymentFilterPatrName.setObjectName( _fromUtf8("edtPaymentFilterPatrName")) self.gridLayout_3.addWidget(self.edtPaymentFilterPatrName, 5, 1, 1, 1) self.lblPaymentFilterFirstName = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterFirstName.setObjectName( _fromUtf8("lblPaymentFilterFirstName")) self.gridLayout_3.addWidget(self.lblPaymentFilterFirstName, 4, 0, 1, 1) self.edtPaymentFilterFirstName = QtGui.QLineEdit(self.grpPaymentFilter) self.edtPaymentFilterFirstName.setObjectName( _fromUtf8("edtPaymentFilterFirstName")) self.gridLayout_3.addWidget(self.edtPaymentFilterFirstName, 4, 1, 1, 1) self.edtPaymentFilterLastName = QtGui.QLineEdit(self.grpPaymentFilter) self.edtPaymentFilterLastName.setObjectName( _fromUtf8("edtPaymentFilterLastName")) self.gridLayout_3.addWidget(self.edtPaymentFilterLastName, 3, 1, 1, 1) self.lblPaymentFilterLastName = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterLastName.setObjectName( _fromUtf8("lblPaymentFilterLastName")) self.gridLayout_3.addWidget(self.lblPaymentFilterLastName, 3, 0, 1, 1) self.lblPaymentFilterBirthDay = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterBirthDay.setObjectName( _fromUtf8("lblPaymentFilterBirthDay")) self.gridLayout_3.addWidget(self.lblPaymentFilterBirthDay, 6, 0, 1, 1) self.line = QtGui.QFrame(self.grpPaymentFilter) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.gridLayout_3.addWidget(self.line, 8, 0, 1, 2) self.lblPaymentFilterEventId = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterEventId.setObjectName( _fromUtf8("lblPaymentFilterEventId")) self.gridLayout_3.addWidget(self.lblPaymentFilterEventId, 11, 0, 1, 1) self.lblPaymentFilterExternalEventId = QtGui.QLabel( self.grpPaymentFilter) self.lblPaymentFilterExternalEventId.setObjectName( _fromUtf8("lblPaymentFilterExternalEventId")) self.gridLayout_3.addWidget(self.lblPaymentFilterExternalEventId, 12, 0, 1, 1) self.edtPaymentFilterEventId = QtGui.QLineEdit(self.grpPaymentFilter) self.edtPaymentFilterEventId.setObjectName( _fromUtf8("edtPaymentFilterEventId")) self.gridLayout_3.addWidget(self.edtPaymentFilterEventId, 11, 1, 1, 1) self.edtPaymentFilterExternalEventId = QtGui.QLineEdit( self.grpPaymentFilter) self.edtPaymentFilterExternalEventId.setObjectName( _fromUtf8("edtPaymentFilterExternalEventId")) self.gridLayout_3.addWidget(self.edtPaymentFilterExternalEventId, 12, 1, 1, 1) self.cmbPaymentFilterSex = QtGui.QComboBox(self.grpPaymentFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbPaymentFilterSex.sizePolicy().hasHeightForWidth()) self.cmbPaymentFilterSex.setSizePolicy(sizePolicy) self.cmbPaymentFilterSex.setObjectName( _fromUtf8("cmbPaymentFilterSex")) self.cmbPaymentFilterSex.addItem(_fromUtf8("")) self.cmbPaymentFilterSex.setItemText(0, _fromUtf8("")) self.cmbPaymentFilterSex.addItem(_fromUtf8("")) self.cmbPaymentFilterSex.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbPaymentFilterSex, 7, 1, 1, 1) self.lblPaymentFilterSex = QtGui.QLabel(self.grpPaymentFilter) self.lblPaymentFilterSex.setObjectName( _fromUtf8("lblPaymentFilterSex")) self.gridLayout_3.addWidget(self.lblPaymentFilterSex, 7, 0, 1, 1) self.splitter = QtGui.QSplitter(self.splitterPayment) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.txtClientInfoBrowser = CTextBrowser(self.splitter) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setReadOnly(True) self.txtClientInfoBrowser.setTextInteractionFlags( QtCore.Qt.TextBrowserInteraction) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tblClients = CTableView(self.splitter) self.tblClients.setObjectName(_fromUtf8("tblClients")) self.tblEvents = CTableView(self.splitter) self.tblEvents.setObjectName(_fromUtf8("tblEvents")) self.gridLayout_4.addWidget(self.splitterPayment, 0, 0, 1, 1) self.tabWidget.addTab(self.tabPayment, _fromUtf8("")) self.verticalLayout_2.addWidget(self.tabWidget) self.buttonBox = QtGui.QDialogButtonBox(CashBookDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout_2.addWidget(self.buttonBox) self.lblFilterBegDate.setBuddy(self.edtFilterBegDate) self.lblFilterEndDate.setBuddy(self.edtFilterEndDate) self.lblFilterCashBox.setBuddy(self.edtFilterCashBox) self.lblFilterCashKeeper.setBuddy(self.cmbFilterCashKeeper) self.lblFilterCashOperation.setBuddy(self.cmbFilterCashOperation) self.lblFilterEventPurpose.setBuddy(self.cmbFilterEventPurpose) self.lblFilterEventType.setBuddy(self.cmbFilterEventType) self.lblFilterOrgStructure.setBuddy(self.cmbFilterOrgStructure) self.lblFilterPerson.setBuddy(self.cmbFilterPerson) self.lblCashItemsCount.setBuddy(self.edtCashItemsCount) self.lblIncome.setBuddy(self.edtIncome) self.lblOutcome.setBuddy(self.edtOutcome) self.lblPaymentFilterAccountingSystem.setBuddy( self.cmbPaymentFilterAccountingSystem) self.lblPaymentFilterClientCode.setBuddy( self.edtPaymentFilterClientCode) self.lblPaymentFilterPatrName.setBuddy(self.edtPaymentFilterPatrName) self.lblPaymentFilterFirstName.setBuddy(self.edtPaymentFilterFirstName) self.lblPaymentFilterLastName.setBuddy(self.edtPaymentFilterLastName) self.lblPaymentFilterBirthDay.setBuddy(self.edtPaymentFilterBirthDay) self.lblPaymentFilterEventId.setBuddy(self.edtPaymentFilterEventId) self.lblPaymentFilterExternalEventId.setBuddy( self.edtPaymentFilterExternalEventId) self.retranslateUi(CashBookDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CashBookDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CashBookDialog.reject) QtCore.QMetaObject.connectSlotsByName(CashBookDialog) CashBookDialog.setTabOrder(self.tabWidget, self.edtFilterBegDate) CashBookDialog.setTabOrder(self.edtFilterBegDate, self.edtFilterEndDate) CashBookDialog.setTabOrder(self.edtFilterEndDate, self.edtFilterCashBox) CashBookDialog.setTabOrder(self.edtFilterCashBox, self.cmbFilterCashKeeper) CashBookDialog.setTabOrder(self.cmbFilterCashKeeper, self.cmbFilterCashOperation) CashBookDialog.setTabOrder(self.cmbFilterCashOperation, self.cmbFilterEventPurpose) CashBookDialog.setTabOrder(self.cmbFilterEventPurpose, self.cmbFilterEventType) CashBookDialog.setTabOrder(self.cmbFilterEventType, self.cmbFilterOrgStructure) CashBookDialog.setTabOrder(self.cmbFilterOrgStructure, self.cmbFilterPerson) CashBookDialog.setTabOrder(self.cmbFilterPerson, self.bbxFilter) CashBookDialog.setTabOrder(self.bbxFilter, self.tblCashItems) CashBookDialog.setTabOrder(self.tblCashItems, self.cmbPaymentFilterAccountingSystem) CashBookDialog.setTabOrder(self.cmbPaymentFilterAccountingSystem, self.edtPaymentFilterClientCode) CashBookDialog.setTabOrder(self.edtPaymentFilterClientCode, self.edtPaymentFilterLastName) CashBookDialog.setTabOrder(self.edtPaymentFilterLastName, self.edtPaymentFilterFirstName) CashBookDialog.setTabOrder(self.edtPaymentFilterFirstName, self.edtPaymentFilterPatrName) CashBookDialog.setTabOrder(self.edtPaymentFilterPatrName, self.edtPaymentFilterBirthDay) CashBookDialog.setTabOrder(self.edtPaymentFilterBirthDay, self.cmbPaymentFilterSex) CashBookDialog.setTabOrder(self.cmbPaymentFilterSex, self.edtPaymentFilterEventId) CashBookDialog.setTabOrder(self.edtPaymentFilterEventId, self.edtPaymentFilterExternalEventId) CashBookDialog.setTabOrder(self.edtPaymentFilterExternalEventId, self.bbxPaymentFilter) CashBookDialog.setTabOrder(self.bbxPaymentFilter, self.txtClientInfoBrowser) CashBookDialog.setTabOrder(self.txtClientInfoBrowser, self.tblClients) CashBookDialog.setTabOrder(self.tblClients, self.tblEvents) CashBookDialog.setTabOrder(self.tblEvents, self.buttonBox) def retranslateUi(self, CashBookDialog): CashBookDialog.setWindowTitle( QtGui.QApplication.translate("CashBookDialog", "Журнал кассовых операций", None, QtGui.QApplication.UnicodeUTF8)) self.grpBookFilter.setTitle( QtGui.QApplication.translate("CashBookDialog", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterBegDate.setText( QtGui.QApplication.translate("CashBookDialog", "&С", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterEndDate.setText( QtGui.QApplication.translate("CashBookDialog", "&По", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterCashBox.setText( QtGui.QApplication.translate("CashBookDialog", "&Касса", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterCashKeeper.setText( QtGui.QApplication.translate("CashBookDialog", "Касси&р", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterCashOperation.setText( QtGui.QApplication.translate("CashBookDialog", "Кассовая &операция", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterEventPurpose.setText( QtGui.QApplication.translate("CashBookDialog", "&Назначение обращения", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterEventType.setText( QtGui.QApplication.translate("CashBookDialog", "&Тип обращения", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterOrgStructure.setText( QtGui.QApplication.translate("CashBookDialog", "&Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.lblFilterPerson.setText( QtGui.QApplication.translate("CashBookDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8)) self.groupAccount.setTitle( QtGui.QApplication.translate("CashBookDialog", "Итого", None, QtGui.QApplication.UnicodeUTF8)) self.lblCashItemsCount.setText( QtGui.QApplication.translate("CashBookDialog", "Позиций", None, QtGui.QApplication.UnicodeUTF8)) self.lblIncome.setText( QtGui.QApplication.translate("CashBookDialog", "Приход", None, QtGui.QApplication.UnicodeUTF8)) self.lblOutcome.setText( QtGui.QApplication.translate("CashBookDialog", "Расход", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabBook), QtGui.QApplication.translate("CashBookDialog", "Журнал", None, QtGui.QApplication.UnicodeUTF8)) self.grpPaymentFilter.setTitle( QtGui.QApplication.translate("CashBookDialog", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterAccountingSystem.setText( QtGui.QApplication.translate("CashBookDialog", "Тип идентификатора", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterClientCode.setText( QtGui.QApplication.translate("CashBookDialog", "Код пациента", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterPatrName.setText( QtGui.QApplication.translate("CashBookDialog", "Отчество", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterFirstName.setText( QtGui.QApplication.translate("CashBookDialog", "Имя", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterLastName.setText( QtGui.QApplication.translate("CashBookDialog", "Фамилия", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterBirthDay.setText( QtGui.QApplication.translate("CashBookDialog", "Дата рождения", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterEventId.setText( QtGui.QApplication.translate("CashBookDialog", "Код события", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterExternalEventId.setText( QtGui.QApplication.translate("CashBookDialog", "Внешний код события", None, QtGui.QApplication.UnicodeUTF8)) self.cmbPaymentFilterSex.setItemText( 1, QtGui.QApplication.translate("CashBookDialog", "М", None, QtGui.QApplication.UnicodeUTF8)) self.cmbPaymentFilterSex.setItemText( 2, QtGui.QApplication.translate("CashBookDialog", "Ж", None, QtGui.QApplication.UnicodeUTF8)) self.lblPaymentFilterSex.setText( QtGui.QApplication.translate("CashBookDialog", "Пол", None, QtGui.QApplication.UnicodeUTF8)) self.txtClientInfoBrowser.setHtml( QtGui.QApplication.translate( "CashBookDialog", "<!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:\'Tahoma\'; font-size:8pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabPayment), QtGui.QApplication.translate("CashBookDialog", "Расчёт", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(872, 708) Dialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.gridLayout_9 = QtGui.QGridLayout(self.tabToken) self.gridLayout_9.setMargin(4) self.gridLayout_9.setSpacing(4) self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 824, 1161)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_3) self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame) self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised) self.frameBaseAndDiagnosises.setObjectName( _fromUtf8("frameBaseAndDiagnosises")) self.gridLayout_10 = QtGui.QGridLayout(self.frameBaseAndDiagnosises) self.gridLayout_10.setMargin(4) self.gridLayout_10.setSpacing(4) self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpBase.sizePolicy().hasHeightForWidth()) self.grpBase.setSizePolicy(sizePolicy) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_4 = QtGui.QGridLayout(self.grpBase) self.gridLayout_4.setMargin(2) self.gridLayout_4.setSpacing(2) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.cmbPersonMedicineHead = CPersonComboBoxEx(self.grpBase) self.cmbPersonMedicineHead.setObjectName( _fromUtf8("cmbPersonMedicineHead")) self.cmbPersonMedicineHead.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPersonMedicineHead, 16, 2, 1, 4) self.lblPersonMedicineHead = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPersonMedicineHead.sizePolicy().hasHeightForWidth()) self.lblPersonMedicineHead.setSizePolicy(sizePolicy) self.lblPersonMedicineHead.setObjectName( _fromUtf8("lblPersonMedicineHead")) self.gridLayout_4.addWidget(self.lblPersonMedicineHead, 16, 0, 1, 2) self.frame_4 = QtGui.QFrame(self.grpBase) self.frame_4.setFrameShape(QtGui.QFrame.NoFrame) self.frame_4.setFrameShadow(QtGui.QFrame.Plain) self.frame_4.setLineWidth(0) self.frame_4.setObjectName(_fromUtf8("frame_4")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame_4) self.horizontalLayout_4.setMargin(0) self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtEndDate = CDateEdit(self.frame_4) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_4.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frame_4) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setCalendarPopup(False) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_4.addWidget(self.edtEndTime) self.gridLayout_4.addWidget(self.frame_4, 5, 1, 1, 4) self.cmbOrder = CRBComboBox(self.grpBase) self.cmbOrder.setObjectName(_fromUtf8("cmbOrder")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.setItemText(0, _fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbOrder, 9, 0, 1, 6) self.cmbRelegateOrg = CPolyclinicComboBox(self.grpBase) self.cmbRelegateOrg.setEnabled(True) self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg")) self.gridLayout_4.addWidget(self.cmbRelegateOrg, 2, 1, 1, 4) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbResult, 20, 2, 1, 4) self.lblEventId = QtGui.QLabel(self.grpBase) self.lblEventId.setObjectName(_fromUtf8("lblEventId")) self.gridLayout_4.addWidget(self.lblEventId, 6, 0, 1, 1) self.lblPatientModel = QtGui.QLabel(self.grpBase) self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel")) self.gridLayout_4.addWidget(self.lblPatientModel, 11, 0, 1, 2) self.frame_5 = QtGui.QFrame(self.grpBase) self.frame_5.setFrameShape(QtGui.QFrame.NoFrame) self.frame_5.setFrameShadow(QtGui.QFrame.Plain) self.frame_5.setLineWidth(0) self.frame_5.setObjectName(_fromUtf8("frame_5")) self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frame_5) self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setSpacing(4) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.edtBegDate = CDateEdit(self.frame_5) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_5.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frame_5) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setCalendarPopup(False) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_5.addWidget(self.edtBegTime) self.gridLayout_4.addWidget(self.frame_5, 4, 1, 1, 4) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDate.sizePolicy().hasHeightForWidth()) self.lblBegDate.setSizePolicy(sizePolicy) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_4.addWidget(self.lblBegDate, 4, 0, 1, 1) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_4.addWidget(self.chkZNOMorph, 22, 0, 1, 4) self.lblPerson = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPerson.sizePolicy().hasHeightForWidth()) self.lblPerson.setSizePolicy(sizePolicy) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_4.addWidget(self.lblPerson, 15, 0, 1, 2) self.lblRelegateOrg = QtGui.QLabel(self.grpBase) self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg")) self.gridLayout_4.addWidget(self.lblRelegateOrg, 2, 0, 1, 1) self.lblPersonCurator = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPersonCurator.sizePolicy().hasHeightForWidth()) self.lblPersonCurator.setSizePolicy(sizePolicy) self.lblPersonCurator.setObjectName(_fromUtf8("lblPersonCurator")) self.gridLayout_4.addWidget(self.lblPersonCurator, 18, 0, 1, 1) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_4.addWidget(self.chkZNOFirst, 21, 0, 1, 4) self.cmbCureMethod = CRBComboBox(self.grpBase) self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod")) self.gridLayout_4.addWidget(self.cmbCureMethod, 13, 2, 1, 4) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPerson, 18, 2, 1, 4) self.lblEventAssistantIdValue = QtGui.QLabel(self.grpBase) self.lblEventAssistantIdValue.setObjectName( _fromUtf8("lblEventAssistantIdValue")) self.gridLayout_4.addWidget(self.lblEventAssistantIdValue, 19, 0, 1, 2) self.lblOrder = QtGui.QLabel(self.grpBase) self.lblOrder.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self.gridLayout_4.addWidget(self.lblOrder, 8, 3, 1, 3) spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem, 5, 5, 1, 1) self.lblCureType = QtGui.QLabel(self.grpBase) self.lblCureType.setObjectName(_fromUtf8("lblCureType")) self.gridLayout_4.addWidget(self.lblCureType, 12, 0, 1, 2) self.lblCureMethod = QtGui.QLabel(self.grpBase) self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod")) self.gridLayout_4.addWidget(self.lblCureMethod, 13, 0, 1, 2) self.lblResult = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblResult.sizePolicy().hasHeightForWidth()) self.lblResult.setSizePolicy(sizePolicy) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_4.addWidget(self.lblResult, 20, 0, 1, 2) self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpBase) self.btnSelectRelegateOrg.setObjectName( _fromUtf8("btnSelectRelegateOrg")) self.gridLayout_4.addWidget(self.btnSelectRelegateOrg, 2, 5, 1, 1) spacerItem1 = QtGui.QSpacerItem(20, 31, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem1, 23, 1, 1, 3) spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_4.addItem(spacerItem2, 4, 5, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_4.addWidget(self.chkExposeConfirmed, 1, 0, 1, 6) self.cmbPersonManager = CPersonComboBoxEx(self.grpBase) self.cmbPersonManager.setObjectName(_fromUtf8("cmbPersonManager")) self.cmbPersonManager.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPersonManager, 17, 2, 1, 4) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDate.sizePolicy().hasHeightForWidth()) self.lblEndDate.setSizePolicy(sizePolicy) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_4.addWidget(self.lblEndDate, 5, 0, 1, 1) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_4.addWidget(self.chkIsClosed, 0, 0, 1, 6) self.label_2 = QtGui.QLabel(self.grpBase) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_4.addWidget(self.label_2, 10, 0, 1, 2) self.cmbCureType = CRBComboBox(self.grpBase) self.cmbCureType.setObjectName(_fromUtf8("cmbCureType")) self.gridLayout_4.addWidget(self.cmbCureType, 12, 2, 1, 4) self.cmbEventAssistant = CPersonComboBoxEx(self.grpBase) self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant")) self.gridLayout_4.addWidget(self.cmbEventAssistant, 19, 2, 1, 4) self.cmbPatientModel = CModelPatientComboBoxF027(self.grpBase) self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel")) self.gridLayout_4.addWidget(self.cmbPatientModel, 11, 2, 1, 4) self.cmbEventCurator = CPersonComboBoxEx(self.grpBase) self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator")) self.gridLayout_4.addWidget(self.cmbEventCurator, 15, 2, 1, 4) self.lblPersonManager = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPersonManager.sizePolicy().hasHeightForWidth()) self.lblPersonManager.setSizePolicy(sizePolicy) self.lblPersonManager.setObjectName(_fromUtf8("lblPersonManager")) self.gridLayout_4.addWidget(self.lblPersonManager, 17, 0, 1, 2) self.cmbQuota = CQuotaTypeComboBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbQuota.sizePolicy().hasHeightForWidth()) self.cmbQuota.setSizePolicy(sizePolicy) self.cmbQuota.setSizeAdjustPolicy( QtGui.QComboBox.AdjustToMinimumContentsLength) self.cmbQuota.setObjectName(_fromUtf8("cmbQuota")) self.gridLayout_4.addWidget(self.cmbQuota, 10, 2, 1, 4) self.chkPrimary = QtGui.QCheckBox(self.grpBase) self.chkPrimary.setObjectName(_fromUtf8("chkPrimary")) self.gridLayout_4.addWidget(self.chkPrimary, 8, 0, 1, 2) self.cmbEventExternalIdValue = QtGui.QComboBox(self.grpBase) self.cmbEventExternalIdValue.setObjectName( _fromUtf8("cmbEventExternalIdValue")) self.cmbEventExternalIdValue.addItem(_fromUtf8("")) self.cmbEventExternalIdValue.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbEventExternalIdValue, 6, 1, 1, 5) self.gridLayout_10.addWidget(self.grpBase, 0, 0, 1, 1) self.frame_6 = QtGui.QFrame(self.frameBaseAndDiagnosises) self.frame_6.setFrameShape(QtGui.QFrame.NoFrame) self.frame_6.setFrameShadow(QtGui.QFrame.Plain) self.frame_6.setObjectName(_fromUtf8("frame_6")) self.gridLayout_11 = QtGui.QGridLayout(self.frame_6) self.gridLayout_11.setMargin(4) self.gridLayout_11.setSpacing(4) self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) self.grpActions = QtGui.QGroupBox(self.frame_6) self.grpActions.setObjectName(_fromUtf8("grpActions")) self.gridLayout_12 = QtGui.QGridLayout(self.grpActions) self.gridLayout_12.setMargin(4) self.gridLayout_12.setSpacing(4) self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12")) self.tblActionProperties = CActionPropertiesTableView(self.grpActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(20) sizePolicy.setHeightForWidth( self.tblActionProperties.sizePolicy().hasHeightForWidth()) self.tblActionProperties.setSizePolicy(sizePolicy) self.tblActionProperties.setObjectName( _fromUtf8("tblActionProperties")) self.gridLayout_12.addWidget(self.tblActionProperties, 0, 0, 1, 1) self.gridLayout_11.addWidget(self.grpActions, 0, 0, 1, 1) self.gridLayout_10.addWidget(self.frame_6, 0, 1, 1, 1) self.splitter_4 = QtGui.QSplitter(self.splitter_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_4.sizePolicy().hasHeightForWidth()) self.splitter_4.setSizePolicy(sizePolicy) self.splitter_4.setFrameShape(QtGui.QFrame.NoFrame) self.splitter_4.setFrameShadow(QtGui.QFrame.Plain) self.splitter_4.setLineWidth(0) self.splitter_4.setOrientation(QtCore.Qt.Vertical) self.splitter_4.setChildrenCollapsible(False) self.splitter_4.setObjectName(_fromUtf8("splitter_4")) self.grpInspections_2 = QtGui.QGroupBox(self.splitter_4) self.grpInspections_2.setObjectName(_fromUtf8("grpInspections_2")) self.gridLayout_13 = QtGui.QGridLayout(self.grpInspections_2) self.gridLayout_13.setMargin(2) self.gridLayout_13.setSpacing(2) self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13")) self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView( self.grpInspections_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblPreliminaryDiagnostics.sizePolicy().hasHeightForWidth()) self.tblPreliminaryDiagnostics.setSizePolicy(sizePolicy) self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblPreliminaryDiagnostics.setObjectName( _fromUtf8("tblPreliminaryDiagnostics")) self.gridLayout_13.addWidget(self.tblPreliminaryDiagnostics, 0, 0, 1, 1) self.grpInspections = QtGui.QGroupBox(self.splitter_4) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self.gridLayout_14 = QtGui.QGridLayout(self.grpInspections) self.gridLayout_14.setMargin(2) self.gridLayout_14.setSpacing(2) self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14")) self.tblFinalDiagnostics = CDiagnosticsInDocTableView( self.grpInspections) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblFinalDiagnostics.sizePolicy().hasHeightForWidth()) self.tblFinalDiagnostics.setSizePolicy(sizePolicy) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self.gridLayout_14.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1) self.verticalLayout.addWidget(self.splitter_3) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabAmbCard = CAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabNotes = CEventNotesPageProtocol() self.tabNotes.setMaximumSize(QtCore.QSize(838, 16777215)) self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout_2.addWidget(self.sptTopLevel) self.widget = QtGui.QWidget(Dialog) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout = QtGui.QHBoxLayout(self.widget) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblProlongateEvent = QtGui.QLabel(self.widget) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(self.widget) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout.addWidget(self.lblValueExternalId) self.buttonBox = QtGui.QDialogButtonBox(self.widget) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.verticalLayout_2.addWidget(self.widget) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_2.addWidget(self.statusBar) self.lblPersonMedicineHead.setBuddy(self.cmbPersonMedicineHead) self.lblPatientModel.setBuddy(self.cmbPatientModel) self.lblBegDate.setBuddy(self.edtBegDate) self.lblPerson.setBuddy(self.cmbEventCurator) self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg) self.lblPersonCurator.setBuddy(self.cmbPerson) self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant) self.lblOrder.setBuddy(self.cmbOrder) self.lblCureType.setBuddy(self.cmbCureType) self.lblCureMethod.setBuddy(self.cmbCureMethod) self.lblResult.setBuddy(self.cmbResult) self.lblEndDate.setBuddy(self.edtEndDate) self.lblPersonManager.setBuddy(self.cmbPersonManager) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbRelegateOrg) Dialog.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg) Dialog.setTabOrder(self.btnSelectRelegateOrg, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.cmbEventExternalIdValue) Dialog.setTabOrder(self.cmbEventExternalIdValue, self.chkPrimary) Dialog.setTabOrder(self.chkPrimary, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.cmbQuota) Dialog.setTabOrder(self.cmbQuota, self.cmbPatientModel) Dialog.setTabOrder(self.cmbPatientModel, self.cmbCureType) Dialog.setTabOrder(self.cmbCureType, self.cmbCureMethod) Dialog.setTabOrder(self.cmbCureMethod, self.cmbEventCurator) Dialog.setTabOrder(self.cmbEventCurator, self.cmbPersonMedicineHead) Dialog.setTabOrder(self.cmbPersonMedicineHead, self.cmbPersonManager) Dialog.setTabOrder(self.cmbPersonManager, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.cmbEventAssistant) Dialog.setTabOrder(self.cmbEventAssistant, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.tblActionProperties) Dialog.setTabOrder(self.tblActionProperties, self.tblPreliminaryDiagnostics) Dialog.setTabOrder(self.tblPreliminaryDiagnostics, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "Dialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle( _translate("Dialog", "Протокол по ВМП/ВМП из ОМС", None)) self.cmbPersonMedicineHead.setWhatsThis( _translate("Dialog", "назначивший действие \"протокол\"", None)) self.cmbPersonMedicineHead.setItemText( 0, _translate("Dialog", "Врач", None)) self.lblPersonMedicineHead.setText( _translate("Dialog", "Зам.гл.вр. по мед части", None)) self.edtEndDate.setWhatsThis( _translate("Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None)) self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None)) self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение", None)) self.cmbOrder.setItemText(4, _translate("Dialog", "Принудительный", None)) self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None)) self.cmbResult.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None)) self.lblEventId.setText(_translate("Dialog", "Тип", None)) self.lblPatientModel.setText( _translate("Dialog", "Модель пациента", None)) self.edtBegDate.setWhatsThis( _translate("Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.lblBegDate.setText(_translate("Dialog", "Открыт", None)) self.chkZNOMorph.setToolTip( _translate("Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText( _translate("Dialog", "ЗНО подтв. морф-ки", None)) self.lblPerson.setText(_translate("Dialog", "Председатель", None)) self.lblRelegateOrg.setText(_translate("Dialog", "Направитель", None)) self.lblPersonCurator.setText( _translate("Dialog", "Лечащий врач", None)) self.chkZNOFirst.setToolTip( _translate("Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.lblEventAssistantIdValue.setText( _translate("Dialog", "Зам.гл.врача по КЭР", None)) self.lblOrder.setText(_translate("Dialog", "П&орядок", None)) self.lblCureType.setText(_translate("Dialog", "Вид лечения", None)) self.lblCureMethod.setText(_translate("Dialog", "Метод лечения", None)) self.lblResult.setText(_translate("Dialog", "Результат", None)) self.btnSelectRelegateOrg.setText(_translate("Dialog", "...", None)) self.chkExposeConfirmed.setText( _translate("Dialog", "Добавить к выставлению", None)) self.cmbPersonManager.setWhatsThis( _translate("Dialog", "ответственный за Действие \"протокол\"", None)) self.cmbPersonManager.setItemText(0, _translate("Dialog", "Врач", None)) self.lblEndDate.setText(_translate("Dialog", "Закрыт", None)) self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None)) self.label_2.setText(_translate("Dialog", "Квота", None)) self.cmbEventAssistant.setWhatsThis( _translate("Dialog", "ассистент События", None)) self.lblPersonManager.setText(_translate("Dialog", "Зав.отд.", None)) self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None)) self.cmbEventExternalIdValue.setItemText( 0, _translate("Dialog", "КС", None)) self.cmbEventExternalIdValue.setItemText( 1, _translate("Dialog", "ДС", None)) self.grpActions.setTitle(_translate("Dialog", "Протокол", None)) self.grpInspections_2.setTitle( _translate("Dialog", "&Предварительный диагноз", None)) self.grpInspections.setTitle( _translate("Dialog", "&Заключительный диагноз", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Протокол", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard), _translate("Dialog", "Мед.&карта", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(1084, 571) Dialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setTabPosition(QtGui.QTabWidget.North) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.gridLayout_4 = QtGui.QGridLayout(self.tabToken) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry( QtCore.QRect(0, -661, 1036, 1187)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_8 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_8.setMargin(0) self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8")) self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setOpaqueResize(True) self.splitter_3.setChildrenCollapsible(False) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_3) self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame) self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised) self.frameBaseAndDiagnosises.setObjectName( _fromUtf8("frameBaseAndDiagnosises")) self.horizontalLayout_6 = QtGui.QHBoxLayout( self.frameBaseAndDiagnosises) self.horizontalLayout_6.setMargin(0) self.horizontalLayout_6.setSpacing(4) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpBase.sizePolicy().hasHeightForWidth()) self.grpBase.setSizePolicy(sizePolicy) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_6 = QtGui.QGridLayout(self.grpBase) self.gridLayout_6.setMargin(4) self.gridLayout_6.setSpacing(4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.gridLayoutCsg = QtGui.QGridLayout() self.gridLayoutCsg.setObjectName(_fromUtf8("gridLayoutCsg")) self.gridLayout_6.addLayout(self.gridLayoutCsg, 28, 0, 1, 2) self.frame_4 = QtGui.QFrame(self.grpBase) self.frame_4.setFrameShape(QtGui.QFrame.NoFrame) self.frame_4.setFrameShadow(QtGui.QFrame.Plain) self.frame_4.setLineWidth(0) self.frame_4.setObjectName(_fromUtf8("frame_4")) self.horizontalLayout_8 = QtGui.QHBoxLayout(self.frame_4) self.horizontalLayout_8.setMargin(0) self.horizontalLayout_8.setSpacing(4) self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.edtBegDate = CDateEdit(self.frame_4) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_8.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frame_4) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setCalendarPopup(False) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_8.addWidget(self.edtBegTime) self.gridLayout_6.addWidget(self.frame_4, 4, 1, 1, 1) self.gbLittleStrangerFlag = QtGui.QGroupBox(self.grpBase) self.gbLittleStrangerFlag.setCheckable(True) self.gbLittleStrangerFlag.setChecked(False) self.gbLittleStrangerFlag.setObjectName( _fromUtf8("gbLittleStrangerFlag")) self.gridLayout_7 = QtGui.QGridLayout(self.gbLittleStrangerFlag) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.lblChildNumber = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildNumber.setObjectName(_fromUtf8("lblChildNumber")) self.gridLayout_7.addWidget(self.lblChildNumber, 0, 0, 1, 1) self.lblChildBirthDate = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildBirthDate.setObjectName(_fromUtf8("lblChildBirthDate")) self.gridLayout_7.addWidget(self.lblChildBirthDate, 1, 0, 1, 1) self.lblChildSex = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildSex.setObjectName(_fromUtf8("lblChildSex")) self.gridLayout_7.addWidget(self.lblChildSex, 0, 2, 1, 1) self.chkMultipleBirths = QtGui.QCheckBox(self.gbLittleStrangerFlag) self.chkMultipleBirths.setObjectName(_fromUtf8("chkMultipleBirths")) self.gridLayout_7.addWidget(self.chkMultipleBirths, 3, 0, 1, 4) self.edtChildBirthDate = CDateEdit(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtChildBirthDate.sizePolicy().hasHeightForWidth()) self.edtChildBirthDate.setSizePolicy(sizePolicy) self.edtChildBirthDate.setCalendarPopup(True) self.edtChildBirthDate.setObjectName(_fromUtf8("edtChildBirthDate")) self.gridLayout_7.addWidget(self.edtChildBirthDate, 1, 2, 1, 2) self.sbChildNumber = QtGui.QSpinBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.sbChildNumber.sizePolicy().hasHeightForWidth()) self.sbChildNumber.setSizePolicy(sizePolicy) self.sbChildNumber.setMinimum(1) self.sbChildNumber.setObjectName(_fromUtf8("sbChildNumber")) self.gridLayout_7.addWidget(self.sbChildNumber, 0, 1, 1, 1) self.cmbChildSex = QtGui.QComboBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbChildSex.sizePolicy().hasHeightForWidth()) self.cmbChildSex.setSizePolicy(sizePolicy) self.cmbChildSex.setObjectName(_fromUtf8("cmbChildSex")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.setItemText(0, _fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.gridLayout_7.addWidget(self.cmbChildSex, 0, 3, 1, 1) self.sbBirthWeight = QtGui.QDoubleSpinBox(self.gbLittleStrangerFlag) self.sbBirthWeight.setMaximum(9999.99) self.sbBirthWeight.setObjectName(_fromUtf8("sbBirthWeight")) self.gridLayout_7.addWidget(self.sbBirthWeight, 2, 2, 1, 2) self.lblBirthWeight = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblBirthWeight.setObjectName(_fromUtf8("lblBirthWeight")) self.gridLayout_7.addWidget(self.lblBirthWeight, 2, 0, 1, 2) self.gridLayout_6.addWidget(self.gbLittleStrangerFlag, 15, 0, 1, 2) self.edtCycleDay = QtGui.QSpinBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtCycleDay.sizePolicy().hasHeightForWidth()) self.edtCycleDay.setSizePolicy(sizePolicy) self.edtCycleDay.setMinimumSize(QtCore.QSize(0, 0)) self.edtCycleDay.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.edtCycleDay.setObjectName(_fromUtf8("edtCycleDay")) self.gridLayout_6.addWidget(self.edtCycleDay, 14, 1, 1, 1) self.frDurAberr = QtGui.QFrame(self.grpBase) self.frDurAberr.setFrameShape(QtGui.QFrame.NoFrame) self.frDurAberr.setFrameShadow(QtGui.QFrame.Plain) self.frDurAberr.setLineWidth(0) self.frDurAberr.setObjectName(_fromUtf8("frDurAberr")) self.horizontalLayout_7 = QtGui.QHBoxLayout(self.frDurAberr) self.horizontalLayout_7.setMargin(0) self.horizontalLayout_7.setSpacing(5) self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.lblDurationAberration = QtGui.QLabel(self.frDurAberr) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDurationAberration.sizePolicy().hasHeightForWidth()) self.lblDurationAberration.setSizePolicy(sizePolicy) self.lblDurationAberration.setObjectName( _fromUtf8("lblDurationAberration")) self.horizontalLayout_7.addWidget(self.lblDurationAberration) self.lblDurationValueAberration = QtGui.QLabel(self.frDurAberr) self.lblDurationValueAberration.setFrameShape(QtGui.QFrame.StyledPanel) self.lblDurationValueAberration.setFrameShadow(QtGui.QFrame.Sunken) self.lblDurationValueAberration.setObjectName( _fromUtf8("lblDurationValueAberration")) self.horizontalLayout_7.addWidget(self.lblDurationValueAberration) self.gridLayout_6.addWidget(self.frDurAberr, 7, 0, 1, 2) self.frame_5 = QtGui.QFrame(self.grpBase) self.frame_5.setFrameShape(QtGui.QFrame.NoFrame) self.frame_5.setFrameShadow(QtGui.QFrame.Plain) self.frame_5.setLineWidth(0) self.frame_5.setObjectName(_fromUtf8("frame_5")) self.horizontalLayout_9 = QtGui.QHBoxLayout(self.frame_5) self.horizontalLayout_9.setMargin(0) self.horizontalLayout_9.setSpacing(4) self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9")) self.edtEndDate = CDateEdit(self.frame_5) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_9.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frame_5) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setCalendarPopup(False) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_9.addWidget(self.edtEndTime) self.gridLayout_6.addWidget(self.frame_5, 5, 1, 1, 1) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_6.addWidget(self.chkIsClosed, 1, 0, 1, 2) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_6.addWidget(self.chkZNOMorph, 25, 0, 1, 2) self.cmbPrimary = QtGui.QComboBox(self.grpBase) self.cmbPrimary.setObjectName(_fromUtf8("cmbPrimary")) self.cmbPrimary.addItem(_fromUtf8("")) self.cmbPrimary.addItem(_fromUtf8("")) self.cmbPrimary.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbPrimary, 11, 0, 1, 2) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbContract, 0, 0, 1, 2) self.lblPregnancyWeek = QtGui.QLabel(self.grpBase) self.lblPregnancyWeek.setObjectName(_fromUtf8("lblPregnancyWeek")) self.gridLayout_6.addWidget(self.lblPregnancyWeek, 13, 0, 1, 1) self.cmbHMPMethod = CRBComboBox(self.grpBase) self.cmbHMPMethod.setObjectName(_fromUtf8("cmbHMPMethod")) self.gridLayout_6.addWidget(self.cmbHMPMethod, 21, 1, 1, 1) self.lblCycleDay = QtGui.QLabel(self.grpBase) self.lblCycleDay.setObjectName(_fromUtf8("lblCycleDay")) self.gridLayout_6.addWidget(self.lblCycleDay, 14, 0, 1, 1) self.lblPerson = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPerson.sizePolicy().hasHeightForWidth()) self.lblPerson.setSizePolicy(sizePolicy) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_6.addWidget(self.lblPerson, 8, 0, 1, 2) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDate.sizePolicy().hasHeightForWidth()) self.lblEndDate.setSizePolicy(sizePolicy) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_6.addWidget(self.lblEndDate, 5, 0, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_6.addWidget(self.chkExposeConfirmed, 2, 0, 1, 2) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbResult, 17, 0, 1, 2) self.cmbHMPKind = CRBComboBox(self.grpBase) self.cmbHMPKind.setObjectName(_fromUtf8("cmbHMPKind")) self.gridLayout_6.addWidget(self.cmbHMPKind, 20, 1, 1, 1) self.edtPregnancyWeek = QtGui.QSpinBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtPregnancyWeek.sizePolicy().hasHeightForWidth()) self.edtPregnancyWeek.setSizePolicy(sizePolicy) self.edtPregnancyWeek.setMaximum(40) self.edtPregnancyWeek.setObjectName(_fromUtf8("edtPregnancyWeek")) self.gridLayout_6.addWidget(self.edtPregnancyWeek, 13, 1, 1, 1) self.chkPrimary = QtGui.QCheckBox(self.grpBase) self.chkPrimary.setObjectName(_fromUtf8("chkPrimary")) self.gridLayout_6.addWidget(self.chkPrimary, 10, 0, 1, 1) self.cmbOrder = CRBComboBox(self.grpBase) self.cmbOrder.setObjectName(_fromUtf8("cmbOrder")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.setItemText(0, _fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbOrder, 12, 0, 1, 2) self.chkHospParent = QtGui.QCheckBox(self.grpBase) self.chkHospParent.setObjectName(_fromUtf8("chkHospParent")) self.gridLayout_6.addWidget(self.chkHospParent, 3, 0, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_6.addItem(spacerItem, 27, 0, 1, 2) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_6.addWidget(self.cmbGoal, 18, 1, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbPerson, 9, 0, 1, 2) self.lblHMPKind = QtGui.QLabel(self.grpBase) self.lblHMPKind.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblHMPKind.setObjectName(_fromUtf8("lblHMPKind")) self.gridLayout_6.addWidget(self.lblHMPKind, 20, 0, 1, 1) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_6.addWidget(self.chkZNOFirst, 22, 0, 1, 2) self.cmbIBLocation = CRBComboBox(self.grpBase) self.cmbIBLocation.setObjectName(_fromUtf8("cmbIBLocation")) self.gridLayout_6.addWidget(self.cmbIBLocation, 19, 1, 1, 1) self.lblResult = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblResult.sizePolicy().hasHeightForWidth()) self.lblResult.setSizePolicy(sizePolicy) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_6.addWidget(self.lblResult, 16, 0, 1, 2) self.lblOrder = QtGui.QLabel(self.grpBase) self.lblOrder.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self.gridLayout_6.addWidget(self.lblOrder, 10, 1, 1, 1) self.lblIBLocation = QtGui.QLabel(self.grpBase) self.lblIBLocation.setObjectName(_fromUtf8("lblIBLocation")) self.gridLayout_6.addWidget(self.lblIBLocation, 19, 0, 1, 1) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_6.addWidget(self.lblGoal, 18, 0, 1, 1) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDate.sizePolicy().hasHeightForWidth()) self.lblBegDate.setSizePolicy(sizePolicy) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_6.addWidget(self.lblBegDate, 4, 0, 1, 1) self.lblDurationValue = QtGui.QLabel(self.grpBase) self.lblDurationValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblDurationValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblDurationValue.setObjectName(_fromUtf8("lblDurationValue")) self.gridLayout_6.addWidget(self.lblDurationValue, 6, 1, 1, 1) self.lblDuration = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDuration.sizePolicy().hasHeightForWidth()) self.lblDuration.setSizePolicy(sizePolicy) self.lblDuration.setObjectName(_fromUtf8("lblDuration")) self.gridLayout_6.addWidget(self.lblDuration, 6, 0, 1, 1) self.lblHMPMethod = QtGui.QLabel(self.grpBase) self.lblHMPMethod.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblHMPMethod.setObjectName(_fromUtf8("lblHMPMethod")) self.gridLayout_6.addWidget(self.lblHMPMethod, 21, 0, 1, 1) self.horizontalLayout_6.addWidget(self.grpBase) self.splitter_4 = QtGui.QSplitter(self.frameBaseAndDiagnosises) self.splitter_4.setFrameShape(QtGui.QFrame.NoFrame) self.splitter_4.setFrameShadow(QtGui.QFrame.Plain) self.splitter_4.setLineWidth(0) self.splitter_4.setOrientation(QtCore.Qt.Vertical) self.splitter_4.setChildrenCollapsible(False) self.splitter_4.setObjectName(_fromUtf8("splitter_4")) self.grpInspections_3 = QtGui.QGroupBox(self.splitter_4) self.grpInspections_3.setObjectName(_fromUtf8("grpInspections_3")) self._5 = QtGui.QVBoxLayout(self.grpInspections_3) self._5.setMargin(4) self._5.setSpacing(4) self._5.setObjectName(_fromUtf8("_5")) self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView( self.grpInspections_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblPreliminaryDiagnostics.sizePolicy().hasHeightForWidth()) self.tblPreliminaryDiagnostics.setSizePolicy(sizePolicy) self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblPreliminaryDiagnostics.setObjectName( _fromUtf8("tblPreliminaryDiagnostics")) self._5.addWidget(self.tblPreliminaryDiagnostics) self.grpInspections_4 = QtGui.QGroupBox(self.splitter_4) self.grpInspections_4.setObjectName(_fromUtf8("grpInspections_4")) self._6 = QtGui.QVBoxLayout(self.grpInspections_4) self._6.setMargin(4) self._6.setSpacing(4) self._6.setObjectName(_fromUtf8("_6")) self.tblFinalDiagnostics = CDiagnosticsInDocTableView( self.grpInspections_4) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblFinalDiagnostics.sizePolicy().hasHeightForWidth()) self.tblFinalDiagnostics.setSizePolicy(sizePolicy) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self._6.addWidget(self.tblFinalDiagnostics) self.horizontalLayout_6.addWidget(self.splitter_4) self.frame_6 = QtGui.QFrame(self.splitter_3) self.frame_6.setFrameShape(QtGui.QFrame.NoFrame) self.frame_6.setFrameShadow(QtGui.QFrame.Plain) self.frame_6.setObjectName(_fromUtf8("frame_6")) self.verticalLayout = QtGui.QVBoxLayout(self.frame_6) self.verticalLayout.setMargin(0) self.verticalLayout.setSpacing(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.grpActions = QtGui.QGroupBox(self.frame_6) self.grpActions.setObjectName(_fromUtf8("grpActions")) self._7 = QtGui.QGridLayout(self.grpActions) self._7.setMargin(4) self._7.setSpacing(4) self._7.setObjectName(_fromUtf8("_7")) self.tblActions = CInDocTableView(self.grpActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(20) sizePolicy.setHeightForWidth( self.tblActions.sizePolicy().hasHeightForWidth()) self.tblActions.setSizePolicy(sizePolicy) self.tblActions.setMinimumSize(QtCore.QSize(0, 200)) self.tblActions.setObjectName(_fromUtf8("tblActions")) self._7.addWidget(self.tblActions, 0, 0, 1, 1) self.verticalLayout.addWidget(self.grpActions) self.verticalLayout_8.addWidget(self.splitter_3) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabMes = CFastEventMesPage() self.tabMes.setObjectName(_fromUtf8("tabMes")) self.tabWidget.addTab(self.tabMes, _fromUtf8("")) self.tabStatus = CFastActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CFastActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabCure = CFastActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CFastActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabAnalyses = CFastAnalysesActionsPage() self.tabAnalyses.setObjectName(_fromUtf8("tabAnalyses")) self.tabWidget.addTab(self.tabAnalyses, _fromUtf8("")) self.tabAmbCard = CFastAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabTempInvalidEtc = QtGui.QWidget() self.tabTempInvalidEtc.setObjectName(_fromUtf8("tabTempInvalidEtc")) self.gridLayout_8 = QtGui.QGridLayout(self.tabTempInvalidEtc) self.gridLayout_8.setMargin(4) self.gridLayout_8.setSpacing(4) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.scrollArea1 = QtGui.QScrollArea(self.tabTempInvalidEtc) self.scrollArea1.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea1.setWidgetResizable(True) self.scrollArea1.setObjectName(_fromUtf8("scrollArea1")) self.scrollAreaWidgetContents1 = QtGui.QWidget() self.scrollAreaWidgetContents1.setGeometry( QtCore.QRect(0, 0, 1056, 314)) self.scrollAreaWidgetContents1.setObjectName( _fromUtf8("scrollAreaWidgetContents1")) self.verticalLayout_9 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents1) self.verticalLayout_9.setMargin(0) self.verticalLayout_9.setObjectName(_fromUtf8("verticalLayout_9")) self.tabTempInvalidAndAegrotat = QtGui.QTabWidget( self.scrollAreaWidgetContents1) self.tabTempInvalidAndAegrotat.setObjectName( _fromUtf8("tabTempInvalidAndAegrotat")) self.tabTempInvalid = QtGui.QWidget() self.tabTempInvalid.setObjectName(_fromUtf8("tabTempInvalid")) self.gridLayout_3 = QtGui.QGridLayout(self.tabTempInvalid) self.gridLayout_3.setMargin(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.grpTempInvalid = CTempInvalid(self.tabTempInvalid) self.grpTempInvalid.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpTempInvalid.sizePolicy().hasHeightForWidth()) self.grpTempInvalid.setSizePolicy(sizePolicy) self.grpTempInvalid.setCheckable(True) self.grpTempInvalid.setChecked(False) self.grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid")) self.gridLayout_3.addWidget(self.grpTempInvalid, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid, _fromUtf8("")) self.tabTempInvalidS = QtGui.QWidget() self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS")) self.gridLayout = QtGui.QGridLayout(self.tabTempInvalidS) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.grpDisability = CTempInvalid(self.tabTempInvalidS) self.grpDisability.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpDisability.sizePolicy().hasHeightForWidth()) self.grpDisability.setSizePolicy(sizePolicy) self.grpDisability.setCheckable(True) self.grpDisability.setChecked(False) self.grpDisability.setObjectName(_fromUtf8("grpDisability")) self.gridLayout.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS, _fromUtf8("")) self.tabTempInvalidDisability = QtGui.QWidget() self.tabTempInvalidDisability.setObjectName( _fromUtf8("tabTempInvalidDisability")) self.gridLayout_2 = QtGui.QGridLayout(self.tabTempInvalidDisability) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.grpVitalRestriction = CTempInvalid(self.tabTempInvalidDisability) self.grpVitalRestriction.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpVitalRestriction.sizePolicy().hasHeightForWidth()) self.grpVitalRestriction.setSizePolicy(sizePolicy) self.grpVitalRestriction.setCheckable(True) self.grpVitalRestriction.setChecked(False) self.grpVitalRestriction.setObjectName( _fromUtf8("grpVitalRestriction")) self.gridLayout_2.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability, _fromUtf8("")) self.verticalLayout_9.addWidget(self.tabTempInvalidAndAegrotat) self.scrollArea1.setWidget(self.scrollAreaWidgetContents1) self.gridLayout_8.addWidget(self.scrollArea1, 0, 0, 1, 1) self.tabWidget.addTab(self.tabTempInvalidEtc, _fromUtf8("")) self.tabFeed = CFastEventFeedPage() self.tabFeed.setObjectName(_fromUtf8("tabFeed")) self.tabWidget.addTab(self.tabFeed, _fromUtf8("")) self.tabCash = CFastEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabNotes = CFastEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout_2.addWidget(self.sptTopLevel) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblProlongateEvent = QtGui.QLabel(Dialog) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_4.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(Dialog) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_4.addWidget(self.lblValueExternalId) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_4.addWidget(self.buttonBox) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_2.addWidget(self.statusBar) self.lblChildNumber.setBuddy(self.sbChildNumber) self.lblChildBirthDate.setBuddy(self.edtChildBirthDate) self.lblChildSex.setBuddy(self.cmbChildSex) self.lblBirthWeight.setBuddy(self.sbBirthWeight) self.lblPregnancyWeek.setBuddy(self.edtPregnancyWeek) self.lblPerson.setBuddy(self.cmbPerson) self.lblEndDate.setBuddy(self.edtEndDate) self.lblHMPKind.setBuddy(self.cmbResult) self.lblResult.setBuddy(self.cmbResult) self.lblOrder.setBuddy(self.cmbOrder) self.lblIBLocation.setBuddy(self.cmbIBLocation) self.lblGoal.setBuddy(self.cmbGoal) self.lblBegDate.setBuddy(self.edtBegDate) self.lblHMPMethod.setBuddy(self.cmbResult) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) self.tabTempInvalidAndAegrotat.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.cmbContract) Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.chkHospParent) Dialog.setTabOrder(self.chkHospParent, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.chkPrimary) Dialog.setTabOrder(self.chkPrimary, self.cmbPrimary) Dialog.setTabOrder(self.cmbPrimary, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.edtPregnancyWeek) Dialog.setTabOrder(self.edtPregnancyWeek, self.edtCycleDay) Dialog.setTabOrder(self.edtCycleDay, self.gbLittleStrangerFlag) Dialog.setTabOrder(self.gbLittleStrangerFlag, self.sbChildNumber) Dialog.setTabOrder(self.sbChildNumber, self.cmbChildSex) Dialog.setTabOrder(self.cmbChildSex, self.edtChildBirthDate) Dialog.setTabOrder(self.edtChildBirthDate, self.sbBirthWeight) Dialog.setTabOrder(self.sbBirthWeight, self.chkMultipleBirths) Dialog.setTabOrder(self.chkMultipleBirths, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.cmbIBLocation) Dialog.setTabOrder(self.cmbIBLocation, self.cmbHMPKind) Dialog.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod) Dialog.setTabOrder(self.cmbHMPMethod, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.tblPreliminaryDiagnostics) Dialog.setTabOrder(self.tblPreliminaryDiagnostics, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblActions) Dialog.setTabOrder(self.tblActions, self.buttonBox) Dialog.setTabOrder(self.buttonBox, self.tabTempInvalidAndAegrotat) Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.grpTempInvalid) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "Dialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle(_translate("Dialog", "&ф.003", None)) self.edtBegDate.setWhatsThis( _translate("Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.gbLittleStrangerFlag.setTitle( _translate("Dialog", "Признак новорожденного", None)) self.lblChildNumber.setText( _translate("Dialog", "По счету в семье", None)) self.lblChildBirthDate.setText( _translate("Dialog", "Дата рождения", None)) self.lblChildSex.setText(_translate("Dialog", "Пол", None)) self.chkMultipleBirths.setText( _translate("Dialog", "Многоплодные роды", None)) self.cmbChildSex.setItemText(1, _translate("Dialog", "М", None)) self.cmbChildSex.setItemText(2, _translate("Dialog", "Ж", None)) self.lblBirthWeight.setText( _translate("Dialog", "Вес при рождении", None)) self.lblDurationAberration.setText( _translate("Dialog", "Норма по МЭС/отклонение", None)) self.lblDurationValueAberration.setText(_translate( "Dialog", "-", None)) self.edtEndDate.setWhatsThis( _translate("Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None)) self.chkZNOMorph.setToolTip( _translate("Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText( _translate("Dialog", "ЗНО подтв. морф-ки", None)) self.cmbPrimary.setItemText(0, _translate("Dialog", "Первичный", None)) self.cmbPrimary.setItemText(1, _translate("Dialog", "Повторный", None)) self.cmbPrimary.setItemText(2, _translate("Dialog", "Актив", None)) self.cmbContract.setWhatsThis( _translate( "Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None)) self.lblPregnancyWeek.setText( _translate("Dialog", "Неделя беременности", None)) self.cmbHMPMethod.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.lblCycleDay.setText(_translate("Dialog", "День цикла", None)) self.lblPerson.setText(_translate("Dialog", "Лечащий врач", None)) self.lblEndDate.setText(_translate("Dialog", "Выбытие", None)) self.chkExposeConfirmed.setText( _translate("Dialog", "Добавить к выставлению", None)) self.cmbResult.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None)) self.cmbHMPKind.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None)) self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None)) self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None)) self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение", None)) self.cmbOrder.setItemText(4, _translate("Dialog", "Принудительный", None)) self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None)) self.chkHospParent.setText( _translate("Dialog", "Госпитализация с родителем/представителем", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.lblHMPKind.setText(_translate("Dialog", "Вид ВМП", None)) self.chkZNOFirst.setToolTip( _translate("Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None)) self.lblResult.setText(_translate("Dialog", "Результат", None)) self.lblOrder.setText(_translate("Dialog", "П&орядок", None)) self.lblIBLocation.setText( _translate("Dialog", "Местонахождение и/б", None)) self.lblGoal.setText(_translate("Dialog", "Цель", None)) self.lblBegDate.setText(_translate("Dialog", "Поступление", None)) self.lblDurationValue.setText(_translate("Dialog", "-", None)) self.lblDuration.setText(_translate("Dialog", "Длительность", None)) self.lblHMPMethod.setText(_translate("Dialog", "Метод ВМП", None)) self.grpInspections_3.setTitle( _translate("Dialog", "&Предварительный диагноз", None)) self.grpInspections_4.setTitle( _translate("Dialog", "&Заключительный диагноз", None)) self.grpActions.setTitle(_translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Стат.&учёт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMes), _translate("Dialog", "Стандарт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("Dialog", "&Статус", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagnostic), _translate("Dialog", "&Диагностика", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCure), _translate("Dialog", "&Лечение", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAnalyses), _translate("Dialog", "&Анализы", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard), _translate("Dialog", "Мед.&карта", None)) self.grpTempInvalid.setTitle(_translate("Dialog", "&ВУТ", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalid), _translate("Dialog", "Листок &нетрудоспособности", None)) self.grpDisability.setTitle(_translate("Dialog", "&Инвалидность", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalidS), _translate("Dialog", "Инвалидность", None)) self.grpVitalRestriction.setTitle( _translate("Dialog", "&Ограничения жизнедеятельности", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf( self.tabTempInvalidDisability), _translate("Dialog", "Ограничения жизнедеятельности", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabTempInvalidEtc), _translate("Dialog", "Т&рудоспособность", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabFeed), _translate("Dialog", "Питание", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("Dialog", "Оплата", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(931, 570) Dialog.setSizeGripEnabled(True) self.verticalLayout = QtGui.QVBoxLayout(Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName(_fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setTabPosition(QtGui.QTabWidget.North) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabToken) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 879, 901)) self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_5.setMargin(0) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.horizontalWidget = QtGui.QWidget(self.splitter) self.horizontalWidget.setObjectName(_fromUtf8("horizontalWidget")) self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalWidget) self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.grpBase = QtGui.QGroupBox(self.horizontalWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpBase.sizePolicy().hasHeightForWidth()) self.grpBase.setSizePolicy(sizePolicy) self.grpBase.setObjectName(_fromUtf8("grpBase")) self._2 = QtGui.QGridLayout(self.grpBase) self._2.setMargin(4) self._2.setSpacing(4) self._2.setObjectName(_fromUtf8("_2")) self.frmBegDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frmBegDateTime.sizePolicy().hasHeightForWidth()) self.frmBegDateTime.setSizePolicy(sizePolicy) self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmBegDateTime.setLineWidth(0) self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime")) self.horizontalLayout = QtGui.QHBoxLayout(self.frmBegDateTime) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.edtBegDate = CDateEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout.addWidget(self.edtBegTime) self._2.addWidget(self.frmBegDateTime, 3, 1, 1, 2) self.frmEndDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frmEndDateTime.sizePolicy().hasHeightForWidth()) self.frmEndDateTime.setSizePolicy(sizePolicy) self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmEndDateTime.setLineWidth(0) self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.edtEndDate = CDateEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_2.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_2.addWidget(self.edtEndTime) self._2.addWidget(self.frmEndDateTime, 4, 1, 1, 2) self.label_12 = QtGui.QLabel(self.grpBase) self.label_12.setObjectName(_fromUtf8("label_12")) self._2.addWidget(self.label_12, 3, 0, 1, 1) spacerItem = QtGui.QSpacerItem(80, 81, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self._2.addItem(spacerItem, 11, 0, 1, 3) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self._2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self._2.addWidget(self.cmbContract, 0, 0, 1, 3) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.cmbResult.setItemText(0, _fromUtf8("")) self.cmbResult.addItem(_fromUtf8("")) self.cmbResult.addItem(_fromUtf8("")) self.cmbResult.addItem(_fromUtf8("")) self.cmbResult.addItem(_fromUtf8("")) self._2.addWidget(self.cmbResult, 7, 0, 1, 3) self.chkAutopsy = QtGui.QCheckBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkAutopsy.sizePolicy().hasHeightForWidth()) self.chkAutopsy.setSizePolicy(sizePolicy) self.chkAutopsy.setObjectName(_fromUtf8("chkAutopsy")) self._2.addWidget(self.chkAutopsy, 5, 0, 1, 3) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self._2.addWidget(self.chkZNOFirst, 8, 0, 1, 3) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self._2.addWidget(self.chkZNOMorph, 10, 0, 1, 3) self.label_11 = QtGui.QLabel(self.grpBase) self.label_11.setObjectName(_fromUtf8("label_11")) self._2.addWidget(self.label_11, 4, 0, 1, 1) self.lblOrder = QtGui.QLabel(self.grpBase) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self._2.addWidget(self.lblOrder, 6, 0, 1, 3) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self._2.addWidget(self.chkIsClosed, 1, 0, 1, 3) self.horizontalLayout_3.addWidget(self.grpBase) self.grpExtra = QtGui.QGroupBox(self.horizontalWidget) self.grpExtra.setObjectName(_fromUtf8("grpExtra")) self._3 = QtGui.QGridLayout(self.grpExtra) self._3.setMargin(4) self._3.setSpacing(4) self._3.setObjectName(_fromUtf8("_3")) self.lblOrg = QtGui.QLabel(self.grpExtra) self.lblOrg.setObjectName(_fromUtf8("lblOrg")) self._3.addWidget(self.lblOrg, 0, 0, 1, 1) self.cmbOrg = CPolyclinicComboBox(self.grpExtra) self.cmbOrg.setObjectName(_fromUtf8("cmbOrg")) self._3.addWidget(self.cmbOrg, 0, 1, 1, 2) self.btnSelectOrganisation = QtGui.QToolButton(self.grpExtra) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSelectOrganisation.sizePolicy().hasHeightForWidth()) self.btnSelectOrganisation.setSizePolicy(sizePolicy) self.btnSelectOrganisation.setObjectName(_fromUtf8("btnSelectOrganisation")) self._3.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1) self.lblPerson = QtGui.QLabel(self.grpExtra) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self._3.addWidget(self.lblPerson, 1, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grpExtra) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self._3.addWidget(self.cmbPerson, 1, 1, 1, 3) self.lblNumber = QtGui.QLabel(self.grpExtra) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self._3.addWidget(self.lblNumber, 2, 0, 1, 1) self.edtNumber = QtGui.QLineEdit(self.grpExtra) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self._3.addWidget(self.edtNumber, 2, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self._3.addItem(spacerItem1, 2, 2, 1, 2) self.lblPerson2 = QtGui.QLabel(self.grpExtra) self.lblPerson2.setObjectName(_fromUtf8("lblPerson2")) self._3.addWidget(self.lblPerson2, 3, 0, 1, 1) self.cmbPerson2 = CPersonComboBoxEx(self.grpExtra) self.cmbPerson2.setObjectName(_fromUtf8("cmbPerson2")) self.cmbPerson2.addItem(_fromUtf8("")) self._3.addWidget(self.cmbPerson2, 3, 1, 1, 3) self.lblNotes = QtGui.QLabel(self.grpExtra) self.lblNotes.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblNotes.setObjectName(_fromUtf8("lblNotes")) self._3.addWidget(self.lblNotes, 4, 0, 1, 1) self.edtNote = QtGui.QTextEdit(self.grpExtra) self.edtNote.setObjectName(_fromUtf8("edtNote")) self._3.addWidget(self.edtNote, 4, 1, 2, 3) spacerItem2 = QtGui.QSpacerItem(81, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self._3.addItem(spacerItem2, 5, 0, 1, 1) self.horizontalLayout_3.addWidget(self.grpExtra) self.grpPreliminary = QtGui.QGroupBox(self.splitter) self.grpPreliminary.setObjectName(_fromUtf8("grpPreliminary")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.grpPreliminary) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(self.grpPreliminary) self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblPreliminaryDiagnostics.setObjectName(_fromUtf8("tblPreliminaryDiagnostics")) self.verticalLayout_3.addWidget(self.tblPreliminaryDiagnostics) self.grpFinal = QtGui.QGroupBox(self.splitter) self.grpFinal.setObjectName(_fromUtf8("grpFinal")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.grpFinal) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.tblFinalDiagnostics = CDiagnosticsInDocTableView(self.grpFinal) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName(_fromUtf8("tblFinalDiagnostics")) self.verticalLayout_4.addWidget(self.tblFinalDiagnostics) self.verticalLayout_5.addWidget(self.splitter) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_2.addWidget(self.scrollArea) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabStatus = CActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabMisc = CActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabCash = CEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabNotes = CEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout.addWidget(self.sptTopLevel) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout.addWidget(self.statusBar) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.cmbContract) Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.chkAutopsy) Dialog.setTabOrder(self.chkAutopsy, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.cmbOrg) Dialog.setTabOrder(self.cmbOrg, self.btnSelectOrganisation) Dialog.setTabOrder(self.btnSelectOrganisation, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.edtNumber) Dialog.setTabOrder(self.edtNumber, self.cmbPerson2) Dialog.setTabOrder(self.cmbPerson2, self.edtNote) Dialog.setTabOrder(self.edtNote, self.tblPreliminaryDiagnostics) Dialog.setTabOrder(self.tblPreliminaryDiagnostics, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis(_translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml(_translate("Dialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle(_translate("Dialog", "&ф.106/у", None)) self.edtBegDate.setWhatsThis(_translate("Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.edtEndDate.setWhatsThis(_translate("Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.label_12.setText(_translate("Dialog", "Дата смерти", None)) self.chkExposeConfirmed.setText(_translate("Dialog", "Добавить к выставлению", None)) self.cmbContract.setWhatsThis(_translate("Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None)) self.cmbResult.setItemText(1, _translate("Dialog", "Плановый", None)) self.cmbResult.setItemText(2, _translate("Dialog", "Экстренный", None)) self.cmbResult.setItemText(3, _translate("Dialog", "Самообращение", None)) self.cmbResult.setItemText(4, _translate("Dialog", "Принудительный", None)) self.chkAutopsy.setText(_translate("Dialog", "Вскрытие", None)) self.chkZNOFirst.setToolTip(_translate("Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None)) self.chkZNOMorph.setToolTip(_translate("Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText(_translate("Dialog", "ЗНО подтв. морф-ки", None)) self.label_11.setText(_translate("Dialog", "Констатация", None)) self.lblOrder.setText(_translate("Dialog", "Результат \n" "(расхождение диагнозов)", None)) self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None)) self.grpExtra.setTitle(_translate("Dialog", "&Дополнительно", None)) self.lblOrg.setText(_translate("Dialog", "Организация", None)) self.btnSelectOrganisation.setText(_translate("Dialog", "...", None)) self.lblPerson.setText(_translate("Dialog", "Ответственный", None)) self.cmbPerson.setWhatsThis(_translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.lblNumber.setText(_translate("Dialog", "Номер", None)) self.lblPerson2.setText(_translate("Dialog", "Паталогоанатом", None)) self.cmbPerson2.setWhatsThis(_translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson2.setItemText(0, _translate("Dialog", "Врач", None)) self.lblNotes.setText(_translate("Dialog", "Примечание", None)) self.grpPreliminary.setTitle(_translate("Dialog", "&Предварительные диагнозы", None)) self.grpFinal.setTitle(_translate("Dialog", "&Заключительные диагнозы", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Стат.&талон", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("Dialog", "&Статус", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("Dialog", "Оплата", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
class Ui_F001Dialog(object): def setupUi(self, F001Dialog): F001Dialog.setObjectName(_fromUtf8("F001Dialog")) F001Dialog.resize(1140, 582) self.verticalLayout = QtGui.QVBoxLayout(F001Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(F001Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setTabPosition(QtGui.QTabWidget.North) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.gridLayout_5 = QtGui.QGridLayout(self.tabToken) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 1088, 947)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.splitter_2 = QtGui.QSplitter(self.splitter_3) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.grpBase = QtGui.QGroupBox(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpBase.sizePolicy().hasHeightForWidth()) self.grpBase.setSizePolicy(sizePolicy) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.cmbClientPolicy = CClientPolicyComboBox(self.grpBase) self.cmbClientPolicy.setObjectName(_fromUtf8("cmbClientPolicy")) self.gridLayout_2.addWidget(self.cmbClientPolicy, 3, 1, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 2) spacerItem = QtGui.QSpacerItem(20, 10, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_2.addWidget(self.chkZNOFirst, 14, 0, 1, 2) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 11, 1, 1, 1) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 11, 0, 1, 1) self.lblSetPerson = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSetPerson.sizePolicy().hasHeightForWidth()) self.lblSetPerson.setSizePolicy(sizePolicy) self.lblSetPerson.setObjectName(_fromUtf8("lblSetPerson")) self.gridLayout_2.addWidget(self.lblSetPerson, 6, 0, 1, 1) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.gridLayout_2.addWidget(self.cmbResult, 9, 1, 1, 1) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDate.sizePolicy().hasHeightForWidth()) self.lblBegDate.setSizePolicy(sizePolicy) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 7, 0, 1, 1) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDate.sizePolicy().hasHeightForWidth()) self.lblEndDate.setSizePolicy(sizePolicy) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 8, 0, 1, 1) self.cmbSetPerson = CPersonComboBoxEx(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSetPerson.sizePolicy().hasHeightForWidth()) self.cmbSetPerson.setSizePolicy(sizePolicy) self.cmbSetPerson.setObjectName(_fromUtf8("cmbSetPerson")) self.gridLayout_2.addWidget(self.cmbSetPerson, 6, 1, 1, 1) self.cmbContract = CContractComboBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbContract.sizePolicy().hasHeightForWidth()) self.cmbContract.setSizePolicy(sizePolicy) self.cmbContract.setFrame(True) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 2) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_2.addWidget(self.chkZNOMorph, 15, 0, 1, 2) self.lblClientPolicy = QtGui.QLabel(self.grpBase) self.lblClientPolicy.setObjectName(_fromUtf8("lblClientPolicy")) self.gridLayout_2.addWidget(self.lblClientPolicy, 3, 0, 1, 1) self.lblResult = QtGui.QLabel(self.grpBase) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_2.addWidget(self.lblResult, 9, 0, 1, 1) self.frmEndDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmEndDateTime.sizePolicy().hasHeightForWidth()) self.frmEndDateTime.setSizePolicy(sizePolicy) self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmEndDateTime.setLineWidth(0) self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmEndDateTime) self.horizontalLayout_4.setMargin(0) self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtEndDate = CDateEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_4.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_4.addWidget(self.edtEndTime) self.gridLayout_2.addWidget(self.frmEndDateTime, 8, 1, 1, 1) self.frmNextDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmNextDateTime.sizePolicy().hasHeightForWidth()) self.frmNextDateTime.setSizePolicy(sizePolicy) self.frmNextDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmNextDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmNextDateTime.setLineWidth(0) self.frmNextDateTime.setObjectName(_fromUtf8("frmNextDateTime")) self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frmNextDateTime) self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setSpacing(4) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.gridLayout_2.addWidget(self.frmNextDateTime, 12, 1, 1, 1) self.grpTakenTissue = QtGui.QGroupBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpTakenTissue.sizePolicy().hasHeightForWidth()) self.grpTakenTissue.setSizePolicy(sizePolicy) self.grpTakenTissue.setObjectName(_fromUtf8("grpTakenTissue")) self.gridLayout = QtGui.QGridLayout(self.grpTakenTissue) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblTissueType = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueType.sizePolicy().hasHeightForWidth()) self.lblTissueType.setSizePolicy(sizePolicy) self.lblTissueType.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueType.setObjectName(_fromUtf8("lblTissueType")) self.gridLayout.addWidget(self.lblTissueType, 0, 0, 1, 1) self.cmbTissueType = CRBComboBox(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueType.sizePolicy().hasHeightForWidth()) self.cmbTissueType.setSizePolicy(sizePolicy) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 0, 1, 1, 3) self.pnlDatetime = QtGui.QWidget(self.grpTakenTissue) self.pnlDatetime.setObjectName(_fromUtf8("pnlDatetime")) self.horizontalLayout_7 = QtGui.QHBoxLayout(self.pnlDatetime) self.horizontalLayout_7.setMargin(0) self.horizontalLayout_7.setSpacing(0) self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.edtTissueDate = CDateEdit(self.pnlDatetime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTissueDate.sizePolicy().hasHeightForWidth()) self.edtTissueDate.setSizePolicy(sizePolicy) self.edtTissueDate.setCalendarPopup(True) self.edtTissueDate.setObjectName(_fromUtf8("edtTissueDate")) self.horizontalLayout_7.addWidget(self.edtTissueDate) self.edtTissueTime = QtGui.QTimeEdit(self.pnlDatetime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTissueTime.sizePolicy().hasHeightForWidth()) self.edtTissueTime.setSizePolicy(sizePolicy) self.edtTissueTime.setObjectName(_fromUtf8("edtTissueTime")) self.horizontalLayout_7.addWidget(self.edtTissueTime) self.gridLayout.addWidget(self.pnlDatetime, 1, 1, 1, 1) self.pnlWTF = QtGui.QWidget(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.pnlWTF.sizePolicy().hasHeightForWidth()) self.pnlWTF.setSizePolicy(sizePolicy) self.pnlWTF.setObjectName(_fromUtf8("pnlWTF")) self.horizontalLayout_6 = QtGui.QHBoxLayout(self.pnlWTF) self.horizontalLayout_6.setMargin(0) self.horizontalLayout_6.setSpacing(0) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.edtTissueAmount = QtGui.QSpinBox(self.pnlWTF) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTissueAmount.sizePolicy().hasHeightForWidth()) self.edtTissueAmount.setSizePolicy(sizePolicy) self.edtTissueAmount.setMaximum(999999) self.edtTissueAmount.setObjectName(_fromUtf8("edtTissueAmount")) self.horizontalLayout_6.addWidget(self.edtTissueAmount) self.lblTissueUnit = QtGui.QLabel(self.pnlWTF) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueUnit.sizePolicy().hasHeightForWidth()) self.lblTissueUnit.setSizePolicy(sizePolicy) self.lblTissueUnit.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueUnit.setObjectName(_fromUtf8("lblTissueUnit")) self.horizontalLayout_6.addWidget(self.lblTissueUnit) self.cmbTissueUnit = CRBComboBox(self.pnlWTF) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueUnit.sizePolicy().hasHeightForWidth()) self.cmbTissueUnit.setSizePolicy(sizePolicy) self.cmbTissueUnit.setObjectName(_fromUtf8("cmbTissueUnit")) self.horizontalLayout_6.addWidget(self.cmbTissueUnit) self.gridLayout.addWidget(self.pnlWTF, 5, 1, 1, 3) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 3, 1, 1) self.edtTissueNote = QtGui.QLineEdit(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTissueNote.sizePolicy().hasHeightForWidth()) self.edtTissueNote.setSizePolicy(sizePolicy) self.edtTissueNote.setObjectName(_fromUtf8("edtTissueNote")) self.gridLayout.addWidget(self.edtTissueNote, 8, 1, 1, 3) self.edtTissueNumber = QtGui.QLineEdit(self.grpTakenTissue) self.edtTissueNumber.setReadOnly(True) self.edtTissueNumber.setObjectName(_fromUtf8("edtTissueNumber")) self.gridLayout.addWidget(self.edtTissueNumber, 7, 1, 1, 3) self.lblTissueNumber = QtGui.QLabel(self.grpTakenTissue) self.lblTissueNumber.setObjectName(_fromUtf8("lblTissueNumber")) self.gridLayout.addWidget(self.lblTissueNumber, 7, 0, 1, 1) self.lblTissueExternalId = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueExternalId.sizePolicy().hasHeightForWidth()) self.lblTissueExternalId.setSizePolicy(sizePolicy) self.lblTissueExternalId.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueExternalId.setObjectName( _fromUtf8("lblTissueExternalId")) self.gridLayout.addWidget(self.lblTissueExternalId, 6, 0, 1, 1) self.edtTissueExternalId = QtGui.QLineEdit(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTissueExternalId.sizePolicy().hasHeightForWidth()) self.edtTissueExternalId.setSizePolicy(sizePolicy) self.edtTissueExternalId.setReadOnly(False) self.edtTissueExternalId.setObjectName( _fromUtf8("edtTissueExternalId")) self.gridLayout.addWidget(self.edtTissueExternalId, 6, 1, 1, 3) self.lblTissyeExecPerson = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissyeExecPerson.sizePolicy().hasHeightForWidth()) self.lblTissyeExecPerson.setSizePolicy(sizePolicy) self.lblTissyeExecPerson.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissyeExecPerson.setObjectName( _fromUtf8("lblTissyeExecPerson")) self.gridLayout.addWidget(self.lblTissyeExecPerson, 2, 0, 1, 1) self.cmbTissueExecPerson = CPersonComboBoxEx(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbTissueExecPerson.sizePolicy().hasHeightForWidth()) self.cmbTissueExecPerson.setSizePolicy(sizePolicy) self.cmbTissueExecPerson.setObjectName( _fromUtf8("cmbTissueExecPerson")) self.gridLayout.addWidget(self.cmbTissueExecPerson, 2, 1, 1, 3) self.lblTissueAmount = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueAmount.sizePolicy().hasHeightForWidth()) self.lblTissueAmount.setSizePolicy(sizePolicy) self.lblTissueAmount.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueAmount.setObjectName(_fromUtf8("lblTissueAmount")) self.gridLayout.addWidget(self.lblTissueAmount, 5, 0, 1, 1) self.lblTissueNote = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueNote.sizePolicy().hasHeightForWidth()) self.lblTissueNote.setSizePolicy(sizePolicy) self.lblTissueNote.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueNote.setObjectName(_fromUtf8("lblTissueNote")) self.gridLayout.addWidget(self.lblTissueNote, 8, 0, 1, 1) self.lblTissueDateTime = QtGui.QLabel(self.grpTakenTissue) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueDateTime.sizePolicy().hasHeightForWidth()) self.lblTissueDateTime.setSizePolicy(sizePolicy) self.lblTissueDateTime.setMinimumSize(QtCore.QSize(0, 20)) self.lblTissueDateTime.setObjectName(_fromUtf8("lblTissueDateTime")) self.gridLayout.addWidget(self.lblTissueDateTime, 1, 0, 1, 1) self.gridLayout_2.addWidget(self.grpTakenTissue, 13, 0, 1, 2) self.frmBegDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmBegDateTime.sizePolicy().hasHeightForWidth()) self.frmBegDateTime.setSizePolicy(sizePolicy) self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmBegDateTime.setLineWidth(0) self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime")) self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmBegDateTime) self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtBegDate = CDateEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_3.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_3.addWidget(self.edtBegTime) self.gridLayout_2.addWidget(self.frmBegDateTime, 7, 1, 1, 1) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 2) self.layoutWidget = QtGui.QWidget(self.splitter_2) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.gridLayout_3 = QtGui.QGridLayout(self.layoutWidget) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.grpActionSearch = QtGui.QWidget(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpActionSearch.sizePolicy().hasHeightForWidth()) self.grpActionSearch.setSizePolicy(sizePolicy) self.grpActionSearch.setObjectName(_fromUtf8("grpActionSearch")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.grpActionSearch) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblFindByCode = QtGui.QLabel(self.grpActionSearch) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblFindByCode.sizePolicy().hasHeightForWidth()) self.lblFindByCode.setSizePolicy(sizePolicy) self.lblFindByCode.setObjectName(_fromUtf8("lblFindByCode")) self.horizontalLayout_2.addWidget(self.lblFindByCode) self.edtFindByCode = QtGui.QLineEdit(self.grpActionSearch) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFindByCode.sizePolicy().hasHeightForWidth()) self.edtFindByCode.setSizePolicy(sizePolicy) self.edtFindByCode.setObjectName(_fromUtf8("edtFindByCode")) self.horizontalLayout_2.addWidget(self.edtFindByCode) self.btnAdd = QtGui.QPushButton(self.grpActionSearch) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnAdd.sizePolicy().hasHeightForWidth()) self.btnAdd.setSizePolicy(sizePolicy) self.btnAdd.setMinimumSize(QtCore.QSize(100, 0)) self.btnAdd.setObjectName(_fromUtf8("btnAdd")) self.horizontalLayout_2.addWidget(self.btnAdd) self.btnSelectAll = QtGui.QPushButton(self.grpActionSearch) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectAll.sizePolicy().hasHeightForWidth()) self.btnSelectAll.setSizePolicy(sizePolicy) self.btnSelectAll.setMinimumSize(QtCore.QSize(100, 0)) self.btnSelectAll.setObjectName(_fromUtf8("btnSelectAll")) self.horizontalLayout_2.addWidget(self.btnSelectAll) self.btnClearSelection = QtGui.QPushButton(self.grpActionSearch) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnClearSelection.sizePolicy().hasHeightForWidth()) self.btnClearSelection.setSizePolicy(sizePolicy) self.btnClearSelection.setMinimumSize(QtCore.QSize(0, 0)) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.horizontalLayout_2.addWidget(self.btnClearSelection) self.gridLayout_3.addWidget(self.grpActionSearch, 1, 0, 1, 1) self.splitter = QtGui.QSplitter(self.layoutWidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeActionTypeGroups = CActionTypeTreeView(self.splitter) self.treeActionTypeGroups.setObjectName( _fromUtf8("treeActionTypeGroups")) self.tblActionTypes = CTableView(self.splitter) self.tblActionTypes.setObjectName(_fromUtf8("tblActionTypes")) self.gridLayout_3.addWidget(self.splitter, 0, 0, 1, 1) self.lblSelectedCount = QtGui.QLabel(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSelectedCount.sizePolicy().hasHeightForWidth()) self.lblSelectedCount.setSizePolicy(sizePolicy) self.lblSelectedCount.setText(_fromUtf8("")) self.lblSelectedCount.setObjectName(_fromUtf8("lblSelectedCount")) self.gridLayout_3.addWidget(self.lblSelectedCount, 2, 0, 1, 1) self.grpFinalDiagnostics = QtGui.QGroupBox(self.splitter_3) self.grpFinalDiagnostics.setObjectName( _fromUtf8("grpFinalDiagnostics")) self.gridLayout_7 = QtGui.QGridLayout(self.grpFinalDiagnostics) self.gridLayout_7.setMargin(2) self.gridLayout_7.setSpacing(1) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.tblFinalDiagnostics = CInDocTableView(self.grpFinalDiagnostics) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 200)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self.gridLayout_7.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1) self.verticalLayout_2.addWidget(self.splitter_3) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_5.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabActions = CActionsPage() self.tabActions.setObjectName(_fromUtf8("tabActions")) self.tabWidget.addTab(self.tabActions, _fromUtf8("")) self.tabSummaryActionTable = QtGui.QWidget() self.tabSummaryActionTable.setObjectName( _fromUtf8("tabSummaryActionTable")) self.gridLayout_8 = QtGui.QGridLayout(self.tabSummaryActionTable) self.gridLayout_8.setMargin(4) self.gridLayout_8.setSpacing(4) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.scrollArea_2 = QtGui.QScrollArea(self.tabSummaryActionTable) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect( 0, 0, 96, 212)) self.scrollAreaWidgetContents_2.setObjectName( _fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_3 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.tblActions = CInDocTableView(self.scrollAreaWidgetContents_2) self.tblActions.setMinimumSize(QtCore.QSize(0, 200)) self.tblActions.setObjectName(_fromUtf8("tblActions")) self.verticalLayout_3.addWidget(self.tblActions) self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.gridLayout_8.addWidget(self.scrollArea_2, 0, 0, 1, 1) self.tabWidget.addTab(self.tabSummaryActionTable, _fromUtf8("")) self.tabCash = CEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabNotes = CEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout.addWidget(self.sptTopLevel) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblProlongateEvent = QtGui.QLabel(F001Dialog) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(F001Dialog) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout.addWidget(self.lblValueExternalId) self.buttonBox = QtGui.QDialogButtonBox(F001Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout) self.statusBar = QtGui.QStatusBar(F001Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout.addWidget(self.statusBar) self.lblGoal.setBuddy(self.cmbGoal) self.lblSetPerson.setBuddy(self.cmbSetPerson) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblResult.setBuddy(self.cmbResult) self.lblTissueType.setBuddy(self.cmbTissueType) self.lblTissueUnit.setBuddy(self.cmbTissueUnit) self.lblTissueNumber.setBuddy(self.edtTissueNumber) self.lblTissueExternalId.setBuddy(self.edtTissueExternalId) self.lblTissyeExecPerson.setBuddy(self.cmbTissueExecPerson) self.lblTissueAmount.setBuddy(self.edtTissueAmount) self.lblTissueNote.setBuddy(self.edtTissueNote) self.lblTissueDateTime.setBuddy(self.edtTissueDate) self.retranslateUi(F001Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), F001Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), F001Dialog.reject) QtCore.QMetaObject.connectSlotsByName(F001Dialog) F001Dialog.setTabOrder(self.tabWidget, self.buttonBox) F001Dialog.setTabOrder(self.buttonBox, self.scrollArea) F001Dialog.setTabOrder(self.scrollArea, self.cmbContract) F001Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) F001Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) F001Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbClientPolicy) F001Dialog.setTabOrder(self.cmbClientPolicy, self.cmbSetPerson) F001Dialog.setTabOrder(self.cmbSetPerson, self.edtBegDate) F001Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) F001Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) F001Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) F001Dialog.setTabOrder(self.edtEndTime, self.cmbResult) F001Dialog.setTabOrder(self.cmbResult, self.cmbGoal) F001Dialog.setTabOrder(self.cmbGoal, self.cmbTissueType) F001Dialog.setTabOrder(self.cmbTissueType, self.edtTissueDate) F001Dialog.setTabOrder(self.edtTissueDate, self.edtTissueTime) F001Dialog.setTabOrder(self.edtTissueTime, self.cmbTissueExecPerson) F001Dialog.setTabOrder(self.cmbTissueExecPerson, self.edtTissueAmount) F001Dialog.setTabOrder(self.edtTissueAmount, self.cmbTissueUnit) F001Dialog.setTabOrder(self.cmbTissueUnit, self.edtTissueExternalId) F001Dialog.setTabOrder(self.edtTissueExternalId, self.edtTissueNumber) F001Dialog.setTabOrder(self.edtTissueNumber, self.edtTissueNote) F001Dialog.setTabOrder(self.edtTissueNote, self.chkZNOFirst) F001Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) F001Dialog.setTabOrder(self.chkZNOMorph, self.treeActionTypeGroups) F001Dialog.setTabOrder(self.treeActionTypeGroups, self.tblActionTypes) F001Dialog.setTabOrder(self.tblActionTypes, self.edtFindByCode) F001Dialog.setTabOrder(self.edtFindByCode, self.btnAdd) F001Dialog.setTabOrder(self.btnAdd, self.btnSelectAll) F001Dialog.setTabOrder(self.btnSelectAll, self.btnClearSelection) F001Dialog.setTabOrder(self.btnClearSelection, self.tblFinalDiagnostics) F001Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblActions) F001Dialog.setTabOrder(self.tblActions, self.scrollArea_2) def retranslateUi(self, F001Dialog): F001Dialog.setWindowTitle(_translate("F001Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("F001Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "F001Dialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle(_translate("F001Dialog", "&ф.001", None)) self.chkExposeConfirmed.setText( _translate("F001Dialog", "Добавить к выставлению", None)) self.chkZNOFirst.setToolTip( _translate("F001Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText( _translate("F001Dialog", "ЗНО уст. впервые", None)) self.lblGoal.setText(_translate("F001Dialog", "Цель", None)) self.lblSetPerson.setText(_translate("F001Dialog", "Назначил", None)) self.lblBegDate.setText(_translate("F001Dialog", "Назначено", None)) self.lblEndDate.setText(_translate("F001Dialog", "Выполнено", None)) self.cmbContract.setWhatsThis( _translate( "F001Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("F001Dialog", "Договор", None)) self.chkZNOMorph.setToolTip( _translate("F001Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText( _translate("F001Dialog", "ЗНО подтв. морф-ки", None)) self.lblClientPolicy.setText( _translate("F001Dialog", "Полис пациента", None)) self.lblResult.setText(_translate("F001Dialog", "Результат", None)) self.edtEndDate.setWhatsThis( _translate("F001Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat( _translate("F001Dialog", "HH:mm", None)) self.grpTakenTissue.setTitle( _translate("F001Dialog", "Забор биоматериала", None)) self.lblTissueType.setText( _translate("F001Dialog", "Тип биоматериала", None)) self.edtTissueTime.setDisplayFormat( _translate("F001Dialog", "HH:mm", None)) self.lblTissueUnit.setText(_translate("F001Dialog", "Ед. изм.", None)) self.lblTissueNumber.setText(_translate("F001Dialog", "Номер", None)) self.lblTissueExternalId.setText( _translate("F001Dialog", "&Идентификатор", None)) self.lblTissyeExecPerson.setText( _translate("F001Dialog", "Исполнитель", None)) self.lblTissueAmount.setText( _translate("F001Dialog", "Количество", None)) self.lblTissueNote.setText(_translate("F001Dialog", "Примечание", None)) self.lblTissueDateTime.setText( _translate("F001Dialog", "Дата и время", None)) self.edtBegDate.setWhatsThis( _translate("F001Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat( _translate("F001Dialog", "HH:mm", None)) self.chkIsClosed.setText( _translate("F001Dialog", "Карта заполнена", None)) self.lblFindByCode.setText( _translate("F001Dialog", "Поиск по коду или наименованию", None)) self.btnAdd.setText(_translate("F001Dialog", "Добавить", None)) self.btnSelectAll.setText(_translate("F001Dialog", "Выбрать все", None)) self.btnClearSelection.setText( _translate("F001Dialog", "Очистить выбор", None)) self.grpFinalDiagnostics.setTitle( _translate("F001Dialog", "Диагнозы", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("F001Dialog", "Стат.&учёт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabActions), _translate("F001Dialog", "У&слуги", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabSummaryActionTable), _translate("F001Dialog", "&Таблица услуг", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("F001Dialog", "Оплата", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabNotes), _translate("F001Dialog", "Приме&чания", None)) self.statusBar.setToolTip( _translate("F001Dialog", "A status bar", None)) self.statusBar.setWhatsThis( _translate("F001Dialog", "A status bar.", None))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(560, 487) Dialog.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(Dialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.edtBegTime = QtGui.QTimeEdit(Dialog) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.gridlayout.addWidget(self.edtBegTime, 2, 2, 1, 1) self.label_11 = QtGui.QLabel(Dialog) self.label_11.setObjectName(_fromUtf8("label_11")) self.gridlayout.addWidget(self.label_11, 3, 0, 1, 1) self.lblTraumaType = QtGui.QLabel(Dialog) self.lblTraumaType.setObjectName(_fromUtf8("lblTraumaType")) self.gridlayout.addWidget(self.lblTraumaType, 6, 0, 1, 1) spacerItem = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 2, 3, 1, 2) self.edtCardNo = QtGui.QLineEdit(Dialog) self.edtCardNo.setObjectName(_fromUtf8("edtCardNo")) self.gridlayout.addWidget(self.edtCardNo, 1, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 8, 4, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem2, 6, 4, 1, 1) self.cmbPerson = CPersonComboBoxEx(Dialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 3) self.edtEndDate = CDateEdit(Dialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 3, 1, 1, 1) self.edtBegDate = CDateEdit(Dialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 2, 1, 1, 1) self.edtEndTime = QtGui.QTimeEdit(Dialog) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.gridlayout.addWidget(self.edtEndTime, 3, 2, 1, 1) self.lblCardNo = QtGui.QLabel(Dialog) self.lblCardNo.setObjectName(_fromUtf8("lblCardNo")) self.gridlayout.addWidget(self.lblCardNo, 1, 0, 1, 1) self.lblPerson = QtGui.QLabel(Dialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1) self.lblOrder = QtGui.QLabel(Dialog) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self.gridlayout.addWidget(self.lblOrder, 5, 0, 1, 1) self.txtClientInfoBrowser = CTextBrowser(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(2) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.gridlayout.addWidget(self.txtClientInfoBrowser, 0, 0, 1, 5) self.label_12 = QtGui.QLabel(Dialog) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridlayout.addWidget(self.label_12, 2, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem3, 1, 2, 1, 3) spacerItem4 = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem4, 3, 3, 1, 2) spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem5, 7, 4, 1, 1) self.cmbTraumaType = CRBComboBox(Dialog) self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType")) self.gridlayout.addWidget(self.cmbTraumaType, 6, 1, 1, 3) self.edtMKBEx = CICDCodeEditEx(Dialog) self.edtMKBEx.setObjectName(_fromUtf8("edtMKBEx")) self.gridlayout.addWidget(self.edtMKBEx, 7, 3, 1, 1) spacerItem6 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem6, 4, 4, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridlayout.addWidget(self.buttonBox, 10, 0, 1, 5) self.cmbResult = CRBComboBox(Dialog) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.gridlayout.addWidget(self.cmbResult, 8, 1, 1, 3) self.lblResult = QtGui.QLabel(Dialog) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridlayout.addWidget(self.lblResult, 8, 0, 1, 1) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 11, 0, 1, 5) self.lblMKB = QtGui.QLabel(Dialog) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridlayout.addWidget(self.lblMKB, 7, 0, 1, 1) self.edtMKB = CICDCodeEditEx(Dialog) self.edtMKB.setObjectName(_fromUtf8("edtMKB")) self.gridlayout.addWidget(self.edtMKB, 7, 1, 1, 1) spacerItem7 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem7, 5, 4, 1, 1) self.cmbOrder = CRBComboBox(Dialog) self.cmbOrder.setObjectName(_fromUtf8("cmbOrder")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.setItemText(0, _fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbOrder, 5, 1, 1, 3) self.lblLock = QtGui.QLabel(Dialog) self.lblLock.setObjectName(_fromUtf8("lblLock")) self.gridlayout.addWidget(self.lblLock, 9, 0, 1, 1) self.chkLock = QtGui.QCheckBox(Dialog) self.chkLock.setEnabled(False) self.chkLock.setObjectName(_fromUtf8("chkLock")) self.gridlayout.addWidget(self.chkLock, 9, 1, 1, 4) self.label_11.setBuddy(self.edtEndDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblOrder.setBuddy(self.cmbOrder) self.label_12.setBuddy(self.edtBegDate) self.lblMKB.setBuddy(self.edtMKB) self.lblLock.setBuddy(self.chkLock) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.txtClientInfoBrowser, self.edtCardNo) Dialog.setTabOrder(self.edtCardNo, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.cmbTraumaType) Dialog.setTabOrder(self.cmbTraumaType, self.edtMKB) Dialog.setTabOrder(self.edtMKB, self.edtMKBEx) Dialog.setTabOrder(self.edtMKBEx, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.buttonBox) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.label_11.setText(_translate("Dialog", "Дата обращения", None)) self.lblTraumaType.setText(_translate("Dialog", "Тип травмы", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.edtEndDate.setWhatsThis( _translate("Dialog", "дата окончания осмотра", None)) self.edtBegDate.setWhatsThis( _translate("Dialog", "дата начала осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.lblCardNo.setText(_translate("Dialog", "Номер карты", None)) self.lblPerson.setText(_translate("Dialog", "Ответственный", None)) self.lblOrder.setText(_translate("Dialog", "Порядок", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "Dialog", "<!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:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None)) self.label_12.setText(_translate("Dialog", "Дата происшествия", None)) self.lblResult.setText(_translate("Dialog", "Результат", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None)) self.lblMKB.setText(_translate("Dialog", "Диагноз", None)) self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None)) self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None)) self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение", None)) self.cmbOrder.setItemText(4, _translate("Dialog", "Принудительный", None)) self.cmbOrder.setItemText(5, _translate("Dialog", "Из стационара", None)) self.cmbOrder.setItemText(6, _translate("Dialog", "Из др. ЛПУ", None)) self.cmbOrder.setItemText( 7, _translate("Dialog", "Освидетельствование", None)) self.lblLock.setText(_translate("Dialog", "Заблокировать", None)) self.chkLock.setText( _translate("Dialog", "Не разрешать редактировать обращение", None))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(1011, 585) Dialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setTabPosition(QtGui.QTabWidget.North) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.verticalLayout_7 = QtGui.QVBoxLayout(self.tabToken) self.verticalLayout_7.setMargin(4) self.verticalLayout_7.setSpacing(4) self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 962, 655)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_3 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter_2 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.frameBaseDiagnosisesAndVisits = QtGui.QFrame(self.splitter_2) self.frameBaseDiagnosisesAndVisits.setFrameShape(QtGui.QFrame.NoFrame) self.frameBaseDiagnosisesAndVisits.setFrameShadow(QtGui.QFrame.Raised) self.frameBaseDiagnosisesAndVisits.setObjectName( _fromUtf8("frameBaseDiagnosisesAndVisits")) self.horizontalLayout = QtGui.QHBoxLayout( self.frameBaseDiagnosisesAndVisits) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.grpBase = QtGui.QGroupBox(self.frameBaseDiagnosisesAndVisits) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpBase.sizePolicy().hasHeightForWidth()) self.grpBase.setSizePolicy(sizePolicy) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbResult, 20, 0, 1, 5) self.chkSecondary = QtGui.QCheckBox(self.grpBase) self.chkSecondary.setObjectName(_fromUtf8("chkSecondary")) self.gridLayout_2.addWidget(self.chkSecondary, 15, 0, 1, 2) self.lblOrder = QtGui.QLabel(self.grpBase) self.lblOrder.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self.gridLayout_2.addWidget(self.lblOrder, 14, 3, 1, 2) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem) self.btnPaymentScheme = QtGui.QPushButton(self.grpBase) self.btnPaymentScheme.setObjectName(_fromUtf8("btnPaymentScheme")) self.horizontalLayout_6.addWidget(self.btnPaymentScheme) self.gridLayout_2.addLayout(self.horizontalLayout_6, 7, 0, 1, 5) self.chkPrimary = QtGui.QCheckBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPrimary.sizePolicy().hasHeightForWidth()) self.chkPrimary.setSizePolicy(sizePolicy) self.chkPrimary.setObjectName(_fromUtf8("chkPrimary")) self.gridLayout_2.addWidget(self.chkPrimary, 14, 0, 1, 3) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDate.sizePolicy().hasHeightForWidth()) self.lblEndDate.setSizePolicy(sizePolicy) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 10, 0, 1, 1) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 5) self.lblPerson = QtGui.QLabel(self.grpBase) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 12, 0, 1, 5) self.lblResult = QtGui.QLabel(self.grpBase) self.lblResult.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_2.addWidget(self.lblResult, 19, 0, 1, 5) self.cmbOrder = CRBComboBox(self.grpBase) self.cmbOrder.setObjectName(_fromUtf8("cmbOrder")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.setItemText(0, _fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbOrder, 16, 0, 1, 5) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 5) self.frmNextDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmNextDateTime.sizePolicy().hasHeightForWidth()) self.frmNextDateTime.setSizePolicy(sizePolicy) self.frmNextDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmNextDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmNextDateTime.setLineWidth(0) self.frmNextDateTime.setObjectName(_fromUtf8("frmNextDateTime")) self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frmNextDateTime) self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setSpacing(4) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.edtNextDate = CDateEdit(self.frmNextDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtNextDate.sizePolicy().hasHeightForWidth()) self.edtNextDate.setSizePolicy(sizePolicy) self.edtNextDate.setCalendarPopup(True) self.edtNextDate.setObjectName(_fromUtf8("edtNextDate")) self.horizontalLayout_5.addWidget(self.edtNextDate) self.gridLayout_2.addWidget(self.frmNextDateTime, 11, 1, 1, 4) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_2.addWidget(self.chkZNOFirst, 22, 0, 1, 3) self.lblPregnancyWeek = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblPregnancyWeek.sizePolicy().hasHeightForWidth()) self.lblPregnancyWeek.setSizePolicy(sizePolicy) self.lblPregnancyWeek.setObjectName(_fromUtf8("lblPregnancyWeek")) self.gridLayout_2.addWidget(self.lblPregnancyWeek, 17, 0, 1, 3) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem1, 24, 1, 1, 1) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_2.addWidget(self.chkZNOMorph, 23, 0, 1, 2) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPerson, 13, 0, 1, 5) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 5) self.lblCurrentItem = QtGui.QLabel(self.grpBase) self.lblCurrentItem.setObjectName(_fromUtf8("lblCurrentItem")) self.gridLayout_2.addWidget(self.lblCurrentItem, 5, 0, 1, 5) self.lblContract = QtGui.QLabel(self.grpBase) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout_2.addWidget(self.lblContract, 6, 0, 1, 5) self.frmEndDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmEndDateTime.sizePolicy().hasHeightForWidth()) self.frmEndDateTime.setSizePolicy(sizePolicy) self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmEndDateTime.setLineWidth(0) self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmEndDateTime) self.horizontalLayout_4.setMargin(0) self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtEndDate = CDateEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_4.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_4.addWidget(self.edtEndTime) self.gridLayout_2.addWidget(self.frmEndDateTime, 10, 1, 1, 4) self.cmbPaymentScheme = CPaymentSchemeComboBox(self.grpBase) self.cmbPaymentScheme.setObjectName(_fromUtf8("cmbPaymentScheme")) self.gridLayout_2.addWidget(self.cmbPaymentScheme, 4, 0, 1, 5) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDate.sizePolicy().hasHeightForWidth()) self.lblBegDate.setSizePolicy(sizePolicy) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 9, 0, 1, 1) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 21, 0, 1, 1) self.lblPaymentScheme = QtGui.QLabel(self.grpBase) self.lblPaymentScheme.setObjectName(_fromUtf8("lblPaymentScheme")) self.gridLayout_2.addWidget(self.lblPaymentScheme, 3, 0, 1, 5) self.edtPregnancyWeek = QtGui.QSpinBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtPregnancyWeek.sizePolicy().hasHeightForWidth()) self.edtPregnancyWeek.setSizePolicy(sizePolicy) self.edtPregnancyWeek.setMaximum(40) self.edtPregnancyWeek.setObjectName(_fromUtf8("edtPregnancyWeek")) self.gridLayout_2.addWidget(self.edtPregnancyWeek, 17, 3, 1, 2) self.lblNextDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblNextDate.sizePolicy().hasHeightForWidth()) self.lblNextDate.setSizePolicy(sizePolicy) self.lblNextDate.setObjectName(_fromUtf8("lblNextDate")) self.gridLayout_2.addWidget(self.lblNextDate, 11, 0, 1, 1) self.frmBegDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmBegDateTime.sizePolicy().hasHeightForWidth()) self.frmBegDateTime.setSizePolicy(sizePolicy) self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmBegDateTime.setLineWidth(0) self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime")) self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmBegDateTime) self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtBegDate = CDateEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_3.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_3.addWidget(self.edtBegTime) self.gridLayout_2.addWidget(self.frmBegDateTime, 9, 1, 1, 4) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 21, 1, 1, 4) self.horizontalLayout.addWidget(self.grpBase) self.splitter = QtGui.QSplitter(self.frameBaseDiagnosisesAndVisits) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.grplFinalDiagnostics = QtGui.QGroupBox(self.splitter) self.grplFinalDiagnostics.setObjectName( _fromUtf8("grplFinalDiagnostics")) self.gridLayout_3 = QtGui.QGridLayout(self.grplFinalDiagnostics) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.tblFinalDiagnostics = CInDocTableView(self.grplFinalDiagnostics) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self.gridLayout_3.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1) self.groupBox = QtGui.QGroupBox(self.splitter) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_5 = QtGui.QGridLayout(self.groupBox) self.gridLayout_5.setMargin(4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblVisits = CInDocTableView(self.groupBox) self.tblVisits.setMinimumSize(QtCore.QSize(0, 100)) self.tblVisits.setObjectName(_fromUtf8("tblVisits")) self.gridLayout_5.addWidget(self.tblVisits, 0, 0, 1, 5) self.lblVisitsCount = QtGui.QLabel(self.groupBox) self.lblVisitsCount.setObjectName(_fromUtf8("lblVisitsCount")) self.gridLayout_5.addWidget(self.lblVisitsCount, 1, 0, 1, 1) self.lblVisitsCountValue = QtGui.QLabel(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblVisitsCountValue.sizePolicy().hasHeightForWidth()) self.lblVisitsCountValue.setSizePolicy(sizePolicy) self.lblVisitsCountValue.setMinimumSize(QtCore.QSize(40, 0)) self.lblVisitsCountValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblVisitsCountValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblVisitsCountValue.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblVisitsCountValue.setObjectName( _fromUtf8("lblVisitsCountValue")) self.gridLayout_5.addWidget(self.lblVisitsCountValue, 1, 1, 1, 1) self.lblVisitsDuration = QtGui.QLabel(self.groupBox) self.lblVisitsDuration.setObjectName(_fromUtf8("lblVisitsDuration")) self.gridLayout_5.addWidget(self.lblVisitsDuration, 1, 2, 1, 1) self.lblVisitsDurationValue = QtGui.QLabel(self.groupBox) self.lblVisitsDurationValue.setMinimumSize(QtCore.QSize(40, 0)) self.lblVisitsDurationValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblVisitsDurationValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblVisitsDurationValue.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblVisitsDurationValue.setObjectName( _fromUtf8("lblVisitsDurationValue")) self.gridLayout_5.addWidget(self.lblVisitsDurationValue, 1, 3, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 1, 4, 1, 1) self.horizontalLayout.addWidget(self.splitter) self.grpActions = QtGui.QGroupBox(self.splitter_2) self.grpActions.setObjectName(_fromUtf8("grpActions")) self.verticalLayout = QtGui.QVBoxLayout(self.grpActions) self.verticalLayout.setMargin(4) self.verticalLayout.setSpacing(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tblActions = CInDocTableView(self.grpActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(20) sizePolicy.setHeightForWidth( self.tblActions.sizePolicy().hasHeightForWidth()) self.tblActions.setSizePolicy(sizePolicy) self.tblActions.setMinimumSize(QtCore.QSize(0, 100)) self.tblActions.setObjectName(_fromUtf8("tblActions")) self.verticalLayout.addWidget(self.tblActions) self.frmTotalUet = QtGui.QFrame(self.grpActions) self.frmTotalUet.setFrameShape(QtGui.QFrame.NoFrame) self.frmTotalUet.setFrameShadow(QtGui.QFrame.Plain) self.frmTotalUet.setObjectName(_fromUtf8("frmTotalUet")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmTotalUet) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblTotalUet = QtGui.QLabel(self.frmTotalUet) self.lblTotalUet.setObjectName(_fromUtf8("lblTotalUet")) self.horizontalLayout_2.addWidget(self.lblTotalUet) self.lblShowTotalUet = QtGui.QLabel(self.frmTotalUet) self.lblShowTotalUet.setFrameShape(QtGui.QFrame.StyledPanel) self.lblShowTotalUet.setFrameShadow(QtGui.QFrame.Sunken) self.lblShowTotalUet.setObjectName(_fromUtf8("lblShowTotalUet")) self.horizontalLayout_2.addWidget(self.lblShowTotalUet) spacerItem3 = QtGui.QSpacerItem(681, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem3) self.verticalLayout.addWidget(self.frmTotalUet) self.verticalLayout_3.addWidget(self.splitter_2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_7.addWidget(self.scrollArea) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabStatus = CFastActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CFastActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabCure = CFastActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CFastActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabAnalyses = CFastAnalysesActionsPage() self.tabAnalyses.setObjectName(_fromUtf8("tabAnalyses")) self.tabWidget.addTab(self.tabAnalyses, _fromUtf8("")) self.tabAmbCard = CFastAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabTempInvalidEtc = QtGui.QWidget() self.tabTempInvalidEtc.setObjectName(_fromUtf8("tabTempInvalidEtc")) self.gridLayout = QtGui.QGridLayout(self.tabTempInvalidEtc) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.scrollArea_2 = QtGui.QScrollArea(self.tabTempInvalidEtc) self.scrollArea_2.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea_2.setFrameShadow(QtGui.QFrame.Sunken) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 979, 341)) self.scrollAreaWidgetContents_2.setObjectName( _fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_6 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_6.setMargin(0) self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6")) self.tabTempInvalidAndAegrotat = QtGui.QTabWidget( self.scrollAreaWidgetContents_2) self.tabTempInvalidAndAegrotat.setObjectName( _fromUtf8("tabTempInvalidAndAegrotat")) self.tabTempInvalid = QtGui.QWidget() self.tabTempInvalid.setObjectName(_fromUtf8("tabTempInvalid")) self.gridLayout_6 = QtGui.QGridLayout(self.tabTempInvalid) self.gridLayout_6.setMargin(4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.grpTempInvalid = CTempInvalid(self.tabTempInvalid) self.grpTempInvalid.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpTempInvalid.sizePolicy().hasHeightForWidth()) self.grpTempInvalid.setSizePolicy(sizePolicy) self.grpTempInvalid.setCheckable(True) self.grpTempInvalid.setChecked(False) self.grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid")) self.gridLayout_6.addWidget(self.grpTempInvalid, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid, _fromUtf8("")) self.tabInvalidTempInv = QtGui.QWidget() self.tabInvalidTempInv.setObjectName(_fromUtf8("tabInvalidTempInv")) self.gridLayout_4 = QtGui.QGridLayout(self.tabInvalidTempInv) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.grpDisability = CTempInvalid(self.tabInvalidTempInv) self.grpDisability.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpDisability.sizePolicy().hasHeightForWidth()) self.grpDisability.setSizePolicy(sizePolicy) self.grpDisability.setCheckable(True) self.grpDisability.setChecked(False) self.grpDisability.setObjectName(_fromUtf8("grpDisability")) self.gridLayout_4.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabInvalidTempInv, _fromUtf8("")) self.tabInvalidDisability = QtGui.QWidget() self.tabInvalidDisability.setObjectName( _fromUtf8("tabInvalidDisability")) self.gridLayout_7 = QtGui.QGridLayout(self.tabInvalidDisability) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.grpVitalRestriction = CTempInvalid(self.tabInvalidDisability) self.grpVitalRestriction.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpVitalRestriction.sizePolicy().hasHeightForWidth()) self.grpVitalRestriction.setSizePolicy(sizePolicy) self.grpVitalRestriction.setCheckable(True) self.grpVitalRestriction.setChecked(False) self.grpVitalRestriction.setObjectName( _fromUtf8("grpVitalRestriction")) self.gridLayout_7.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabInvalidDisability, _fromUtf8("")) self.verticalLayout_6.addWidget(self.tabTempInvalidAndAegrotat) self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.gridLayout.addWidget(self.scrollArea_2, 0, 0, 1, 1) self.tabWidget.addTab(self.tabTempInvalidEtc, _fromUtf8("")) self.tabCash = CFastEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabNotes = CFastEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout_2.addWidget(self.sptTopLevel) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.lblValueExternalId = QtGui.QLabel(Dialog) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_7.addWidget(self.lblValueExternalId) self.lblProlongateEvent = QtGui.QLabel(Dialog) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_7.addWidget(self.lblProlongateEvent) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_7.addWidget(self.buttonBox) self.verticalLayout_2.addLayout(self.horizontalLayout_7) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_2.addWidget(self.statusBar) self.lblOrder.setBuddy(self.cmbOrder) self.lblEndDate.setBuddy(self.edtEndDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblResult.setBuddy(self.cmbResult) self.lblPregnancyWeek.setBuddy(self.edtPregnancyWeek) self.lblBegDate.setBuddy(self.edtBegDate) self.lblGoal.setBuddy(self.cmbGoal) self.lblNextDate.setBuddy(self.edtNextDate) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) self.tabTempInvalidAndAegrotat.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.buttonBox) Dialog.setTabOrder(self.buttonBox, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.cmbContract) Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbPaymentScheme) Dialog.setTabOrder(self.cmbPaymentScheme, self.btnPaymentScheme) Dialog.setTabOrder(self.btnPaymentScheme, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.edtNextDate) Dialog.setTabOrder(self.edtNextDate, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.chkPrimary) Dialog.setTabOrder(self.chkPrimary, self.chkSecondary) Dialog.setTabOrder(self.chkSecondary, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.edtPregnancyWeek) Dialog.setTabOrder(self.edtPregnancyWeek, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblVisits) Dialog.setTabOrder(self.tblVisits, self.tblActions) Dialog.setTabOrder(self.tblActions, self.scrollArea_2) Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid) Dialog.setTabOrder(self.grpTempInvalid, self.tabTempInvalidAndAegrotat) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.txtClientInfoBrowser.setWhatsThis( _translate("Dialog", "Описание пациента", None)) self.txtClientInfoBrowser.setHtml( _translate( "Dialog", "<!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:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None)) self.grpBase.setTitle(_translate("Dialog", "&ф.000", None)) self.cmbResult.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None)) self.chkSecondary.setText(_translate("Dialog", "Повторный", None)) self.lblOrder.setText(_translate("Dialog", "П&орядок", None)) self.btnPaymentScheme.setText(_translate("Dialog", "Начать", None)) self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None)) self.lblEndDate.setText(_translate("Dialog", "Закончено", None)) self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None)) self.lblPerson.setText(_translate("Dialog", "Ответственный", None)) self.lblResult.setText(_translate("Dialog", "Результа&т", None)) self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None)) self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None)) self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение", None)) self.cmbOrder.setItemText(4, _translate("Dialog", "Принудительный", None)) self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None)) self.cmbContract.setWhatsThis( _translate( "Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None)) self.chkZNOFirst.setToolTip( _translate("Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None)) self.lblPregnancyWeek.setText( _translate("Dialog", "Неделя беременности", None)) self.chkZNOMorph.setToolTip( _translate("Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText( _translate("Dialog", "ЗНО подтв. морф-ки", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.chkExposeConfirmed.setText( _translate("Dialog", "Добавить к выставлению", None)) self.lblCurrentItem.setText( _translate("Dialog", "Текущий этап: ", None)) self.lblContract.setText(_translate("Dialog", "Договор: ", None)) self.edtEndDate.setWhatsThis( _translate("Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.lblBegDate.setText(_translate("Dialog", "Начато", None)) self.lblGoal.setText(_translate("Dialog", "Цель", None)) self.lblPaymentScheme.setText( _translate("Dialog", "Схема оплаты", None)) self.lblNextDate.setText(_translate("Dialog", "След.явка", None)) self.edtBegDate.setWhatsThis( _translate("Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None)) self.grplFinalDiagnostics.setTitle( _translate("Dialog", "&Диагнозы", None)) self.groupBox.setTitle(_translate("Dialog", "&Посещения", None)) self.lblVisitsCount.setText( _translate("Dialog", "Всего посещений:", None)) self.lblVisitsCountValue.setText(_translate("Dialog", "0", None)) self.lblVisitsDuration.setText( _translate("Dialog", "Общая длительность:", None)) self.lblVisitsDurationValue.setText(_translate("Dialog", "0", None)) self.grpActions.setTitle(_translate("Dialog", "&Мероприятия", None)) self.lblTotalUet.setText(_translate("Dialog", "Всего УЕТ", None)) self.lblShowTotalUet.setText(_translate("Dialog", "0", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Стат.&учёт", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("Dialog", "&Статус", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagnostic), _translate("Dialog", "&Диагностика", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCure), _translate("Dialog", "&Лечение", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAnalyses), _translate("Dialog", "&Анализы", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard), _translate("Dialog", "Мед.&карта", None)) self.grpTempInvalid.setTitle(_translate("Dialog", "&ВУТ", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalid), _translate("Dialog", "Листок &нетрудоспособности", None)) self.grpDisability.setTitle(_translate("Dialog", "&Инвалидность", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf(self.tabInvalidTempInv), _translate("Dialog", "Инвалидность", None)) self.grpVitalRestriction.setTitle( _translate("Dialog", "&Ограничения жизнедеятельности", None)) self.tabTempInvalidAndAegrotat.setTabText( self.tabTempInvalidAndAegrotat.indexOf(self.tabInvalidDisability), _translate("Dialog", "Ограничение жизнедеятельности", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabTempInvalidEtc), _translate("Dialog", "Т&рудоспособность", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("Dialog", "Оплата", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None)) self.statusBar.setToolTip(_translate("Dialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
class Ui_JobTicketEditorDialog(object): def setupUi(self, JobTicketEditorDialog): JobTicketEditorDialog.setObjectName(_fromUtf8("JobTicketEditorDialog")) JobTicketEditorDialog.resize(1299, 734) JobTicketEditorDialog.setSizeGripEnabled(False) self.verticalLayout = QtGui.QVBoxLayout(JobTicketEditorDialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter = QtGui.QSplitter(JobTicketEditorDialog) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.txtClientInfoBrowser = CTextBrowser(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setReadOnly(True) self.txtClientInfoBrowser.setTextInteractionFlags( QtCore.Qt.TextBrowserInteraction) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.grpMain = QtGui.QGroupBox(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpMain.sizePolicy().hasHeightForWidth()) self.grpMain.setSizePolicy(sizePolicy) self.grpMain.setObjectName(_fromUtf8("grpMain")) self.gridLayout = QtGui.QGridLayout(self.grpMain) self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblJobTypeValue = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblJobTypeValue.sizePolicy().hasHeightForWidth()) self.lblJobTypeValue.setSizePolicy(sizePolicy) self.lblJobTypeValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblJobTypeValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblJobTypeValue.setObjectName(_fromUtf8("lblJobTypeValue")) self.gridLayout.addWidget(self.lblJobTypeValue, 2, 1, 1, 1) self.edtEndTime = QtGui.QTimeEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndTime.sizePolicy().hasHeightForWidth()) self.edtEndTime.setSizePolicy(sizePolicy) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setCurrentSectionIndex(0) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.gridLayout.addWidget(self.edtEndTime, 1, 4, 1, 1) self.lblJobType = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblJobType.sizePolicy().hasHeightForWidth()) self.lblJobType.setSizePolicy(sizePolicy) self.lblJobType.setObjectName(_fromUtf8("lblJobType")) self.gridLayout.addWidget(self.lblJobType, 2, 0, 1, 1) self.btnSetEndDateTime = QtGui.QToolButton(self.grpMain) self.btnSetEndDateTime.setArrowType(QtCore.Qt.LeftArrow) self.btnSetEndDateTime.setObjectName(_fromUtf8("btnSetEndDateTime")) self.gridLayout.addWidget(self.btnSetEndDateTime, 1, 5, 1, 1) self.edtBegTime = QtGui.QTimeEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegTime.sizePolicy().hasHeightForWidth()) self.edtBegTime.setSizePolicy(sizePolicy) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setCurrentSectionIndex(0) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.gridLayout.addWidget(self.edtBegTime, 0, 4, 1, 1) self.lblEndDatetime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDatetime.sizePolicy().hasHeightForWidth()) self.lblEndDatetime.setSizePolicy(sizePolicy) self.lblEndDatetime.setObjectName(_fromUtf8("lblEndDatetime")) self.gridLayout.addWidget(self.lblEndDatetime, 1, 2, 1, 1) self.lblOrgStructureValue = QtGui.QLabel(self.grpMain) self.lblOrgStructureValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblOrgStructureValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblOrgStructureValue.setObjectName( _fromUtf8("lblOrgStructureValue")) self.gridLayout.addWidget(self.lblOrgStructureValue, 1, 1, 1, 1) self.lblBegDateTime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDateTime.sizePolicy().hasHeightForWidth()) self.lblBegDateTime.setSizePolicy(sizePolicy) self.lblBegDateTime.setObjectName(_fromUtf8("lblBegDateTime")) self.gridLayout.addWidget(self.lblBegDateTime, 0, 2, 1, 1) self.lblDatetimeValue = QtGui.QLabel(self.grpMain) self.lblDatetimeValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblDatetimeValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblDatetimeValue.setObjectName(_fromUtf8("lblDatetimeValue")) self.gridLayout.addWidget(self.lblDatetimeValue, 0, 1, 1, 1) self.btnSetBegDateTime = QtGui.QToolButton(self.grpMain) self.btnSetBegDateTime.setArrowType(QtCore.Qt.LeftArrow) self.btnSetBegDateTime.setObjectName(_fromUtf8("btnSetBegDateTime")) self.gridLayout.addWidget(self.btnSetBegDateTime, 0, 5, 1, 1) self.lblDatetime = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDatetime.sizePolicy().hasHeightForWidth()) self.lblDatetime.setSizePolicy(sizePolicy) self.lblDatetime.setObjectName(_fromUtf8("lblDatetime")) self.gridLayout.addWidget(self.lblDatetime, 0, 0, 1, 1) self.edtBegDate = CDateEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1) self.lblOrgStructure = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblOrgStructure.sizePolicy().hasHeightForWidth()) self.lblOrgStructure.setSizePolicy(sizePolicy) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 1, 0, 1, 1) self.edtEndDate = CDateEdit(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 1) self.lblStatus = QtGui.QLabel(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblStatus.sizePolicy().hasHeightForWidth()) self.lblStatus.setSizePolicy(sizePolicy) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout.addWidget(self.lblStatus, 2, 2, 1, 1) self.cmbStatus = QtGui.QComboBox(self.grpMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbStatus.sizePolicy().hasHeightForWidth()) self.cmbStatus.setSizePolicy(sizePolicy) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbStatus, 2, 3, 1, 3) self.gridWidget = QtGui.QWidget(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self.gridWidget.sizePolicy().hasHeightForWidth()) self.gridWidget.setSizePolicy(sizePolicy) self.gridWidget.setObjectName(_fromUtf8("gridWidget")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.gridWidget) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter_2 = QtGui.QSplitter(self.gridWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_2.sizePolicy().hasHeightForWidth()) self.splitter_2.setSizePolicy(sizePolicy) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.tblTreeProbe = CJobTicketProbeTreeView2(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblTreeProbe.sizePolicy().hasHeightForWidth()) self.tblTreeProbe.setSizePolicy(sizePolicy) self.tblTreeProbe.setObjectName(_fromUtf8("tblTreeProbe")) self.tblProps = CActionPropertiesTableView(self.splitter_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblProps.sizePolicy().hasHeightForWidth()) self.tblProps.setSizePolicy(sizePolicy) self.tblProps.setObjectName(_fromUtf8("tblProps")) self.verticalLayout_2.addWidget(self.splitter_2) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.btnSaveAsTemplate = QtGui.QPushButton(self.gridWidget) self.btnSaveAsTemplate.setObjectName(_fromUtf8("btnSaveAsTemplate")) self.gridLayout_5.addWidget(self.btnSaveAsTemplate, 0, 2, 1, 1) self.btnEditEvent = QtGui.QPushButton(self.gridWidget) self.btnEditEvent.setObjectName(_fromUtf8("btnEditEvent")) self.gridLayout_5.addWidget(self.btnEditEvent, 0, 5, 1, 1) self.btnAmbCard = QtGui.QPushButton(self.gridWidget) self.btnAmbCard.setObjectName(_fromUtf8("btnAmbCard")) self.gridLayout_5.addWidget(self.btnAmbCard, 0, 4, 1, 1) self.btnLoadTemplate = CActionTemplateChooseButton(self.gridWidget) self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate")) self.gridLayout_5.addWidget(self.btnLoadTemplate, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem, 0, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 0, 7, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 3, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout_5) self.verticalLayout.addWidget(self.splitter) self.buttonBox = QtGui.QDialogButtonBox(JobTicketEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.lblEndDatetime.setBuddy(self.edtEndDate) self.lblBegDateTime.setBuddy(self.edtBegDate) self.lblStatus.setBuddy(self.cmbStatus) self.retranslateUi(JobTicketEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), JobTicketEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), JobTicketEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(JobTicketEditorDialog) JobTicketEditorDialog.setTabOrder(self.edtBegDate, self.edtBegTime) JobTicketEditorDialog.setTabOrder(self.edtBegTime, self.btnSetBegDateTime) JobTicketEditorDialog.setTabOrder(self.btnSetBegDateTime, self.edtEndDate) JobTicketEditorDialog.setTabOrder(self.edtEndDate, self.edtEndTime) JobTicketEditorDialog.setTabOrder(self.edtEndTime, self.btnSetEndDateTime) JobTicketEditorDialog.setTabOrder(self.btnSetEndDateTime, self.buttonBox) def retranslateUi(self, JobTicketEditorDialog): JobTicketEditorDialog.setWindowTitle( _translate("JobTicketEditorDialog", "ChangeMe!", None)) self.txtClientInfoBrowser.setHtml( _translate( "JobTicketEditorDialog", "<!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:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None)) self.grpMain.setTitle( _translate("JobTicketEditorDialog", "Основная информация", None)) self.lblJobTypeValue.setText( _translate("JobTicketEditorDialog", "анализ крови", None)) self.edtEndTime.setDisplayFormat( _translate("JobTicketEditorDialog", "HH:mm", None)) self.lblJobType.setText( _translate("JobTicketEditorDialog", "Работа", None)) self.btnSetEndDateTime.setText( _translate("JobTicketEditorDialog", "...", None)) self.edtBegTime.setDisplayFormat( _translate("JobTicketEditorDialog", "HH:mm", None)) self.lblEndDatetime.setText( _translate("JobTicketEditorDialog", "Дата и время окончания выполнения", None)) self.lblOrgStructureValue.setText( _translate("JobTicketEditorDialog", "Лаборатория", None)) self.lblBegDateTime.setText( _translate("JobTicketEditorDialog", "Дата и время начала выполнения", None)) self.lblDatetimeValue.setText( _translate("JobTicketEditorDialog", "01.12.2009 19:30", None)) self.btnSetBegDateTime.setText( _translate("JobTicketEditorDialog", "...", None)) self.lblDatetime.setText( _translate("JobTicketEditorDialog", "Плановые дата и время", None)) self.lblOrgStructure.setText( _translate("JobTicketEditorDialog", "Подразделение", None)) self.lblStatus.setText( _translate("JobTicketEditorDialog", "Состояние", None)) self.cmbStatus.setItemText( 0, _translate("JobTicketEditorDialog", "Ожидание", None)) self.cmbStatus.setItemText( 1, _translate("JobTicketEditorDialog", "Выполняется", None)) self.cmbStatus.setItemText( 2, _translate("JobTicketEditorDialog", "Закончено", None)) self.btnSaveAsTemplate.setText( _translate("JobTicketEditorDialog", "Сохранить шаблон", None)) self.btnEditEvent.setText( _translate("JobTicketEditorDialog", "Перейти в обращение", None)) self.btnAmbCard.setText( _translate("JobTicketEditorDialog", "Медицинская карта", None)) self.btnLoadTemplate.setText( _translate("JobTicketEditorDialog", "Загрузить шаблон", None))