def setupUi(self): layout = QtGui.QVBoxLayout() contractLayout = QtGui.QHBoxLayout() self.cmbContract = CContractComboBox() self.lblContract = QtGui.QLabel(u'&Договор:') self.lblContract.setBuddy(self.cmbContract) contractLayout.addWidget(self.lblContract) contractLayout.addWidget(self.cmbContract) contractLayout.addStretch() layout.addLayout(contractLayout) self.actionPage = CActionsPage(self) self.actionPage.modelAPActions.setActionTypeClass(None) self.actionPage.setEventEditor(self) layout.addWidget(self.actionPage) self.buttonBox = QtGui.QDialogButtonBox( QtGui.QDialogButtonBox.Save | QtGui.QDialogButtonBox.Cancel, QtCore.Qt.Horizontal) self.buttonBox.accepted.connect(self.accept) self.buttonBox.rejected.connect(self.reject) layout.addWidget(self.buttonBox) self.setLayout(layout) self.setWindowFlags(QtCore.Qt.Dialog | QtCore.Qt.WindowMaximizeButtonHint | QtCore.Qt.WindowCloseButtonHint) QtCore.QMetaObject.connectSlotsByName(self)
def createEditor(self, parent): eventEditor = self.model.parentWidget.eventEditorOwner( ).eventEditor editor = CContractComboBox(parent) editor.setOrgId(eventEditor.orgId) editor.setClientInfo(eventEditor.clientId, eventEditor.clientSex, eventEditor.clientAge, eventEditor.clientWorkOrgId, eventEditor.clientPolicyInfoList) return editor
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)
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))
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)
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))
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)
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))
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 setupUi(self, F043Dialog): F043Dialog.setObjectName(_fromUtf8("F043Dialog")) F043Dialog.resize(828, 674) self.verticalLayout = QtGui.QVBoxLayout(F043Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(F043Dialog) 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.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_9 = QtGui.QGridLayout(self.tabToken) 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, 769, 751)) 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_2 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.frame = QtGui.QFrame(self.splitter_2) self.frame.setFrameShape(QtGui.QFrame.NoFrame) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.horizontalLayout = QtGui.QHBoxLayout(self.frame) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.grpBase = QtGui.QGroupBox(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 4, 0, 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_4.addWidget(self.edtPregnancyWeek, 10, 2, 1, 1) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbResult, 12, 0, 1, 3) 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.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbContract, 0, 0, 1, 3) 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) 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_4.addWidget(self.edtEndTime) self.gridLayout_4.addWidget(self.frmEndDateTime, 4, 1, 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) 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_3.addWidget(self.edtBegTime) self.gridLayout_4.addWidget(self.frmBegDateTime, 3, 1, 1, 2) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_4.addWidget(self.lblGoal, 13, 0, 1, 1) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem, 17, 0, 1, 3) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 3, 0, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_4.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_4.addWidget(self.cmbGoal, 13, 1, 1, 2) self.cmbOrder = CRBComboBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbOrder.sizePolicy().hasHeightForWidth()) self.cmbOrder.setSizePolicy(sizePolicy) 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, 3) self.lblNextDate = QtGui.QLabel(self.grpBase) self.lblNextDate.setObjectName(_fromUtf8("lblNextDate")) self.gridLayout_4.addWidget(self.lblNextDate, 5, 0, 1, 1) self.edtNextDate = CDateEdit(self.grpBase) 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.gridLayout_4.addWidget(self.edtNextDate, 5, 1, 1, 1) 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_4.addWidget(self.lblPregnancyWeek, 10, 0, 1, 2) self.lblPerson = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 6, 0, 1, 3) 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_4.addWidget(self.lblResult, 11, 0, 1, 3) self.cmbPerson = CPersonComboBoxEx(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbPerson.sizePolicy().hasHeightForWidth()) self.cmbPerson.setSizePolicy(sizePolicy) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPerson, 7, 0, 1, 3) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_4.addWidget(self.chkZNOFirst, 15, 0, 1, 3) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_4.addWidget(self.chkZNOMorph, 16, 0, 1, 3) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_4.addWidget(self.chkIsClosed, 1, 0, 1, 3) self.horizontalLayout.addWidget(self.grpBase) self.groupBox = QtGui.QGroupBox(self.frame) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem1, 1, 4, 1, 1) self.tblVisits = CInDocTableView(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tblVisits.sizePolicy().hasHeightForWidth()) self.tblVisits.setSizePolicy(sizePolicy) self.tblVisits.setObjectName(_fromUtf8("tblVisits")) self.gridLayout_3.addWidget(self.tblVisits, 0, 0, 1, 5) self.lblVisitsCount = QtGui.QLabel(self.groupBox) self.lblVisitsCount.setObjectName(_fromUtf8("lblVisitsCount")) self.gridLayout_3.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_3.addWidget(self.lblVisitsCountValue, 1, 1, 1, 1) self.lblVisitsDuration = QtGui.QLabel(self.groupBox) self.lblVisitsDuration.setObjectName(_fromUtf8("lblVisitsDuration")) self.gridLayout_3.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_3.addWidget(self.lblVisitsDurationValue, 1, 3, 1, 1) self.horizontalLayout.addWidget(self.groupBox) self.grpInspections = QtGui.QGroupBox(self.splitter_2) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self.gridLayout_5 = QtGui.QGridLayout(self.grpInspections) self.gridLayout_5.setMargin(4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblDiagnostics = CInDocTableView(self.grpInspections) self.tblDiagnostics.setMinimumSize(QtCore.QSize(0, 200)) self.tblDiagnostics.setObjectName(_fromUtf8("tblDiagnostics")) self.gridLayout_5.addWidget(self.tblDiagnostics, 0, 0, 1, 1) self.splitter = QtGui.QSplitter(self.splitter_2) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.dentitionTabWidget = QtGui.QTabWidget(self.splitter) self.dentitionTabWidget.setObjectName(_fromUtf8("dentitionTabWidget")) self.tabDentitionInspection = QtGui.QWidget() self.tabDentitionInspection.setObjectName(_fromUtf8("tabDentitionInspection")) self.gridLayout_7 = QtGui.QGridLayout(self.tabDentitionInspection) self.gridLayout_7.setMargin(0) self.gridLayout_7.setSpacing(0) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.tblDentition = CDentitionTableView(self.tabDentitionInspection) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(20) sizePolicy.setHeightForWidth(self.tblDentition.sizePolicy().hasHeightForWidth()) self.tblDentition.setSizePolicy(sizePolicy) self.tblDentition.setMinimumSize(QtCore.QSize(0, 0)) self.tblDentition.setObjectName(_fromUtf8("tblDentition")) self.gridLayout_7.addWidget(self.tblDentition, 0, 0, 1, 1) self.dentitionTabWidget.addTab(self.tabDentitionInspection, _fromUtf8("")) self.tabDentitionAdditional = QtGui.QWidget() self.tabDentitionAdditional.setObjectName(_fromUtf8("tabDentitionAdditional")) self.gridLayout_10 = QtGui.QGridLayout(self.tabDentitionAdditional) self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.lblDentitionMucosa = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionMucosa.setObjectName(_fromUtf8("lblDentitionMucosa")) self.gridLayout_10.addWidget(self.lblDentitionMucosa, 0, 3, 1, 1) self.lblDentitionNote = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionNote.setObjectName(_fromUtf8("lblDentitionNote")) self.gridLayout_10.addWidget(self.lblDentitionNote, 0, 4, 1, 1) self.edtDentitionObjectively = CThesaurusEditor(self.tabDentitionAdditional) self.edtDentitionObjectively.setObjectName(_fromUtf8("edtDentitionObjectively")) self.gridLayout_10.addWidget(self.edtDentitionObjectively, 1, 1, 1, 2) self.edtDentitionMucosa = CThesaurusEditor(self.tabDentitionAdditional) self.edtDentitionMucosa.setObjectName(_fromUtf8("edtDentitionMucosa")) self.gridLayout_10.addWidget(self.edtDentitionMucosa, 1, 3, 1, 1) self.edtDentitionNote = QtGui.QTextEdit(self.tabDentitionAdditional) self.edtDentitionNote.setObjectName(_fromUtf8("edtDentitionNote")) self.gridLayout_10.addWidget(self.edtDentitionNote, 1, 4, 1, 1) self.lblDentitionBite = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionBite.setObjectName(_fromUtf8("lblDentitionBite")) self.gridLayout_10.addWidget(self.lblDentitionBite, 2, 1, 1, 2) self.cmbDentitionBite = CStrComboBox(self.tabDentitionAdditional) self.cmbDentitionBite.setObjectName(_fromUtf8("cmbDentitionBite")) self.gridLayout_10.addWidget(self.cmbDentitionBite, 2, 3, 1, 2) self.lblDentitionObjectively = QtGui.QLabel(self.tabDentitionAdditional) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblDentitionObjectively.sizePolicy().hasHeightForWidth()) self.lblDentitionObjectively.setSizePolicy(sizePolicy) self.lblDentitionObjectively.setObjectName(_fromUtf8("lblDentitionObjectively")) self.gridLayout_10.addWidget(self.lblDentitionObjectively, 0, 1, 1, 2) self.dentitionTabWidget.addTab(self.tabDentitionAdditional, _fromUtf8("")) self.tabDentitionResult = QtGui.QWidget() self.tabDentitionResult.setObjectName(_fromUtf8("tabDentitionResult")) self.gridLayout_11 = QtGui.QGridLayout(self.tabDentitionResult) self.gridLayout_11.setMargin(0) self.gridLayout_11.setSpacing(0) self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) self.tblParodentium = CParodentiumTableView(self.tabDentitionResult) self.tblParodentium.setObjectName(_fromUtf8("tblParodentium")) self.gridLayout_11.addWidget(self.tblParodentium, 0, 0, 1, 1) self.dentitionTabWidget.addTab(self.tabDentitionResult, _fromUtf8("")) self.grpDentitionHistory = QtGui.QGroupBox(self.splitter) self.grpDentitionHistory.setObjectName(_fromUtf8("grpDentitionHistory")) self.gridLayout_8 = QtGui.QGridLayout(self.grpDentitionHistory) self.gridLayout_8.setContentsMargins(0, 6, 0, 0) self.gridLayout_8.setSpacing(0) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.tblClientDentitionHistory = CClientDentitionHistoryTableView(self.grpDentitionHistory) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tblClientDentitionHistory.sizePolicy().hasHeightForWidth()) self.tblClientDentitionHistory.setSizePolicy(sizePolicy) self.tblClientDentitionHistory.setObjectName(_fromUtf8("tblClientDentitionHistory")) self.gridLayout_8.addWidget(self.tblClientDentitionHistory, 0, 0, 1, 1) self.verticalLayout_2.addWidget(self.splitter_2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabStatus = CActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabTreatmentPlan = CActionsPage() self.tabTreatmentPlan.setObjectName(_fromUtf8("tabTreatmentPlan")) self.tabWidget.addTab(self.tabTreatmentPlan, _fromUtf8("")) self.tabCure = CActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabAmbCard = CAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabReferralPage = CReferralPage() self.tabReferralPage.setObjectName(_fromUtf8("tabReferralPage")) self.tabWidget.addTab(self.tabReferralPage, _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.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 796, 359)) self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) 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.tabTempInvalidS = QtGui.QWidget() self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS")) self.gridLayout_2 = QtGui.QGridLayout(self.tabTempInvalidS) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) 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_2.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS, _fromUtf8("")) self.tabTempInvalidDisability = QtGui.QWidget() self.tabTempInvalidDisability.setObjectName(_fromUtf8("tabTempInvalidDisability")) self.gridLayout_12 = QtGui.QGridLayout(self.tabTempInvalidDisability) self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12")) 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_12.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability, _fromUtf8("")) self.verticalLayout_3.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 = 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.widget = QtGui.QWidget(F043Dialog) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblProlongateEvent = QtGui.QLabel(self.widget) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_2.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(self.widget) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_2.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_2.addWidget(self.buttonBox) self.verticalLayout.addWidget(self.widget) self.lblEndDate.setBuddy(self.edtEndDate) self.lblGoal.setBuddy(self.cmbGoal) self.lblBegDate.setBuddy(self.edtBegDate) self.lblNextDate.setBuddy(self.edtNextDate) self.lblPregnancyWeek.setBuddy(self.edtPregnancyWeek) self.lblPerson.setBuddy(self.cmbPerson) self.lblResult.setBuddy(self.cmbResult) self.retranslateUi(F043Dialog) self.tabWidget.setCurrentIndex(0) self.dentitionTabWidget.setCurrentIndex(2) self.tabTempInvalidAndAegrotat.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), F043Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), F043Dialog.reject) QtCore.QMetaObject.connectSlotsByName(F043Dialog) F043Dialog.setTabOrder(self.tabWidget, self.scrollArea) F043Dialog.setTabOrder(self.scrollArea, self.cmbContract) F043Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) F043Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) F043Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate) F043Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) F043Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) F043Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) F043Dialog.setTabOrder(self.edtEndTime, self.edtNextDate) F043Dialog.setTabOrder(self.edtNextDate, self.cmbPerson) F043Dialog.setTabOrder(self.cmbPerson, self.cmbOrder) F043Dialog.setTabOrder(self.cmbOrder, self.edtPregnancyWeek) F043Dialog.setTabOrder(self.edtPregnancyWeek, self.cmbResult) F043Dialog.setTabOrder(self.cmbResult, self.cmbGoal) F043Dialog.setTabOrder(self.cmbGoal, self.chkZNOFirst) F043Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) F043Dialog.setTabOrder(self.chkZNOMorph, self.tblVisits) F043Dialog.setTabOrder(self.tblVisits, self.tblDiagnostics) F043Dialog.setTabOrder(self.tblDiagnostics, self.dentitionTabWidget) F043Dialog.setTabOrder(self.dentitionTabWidget, self.tblParodentium) F043Dialog.setTabOrder(self.tblParodentium, self.tblClientDentitionHistory) F043Dialog.setTabOrder(self.tblClientDentitionHistory, self.buttonBox) F043Dialog.setTabOrder(self.buttonBox, self.edtDentitionMucosa) F043Dialog.setTabOrder(self.edtDentitionMucosa, self.scrollArea_2) F043Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid) F043Dialog.setTabOrder(self.grpTempInvalid, self.tblDentition) F043Dialog.setTabOrder(self.tblDentition, self.edtDentitionObjectively) F043Dialog.setTabOrder(self.edtDentitionObjectively, self.tabTempInvalidAndAegrotat) F043Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.edtDentitionNote) F043Dialog.setTabOrder(self.edtDentitionNote, self.cmbDentitionBite) F043Dialog.setTabOrder(self.cmbDentitionBite, self.txtClientInfoBrowser)
class Ui_F043Dialog(object): def setupUi(self, F043Dialog): F043Dialog.setObjectName(_fromUtf8("F043Dialog")) F043Dialog.resize(828, 674) self.verticalLayout = QtGui.QVBoxLayout(F043Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(F043Dialog) 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.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_9 = QtGui.QGridLayout(self.tabToken) 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, 769, 751)) 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_2 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.frame = QtGui.QFrame(self.splitter_2) self.frame.setFrameShape(QtGui.QFrame.NoFrame) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.horizontalLayout = QtGui.QHBoxLayout(self.frame) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.grpBase = QtGui.QGroupBox(self.frame) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.lblEndDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 4, 0, 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_4.addWidget(self.edtPregnancyWeek, 10, 2, 1, 1) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbResult, 12, 0, 1, 3) 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.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbContract, 0, 0, 1, 3) 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) 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_4.addWidget(self.edtEndTime) self.gridLayout_4.addWidget(self.frmEndDateTime, 4, 1, 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) 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_3.addWidget(self.edtBegTime) self.gridLayout_4.addWidget(self.frmBegDateTime, 3, 1, 1, 2) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_4.addWidget(self.lblGoal, 13, 0, 1, 1) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem, 17, 0, 1, 3) self.lblBegDate = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 3, 0, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_4.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_4.addWidget(self.cmbGoal, 13, 1, 1, 2) self.cmbOrder = CRBComboBox(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbOrder.sizePolicy().hasHeightForWidth()) self.cmbOrder.setSizePolicy(sizePolicy) 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, 3) self.lblNextDate = QtGui.QLabel(self.grpBase) self.lblNextDate.setObjectName(_fromUtf8("lblNextDate")) self.gridLayout_4.addWidget(self.lblNextDate, 5, 0, 1, 1) self.edtNextDate = CDateEdit(self.grpBase) 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.gridLayout_4.addWidget(self.edtNextDate, 5, 1, 1, 1) 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_4.addWidget(self.lblPregnancyWeek, 10, 0, 1, 2) self.lblPerson = QtGui.QLabel(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, 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, 6, 0, 1, 3) 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_4.addWidget(self.lblResult, 11, 0, 1, 3) self.cmbPerson = CPersonComboBoxEx(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbPerson.sizePolicy().hasHeightForWidth()) self.cmbPerson.setSizePolicy(sizePolicy) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPerson, 7, 0, 1, 3) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_4.addWidget(self.chkZNOFirst, 15, 0, 1, 3) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_4.addWidget(self.chkZNOMorph, 16, 0, 1, 3) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_4.addWidget(self.chkIsClosed, 1, 0, 1, 3) self.horizontalLayout.addWidget(self.grpBase) self.groupBox = QtGui.QGroupBox(self.frame) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem1, 1, 4, 1, 1) self.tblVisits = CInDocTableView(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tblVisits.sizePolicy().hasHeightForWidth()) self.tblVisits.setSizePolicy(sizePolicy) self.tblVisits.setObjectName(_fromUtf8("tblVisits")) self.gridLayout_3.addWidget(self.tblVisits, 0, 0, 1, 5) self.lblVisitsCount = QtGui.QLabel(self.groupBox) self.lblVisitsCount.setObjectName(_fromUtf8("lblVisitsCount")) self.gridLayout_3.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_3.addWidget(self.lblVisitsCountValue, 1, 1, 1, 1) self.lblVisitsDuration = QtGui.QLabel(self.groupBox) self.lblVisitsDuration.setObjectName(_fromUtf8("lblVisitsDuration")) self.gridLayout_3.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_3.addWidget(self.lblVisitsDurationValue, 1, 3, 1, 1) self.horizontalLayout.addWidget(self.groupBox) self.grpInspections = QtGui.QGroupBox(self.splitter_2) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self.gridLayout_5 = QtGui.QGridLayout(self.grpInspections) self.gridLayout_5.setMargin(4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblDiagnostics = CInDocTableView(self.grpInspections) self.tblDiagnostics.setMinimumSize(QtCore.QSize(0, 200)) self.tblDiagnostics.setObjectName(_fromUtf8("tblDiagnostics")) self.gridLayout_5.addWidget(self.tblDiagnostics, 0, 0, 1, 1) self.splitter = QtGui.QSplitter(self.splitter_2) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.dentitionTabWidget = QtGui.QTabWidget(self.splitter) self.dentitionTabWidget.setObjectName(_fromUtf8("dentitionTabWidget")) self.tabDentitionInspection = QtGui.QWidget() self.tabDentitionInspection.setObjectName(_fromUtf8("tabDentitionInspection")) self.gridLayout_7 = QtGui.QGridLayout(self.tabDentitionInspection) self.gridLayout_7.setMargin(0) self.gridLayout_7.setSpacing(0) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.tblDentition = CDentitionTableView(self.tabDentitionInspection) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(20) sizePolicy.setHeightForWidth(self.tblDentition.sizePolicy().hasHeightForWidth()) self.tblDentition.setSizePolicy(sizePolicy) self.tblDentition.setMinimumSize(QtCore.QSize(0, 0)) self.tblDentition.setObjectName(_fromUtf8("tblDentition")) self.gridLayout_7.addWidget(self.tblDentition, 0, 0, 1, 1) self.dentitionTabWidget.addTab(self.tabDentitionInspection, _fromUtf8("")) self.tabDentitionAdditional = QtGui.QWidget() self.tabDentitionAdditional.setObjectName(_fromUtf8("tabDentitionAdditional")) self.gridLayout_10 = QtGui.QGridLayout(self.tabDentitionAdditional) self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.lblDentitionMucosa = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionMucosa.setObjectName(_fromUtf8("lblDentitionMucosa")) self.gridLayout_10.addWidget(self.lblDentitionMucosa, 0, 3, 1, 1) self.lblDentitionNote = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionNote.setObjectName(_fromUtf8("lblDentitionNote")) self.gridLayout_10.addWidget(self.lblDentitionNote, 0, 4, 1, 1) self.edtDentitionObjectively = CThesaurusEditor(self.tabDentitionAdditional) self.edtDentitionObjectively.setObjectName(_fromUtf8("edtDentitionObjectively")) self.gridLayout_10.addWidget(self.edtDentitionObjectively, 1, 1, 1, 2) self.edtDentitionMucosa = CThesaurusEditor(self.tabDentitionAdditional) self.edtDentitionMucosa.setObjectName(_fromUtf8("edtDentitionMucosa")) self.gridLayout_10.addWidget(self.edtDentitionMucosa, 1, 3, 1, 1) self.edtDentitionNote = QtGui.QTextEdit(self.tabDentitionAdditional) self.edtDentitionNote.setObjectName(_fromUtf8("edtDentitionNote")) self.gridLayout_10.addWidget(self.edtDentitionNote, 1, 4, 1, 1) self.lblDentitionBite = QtGui.QLabel(self.tabDentitionAdditional) self.lblDentitionBite.setObjectName(_fromUtf8("lblDentitionBite")) self.gridLayout_10.addWidget(self.lblDentitionBite, 2, 1, 1, 2) self.cmbDentitionBite = CStrComboBox(self.tabDentitionAdditional) self.cmbDentitionBite.setObjectName(_fromUtf8("cmbDentitionBite")) self.gridLayout_10.addWidget(self.cmbDentitionBite, 2, 3, 1, 2) self.lblDentitionObjectively = QtGui.QLabel(self.tabDentitionAdditional) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblDentitionObjectively.sizePolicy().hasHeightForWidth()) self.lblDentitionObjectively.setSizePolicy(sizePolicy) self.lblDentitionObjectively.setObjectName(_fromUtf8("lblDentitionObjectively")) self.gridLayout_10.addWidget(self.lblDentitionObjectively, 0, 1, 1, 2) self.dentitionTabWidget.addTab(self.tabDentitionAdditional, _fromUtf8("")) self.tabDentitionResult = QtGui.QWidget() self.tabDentitionResult.setObjectName(_fromUtf8("tabDentitionResult")) self.gridLayout_11 = QtGui.QGridLayout(self.tabDentitionResult) self.gridLayout_11.setMargin(0) self.gridLayout_11.setSpacing(0) self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) self.tblParodentium = CParodentiumTableView(self.tabDentitionResult) self.tblParodentium.setObjectName(_fromUtf8("tblParodentium")) self.gridLayout_11.addWidget(self.tblParodentium, 0, 0, 1, 1) self.dentitionTabWidget.addTab(self.tabDentitionResult, _fromUtf8("")) self.grpDentitionHistory = QtGui.QGroupBox(self.splitter) self.grpDentitionHistory.setObjectName(_fromUtf8("grpDentitionHistory")) self.gridLayout_8 = QtGui.QGridLayout(self.grpDentitionHistory) self.gridLayout_8.setContentsMargins(0, 6, 0, 0) self.gridLayout_8.setSpacing(0) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.tblClientDentitionHistory = CClientDentitionHistoryTableView(self.grpDentitionHistory) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tblClientDentitionHistory.sizePolicy().hasHeightForWidth()) self.tblClientDentitionHistory.setSizePolicy(sizePolicy) self.tblClientDentitionHistory.setObjectName(_fromUtf8("tblClientDentitionHistory")) self.gridLayout_8.addWidget(self.tblClientDentitionHistory, 0, 0, 1, 1) self.verticalLayout_2.addWidget(self.splitter_2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabStatus = CActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabTreatmentPlan = CActionsPage() self.tabTreatmentPlan.setObjectName(_fromUtf8("tabTreatmentPlan")) self.tabWidget.addTab(self.tabTreatmentPlan, _fromUtf8("")) self.tabCure = CActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabAmbCard = CAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabReferralPage = CReferralPage() self.tabReferralPage.setObjectName(_fromUtf8("tabReferralPage")) self.tabWidget.addTab(self.tabReferralPage, _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.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 796, 359)) self.scrollAreaWidgetContents_2.setObjectName(_fromUtf8("scrollAreaWidgetContents_2")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents_2) self.verticalLayout_3.setMargin(0) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) 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.tabTempInvalidS = QtGui.QWidget() self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS")) self.gridLayout_2 = QtGui.QGridLayout(self.tabTempInvalidS) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) 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_2.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS, _fromUtf8("")) self.tabTempInvalidDisability = QtGui.QWidget() self.tabTempInvalidDisability.setObjectName(_fromUtf8("tabTempInvalidDisability")) self.gridLayout_12 = QtGui.QGridLayout(self.tabTempInvalidDisability) self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12")) 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_12.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability, _fromUtf8("")) self.verticalLayout_3.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 = 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.widget = QtGui.QWidget(F043Dialog) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblProlongateEvent = QtGui.QLabel(self.widget) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_2.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(self.widget) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_2.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_2.addWidget(self.buttonBox) self.verticalLayout.addWidget(self.widget) self.lblEndDate.setBuddy(self.edtEndDate) self.lblGoal.setBuddy(self.cmbGoal) self.lblBegDate.setBuddy(self.edtBegDate) self.lblNextDate.setBuddy(self.edtNextDate) self.lblPregnancyWeek.setBuddy(self.edtPregnancyWeek) self.lblPerson.setBuddy(self.cmbPerson) self.lblResult.setBuddy(self.cmbResult) self.retranslateUi(F043Dialog) self.tabWidget.setCurrentIndex(0) self.dentitionTabWidget.setCurrentIndex(2) self.tabTempInvalidAndAegrotat.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), F043Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), F043Dialog.reject) QtCore.QMetaObject.connectSlotsByName(F043Dialog) F043Dialog.setTabOrder(self.tabWidget, self.scrollArea) F043Dialog.setTabOrder(self.scrollArea, self.cmbContract) F043Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) F043Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) F043Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate) F043Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) F043Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) F043Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) F043Dialog.setTabOrder(self.edtEndTime, self.edtNextDate) F043Dialog.setTabOrder(self.edtNextDate, self.cmbPerson) F043Dialog.setTabOrder(self.cmbPerson, self.cmbOrder) F043Dialog.setTabOrder(self.cmbOrder, self.edtPregnancyWeek) F043Dialog.setTabOrder(self.edtPregnancyWeek, self.cmbResult) F043Dialog.setTabOrder(self.cmbResult, self.cmbGoal) F043Dialog.setTabOrder(self.cmbGoal, self.chkZNOFirst) F043Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph) F043Dialog.setTabOrder(self.chkZNOMorph, self.tblVisits) F043Dialog.setTabOrder(self.tblVisits, self.tblDiagnostics) F043Dialog.setTabOrder(self.tblDiagnostics, self.dentitionTabWidget) F043Dialog.setTabOrder(self.dentitionTabWidget, self.tblParodentium) F043Dialog.setTabOrder(self.tblParodentium, self.tblClientDentitionHistory) F043Dialog.setTabOrder(self.tblClientDentitionHistory, self.buttonBox) F043Dialog.setTabOrder(self.buttonBox, self.edtDentitionMucosa) F043Dialog.setTabOrder(self.edtDentitionMucosa, self.scrollArea_2) F043Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid) F043Dialog.setTabOrder(self.grpTempInvalid, self.tblDentition) F043Dialog.setTabOrder(self.tblDentition, self.edtDentitionObjectively) F043Dialog.setTabOrder(self.edtDentitionObjectively, self.tabTempInvalidAndAegrotat) F043Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.edtDentitionNote) F043Dialog.setTabOrder(self.edtDentitionNote, self.cmbDentitionBite) F043Dialog.setTabOrder(self.cmbDentitionBite, self.txtClientInfoBrowser) def retranslateUi(self, F043Dialog): F043Dialog.setWindowTitle(_translate("F043Dialog", "Dialog", None)) self.grpBase.setTitle(_translate("F043Dialog", "&ф.043", None)) self.lblEndDate.setText(_translate("F043Dialog", "Выполнено", None)) self.cmbResult.setWhatsThis(_translate("F043Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("F043Dialog", "Результат", None)) self.cmbContract.setWhatsThis(_translate("F043Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("F043Dialog", "Договор", None)) self.edtEndDate.setWhatsThis(_translate("F043Dialog", "дата окончания осмотра", None)) self.edtEndTime.setDisplayFormat(_translate("F043Dialog", "HH:mm", None)) self.edtBegDate.setWhatsThis(_translate("F043Dialog", "дата начала осмотра", None)) self.edtBegTime.setDisplayFormat(_translate("F043Dialog", "HH:mm", None)) self.lblGoal.setText(_translate("F043Dialog", "&Цель", None)) self.lblBegDate.setText(_translate("F043Dialog", "Назначено", None)) self.chkExposeConfirmed.setText(_translate("F043Dialog", "Добавить к выставлению", None)) self.cmbGoal.setWhatsThis(_translate("F043Dialog", "результат осмотра", None)) self.cmbOrder.setItemText(1, _translate("F043Dialog", "Плановый", None)) self.cmbOrder.setItemText(2, _translate("F043Dialog", "Экстренный", None)) self.cmbOrder.setItemText(3, _translate("F043Dialog", "Самообращение", None)) self.cmbOrder.setItemText(4, _translate("F043Dialog", "Принудительный", None)) self.cmbOrder.setItemText(5, _translate("F043Dialog", "Неотложный", None)) self.lblNextDate.setText(_translate("F043Dialog", "След.явка", None)) self.lblPregnancyWeek.setText(_translate("F043Dialog", "Неделя беременности", None)) self.lblPerson.setText(_translate("F043Dialog", "Ответственный", None)) self.lblResult.setText(_translate("F043Dialog", "Результа&т", None)) self.cmbPerson.setWhatsThis(_translate("F043Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("F043Dialog", "Врач", None)) self.chkZNOFirst.setToolTip(_translate("F043Dialog", "ЗНО установлен впервые", None)) self.chkZNOFirst.setText(_translate("F043Dialog", "ЗНО уст. впервые", None)) self.chkZNOMorph.setToolTip(_translate("F043Dialog", "ЗНО потдверждён морфологически", None)) self.chkZNOMorph.setText(_translate("F043Dialog", "ЗНО подтв. морф-ки", None)) self.chkIsClosed.setText(_translate("F043Dialog", "Карта заполнена", None)) self.groupBox.setTitle(_translate("F043Dialog", "&Посещения", None)) self.lblVisitsCount.setText(_translate("F043Dialog", "Всего посещений:", None)) self.lblVisitsCountValue.setText(_translate("F043Dialog", "0", None)) self.lblVisitsDuration.setText(_translate("F043Dialog", "Общая длительность:", None)) self.lblVisitsDurationValue.setText(_translate("F043Dialog", "0", None)) self.grpInspections.setTitle(_translate("F043Dialog", "&Диагнозы", None)) self.dentitionTabWidget.setTabText(self.dentitionTabWidget.indexOf(self.tabDentitionInspection), _translate("F043Dialog", "Стоматологическая зубная формула", None)) self.lblDentitionMucosa.setText(_translate("F043Dialog", "Слизистая", None)) self.lblDentitionNote.setText(_translate("F043Dialog", "Примечание", None)) self.lblDentitionBite.setText(_translate("F043Dialog", "Прикус", None)) self.lblDentitionObjectively.setText(_translate("F043Dialog", "Объективно", None)) self.dentitionTabWidget.setTabText(self.dentitionTabWidget.indexOf(self.tabDentitionAdditional), _translate("F043Dialog", "Дополнительно", None)) self.dentitionTabWidget.setTabText(self.dentitionTabWidget.indexOf(self.tabDentitionResult), _translate("F043Dialog", "Парадонтологическая зубная формула", None)) self.grpDentitionHistory.setTitle(_translate("F043Dialog", "История", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("F043Dialog", "Стат.&талон", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("F043Dialog", "Статус", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagnostic), _translate("F043Dialog", "&Диагностика", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabTreatmentPlan), _translate("F043Dialog", "&План лечения", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCure), _translate("F043Dialog", "&Лечение", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("F043Dialog", "&Мероприятия", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard), _translate("F043Dialog", "Мед.&карта", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabReferralPage), _translate("F043Dialog", "Направления", None)) self.grpTempInvalid.setTitle(_translate("F043Dialog", "&ВУТ", None)) self.tabTempInvalidAndAegrotat.setTabText(self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalid), _translate("F043Dialog", "Листок &нетрудоспособности", None)) self.grpDisability.setTitle(_translate("F043Dialog", "&Инвалидность", None)) self.tabTempInvalidAndAegrotat.setTabText(self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalidS), _translate("F043Dialog", "Инвалидность", None)) self.grpVitalRestriction.setTitle(_translate("F043Dialog", "&Ограничения жизнедеятельности", None)) self.tabTempInvalidAndAegrotat.setTabText(self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalidDisability), _translate("F043Dialog", "Ограничения жизнедеятельности", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabTempInvalidEtc), _translate("F043Dialog", "Т&рудоспособность", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("F043Dialog", "Оплата", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("F043Dialog", "Приме&чания", None))
def setupUi(self, PreF025Dialog): PreF025Dialog.setObjectName(_fromUtf8("PreF025Dialog")) PreF025Dialog.setWindowModality(QtCore.Qt.ApplicationModal) PreF025Dialog.resize(456, 515) self.verticalLayout = QtGui.QVBoxLayout(PreF025Dialog) self.verticalLayout.setMargin(4) self.verticalLayout.setSpacing(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.grpContract = QtGui.QWidget(PreF025Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grpContract.sizePolicy().hasHeightForWidth()) self.grpContract.setSizePolicy(sizePolicy) self.grpContract.setObjectName(_fromUtf8("grpContract")) self.horizontalLayout = QtGui.QHBoxLayout(self.grpContract) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblContract = QtGui.QLabel(self.grpContract) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.horizontalLayout.addWidget(self.lblContract) self.cmbContract = CContractComboBox(self.grpContract) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbContract.sizePolicy().hasHeightForWidth()) self.cmbContract.setSizePolicy(sizePolicy) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.horizontalLayout.addWidget(self.cmbContract) spacerItem = QtGui.QSpacerItem(613, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.lblSum = QtGui.QLabel(self.grpContract) self.lblSum.setObjectName(_fromUtf8("lblSum")) self.horizontalLayout.addWidget(self.lblSum) self.lblSumValue = QtGui.QLabel(self.grpContract) self.lblSumValue.setFrameShape(QtGui.QFrame.StyledPanel) self.lblSumValue.setFrameShadow(QtGui.QFrame.Sunken) self.lblSumValue.setTextFormat(QtCore.Qt.PlainText) self.lblSumValue.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblSumValue.setObjectName(_fromUtf8("lblSumValue")) self.horizontalLayout.addWidget(self.lblSumValue) self.verticalLayout.addWidget(self.grpContract) self.splitter = QtGui.QSplitter(PreF025Dialog) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.grpInspections = QtGui.QGroupBox(self.splitter) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self.gridLayout = QtGui.QGridLayout(self.grpInspections) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblDiagnostics = CInDocTableView(self.grpInspections) self.tblDiagnostics.setObjectName(_fromUtf8("tblDiagnostics")) self.gridLayout.addWidget(self.tblDiagnostics, 0, 0, 1, 3) self.btnSelectVisits = QtGui.QPushButton(self.grpInspections) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectVisits.sizePolicy().hasHeightForWidth()) self.btnSelectVisits.setSizePolicy(sizePolicy) self.btnSelectVisits.setMinimumSize(QtCore.QSize(100, 0)) self.btnSelectVisits.setAutoDefault(False) self.btnSelectVisits.setObjectName(_fromUtf8("btnSelectVisits")) self.gridLayout.addWidget(self.btnSelectVisits, 1, 0, 1, 1) self.btnDeselectVisits = QtGui.QPushButton(self.grpInspections) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnDeselectVisits.sizePolicy().hasHeightForWidth()) self.btnDeselectVisits.setSizePolicy(sizePolicy) self.btnDeselectVisits.setMinimumSize(QtCore.QSize(100, 0)) self.btnDeselectVisits.setAutoDefault(False) self.btnDeselectVisits.setObjectName(_fromUtf8("btnDeselectVisits")) self.gridLayout.addWidget(self.btnDeselectVisits, 1, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(343, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1) self.grpActions = QtGui.QGroupBox(self.splitter) self.grpActions.setObjectName(_fromUtf8("grpActions")) self.gridLayout_2 = QtGui.QGridLayout(self.grpActions) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblActions = CInDocTableView(self.grpActions) self.tblActions.setObjectName(_fromUtf8("tblActions")) self.gridLayout_2.addWidget(self.tblActions, 0, 0, 1, 3) self.btnSelectActions = QtGui.QPushButton(self.grpActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectActions.sizePolicy().hasHeightForWidth()) self.btnSelectActions.setSizePolicy(sizePolicy) self.btnSelectActions.setMinimumSize(QtCore.QSize(100, 0)) self.btnSelectActions.setAutoDefault(False) self.btnSelectActions.setObjectName(_fromUtf8("btnSelectActions")) self.gridLayout_2.addWidget(self.btnSelectActions, 1, 0, 1, 1) self.btnDeselectActions = QtGui.QPushButton(self.grpActions) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnDeselectActions.sizePolicy().hasHeightForWidth()) self.btnDeselectActions.setSizePolicy(sizePolicy) self.btnDeselectActions.setMinimumSize(QtCore.QSize(100, 0)) self.btnDeselectActions.setAutoDefault(False) self.btnDeselectActions.setObjectName(_fromUtf8("btnDeselectActions")) self.gridLayout_2.addWidget(self.btnDeselectActions, 1, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(343, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 1, 2, 1, 1) self.verticalLayout.addWidget(self.splitter) self.buttonBox = QtGui.QDialogButtonBox(PreF025Dialog) 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.retranslateUi(PreF025Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), PreF025Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), PreF025Dialog.reject) QtCore.QMetaObject.connectSlotsByName(PreF025Dialog) PreF025Dialog.setTabOrder(self.cmbContract, self.tblDiagnostics) PreF025Dialog.setTabOrder(self.tblDiagnostics, self.btnSelectVisits) PreF025Dialog.setTabOrder(self.btnSelectVisits, self.btnDeselectVisits) PreF025Dialog.setTabOrder(self.btnDeselectVisits, self.tblActions) PreF025Dialog.setTabOrder(self.tblActions, self.btnSelectActions) PreF025Dialog.setTabOrder(self.btnSelectActions, self.btnDeselectActions) PreF025Dialog.setTabOrder(self.btnDeselectActions, self.buttonBox)
def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(828, 577) Dialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tabWidget = QtGui.QTabWidget(Dialog) 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, 0, 796, 452)) 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.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_2) self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame) self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised) self.frameBaseAndDiagnosises.setObjectName( _fromUtf8("frameBaseAndDiagnosises")) self.horizontalLayout = QtGui.QHBoxLayout(self.frameBaseAndDiagnosises) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.wdgActions = CActionsWidget(self.frameBaseAndDiagnosises) self.wdgActions.setObjectName(_fromUtf8("wdgActions")) self.horizontalLayout.addWidget(self.wdgActions) 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_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_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, 3, 1, 1, 3) 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, 4, 1, 1, 3) 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, 5, 1, 1, 3) self.groupBox = QtGui.QGroupBox(self.grpBase) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblMKB = QtGui.QLabel(self.groupBox) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridLayout_3.addWidget(self.lblMKB, 0, 0, 1, 1) self.cmbMKB = CICDCodeEditEx(self.groupBox) self.cmbMKB.setObjectName(_fromUtf8("cmbMKB")) self.gridLayout_3.addWidget(self.cmbMKB, 0, 1, 1, 1) self.lblDiagnosticResult = QtGui.QLabel(self.groupBox) self.lblDiagnosticResult.setObjectName( _fromUtf8("lblDiagnosticResult")) self.gridLayout_3.addWidget(self.lblDiagnosticResult, 1, 0, 1, 1) self.cmbDiagnosticResult = CRBComboBox(self.groupBox) self.cmbDiagnosticResult.setObjectName( _fromUtf8("cmbDiagnosticResult")) self.gridLayout_3.addWidget(self.cmbDiagnosticResult, 1, 1, 1, 1) self.gridLayout_3.setColumnStretch(1, 1) self.gridLayout_2.addWidget(self.groupBox, 18, 0, 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_2.addWidget(self.lblEndDate, 4, 0, 1, 1) 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_2.addWidget(self.cmbPrimary, 9, 0, 1, 3) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 13, 0, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 4) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbResult, 12, 0, 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_2.addWidget(self.lblBegDate, 3, 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_2.addWidget(self.cmbOrder, 10, 0, 1, 4) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 13, 1, 1, 3) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 4) 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, 11, 0, 1, 4) self.lblPerson = QtGui.QLabel(self.grpBase) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 4) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 17, 0, 1, 4) 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, 9, 3, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 4) self.btnDentalFormula = QtGui.QPushButton(self.grpBase) self.btnDentalFormula.setObjectName(_fromUtf8("btnDentalFormula")) self.gridLayout_2.addWidget(self.btnDentalFormula, 19, 0, 1, 4) self.btnAddAction = QtGui.QPushButton(self.grpBase) self.btnAddAction.setObjectName(_fromUtf8("btnAddAction")) self.gridLayout_2.addWidget(self.btnAddAction, 20, 0, 1, 4) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 4) self.horizontalLayout.addWidget(self.grpBase) self.verticalLayout_3.addWidget(self.splitter_2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabAmbCard = CFastAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabReferral = CReferralPage() self.tabReferral.setObjectName(_fromUtf8("tabReferral")) self.tabWidget.addTab(self.tabReferral, _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.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 796, 452)) 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.verticalLayout_5 = QtGui.QVBoxLayout(self.tabTempInvalid) self.verticalLayout_5.setMargin(4) self.verticalLayout_5.setSpacing(4) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) 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.verticalLayout_5.addWidget(self.grpTempInvalid) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid, _fromUtf8("")) self.tabTempInvalidS = QtGui.QWidget() self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS")) self.gridLayout_5 = QtGui.QGridLayout(self.tabTempInvalidS) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) 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_5.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS, _fromUtf8("")) self.tabTempInvalidDisability = QtGui.QWidget() self.tabTempInvalidDisability.setObjectName( _fromUtf8("tabTempInvalidDisability")) self.gridLayout_6 = QtGui.QGridLayout(self.tabTempInvalidDisability) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) 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_6.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability, _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.tabWidget) self.widget = QtGui.QWidget(Dialog) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.lblProlongateEvent = QtGui.QLabel(self.widget) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_6.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(self.widget) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_6.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_6.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.lblEndDate.setBuddy(self.edtEndDate) self.lblGoal.setBuddy(self.cmbGoal) self.lblBegDate.setBuddy(self.edtBegDate) self.lblResult.setBuddy(self.cmbResult) self.lblPerson.setBuddy(self.cmbPerson) self.lblOrder.setBuddy(self.cmbOrder) 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.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.cmbPrimary) Dialog.setTabOrder(self.cmbPrimary, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.cmbMKB) Dialog.setTabOrder(self.cmbMKB, self.cmbDiagnosticResult) Dialog.setTabOrder(self.cmbDiagnosticResult, self.btnDentalFormula) Dialog.setTabOrder(self.btnDentalFormula, self.buttonBox) Dialog.setTabOrder(self.buttonBox, self.tabTempInvalidAndAegrotat) Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.scrollArea_2) Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid)
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(828, 577) Dialog.setSizeGripEnabled(True) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tabWidget = QtGui.QTabWidget(Dialog) 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, 0, 796, 452)) 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.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_2) self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame) self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised) self.frameBaseAndDiagnosises.setObjectName( _fromUtf8("frameBaseAndDiagnosises")) self.horizontalLayout = QtGui.QHBoxLayout(self.frameBaseAndDiagnosises) self.horizontalLayout.setMargin(0) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.wdgActions = CActionsWidget(self.frameBaseAndDiagnosises) self.wdgActions.setObjectName(_fromUtf8("wdgActions")) self.horizontalLayout.addWidget(self.wdgActions) 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_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_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, 3, 1, 1, 3) 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, 4, 1, 1, 3) 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, 5, 1, 1, 3) self.groupBox = QtGui.QGroupBox(self.grpBase) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridLayout_3 = QtGui.QGridLayout(self.groupBox) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblMKB = QtGui.QLabel(self.groupBox) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridLayout_3.addWidget(self.lblMKB, 0, 0, 1, 1) self.cmbMKB = CICDCodeEditEx(self.groupBox) self.cmbMKB.setObjectName(_fromUtf8("cmbMKB")) self.gridLayout_3.addWidget(self.cmbMKB, 0, 1, 1, 1) self.lblDiagnosticResult = QtGui.QLabel(self.groupBox) self.lblDiagnosticResult.setObjectName( _fromUtf8("lblDiagnosticResult")) self.gridLayout_3.addWidget(self.lblDiagnosticResult, 1, 0, 1, 1) self.cmbDiagnosticResult = CRBComboBox(self.groupBox) self.cmbDiagnosticResult.setObjectName( _fromUtf8("cmbDiagnosticResult")) self.gridLayout_3.addWidget(self.cmbDiagnosticResult, 1, 1, 1, 1) self.gridLayout_3.setColumnStretch(1, 1) self.gridLayout_2.addWidget(self.groupBox, 18, 0, 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_2.addWidget(self.lblEndDate, 4, 0, 1, 1) 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_2.addWidget(self.cmbPrimary, 9, 0, 1, 3) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 13, 0, 1, 1) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 4) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbResult, 12, 0, 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_2.addWidget(self.lblBegDate, 3, 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_2.addWidget(self.cmbOrder, 10, 0, 1, 4) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 13, 1, 1, 3) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 4) 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, 11, 0, 1, 4) self.lblPerson = QtGui.QLabel(self.grpBase) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 4) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 17, 0, 1, 4) 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, 9, 3, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 4) self.btnDentalFormula = QtGui.QPushButton(self.grpBase) self.btnDentalFormula.setObjectName(_fromUtf8("btnDentalFormula")) self.gridLayout_2.addWidget(self.btnDentalFormula, 19, 0, 1, 4) self.btnAddAction = QtGui.QPushButton(self.grpBase) self.btnAddAction.setObjectName(_fromUtf8("btnAddAction")) self.gridLayout_2.addWidget(self.btnAddAction, 20, 0, 1, 4) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 4) self.horizontalLayout.addWidget(self.grpBase) self.verticalLayout_3.addWidget(self.splitter_2) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabAmbCard = CFastAmbCardPage() self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard")) self.tabWidget.addTab(self.tabAmbCard, _fromUtf8("")) self.tabReferral = CReferralPage() self.tabReferral.setObjectName(_fromUtf8("tabReferral")) self.tabWidget.addTab(self.tabReferral, _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.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 796, 452)) 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.verticalLayout_5 = QtGui.QVBoxLayout(self.tabTempInvalid) self.verticalLayout_5.setMargin(4) self.verticalLayout_5.setSpacing(4) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) 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.verticalLayout_5.addWidget(self.grpTempInvalid) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid, _fromUtf8("")) self.tabTempInvalidS = QtGui.QWidget() self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS")) self.gridLayout_5 = QtGui.QGridLayout(self.tabTempInvalidS) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) 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_5.addWidget(self.grpDisability, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS, _fromUtf8("")) self.tabTempInvalidDisability = QtGui.QWidget() self.tabTempInvalidDisability.setObjectName( _fromUtf8("tabTempInvalidDisability")) self.gridLayout_6 = QtGui.QGridLayout(self.tabTempInvalidDisability) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) 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_6.addWidget(self.grpVitalRestriction, 0, 0, 1, 1) self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability, _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.tabWidget) self.widget = QtGui.QWidget(Dialog) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.lblProlongateEvent = QtGui.QLabel(self.widget) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout_6.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(self.widget) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout_6.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_6.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.lblEndDate.setBuddy(self.edtEndDate) self.lblGoal.setBuddy(self.cmbGoal) self.lblBegDate.setBuddy(self.edtBegDate) self.lblResult.setBuddy(self.cmbResult) self.lblPerson.setBuddy(self.cmbPerson) self.lblOrder.setBuddy(self.cmbOrder) 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.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.cmbPrimary) Dialog.setTabOrder(self.cmbPrimary, self.cmbOrder) Dialog.setTabOrder(self.cmbOrder, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.cmbMKB) Dialog.setTabOrder(self.cmbMKB, self.cmbDiagnosticResult) Dialog.setTabOrder(self.cmbDiagnosticResult, self.btnDentalFormula) Dialog.setTabOrder(self.btnDentalFormula, self.buttonBox) Dialog.setTabOrder(self.buttonBox, self.tabTempInvalidAndAegrotat) Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.scrollArea_2) Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.grpBase.setTitle(_translate("Dialog", "&ф.043-2", 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.groupBox.setTitle(_translate("Dialog", "Диагноз", None)) self.lblMKB.setText(_translate("Dialog", "МКБ", None)) self.lblDiagnosticResult.setText( _translate("Dialog", "Результат", None)) self.lblEndDate.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.lblGoal.setText(_translate("Dialog", "Цель", None)) self.chkExposeConfirmed.setText( _translate("Dialog", "Добавить к выставлению", None)) self.cmbResult.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None)) self.lblBegDate.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.cmbGoal.setWhatsThis( _translate("Dialog", "результат осмотра", None)) self.cmbContract.setWhatsThis( _translate( "Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None)) self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None)) self.lblResult.setText(_translate("Dialog", "Результа&т лечения", None)) self.lblPerson.setText(_translate("Dialog", "Ответственный", None)) self.lblOrder.setText(_translate("Dialog", "П&орядок", None)) self.cmbPerson.setWhatsThis( _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None)) self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None)) self.btnDentalFormula.setText( _translate("Dialog", " Зубная формула (F3)", None)) self.btnAddAction.setText( _translate("Dialog", "Добавить мероприятие (F9)", None)) self.chkIsClosed.setText(_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.tabReferral), _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.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(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))
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)
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))