Exemplo n.º 1
0
class Ui_ReportPersonSickListSetupDialog(object):
    def setupUi(self, ReportPersonSickListSetupDialog):
        ReportPersonSickListSetupDialog.setObjectName(
            _fromUtf8("ReportPersonSickListSetupDialog"))
        ReportPersonSickListSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportPersonSickListSetupDialog.resize(423, 686)
        ReportPersonSickListSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportPersonSickListSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.frmMKB = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBFilter.setSizePolicy(sizePolicy)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKB, 15, 1, 1, 4)
        self.frmMKBEx = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKBEx)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBExFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBExFilter.setSizePolicy(sizePolicy)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self.gridlayout1.addWidget(self.edtMKBExFrom, 0, 1, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self.gridlayout1.addWidget(self.edtMKBExTo, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKBEx, 16, 1, 2, 4)
        self.frmAge = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem2)
        self.gridLayout.addWidget(self.frmAge, 10, 1, 1, 4)
        self.cmbLocality = QtGui.QComboBox(ReportPersonSickListSetupDialog)
        self.cmbLocality.setObjectName(_fromUtf8("cmbLocality"))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocality, 24, 1, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 25, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 12, 1, 1, 4)
        self.chkAccountAccomp = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp"))
        self.gridLayout.addWidget(self.chkAccountAccomp, 20, 1, 1, 4)
        self.cmbSocStatusClass = CSocStatusComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout.addWidget(self.cmbSocStatusClass, 11, 1, 1, 4)
        spacerItem4 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 0, 3, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 12, 0, 1, 1)
        self.chkOnlyFirstTime = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime"))
        self.gridLayout.addWidget(self.chkOnlyFirstTime, 19, 1, 1, 4)
        self.lblLocality = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblLocality.setObjectName(_fromUtf8("lblLocality"))
        self.gridLayout.addWidget(self.lblLocality, 24, 0, 1, 1)
        self.lblMKB = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 15, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportPersonSickListSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 26, 0, 1, 5)
        self.lblSex = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 4)
        self.cmbTraumaType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbTraumaType.setEnabled(False)
        self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType"))
        self.gridLayout.addWidget(self.cmbTraumaType, 23, 1, 1, 4)
        self.lblArea = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblArea.setObjectName(_fromUtf8("lblArea"))
        self.gridLayout.addWidget(self.lblArea, 14, 0, 1, 1)
        self.lblMKBEx = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self.gridLayout.addWidget(self.lblMKBEx, 16, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.lblSocStatusClass = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout.addWidget(self.lblSocStatusClass, 11, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3)
        self.chkArea = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 13, 1, 1, 4)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            ReportPersonSickListSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportPersonSickListSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 4)
        self.cmbEventType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 1, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1)
        self.chkTraumaType = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkTraumaType.setObjectName(_fromUtf8("chkTraumaType"))
        self.gridLayout.addWidget(self.chkTraumaType, 22, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbArea = COrgStructureComboBox(ReportPersonSickListSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 14, 1, 1, 4)
        self.lblEventType = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 1)
        self.cmbEventPurpose = CRBMultiComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 4)
        self.lblEndDate = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 4)
        self.cmbCharacterClass = QtGui.QComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbCharacterClass.setObjectName(_fromUtf8("cmbCharacterClass"))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCharacterClass, 18, 1, 1, 4)
        self.lblWorkOrganisation = QtGui.QLabel(
            ReportPersonSickListSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1)
        self.chkTraumaTypeAny = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkTraumaTypeAny.setEnabled(False)
        self.chkTraumaTypeAny.setObjectName(_fromUtf8("chkTraumaTypeAny"))
        self.gridLayout.addWidget(self.chkTraumaTypeAny, 22, 1, 1, 4)
        self.edtEndDate = CDateEdit(ReportPersonSickListSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 3, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportPersonSickListSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.lblDiseaseCharacter = QtGui.QLabel(
            ReportPersonSickListSetupDialog)
        self.lblDiseaseCharacter.setObjectName(
            _fromUtf8("lblDiseaseCharacter"))
        self.gridLayout.addWidget(self.lblDiseaseCharacter, 17, 0, 2, 1)
        self.cmbSex = QtGui.QComboBox(ReportPersonSickListSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 9, 1, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 9, 2, 1, 3)
        self.lblAge = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 10, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 21, 1, 1, 1)
        self.chkPeriod = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkPeriod.setObjectName(_fromUtf8("chkPeriod"))
        self.gridLayout.addWidget(self.chkPeriod, 2, 0, 1, 1)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblLocality.setBuddy(self.cmbLocality)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblArea.setBuddy(self.cmbArea)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblDiseaseCharacter.setBuddy(self.cmbCharacterClass)
        self.lblAge.setBuddy(self.edtAgeFrom)

        self.retranslateUi(ReportPersonSickListSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportPersonSickListSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportPersonSickListSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbArea.setEnabled)
        QtCore.QObject.connect(self.chkTraumaType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbTraumaType.setEnabled)
        QtCore.QObject.connect(self.chkTraumaType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkTraumaTypeAny.setEnabled)
        QtCore.QObject.connect(self.chkTraumaTypeAny,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbTraumaType.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportPersonSickListSetupDialog)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtBegDate,
                                                    self.edtEndDate)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtEndDate,
                                                    self.cmbEventPurpose)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventPurpose,
                                                    self.cmbEventType)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventType,
                                                    self.cmbOrgStructure)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbOrgStructure,
                                                    self.cmbSpeciality)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbSpeciality,
                                                    self.cmbPerson)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbPerson,
                                                    self.cmbWorkOrganisation)
        ReportPersonSickListSetupDialog.setTabOrder(
            self.cmbWorkOrganisation, self.btnSelectWorkOrganisation)
        ReportPersonSickListSetupDialog.setTabOrder(
            self.btnSelectWorkOrganisation, self.cmbSex)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbSex,
                                                    self.edtAgeFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeFrom,
                                                    self.edtAgeTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeTo,
                                                    self.chkArea)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkArea, self.cmbArea)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbArea,
                                                    self.cmbMKBFilter)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBFilter,
                                                    self.edtMKBFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBFrom,
                                                    self.edtMKBTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBTo,
                                                    self.cmbMKBExFilter)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBExFilter,
                                                    self.edtMKBExFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExFrom,
                                                    self.edtMKBExTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExTo,
                                                    self.cmbCharacterClass)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbCharacterClass,
                                                    self.chkOnlyFirstTime)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkOnlyFirstTime,
                                                    self.chkAccountAccomp)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkAccountAccomp,
                                                    self.chkTraumaType)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaType,
                                                    self.chkTraumaTypeAny)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaTypeAny,
                                                    self.cmbTraumaType)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbTraumaType,
                                                    self.cmbLocality)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbLocality,
                                                    self.buttonBox)

    def retranslateUi(self, ReportPersonSickListSetupDialog):
        ReportPersonSickListSetupDialog.setWindowTitle(
            _translate("ReportPersonSickListSetupDialog", "параметры отчёта",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportPersonSickListSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportPersonSickListSetupDialog", "Z99.9", None))
        self.cmbMKBExFilter.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(
            _translate("ReportPersonSickListSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(
            _translate("ReportPersonSickListSetupDialog", "Z99.9", None))
        self.lblAgeTo.setText(
            _translate("ReportPersonSickListSetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("ReportPersonSickListSetupDialog", "лет", None))
        self.cmbLocality.setItemText(
            0,
            _translate("ReportPersonSickListSetupDialog", "Не учитывать",
                       None))
        self.cmbLocality.setItemText(
            1,
            _translate("ReportPersonSickListSetupDialog", "Городские жители",
                       None))
        self.cmbLocality.setItemText(
            2,
            _translate("ReportPersonSickListSetupDialog", "Сельские жители",
                       None))
        self.chkAccountAccomp.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Учитывать сопутствующие", None))
        self.lblOrgStructure.setText(
            _translate("ReportPersonSickListSetupDialog", "&Подразделение",
                       None))
        self.lblSocStatusType.setText(
            _translate("ReportPersonSickListSetupDialog", "Тип соц.статуса",
                       None))
        self.chkOnlyFirstTime.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Только впервые выявленные", None))
        self.lblLocality.setText(
            _translate("ReportPersonSickListSetupDialog", "Местность", None))
        self.lblMKB.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Коды диагнозов по &МКБ", None))
        self.lblSex.setText(
            _translate("ReportPersonSickListSetupDialog", "По&л", None))
        self.lblArea.setText(
            _translate("ReportPersonSickListSetupDialog", "Те&рритория", None))
        self.lblMKBEx.setText(
            _translate("ReportPersonSickListSetupDialog", "В сочетании с",
                       None))
        self.lblPerson.setText(
            _translate("ReportPersonSickListSetupDialog", "&Врач", None))
        self.lblSocStatusClass.setText(
            _translate("ReportPersonSickListSetupDialog", "Класс соц.статуса",
                       None))
        self.chkArea.setText(
            _translate("ReportPersonSickListSetupDialog", "Учитывать адрес",
                       None))
        self.btnSelectWorkOrganisation.setText(
            _translate("ReportPersonSickListSetupDialog", "...", None))
        self.cmbPerson.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.cmbPerson.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Врач", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.lblEventPurpose.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "&Назначение обращения", None))
        self.chkTraumaType.setText(
            _translate("ReportPersonSickListSetupDialog", "Тип травмы", None))
        self.lblSpeciality.setText(
            _translate("ReportPersonSickListSetupDialog", "&Специальность",
                       None))
        self.lblEventType.setText(
            _translate("ReportPersonSickListSetupDialog", "&Тип обращения",
                       None))
        self.cmbEventPurpose.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.lblEndDate.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Дата &окончания периода", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.cmbCharacterClass.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.cmbCharacterClass.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Любой", None))
        self.cmbCharacterClass.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Острый", None))
        self.cmbCharacterClass.setItemText(
            2,
            _translate("ReportPersonSickListSetupDialog", "Хронический", None))
        self.cmbCharacterClass.setItemText(
            3,
            _translate("ReportPersonSickListSetupDialog",
                       "Острый или хронический", None))
        self.cmbCharacterClass.setItemText(
            4, _translate("ReportPersonSickListSetupDialog", "Фактор", None))
        self.lblWorkOrganisation.setText(
            _translate("ReportPersonSickListSetupDialog", "Занятость", None))
        self.chkTraumaTypeAny.setText(
            _translate("ReportPersonSickListSetupDialog", "Любой", None))
        self.lblBegDate.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Дата &начала периода", None))
        self.lblDiseaseCharacter.setText(
            _translate("ReportPersonSickListSetupDialog", "&Характер", None))
        self.cmbSex.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("ReportPersonSickListSetupDialog", "Ж", None))
        self.lblAge.setText(
            _translate("ReportPersonSickListSetupDialog", "Во&зраст с", None))
        self.chkVisitEmergency.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Учитывать посещения СМП", None))
        self.chkPeriod.setText(
            _translate("ReportPersonSickListSetupDialog", "За период", None))
Exemplo n.º 2
0
class Ui_DispObservationSetupDialog(object):
    def setupUi(self, DispObservationSetupDialog):
        DispObservationSetupDialog.setObjectName(
            _fromUtf8("DispObservationSetupDialog"))
        DispObservationSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        DispObservationSetupDialog.resize(519, 506)
        DispObservationSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(DispObservationSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.frmAge = QtGui.QFrame(DispObservationSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAge, 4, 2, 1, 4)
        self.frmMKB = QtGui.QFrame(DispObservationSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKB, 9, 2, 1, 4)
        self.frmMKBEx = QtGui.QFrame(DispObservationSetupDialog)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKBEx)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self.gridlayout1.addWidget(self.edtMKBExFrom, 0, 1, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self.gridlayout1.addWidget(self.edtMKBExTo, 0, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem2, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKBEx, 10, 2, 1, 4)
        self.lblBegDate = QtGui.QLabel(DispObservationSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.edtBegDate = CDateEdit(DispObservationSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 3)
        spacerItem3 = QtGui.QSpacerItem(84, 22, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 0, 5, 1, 1)
        self.lblEndDate = QtGui.QLabel(DispObservationSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.edtEndDate = CDateEdit(DispObservationSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(84, 22, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 1, 5, 1, 1)
        self.lblWorkOrganisation = QtGui.QLabel(DispObservationSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 2, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbWorkOrganisation = COrgComboBox(DispObservationSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.horizontalLayout.addWidget(self.cmbWorkOrganisation)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            DispObservationSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.horizontalLayout.addWidget(self.btnSelectWorkOrganisation)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 2, 1, 4)
        self.lblSex = QtGui.QLabel(DispObservationSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 3, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(DispObservationSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 3, 2, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(144, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 3, 4, 1, 2)
        self.lblAge = QtGui.QLabel(DispObservationSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 4, 0, 1, 2)
        self.chkArea = QtGui.QCheckBox(DispObservationSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 5, 2, 1, 4)
        self.lblArea = QtGui.QLabel(DispObservationSetupDialog)
        self.lblArea.setObjectName(_fromUtf8("lblArea"))
        self.gridLayout.addWidget(self.lblArea, 6, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(DispObservationSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(DispObservationSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 4)
        self.lblMKB = QtGui.QLabel(DispObservationSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 9, 0, 1, 2)
        self.lblMKBEx = QtGui.QLabel(DispObservationSetupDialog)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self.gridLayout.addWidget(self.lblMKBEx, 10, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(DispObservationSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 16, 3, 1, 3)
        self.cmbArea = COrgStructureComboBox(DispObservationSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 6, 2, 1, 4)
        self.cmbSpeciality = CRBComboBox(DispObservationSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 7, 2, 1, 4)
        self.lblSpeciality = QtGui.QLabel(DispObservationSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 7, 0, 1, 2)
        self.lblSocStatusType = QtGui.QLabel(DispObservationSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 11, 0, 1, 2)
        self.lblSocStatusClass = QtGui.QLabel(DispObservationSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout.addWidget(self.lblSocStatusClass, 12, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(DispObservationSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 11, 2, 1, 4)
        self.cmbSocStatusClass = CRBComboBox(DispObservationSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout.addWidget(self.cmbSocStatusClass, 12, 2, 1, 4)
        self.label = QtGui.QLabel(DispObservationSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 13, 0, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(126, 28, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem6, 16, 2, 1, 1)
        self.cmbRowGrouping = QtGui.QComboBox(DispObservationSetupDialog)
        self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping"))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbRowGrouping, 13, 2, 1, 4)
        self.lblOrgStrucutreAttachType = QtGui.QLabel(
            DispObservationSetupDialog)
        self.lblOrgStrucutreAttachType.setObjectName(
            _fromUtf8("lblOrgStrucutreAttachType"))
        self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 15, 0, 1, 1)
        self.cmbOrgStructureAttachType = COrgStructureComboBox(
            DispObservationSetupDialog)
        self.cmbOrgStructureAttachType.setObjectName(
            _fromUtf8("cmbOrgStructureAttachType"))
        self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 15, 2, 1, 4)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblArea.setBuddy(self.cmbArea)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)

        self.retranslateUi(DispObservationSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               DispObservationSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               DispObservationSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbArea.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DispObservationSetupDialog)
        DispObservationSetupDialog.setTabOrder(self.edtBegDate,
                                               self.edtEndDate)
        DispObservationSetupDialog.setTabOrder(self.edtEndDate,
                                               self.cmbWorkOrganisation)
        DispObservationSetupDialog.setTabOrder(self.cmbWorkOrganisation,
                                               self.btnSelectWorkOrganisation)
        DispObservationSetupDialog.setTabOrder(self.btnSelectWorkOrganisation,
                                               self.cmbSex)
        DispObservationSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        DispObservationSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        DispObservationSetupDialog.setTabOrder(self.edtAgeTo, self.chkArea)
        DispObservationSetupDialog.setTabOrder(self.chkArea, self.cmbArea)
        DispObservationSetupDialog.setTabOrder(self.cmbArea, self.cmbMKBFilter)
        DispObservationSetupDialog.setTabOrder(self.cmbMKBFilter,
                                               self.edtMKBFrom)
        DispObservationSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        DispObservationSetupDialog.setTabOrder(self.edtMKBTo,
                                               self.cmbMKBExFilter)
        DispObservationSetupDialog.setTabOrder(self.cmbMKBExFilter,
                                               self.edtMKBExFrom)
        DispObservationSetupDialog.setTabOrder(self.edtMKBExFrom,
                                               self.edtMKBExTo)
        DispObservationSetupDialog.setTabOrder(self.edtMKBExTo, self.buttonBox)

    def retranslateUi(self, DispObservationSetupDialog):
        DispObservationSetupDialog.setWindowTitle(
            _translate("DispObservationSetupDialog", "параметры отчёта", None))
        self.lblAgeTo.setText(
            _translate("DispObservationSetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("DispObservationSetupDialog", "лет", None))
        self.cmbMKBFilter.setItemText(
            0, _translate("DispObservationSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("DispObservationSetupDialog", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("DispObservationSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("DispObservationSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("DispObservationSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("DispObservationSetupDialog", "Z99.9", None))
        self.cmbMKBExFilter.setItemText(
            0, _translate("DispObservationSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(
            1, _translate("DispObservationSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(
            _translate("DispObservationSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(
            _translate("DispObservationSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(
            _translate("DispObservationSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(
            _translate("DispObservationSetupDialog", "Z99.9", None))
        self.lblBegDate.setText(
            _translate("DispObservationSetupDialog", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("DispObservationSetupDialog", "Дата &окончания периода",
                       None))
        self.lblWorkOrganisation.setText(
            _translate("DispObservationSetupDialog", "Занятость", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("DispObservationSetupDialog", "...", None))
        self.lblSex.setText(
            _translate("DispObservationSetupDialog", "По&л", None))
        self.cmbSex.setItemText(
            1, _translate("DispObservationSetupDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("DispObservationSetupDialog", "Ж", None))
        self.lblAge.setText(
            _translate("DispObservationSetupDialog", "Во&зраст с", None))
        self.chkArea.setText(
            _translate("DispObservationSetupDialog", "Учитывать адрес", None))
        self.lblArea.setText(
            _translate("DispObservationSetupDialog", "Те&рритория", None))
        self.lblPerson.setText(
            _translate("DispObservationSetupDialog", "&Врач", None))
        self.cmbPerson.setItemText(
            0, _translate("DispObservationSetupDialog", "Врач", None))
        self.lblMKB.setText(
            _translate("DispObservationSetupDialog", "Коды диагнозов по &МКБ",
                       None))
        self.lblMKBEx.setText(
            _translate("DispObservationSetupDialog", "В сочетании с", None))
        self.lblSpeciality.setText(
            _translate("DispObservationSetupDialog", "Специальность", None))
        self.lblSocStatusType.setText(
            _translate("DispObservationSetupDialog", "Тип соц. статуса", None))
        self.lblSocStatusClass.setText(
            _translate("DispObservationSetupDialog", "Класс соц. статуса",
                       None))
        self.label.setText(
            _translate("DispObservationSetupDialog", "Группировать по", None))
        self.cmbRowGrouping.setItemText(
            0, _translate("DispObservationSetupDialog", "не задано", None))
        self.cmbRowGrouping.setItemText(
            1, _translate("DispObservationSetupDialog", "Подразделениям",
                          None))
        self.cmbRowGrouping.setItemText(
            2, _translate("DispObservationSetupDialog", "Специальностям",
                          None))
        self.cmbRowGrouping.setItemText(
            3, _translate("DispObservationSetupDialog", "Врачу", None))
        self.lblOrgStrucutreAttachType.setText(
            _translate("DispObservationSetupDialog",
                       "Подразделение прикрепления", None))
Exemplo n.º 3
0
class Ui_DeathReportSetupDialog(object):
    def setupUi(self, DeathReportSetupDialog):
        DeathReportSetupDialog.setObjectName(
            _fromUtf8("DeathReportSetupDialog"))
        DeathReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        DeathReportSetupDialog.resize(376, 380)
        DeathReportSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(DeathReportSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbSocStatusClass = CSocStatusComboBox(DeathReportSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridlayout.addWidget(self.cmbSocStatusClass, 10, 1, 1, 2)
        self.frmMKB = QtGui.QFrame(DeathReportSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self._2 = QtGui.QGridLayout(self.frmMKB)
        self._2.setMargin(0)
        self._2.setHorizontalSpacing(4)
        self._2.setVerticalSpacing(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self._2.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self._2.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem, 0, 3, 1, 1)
        self.gridlayout.addWidget(self.frmMKB, 3, 1, 1, 2)
        self.lblFoundation = QtGui.QLabel(DeathReportSetupDialog)
        self.lblFoundation.setObjectName(_fromUtf8("lblFoundation"))
        self.gridlayout.addWidget(self.lblFoundation, 7, 0, 1, 1)
        self.lblSocStatusClass = QtGui.QLabel(DeathReportSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridlayout.addWidget(self.lblSocStatusClass, 10, 0, 1, 1)
        self.lblPlace = QtGui.QLabel(DeathReportSetupDialog)
        self.lblPlace.setObjectName(_fromUtf8("lblPlace"))
        self.gridlayout.addWidget(self.lblPlace, 4, 0, 1, 1)
        self.cmbCause = CStrComboBox(DeathReportSetupDialog)
        self.cmbCause.setObjectName(_fromUtf8("cmbCause"))
        self.gridlayout.addWidget(self.cmbCause, 5, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(DeathReportSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 3, 0, 1, 1)
        self.cmbBusyness = QtGui.QComboBox(DeathReportSetupDialog)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.cmbBusyness.addItem(_fromUtf8(""))
        self.cmbBusyness.addItem(_fromUtf8(""))
        self.cmbBusyness.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbBusyness, 2, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.edtBegDate = CDateEdit(DeathReportSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(DeathReportSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(DeathReportSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(DeathReportSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 13, 0, 1, 3)
        self.edtEndDate = CDateEdit(DeathReportSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 1, 2, 1, 1)
        self.cmbSocStatusType = CRBComboBox(DeathReportSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridlayout.addWidget(self.cmbSocStatusType, 11, 1, 1, 2)
        self.lblFoundBy = QtGui.QLabel(DeathReportSetupDialog)
        self.lblFoundBy.setObjectName(_fromUtf8("lblFoundBy"))
        self.gridlayout.addWidget(self.lblFoundBy, 6, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(DeathReportSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 9, 0, 1, 1)
        self.cmbAttachmentOrgStructureId = COrgStructureComboBox(
            DeathReportSetupDialog)
        self.cmbAttachmentOrgStructureId.setObjectName(
            _fromUtf8("cmbAttachmentOrgStructureId"))
        self.gridlayout.addWidget(self.cmbAttachmentOrgStructureId, 9, 1, 1, 2)
        self.lblCause = QtGui.QLabel(DeathReportSetupDialog)
        self.lblCause.setObjectName(_fromUtf8("lblCause"))
        self.gridlayout.addWidget(self.lblCause, 5, 0, 1, 1)
        self.cmbFoundation = CStrComboBox(DeathReportSetupDialog)
        self.cmbFoundation.setObjectName(_fromUtf8("cmbFoundation"))
        self.gridlayout.addWidget(self.cmbFoundation, 7, 1, 1, 2)
        self.cmbPlace = CStrComboBox(DeathReportSetupDialog)
        self.cmbPlace.setObjectName(_fromUtf8("cmbPlace"))
        self.gridlayout.addWidget(self.cmbPlace, 4, 1, 1, 2)
        self.lblBusyness = QtGui.QLabel(DeathReportSetupDialog)
        self.lblBusyness.setObjectName(_fromUtf8("lblBusyness"))
        self.gridlayout.addWidget(self.lblBusyness, 2, 0, 1, 1)
        self.cmbFoundBy = CStrComboBox(DeathReportSetupDialog)
        self.cmbFoundBy.setObjectName(_fromUtf8("cmbFoundBy"))
        self.gridlayout.addWidget(self.cmbFoundBy, 6, 1, 1, 2)
        self.lblSocStatusType = QtGui.QLabel(DeathReportSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridlayout.addWidget(self.lblSocStatusType, 11, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(129, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem3, 12, 0, 1, 1)
        self.lblFoundation.setBuddy(self.cmbFoundation)
        self.lblPlace.setBuddy(self.cmbPlace)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblFoundBy.setBuddy(self.cmbFoundBy)
        self.lblCause.setBuddy(self.cmbCause)
        self.lblBusyness.setBuddy(self.cmbBusyness)

        self.retranslateUi(DeathReportSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               DeathReportSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               DeathReportSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(DeathReportSetupDialog)
        DeathReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        DeathReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbBusyness)
        DeathReportSetupDialog.setTabOrder(self.cmbBusyness, self.cmbMKBFilter)
        DeathReportSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom)
        DeathReportSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        DeathReportSetupDialog.setTabOrder(self.edtMKBTo, self.cmbPlace)
        DeathReportSetupDialog.setTabOrder(self.cmbPlace, self.cmbCause)
        DeathReportSetupDialog.setTabOrder(self.cmbCause, self.cmbFoundBy)
        DeathReportSetupDialog.setTabOrder(self.cmbFoundBy, self.cmbFoundation)
        DeathReportSetupDialog.setTabOrder(self.cmbFoundation, self.buttonBox)

    def retranslateUi(self, DeathReportSetupDialog):
        DeathReportSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbMKBFilter.setItemText(
            0,
            QtGui.QApplication.translate("DeathReportSetupDialog", "Игнор.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMKBFilter.setItemText(
            1,
            QtGui.QApplication.translate("DeathReportSetupDialog", "Интервал",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setInputMask(
            QtGui.QApplication.translate("DeathReportSetupDialog", "a00.00; ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog", "A.", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setInputMask(
            QtGui.QApplication.translate("DeathReportSetupDialog", "a00.00; ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog", "Z99.9",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblFoundation.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog", "Основание",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSocStatusClass.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Класс соц.статуса", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPlace.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Смерть последовала", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMKB.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Коды диагнозов по &МКБ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbBusyness.setItemText(
            0,
            QtGui.QApplication.translate("DeathReportSetupDialog", "-", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbBusyness.setItemText(
            1,
            QtGui.QApplication.translate("DeathReportSetupDialog", "указана",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbBusyness.setItemText(
            2,
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "не указана", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFoundBy.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Причина установлена", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCause.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Смерть произошла", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBusyness.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog", "Занятость",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSocStatusType.setText(
            QtGui.QApplication.translate("DeathReportSetupDialog",
                                         "Тип соц.статуса", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 4
0
class Ui_ReportExemptionRecipesSetup(object):
    def setupUi(self, ReportExemptionRecipesSetup):
        ReportExemptionRecipesSetup.setObjectName(
            _fromUtf8("ReportExemptionRecipesSetup"))
        ReportExemptionRecipesSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportExemptionRecipesSetup.resize(462, 418)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportExemptionRecipesSetup.sizePolicy().hasHeightForWidth())
        ReportExemptionRecipesSetup.setSizePolicy(sizePolicy)
        ReportExemptionRecipesSetup.setSizeGripEnabled(True)
        ReportExemptionRecipesSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportExemptionRecipesSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblRecipeStatus = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblRecipeStatus.setObjectName(_fromUtf8("lblRecipeStatus"))
        self.gridLayout.addWidget(self.lblRecipeStatus, 13, 0, 1, 1)
        self.edtMKBTo = CICDCodeEdit(ReportExemptionRecipesSetup)
        self.edtMKBTo.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 7, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 14, 2, 1, 1)
        self.chkOnlyVK = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkOnlyVK.setObjectName(_fromUtf8("chkOnlyVK"))
        self.gridLayout.addWidget(self.chkOnlyVK, 14, 0, 1, 1)
        self.btnCancel = QtGui.QPushButton(ReportExemptionRecipesSetup)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.gridLayout.addWidget(self.btnCancel, 17, 2, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(ReportExemptionRecipesSetup)
        self.edtMKBFrom.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 7, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportExemptionRecipesSetup)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 12, 1, 1, 5)
        self.edtEndDate = CDateEdit(ReportExemptionRecipesSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 1, 1, 2)
        self.cmbSortBy = CGroupByExemptionRecipesComboBox(
            ReportExemptionRecipesSetup)
        self.cmbSortBy.setObjectName(_fromUtf8("cmbSortBy"))
        self.gridLayout.addWidget(self.cmbSortBy, 15, 1, 1, 5)
        self.btnOk = QtGui.QPushButton(ReportExemptionRecipesSetup)
        self.btnOk.setObjectName(_fromUtf8("btnOk"))
        self.gridLayout.addWidget(self.btnOk, 17, 4, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 14, 4, 1, 1)
        self.cmbRecipeStatus = CRecipeStatusComboBox(
            ReportExemptionRecipesSetup)
        self.cmbRecipeStatus.setObjectName(_fromUtf8("cmbRecipeStatus"))
        self.gridLayout.addWidget(self.cmbRecipeStatus, 13, 1, 1, 5)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 3, 3, 1, 3)
        self.lblSocStatusType = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 6, 0, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportExemptionRecipesSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 1, 3, 1, 3)
        self.lblSortBy = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblSortBy.setObjectName(_fromUtf8("lblSortBy"))
        self.gridLayout.addWidget(self.lblSortBy, 15, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 12, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportExemptionRecipesSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 11, 1, 1, 5)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 7, 4, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem5, 16, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.cmbFinance = CRBComboBox(ReportExemptionRecipesSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 1, 1, 5)
        self.lblOrgStructure = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 11, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportExemptionRecipesSetup)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 6, 1, 1, 5)
        self.lblEndDate = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.edtClientId = QtGui.QLineEdit(ReportExemptionRecipesSetup)
        self.edtClientId.setEnabled(False)
        self.edtClientId.setObjectName(_fromUtf8("edtClientId"))
        self.gridLayout.addWidget(self.edtClientId, 9, 1, 1, 4)
        self.edtDrugCount = QtGui.QSpinBox(ReportExemptionRecipesSetup)
        self.edtDrugCount.setEnabled(False)
        self.edtDrugCount.setMaximum(9999)
        self.edtDrugCount.setObjectName(_fromUtf8("edtDrugCount"))
        self.gridLayout.addWidget(self.edtDrugCount, 10, 1, 1, 4)
        self.chkClientId = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkClientId.setObjectName(_fromUtf8("chkClientId"))
        self.gridLayout.addWidget(self.chkClientId, 9, 0, 1, 1)
        self.chkDrugCount = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkDrugCount.setObjectName(_fromUtf8("chkDrugCount"))
        self.gridLayout.addWidget(self.chkDrugCount, 10, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblBegDate_2.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ReportExemptionRecipesSetup)
        QtCore.QObject.connect(self.btnCancel,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportExemptionRecipesSetup.reject)
        QtCore.QObject.connect(self.btnOk,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportExemptionRecipesSetup.accept)
        QtCore.QObject.connect(self.chkClientId,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtClientId.setEnabled)
        QtCore.QObject.connect(self.chkDrugCount,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtDrugCount.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ReportExemptionRecipesSetup)
        ReportExemptionRecipesSetup.setTabOrder(self.edtBegDate,
                                                self.edtEndDate)
        ReportExemptionRecipesSetup.setTabOrder(self.edtEndDate,
                                                self.cmbFinance)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbFinance,
                                                self.cmbSocStatusType)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbSocStatusType,
                                                self.edtMKBFrom)
        ReportExemptionRecipesSetup.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        ReportExemptionRecipesSetup.setTabOrder(self.edtMKBTo,
                                                self.chkClientId)
        ReportExemptionRecipesSetup.setTabOrder(self.chkClientId,
                                                self.edtClientId)
        ReportExemptionRecipesSetup.setTabOrder(self.edtClientId,
                                                self.chkDrugCount)
        ReportExemptionRecipesSetup.setTabOrder(self.chkDrugCount,
                                                self.edtDrugCount)
        ReportExemptionRecipesSetup.setTabOrder(self.edtDrugCount,
                                                self.cmbOrgStructure)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbOrgStructure,
                                                self.cmbPerson)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbPerson,
                                                self.cmbRecipeStatus)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbRecipeStatus,
                                                self.chkOnlyVK)
        ReportExemptionRecipesSetup.setTabOrder(self.chkOnlyVK, self.cmbSortBy)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbSortBy, self.btnOk)
        ReportExemptionRecipesSetup.setTabOrder(self.btnOk, self.btnCancel)

    def retranslateUi(self, ReportExemptionRecipesSetup):
        ReportExemptionRecipesSetup.setWindowTitle(
            _translate("ReportExemptionRecipesSetup", "параметры отчёта",
                       None))
        self.lblRecipeStatus.setText(
            _translate("ReportExemptionRecipesSetup", "Статус рецепта", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportExemptionRecipesSetup", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportExemptionRecipesSetup", ".", None))
        self.chkOnlyVK.setText(
            _translate("ReportExemptionRecipesSetup", "Только по решению ВК",
                       None))
        self.btnCancel.setText(
            _translate("ReportExemptionRecipesSetup", "Отмена", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportExemptionRecipesSetup", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportExemptionRecipesSetup", ".", None))
        self.btnOk.setText(
            _translate("ReportExemptionRecipesSetup", "ОК", None))
        self.lblSocStatusType.setText(
            _translate("ReportExemptionRecipesSetup",
                       "Код льготной категории граждан", None))
        self.lblFinance.setText(
            _translate("ReportExemptionRecipesSetup",
                       "Источник финанисирования", None))
        self.lblMKB.setText(
            _translate("ReportExemptionRecipesSetup", "Коды диагнозов по МКБ",
                       None))
        self.lblSortBy.setText(
            _translate("ReportExemptionRecipesSetup", "Группировать по", None))
        self.lblPerson.setText(
            _translate("ReportExemptionRecipesSetup", "Врач", None))
        self.lblBegDate.setText(
            _translate("ReportExemptionRecipesSetup", "с", None))
        self.lblBegDate_2.setText(
            _translate("ReportExemptionRecipesSetup", "Дата выписки рецепта:",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportExemptionRecipesSetup", "Подразделение", None))
        self.lblEndDate.setText(
            _translate("ReportExemptionRecipesSetup", "по", None))
        self.chkClientId.setText(
            _translate("ReportExemptionRecipesSetup", "Код пациента", None))
        self.chkDrugCount.setText(
            _translate("ReportExemptionRecipesSetup", "Количество единиц",
                       None))
Exemplo n.º 5
0
class Ui_ReportSetupDialog(object):
    def setupUi(self, ReportSetupDialog):
        ReportSetupDialog.setObjectName(_fromUtf8("ReportSetupDialog"))
        ReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportSetupDialog.resize(572, 668)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportSetupDialog.sizePolicy().hasHeightForWidth())
        ReportSetupDialog.setSizePolicy(sizePolicy)
        ReportSetupDialog.setSizeGripEnabled(True)
        ReportSetupDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndPayDate = QtGui.QLabel(ReportSetupDialog)
        self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate"))
        self.gridLayout.addWidget(self.lblEndPayDate, 9, 4, 1, 1)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(
            _fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 5, 1, 1, 9)
        self.edtBegPayDate = CDateEdit(ReportSetupDialog)
        self.edtBegPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegPayDate.sizePolicy().hasHeightForWidth())
        self.edtBegPayDate.setSizePolicy(sizePolicy)
        self.edtBegPayDate.setCalendarPopup(True)
        self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate"))
        self.gridLayout.addWidget(self.edtBegPayDate, 9, 1, 1, 3)
        self.cmbMKBFilter = QtGui.QComboBox(ReportSetupDialog)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbMKBFilter, 27, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 24, 8, 1, 2)
        self.chkOnlyPayedEvents = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyPayedEvents, 7, 1, 1, 9)
        self.frmAge = QtGui.QFrame(ReportSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAgeTo.sizePolicy().hasHeightForWidth())
        self.lblAgeTo.setSizePolicy(sizePolicy)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        self.gridLayout.addWidget(self.frmAge, 21, 1, 1, 5)
        self.lblWorkOrganisation = QtGui.QLabel(ReportSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 19, 0, 1, 1)
        self.cmbActionType = CActionTypeComboBox(ReportSetupDialog)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.gridLayout.addWidget(self.cmbActionType, 24, 1, 1, 7)
        self.lblAge = QtGui.QLabel(ReportSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 21, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 13, 1, 1, 9)
        self.edtEndPayDate = CDateEdit(ReportSetupDialog)
        self.edtEndPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndPayDate.sizePolicy().hasHeightForWidth())
        self.edtEndPayDate.setSizePolicy(sizePolicy)
        self.edtEndPayDate.setCalendarPopup(True)
        self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate"))
        self.gridLayout.addWidget(self.edtEndPayDate, 9, 6, 1, 1)
        self.lblInsurer = QtGui.QLabel(ReportSetupDialog)
        self.lblInsurer.setObjectName(_fromUtf8("lblInsurer"))
        self.gridLayout.addWidget(self.lblInsurer, 12, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblActionTypeClass = QtGui.QLabel(ReportSetupDialog)
        self.lblActionTypeClass.setObjectName(_fromUtf8("lblActionTypeClass"))
        self.gridLayout.addWidget(self.lblActionTypeClass, 23, 0, 1, 1)
        self.cmbStage = CRBComboBox(ReportSetupDialog)
        self.cmbStage.setObjectName(_fromUtf8("cmbStage"))
        self.gridLayout.addWidget(self.cmbStage, 4, 1, 1, 9)
        self.chkDiagnosisType = QtGui.QCheckBox(ReportSetupDialog)
        self.chkDiagnosisType.setObjectName(_fromUtf8("chkDiagnosisType"))
        self.gridLayout.addWidget(self.chkDiagnosisType, 8, 1, 1, 9)
        self.lblSpeciality = QtGui.QLabel(ReportSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ReportSetupDialog)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 12, 1, 1, 9)
        spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 20, 2, 1, 8)
        self.lblWorkType = QtGui.QLabel(ReportSetupDialog)
        self.lblWorkType.setObjectName(_fromUtf8("lblWorkType"))
        self.gridLayout.addWidget(self.lblWorkType, 17, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 4, 1, 6)
        self.lblBegPayDate = QtGui.QLabel(ReportSetupDialog)
        self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate"))
        self.gridLayout.addWidget(self.lblBegPayDate, 9, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 31, 0, 1, 10)
        self.lblActionType = QtGui.QLabel(ReportSetupDialog)
        self.lblActionType.setObjectName(_fromUtf8("lblActionType"))
        self.gridLayout.addWidget(self.lblActionType, 24, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 30, 0, 1, 10)
        self.chkActionClass = QtGui.QCheckBox(ReportSetupDialog)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.gridLayout.addWidget(self.chkActionClass, 22, 0, 1, 10)
        self.lblOrgStructure = QtGui.QLabel(ReportSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 13, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 21, 6, 1, 4)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(ReportSetupDialog)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 19, 9, 1, 1)
        self.edtMKBTo = CICDCodeEdit(ReportSetupDialog)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 27, 5, 1, 2)
        self.lblFinance = QtGui.QLabel(ReportSetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 25, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 16, 1, 1, 9)
        self.cmbFinance = CRBComboBox(ReportSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 25, 1, 1, 7)
        self.lblStage = QtGui.QLabel(ReportSetupDialog)
        self.lblStage.setObjectName(_fromUtf8("lblStage"))
        self.gridLayout.addWidget(self.lblStage, 4, 0, 1, 1)
        self.lblSex = QtGui.QLabel(ReportSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 20, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 3)
        self.lblEventType = QtGui.QLabel(ReportSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 16, 0, 1, 1)
        self.lblOwnership = QtGui.QLabel(ReportSetupDialog)
        self.lblOwnership.setObjectName(_fromUtf8("lblOwnership"))
        self.gridLayout.addWidget(self.lblOwnership, 18, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 4, 1, 6)
        self.lblMKBFilter = QtGui.QLabel(ReportSetupDialog)
        self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter"))
        self.gridLayout.addWidget(self.lblMKBFilter, 27, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 9)
        self.edtMKBFrom = CICDCodeEdit(ReportSetupDialog)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 27, 3, 1, 2)
        self.cmbWorkType = QtGui.QComboBox(ReportSetupDialog)
        self.cmbWorkType.setObjectName(_fromUtf8("cmbWorkType"))
        self.gridLayout.addWidget(self.cmbWorkType, 17, 1, 1, 9)
        self.chkDetailPerson = QtGui.QCheckBox(ReportSetupDialog)
        self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson"))
        self.gridLayout.addWidget(self.chkDetailPerson, 15, 0, 1, 10)
        spacerItem6 = QtGui.QSpacerItem(117, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 27, 7, 1, 3)
        self.lblContract = QtGui.QLabel(ReportSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 26, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 26, 1, 1, 7)
        self.cmbActionTypeClass = QtGui.QComboBox(ReportSetupDialog)
        self.cmbActionTypeClass.setObjectName(_fromUtf8("cmbActionTypeClass"))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbActionTypeClass, 23, 1, 1, 7)
        self.cmbSex = QtGui.QComboBox(ReportSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 20, 1, 1, 1)
        self.edtEndDate = CDateEdit(ReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 3)
        self.cmbOwnership = QtGui.QComboBox(ReportSetupDialog)
        self.cmbOwnership.setObjectName(_fromUtf8("cmbOwnership"))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.setItemText(0, _fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOwnership, 18, 1, 1, 9)
        spacerItem7 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem7, 23, 8, 1, 2)
        self.cmbSpeciality = CRBComboBox(ReportSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 9)
        self.cmbWorkOrganisation = COrgComboBox(ReportSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 19, 1, 1, 8)
        self.chkOnlyNotPayedEvents = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyNotPayedEvents.setObjectName(
            _fromUtf8("chkOnlyNotPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyNotPayedEvents, 8, 0, 1, 1)
        self.chkOnlyEmployee = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyEmployee.setObjectName(_fromUtf8("chkOnlyEmployee"))
        self.gridLayout.addWidget(self.chkOnlyEmployee, 5, 0, 1, 1)
        self.chkGroupByClients = QtGui.QCheckBox(ReportSetupDialog)
        self.chkGroupByClients.setObjectName(_fromUtf8("chkGroupByClients"))
        self.gridLayout.addWidget(self.chkGroupByClients, 7, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ReportSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 9)
        self.lblEventPurpose = QtGui.QLabel(ReportSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1)
        self.btnBrowseSourceDataFile = QtGui.QToolButton(ReportSetupDialog)
        self.btnBrowseSourceDataFile.setEnabled(False)
        self.btnBrowseSourceDataFile.setObjectName(
            _fromUtf8("btnBrowseSourceDataFile"))
        self.gridLayout.addWidget(self.btnBrowseSourceDataFile, 28, 9, 1, 1)
        self.edtSourceDataFileName = QtGui.QLineEdit(ReportSetupDialog)
        self.edtSourceDataFileName.setEnabled(False)
        self.edtSourceDataFileName.setObjectName(
            _fromUtf8("edtSourceDataFileName"))
        self.gridLayout.addWidget(self.edtSourceDataFileName, 28, 1, 1, 8)
        self.chkIsDataFromFile = QtGui.QCheckBox(ReportSetupDialog)
        self.chkIsDataFromFile.setObjectName(_fromUtf8("chkIsDataFromFile"))
        self.gridLayout.addWidget(self.chkIsDataFromFile, 28, 0, 1, 1)
        self.lblOrgStrucutreAttachType = QtGui.QLabel(ReportSetupDialog)
        self.lblOrgStrucutreAttachType.setObjectName(
            _fromUtf8("lblOrgStrucutreAttachType"))
        self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 29, 0, 1, 1)
        self.cmbOrgStructureAttachType = COrgStructureComboBox(
            ReportSetupDialog)
        self.cmbOrgStructureAttachType.setObjectName(
            _fromUtf8("cmbOrgStructureAttachType"))
        self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 29, 1, 1, 7)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndPayDate.setBuddy(self.edtEndPayDate)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblActionTypeClass.setBuddy(self.cmbActionTypeClass)
        self.lblWorkType.setBuddy(self.cmbWorkType)
        self.lblBegPayDate.setBuddy(self.edtBegPayDate)
        self.lblActionType.setBuddy(self.cmbActionType)
        self.lblStage.setBuddy(self.cmbStage)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOwnership.setBuddy(self.cmbOwnership)
        self.lblMKBFilter.setBuddy(self.cmbMKBFilter)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)

        self.retranslateUi(ReportSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportSetupDialog.reject)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegPayDate.setEnabled)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndPayDate.setEnabled)
        QtCore.QObject.connect(self.chkDetailPerson,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPerson.setDisabled)
        QtCore.QObject.connect(self.chkActionClass,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbActionTypeClass.setDisabled)
        QtCore.QObject.connect(self.chkActionClass,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbActionType.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportSetupDialog)
        ReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventType)
        ReportSetupDialog.setTabOrder(self.cmbEventType, self.cmbStage)
        ReportSetupDialog.setTabOrder(self.cmbStage,
                                      self.chkOnlyPermanentAttach)
        ReportSetupDialog.setTabOrder(self.chkOnlyPermanentAttach,
                                      self.chkOnlyPayedEvents)
        ReportSetupDialog.setTabOrder(self.chkOnlyPayedEvents,
                                      self.edtBegPayDate)
        ReportSetupDialog.setTabOrder(self.edtBegPayDate, self.cmbInsurer)
        ReportSetupDialog.setTabOrder(self.cmbInsurer, self.cmbOrgStructure)
        ReportSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality)
        ReportSetupDialog.setTabOrder(self.cmbSpeciality, self.chkDetailPerson)
        ReportSetupDialog.setTabOrder(self.chkDetailPerson, self.cmbPerson)
        ReportSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkType)
        ReportSetupDialog.setTabOrder(self.cmbWorkType, self.cmbOwnership)
        ReportSetupDialog.setTabOrder(self.cmbOwnership,
                                      self.cmbWorkOrganisation)
        ReportSetupDialog.setTabOrder(self.cmbWorkOrganisation,
                                      self.btnSelectWorkOrganisation)
        ReportSetupDialog.setTabOrder(self.btnSelectWorkOrganisation,
                                      self.cmbSex)
        ReportSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        ReportSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        ReportSetupDialog.setTabOrder(self.edtAgeTo, self.chkActionClass)
        ReportSetupDialog.setTabOrder(self.chkActionClass,
                                      self.cmbActionTypeClass)
        ReportSetupDialog.setTabOrder(self.cmbActionTypeClass,
                                      self.cmbActionType)
        ReportSetupDialog.setTabOrder(self.cmbActionType, self.cmbFinance)
        ReportSetupDialog.setTabOrder(self.cmbFinance, self.cmbMKBFilter)
        ReportSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom)
        ReportSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        ReportSetupDialog.setTabOrder(self.edtMKBTo, self.buttonBox)

    def retranslateUi(self, ReportSetupDialog):
        ReportSetupDialog.setWindowTitle(
            _translate("ReportSetupDialog", "параметры отчёта", None))
        self.lblBegDate.setText(
            _translate("ReportSetupDialog", "Дата &начала периода", None))
        self.lblEndPayDate.setText(_translate("ReportSetupDialog", "по", None))
        self.chkOnlyPermanentAttach.setText(
            _translate("ReportSetupDialog", "&Прикреплённые к базовому ЛПУ",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportSetupDialog", "Интервал", None))
        self.chkOnlyPayedEvents.setText(
            _translate("ReportSetupDialog", "Только опла&ченные", None))
        self.lblAgeTo.setText(_translate("ReportSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("ReportSetupDialog", "лет", None))
        self.lblWorkOrganisation.setText(
            _translate("ReportSetupDialog", "Место работы", None))
        self.lblAge.setText(_translate("ReportSetupDialog", "Возраст с", None))
        self.lblInsurer.setText(_translate("ReportSetupDialog", "СМО", None))
        self.lblEndDate.setText(
            _translate("ReportSetupDialog", "Дата &окончания периода", None))
        self.lblActionTypeClass.setText(
            _translate("ReportSetupDialog", "Кла&сс", None))
        self.chkDiagnosisType.setText(
            _translate("ReportSetupDialog", "Учитывать сопуствующие диагнозы",
                       None))
        self.lblSpeciality.setText(
            _translate("ReportSetupDialog", "Специальность", None))
        self.lblWorkType.setText(
            _translate("ReportSetupDialog", "По ОКВЭД", None))
        self.lblBegPayDate.setText(
            _translate("ReportSetupDialog", "Оплачено в период с", None))
        self.lblActionType.setText(
            _translate("ReportSetupDialog", "&Мероприятие", None))
        self.chkActionClass.setText(
            _translate("ReportSetupDialog", "Не учитывать класс", None))
        self.lblOrgStructure.setText(
            _translate("ReportSetupDialog", "Подразделение", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("ReportSetupDialog", "...", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("ReportSetupDialog", "Z99.9", None))
        self.lblFinance.setText(
            _translate("ReportSetupDialog", "Тип финанисирования", None))
        self.lblStage.setText(_translate("ReportSetupDialog", "Стадия", None))
        self.lblSex.setText(_translate("ReportSetupDialog", "По&л", None))
        self.lblEventType.setText(
            _translate("ReportSetupDialog", "&Тип обращения", None))
        self.lblPerson.setText(_translate("ReportSetupDialog", "Врач", None))
        self.lblOwnership.setText(
            _translate("ReportSetupDialog", "Собственность", None))
        self.lblMKBFilter.setText(
            _translate("ReportSetupDialog", "Коды диагнозов по &МКБ", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportSetupDialog", "A.", None))
        self.chkDetailPerson.setText(
            _translate("ReportSetupDialog", "Детализировать по врачам", None))
        self.lblContract.setText(
            _translate("ReportSetupDialog", "Договор", None))
        self.cmbActionTypeClass.setItemText(
            0, _translate("ReportSetupDialog", "Статус", None))
        self.cmbActionTypeClass.setItemText(
            1, _translate("ReportSetupDialog", "Диагностика", None))
        self.cmbActionTypeClass.setItemText(
            2, _translate("ReportSetupDialog", "Лечение", None))
        self.cmbActionTypeClass.setItemText(
            3, _translate("ReportSetupDialog", "Прочие мероприятия", None))
        self.cmbSex.setItemText(1, _translate("ReportSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ReportSetupDialog", "Ж", None))
        self.cmbOwnership.setItemText(
            1, _translate("ReportSetupDialog", "Бюджетная", None))
        self.cmbOwnership.setItemText(
            2, _translate("ReportSetupDialog", "Частная", None))
        self.cmbOwnership.setItemText(
            3, _translate("ReportSetupDialog", "Смешенная", None))
        self.chkOnlyNotPayedEvents.setText(
            _translate("ReportSetupDialog", "Не оплаченные услуги", None))
        self.chkOnlyEmployee.setText(
            _translate("ReportSetupDialog", "Сотрудник", None))
        self.chkGroupByClients.setText(
            _translate("ReportSetupDialog", "Группировать по пациентам", None))
        self.lblEventPurpose.setText(
            _translate("ReportSetupDialog", "Назначение обращения", None))
        self.btnBrowseSourceDataFile.setText(
            _translate("ReportSetupDialog", "...", None))
        self.chkIsDataFromFile.setText(
            _translate("ReportSetupDialog", "Исходные данные из файла", None))
        self.lblOrgStrucutreAttachType.setText(
            _translate("ReportSetupDialog", "Подразделение прикрепления",
                       None))
Exemplo n.º 6
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(672, 568)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegin = QtGui.QLabel(Dialog)
        self.lblBegin.setObjectName(_fromUtf8("lblBegin"))
        self.gridLayout.addWidget(self.lblBegin, 0, 0, 1, 1)
        self.dateBeginPeriod = CDateEdit(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateBeginPeriod.sizePolicy().hasHeightForWidth())
        self.dateBeginPeriod.setSizePolicy(sizePolicy)
        self.dateBeginPeriod.setCalendarPopup(True)
        self.dateBeginPeriod.setObjectName(_fromUtf8("dateBeginPeriod"))
        self.gridLayout.addWidget(self.dateBeginPeriod, 0, 1, 1, 1)
        self.lblEnd = QtGui.QLabel(Dialog)
        self.lblEnd.setObjectName(_fromUtf8("lblEnd"))
        self.gridLayout.addWidget(self.lblEnd, 0, 2, 1, 1)
        self.dateEndPeriod = CDateEdit(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateEndPeriod.sizePolicy().hasHeightForWidth())
        self.dateEndPeriod.setSizePolicy(sizePolicy)
        self.dateEndPeriod.setCalendarPopup(True)
        self.dateEndPeriod.setObjectName(_fromUtf8("dateEndPeriod"))
        self.gridLayout.addWidget(self.dateEndPeriod, 0, 3, 1, 2)
        spacerItem = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 5, 1, 1)
        self.chkMKB = QtGui.QCheckBox(Dialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 0, 6, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(Dialog)
        self.edtMKBFrom.setEnabled(False)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(50, 16777215))
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 0, 7, 1, 1)
        self.edtMKBTo = CICDCodeEdit(Dialog)
        self.edtMKBTo.setEnabled(False)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(50, 16777215))
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 0, 8, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(14, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 9, 1, 1)
        self.chkAccountChronicDisease = QtGui.QCheckBox(Dialog)
        self.chkAccountChronicDisease.setChecked(True)
        self.chkAccountChronicDisease.setObjectName(_fromUtf8("chkAccountChronicDisease"))
        self.gridLayout.addWidget(self.chkAccountChronicDisease, 2, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 2, 4, 1, 2)
        self.chkDiseaseDiagnostic = QtGui.QCheckBox(Dialog)
        self.chkDiseaseDiagnostic.setChecked(True)
        self.chkDiseaseDiagnostic.setObjectName(_fromUtf8("chkDiseaseDiagnostic"))
        self.gridLayout.addWidget(self.chkDiseaseDiagnostic, 2, 6, 1, 3)
        self.chkAccountAcuteDisease = QtGui.QCheckBox(Dialog)
        self.chkAccountAcuteDisease.setChecked(True)
        self.chkAccountAcuteDisease.setObjectName(_fromUtf8("chkAccountAcuteDisease"))
        self.gridLayout.addWidget(self.chkAccountAcuteDisease, 3, 0, 1, 3)
        spacerItem3 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 4, 1, 2)
        self.chkDataDiagnosis = QtGui.QCheckBox(Dialog)
        self.chkDataDiagnosis.setChecked(True)
        self.chkDataDiagnosis.setObjectName(_fromUtf8("chkDataDiagnosis"))
        self.gridLayout.addWidget(self.chkDataDiagnosis, 3, 6, 1, 2)
        self.chkControlIntegrity = QtGui.QCheckBox(Dialog)
        self.chkControlIntegrity.setChecked(True)
        self.chkControlIntegrity.setObjectName(_fromUtf8("chkControlIntegrity"))
        self.gridLayout.addWidget(self.chkControlIntegrity, 4, 0, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 4, 4, 1, 2)
        self.chkCharacterChronicFirstDisease = QtGui.QCheckBox(Dialog)
        self.chkCharacterChronicFirstDisease.setChecked(True)
        self.chkCharacterChronicFirstDisease.setObjectName(_fromUtf8("chkCharacterChronicFirstDisease"))
        self.gridLayout.addWidget(self.chkCharacterChronicFirstDisease, 4, 6, 1, 3)
        self.chkCodingMKBEx = QtGui.QCheckBox(Dialog)
        self.chkCodingMKBEx.setChecked(True)
        self.chkCodingMKBEx.setObjectName(_fromUtf8("chkCodingMKBEx"))
        self.gridLayout.addWidget(self.chkCodingMKBEx, 5, 0, 1, 4)
        spacerItem5 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 5, 4, 1, 2)
        self.chkCharacterChronicKnowDisease = QtGui.QCheckBox(Dialog)
        self.chkCharacterChronicKnowDisease.setChecked(True)
        self.chkCharacterChronicKnowDisease.setObjectName(_fromUtf8("chkCharacterChronicKnowDisease"))
        self.gridLayout.addWidget(self.chkCharacterChronicKnowDisease, 5, 6, 1, 4)
        self.chkCodingMKB = QtGui.QCheckBox(Dialog)
        self.chkCodingMKB.setChecked(True)
        self.chkCodingMKB.setObjectName(_fromUtf8("chkCodingMKB"))
        self.gridLayout.addWidget(self.chkCodingMKB, 6, 0, 1, 3)
        spacerItem6 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 6, 4, 1, 2)
        self.chkChronicAcuteDisease = QtGui.QCheckBox(Dialog)
        self.chkChronicAcuteDisease.setChecked(True)
        self.chkChronicAcuteDisease.setObjectName(_fromUtf8("chkChronicAcuteDisease"))
        self.gridLayout.addWidget(self.chkChronicAcuteDisease, 6, 6, 1, 3)
        self.chkCodingTraumaType = QtGui.QCheckBox(Dialog)
        self.chkCodingTraumaType.setChecked(True)
        self.chkCodingTraumaType.setObjectName(_fromUtf8("chkCodingTraumaType"))
        self.gridLayout.addWidget(self.chkCodingTraumaType, 7, 0, 1, 4)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem7, 7, 4, 1, 2)
        self.chkIgnoreCorrectionUser = QtGui.QCheckBox(Dialog)
        self.chkIgnoreCorrectionUser.setEnabled(False)
        self.chkIgnoreCorrectionUser.setObjectName(_fromUtf8("chkIgnoreCorrectionUser"))
        self.gridLayout.addWidget(self.chkIgnoreCorrectionUser, 7, 6, 1, 3)
        self.listResultControlDiagnosis = CRemarkListWidget(Dialog)
        self.listResultControlDiagnosis.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed|QtGui.QAbstractItemView.SelectedClicked)
        self.listResultControlDiagnosis.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.listResultControlDiagnosis.setFlow(QtGui.QListView.TopToBottom)
        self.listResultControlDiagnosis.setObjectName(_fromUtf8("listResultControlDiagnosis"))
        self.gridLayout.addWidget(self.listResultControlDiagnosis, 9, 0, 1, 10)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnStartControl = QtGui.QPushButton(Dialog)
        self.btnStartControl.setAutoDefault(True)
        self.btnStartControl.setObjectName(_fromUtf8("btnStartControl"))
        self.horizontalLayout_2.addWidget(self.btnStartControl)
        self.lblCountLine = QtGui.QLabel(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCountLine.sizePolicy().hasHeightForWidth())
        self.lblCountLine.setSizePolicy(sizePolicy)
        self.lblCountLine.setText(_fromUtf8(""))
        self.lblCountLine.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountLine.setObjectName(_fromUtf8("lblCountLine"))
        self.horizontalLayout_2.addWidget(self.lblCountLine)
        self.btnCorrectControl = QtGui.QPushButton(Dialog)
        self.btnCorrectControl.setEnabled(False)
        self.btnCorrectControl.setObjectName(_fromUtf8("btnCorrectControl"))
        self.horizontalLayout_2.addWidget(self.btnCorrectControl)
        self.btnEndControl = QtGui.QPushButton(Dialog)
        self.btnEndControl.setAutoDefault(True)
        self.btnEndControl.setObjectName(_fromUtf8("btnEndControl"))
        self.horizontalLayout_2.addWidget(self.btnEndControl)
        self.gridLayout.addLayout(self.horizontalLayout_2, 10, 0, 1, 10)
        self.prbControlDiagnosis = CProgressBar(Dialog)
        self.prbControlDiagnosis.setObjectName(_fromUtf8("prbControlDiagnosis"))
        self.gridLayout.addWidget(self.prbControlDiagnosis, 8, 0, 1, 10)
        self.lblAge = QtGui.QLabel(Dialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAgeFrom = QtGui.QSpinBox(Dialog)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.gridLayout.addWidget(self.edtAgeFrom, 1, 1, 1, 1)
        self.lblAgeTo = QtGui.QLabel(Dialog)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.gridLayout.addWidget(self.lblAgeTo, 1, 2, 1, 1)
        self.edtAgeTo = QtGui.QSpinBox(Dialog)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.gridLayout.addWidget(self.edtAgeTo, 1, 3, 1, 2)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem8, 1, 5, 1, 5)
        self.lblBegin.setBuddy(self.dateBeginPeriod)
        self.lblEnd.setBuddy(self.dateEndPeriod)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.dateBeginPeriod, self.dateEndPeriod)
        Dialog.setTabOrder(self.dateEndPeriod, self.edtAgeFrom)
        Dialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        Dialog.setTabOrder(self.edtAgeTo, self.chkAccountChronicDisease)
        Dialog.setTabOrder(self.chkAccountChronicDisease, self.chkAccountAcuteDisease)
        Dialog.setTabOrder(self.chkAccountAcuteDisease, self.chkControlIntegrity)
        Dialog.setTabOrder(self.chkControlIntegrity, self.chkCodingMKBEx)
        Dialog.setTabOrder(self.chkCodingMKBEx, self.chkCodingMKB)
        Dialog.setTabOrder(self.chkCodingMKB, self.chkCodingTraumaType)
        Dialog.setTabOrder(self.chkCodingTraumaType, self.chkMKB)
        Dialog.setTabOrder(self.chkMKB, self.edtMKBFrom)
        Dialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        Dialog.setTabOrder(self.edtMKBTo, self.chkDiseaseDiagnostic)
        Dialog.setTabOrder(self.chkDiseaseDiagnostic, self.chkDataDiagnosis)
        Dialog.setTabOrder(self.chkDataDiagnosis, self.chkCharacterChronicFirstDisease)
        Dialog.setTabOrder(self.chkCharacterChronicFirstDisease, self.chkCharacterChronicKnowDisease)
        Dialog.setTabOrder(self.chkCharacterChronicKnowDisease, self.chkChronicAcuteDisease)
        Dialog.setTabOrder(self.chkChronicAcuteDisease, self.chkIgnoreCorrectionUser)
        Dialog.setTabOrder(self.chkIgnoreCorrectionUser, self.listResultControlDiagnosis)
        Dialog.setTabOrder(self.listResultControlDiagnosis, self.btnStartControl)
        Dialog.setTabOrder(self.btnStartControl, self.btnCorrectControl)
        Dialog.setTabOrder(self.btnCorrectControl, self.btnEndControl)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Логический контроль заболеваний в ЛУД", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegin.setText(QtGui.QApplication.translate("Dialog", "Период с   ", None, QtGui.QApplication.UnicodeUTF8))
        self.dateBeginPeriod.setDisplayFormat(QtGui.QApplication.translate("Dialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEnd.setText(QtGui.QApplication.translate("Dialog", "  по    ", None, QtGui.QApplication.UnicodeUTF8))
        self.dateEndPeriod.setDisplayFormat(QtGui.QApplication.translate("Dialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMKB.setText(QtGui.QApplication.translate("Dialog", "Коды диагнозов по &МКБ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setInputMask(QtGui.QApplication.translate("Dialog", "a00.00; ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setText(QtGui.QApplication.translate("Dialog", "A.", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setInputMask(QtGui.QApplication.translate("Dialog", "a00.00; ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setText(QtGui.QApplication.translate("Dialog", "T99.9", None, QtGui.QApplication.UnicodeUTF8))
        self.chkAccountChronicDisease.setText(QtGui.QApplication.translate("Dialog", "Учитывать хронические", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDiseaseDiagnostic.setText(QtGui.QApplication.translate("Dialog", "Контроль длительности по случаям", None, QtGui.QApplication.UnicodeUTF8))
        self.chkAccountAcuteDisease.setText(QtGui.QApplication.translate("Dialog", "Учитывать острые", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDataDiagnosis.setText(QtGui.QApplication.translate("Dialog", "Контроль длительности периода", None, QtGui.QApplication.UnicodeUTF8))
        self.chkControlIntegrity.setText(QtGui.QApplication.translate("Dialog", "Контроль целостности", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCharacterChronicFirstDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль начала хронического заболевания", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingMKBEx.setText(QtGui.QApplication.translate("Dialog", "Различие в шифрах доп.секции", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCharacterChronicKnowDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль характера хронического заболевания", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingMKB.setText(QtGui.QApplication.translate("Dialog", "Одинаковые блоки МКБ", None, QtGui.QApplication.UnicodeUTF8))
        self.chkChronicAcuteDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль острое-хроническое-обострение", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingTraumaType.setText(QtGui.QApplication.translate("Dialog", "Несоответствие типа травмы", None, QtGui.QApplication.UnicodeUTF8))
        self.chkIgnoreCorrectionUser.setText(QtGui.QApplication.translate("Dialog", "Игнорировать участие пользователя", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartControl.setText(QtGui.QApplication.translate("Dialog", "начать выполнение", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCorrectControl.setText(QtGui.QApplication.translate("Dialog", "исправить", None, QtGui.QApplication.UnicodeUTF8))
        self.btnEndControl.setText(QtGui.QApplication.translate("Dialog", "прервать", None, QtGui.QApplication.UnicodeUTF8))
        self.prbControlDiagnosis.setFormat(QtGui.QApplication.translate("Dialog", "%p%", None, QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(QtGui.QApplication.translate("Dialog", "Возраст с", None, QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(QtGui.QApplication.translate("Dialog", "  по", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 7
0
class Ui_ReportSelectionDiagnosis(object):
    def setupUi(self, ReportSelectionDiagnosis):
        ReportSelectionDiagnosis.setObjectName(
            _fromUtf8("ReportSelectionDiagnosis"))
        ReportSelectionDiagnosis.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportSelectionDiagnosis.resize(442, 217)
        ReportSelectionDiagnosis.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportSelectionDiagnosis)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.frmMKBEx = QtGui.QFrame(ReportSelectionDiagnosis)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKBEx)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.gridLayout.addWidget(self.frmMKBEx, 6, 1, 2, 4)
        self.lblOrgStructure = QtGui.QLabel(ReportSelectionDiagnosis)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportSelectionDiagnosis)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1)
        self.lblMKB = QtGui.QLabel(ReportSelectionDiagnosis)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 5, 0, 1, 1)
        self.frmMKB = QtGui.QFrame(ReportSelectionDiagnosis)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBFilter.setSizePolicy(sizePolicy)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout1.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout1.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKB, 5, 1, 1, 4)
        self.cmbPerson = CPersonComboBoxEx(ReportSelectionDiagnosis)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 3, 1, 1, 4)
        self.edtBegDate = CDateEdit(ReportSelectionDiagnosis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportSelectionDiagnosis)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 5)
        self.cmbOrgStructure = COrgStructureComboBox(ReportSelectionDiagnosis)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 4)
        self.frmAge = QtGui.QFrame(ReportSelectionDiagnosis)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.gridLayout.addWidget(self.frmAge, 4, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(ReportSelectionDiagnosis)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 3, 1, 2)
        self.edtEndDate = CDateEdit(ReportSelectionDiagnosis)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 3, 1, 2)
        self.lblEndDate = QtGui.QLabel(ReportSelectionDiagnosis)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ReportSelectionDiagnosis)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportSelectionDiagnosis.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportSelectionDiagnosis.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportSelectionDiagnosis)
        ReportSelectionDiagnosis.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportSelectionDiagnosis.setTabOrder(self.edtEndDate,
                                             self.cmbOrgStructure)
        ReportSelectionDiagnosis.setTabOrder(self.cmbOrgStructure,
                                             self.cmbPerson)
        ReportSelectionDiagnosis.setTabOrder(self.cmbPerson, self.cmbMKBFilter)
        ReportSelectionDiagnosis.setTabOrder(self.cmbMKBFilter,
                                             self.edtMKBFrom)
        ReportSelectionDiagnosis.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        ReportSelectionDiagnosis.setTabOrder(self.edtMKBTo, self.buttonBox)

    def retranslateUi(self, ReportSelectionDiagnosis):
        ReportSelectionDiagnosis.setWindowTitle(
            _translate("ReportSelectionDiagnosis", "параметры отчёта", None))
        self.lblOrgStructure.setText(
            _translate("ReportSelectionDiagnosis", "&Подразделение", None))
        self.lblPerson.setText(
            _translate("ReportSelectionDiagnosis", "&Врач", None))
        self.lblMKB.setText(
            _translate("ReportSelectionDiagnosis", "Коды диагнозов по &МКБ",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportSelectionDiagnosis", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportSelectionDiagnosis", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportSelectionDiagnosis", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportSelectionDiagnosis", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportSelectionDiagnosis", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportSelectionDiagnosis", "Z99.9", None))
        self.cmbPerson.setWhatsThis(
            _translate(
                "ReportSelectionDiagnosis",
                "<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;\"></p></body></html>",
                None))
        self.cmbPerson.setItemText(
            0, _translate("ReportSelectionDiagnosis", "Врач", None))
        self.lblBegDate.setText(
            _translate("ReportSelectionDiagnosis", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("ReportSelectionDiagnosis", "Дата &окончания периода",
                       None))
Exemplo n.º 8
0
class Ui_ReportDiagnosisLeaved(object):
    def setupUi(self, ReportDiagnosisLeaved):
        ReportDiagnosisLeaved.setObjectName(_fromUtf8("ReportDiagnosisLeaved"))
        ReportDiagnosisLeaved.resize(555, 558)
        self.gridLayout = QtGui.QGridLayout(ReportDiagnosisLeaved)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblOrder = QtGui.QLabel(ReportDiagnosisLeaved)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 3, 0, 1, 2)
        self.edtBegDate = CDateEdit(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
        self.edtMKBTo = CICDCodeEdit(ReportDiagnosisLeaved)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 5, 4, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(ReportDiagnosisLeaved)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 5, 3, 1, 1)
        self.lblTypeHosp = QtGui.QLabel(ReportDiagnosisLeaved)
        self.lblTypeHosp.setObjectName(_fromUtf8("lblTypeHosp"))
        self.gridLayout.addWidget(self.lblTypeHosp, 2, 0, 1, 2)
        self.cmbMKBFilter = QtGui.QComboBox(ReportDiagnosisLeaved)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbMKBFilter, 5, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportDiagnosisLeaved)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.cmbFinance = CRBComboBox(ReportDiagnosisLeaved)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 2, 1, 3)
        self.lblBegDate = QtGui.QLabel(ReportDiagnosisLeaved)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.lblMKBFilter = QtGui.QLabel(ReportDiagnosisLeaved)
        self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter"))
        self.gridLayout.addWidget(self.lblMKBFilter, 5, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportDiagnosisLeaved)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 12, 2, 1, 3)
        self.cmbTypeHosp = QtGui.QComboBox(ReportDiagnosisLeaved)
        self.cmbTypeHosp.setObjectName(_fromUtf8("cmbTypeHosp"))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTypeHosp, 2, 2, 1, 3)
        self.cmbOrder = QtGui.QComboBox(ReportDiagnosisLeaved)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrder, 3, 2, 1, 3)
        self.label = QtGui.QLabel(ReportDiagnosisLeaved)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 4, 0, 1, 2)
        self.chkOrgStructureMulti = QtGui.QCheckBox(ReportDiagnosisLeaved)
        self.chkOrgStructureMulti.setObjectName(
            _fromUtf8("chkOrgStructureMulti"))
        self.gridLayout.addWidget(self.chkOrgStructureMulti, 12, 0, 1, 2)
        self.lstOrgStructure = CRBListBox(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lstOrgStructure.sizePolicy().hasHeightForWidth())
        self.lstOrgStructure.setSizePolicy(sizePolicy)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 13, 0, 1, 5)
        self.gbAdult = QtGui.QGroupBox(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.gbAdult.sizePolicy().hasHeightForWidth())
        self.gbAdult.setSizePolicy(sizePolicy)
        self.gbAdult.setCheckable(True)
        self.gbAdult.setObjectName(_fromUtf8("gbAdult"))
        self.verticalLayout = QtGui.QVBoxLayout(self.gbAdult)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.chkCountAdult = QtGui.QCheckBox(self.gbAdult)
        self.chkCountAdult.setChecked(True)
        self.chkCountAdult.setObjectName(_fromUtf8("chkCountAdult"))
        self.verticalLayout.addWidget(self.chkCountAdult)
        self.chkDurationAdult = QtGui.QCheckBox(self.gbAdult)
        self.chkDurationAdult.setChecked(True)
        self.chkDurationAdult.setObjectName(_fromUtf8("chkDurationAdult"))
        self.verticalLayout.addWidget(self.chkDurationAdult)
        self.chkCountAdultDead = QtGui.QCheckBox(self.gbAdult)
        self.chkCountAdultDead.setChecked(True)
        self.chkCountAdultDead.setObjectName(_fromUtf8("chkCountAdultDead"))
        self.verticalLayout.addWidget(self.chkCountAdultDead)
        self.chkAdultOther = QtGui.QCheckBox(self.gbAdult)
        self.chkAdultOther.setChecked(True)
        self.chkAdultOther.setObjectName(_fromUtf8("chkAdultOther"))
        self.verticalLayout.addWidget(self.chkAdultOther)
        self.gridLayout.addWidget(self.gbAdult, 14, 2, 1, 2)
        self.gbGeneral = QtGui.QGroupBox(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.gbGeneral.sizePolicy().hasHeightForWidth())
        self.gbGeneral.setSizePolicy(sizePolicy)
        self.gbGeneral.setCheckable(True)
        self.gbGeneral.setObjectName(_fromUtf8("gbGeneral"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.gbGeneral)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.chkOrgStructure = QtGui.QCheckBox(self.gbGeneral)
        self.chkOrgStructure.setChecked(True)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.verticalLayout_2.addWidget(self.chkOrgStructure)
        self.chkDiagnosis = QtGui.QCheckBox(self.gbGeneral)
        self.chkDiagnosis.setChecked(True)
        self.chkDiagnosis.setObjectName(_fromUtf8("chkDiagnosis"))
        self.verticalLayout_2.addWidget(self.chkDiagnosis)
        self.chkWeight = QtGui.QCheckBox(self.gbGeneral)
        self.chkWeight.setChecked(True)
        self.chkWeight.setObjectName(_fromUtf8("chkWeight"))
        self.verticalLayout_2.addWidget(self.chkWeight)
        self.chkCountAmb = QtGui.QCheckBox(self.gbGeneral)
        self.chkCountAmb.setChecked(True)
        self.chkCountAmb.setObjectName(_fromUtf8("chkCountAmb"))
        self.verticalLayout_2.addWidget(self.chkCountAmb)
        self.gridLayout.addWidget(self.gbGeneral, 14, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportDiagnosisLeaved)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 15, 4, 1, 1)
        self.gbChild = QtGui.QGroupBox(ReportDiagnosisLeaved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.gbChild.sizePolicy().hasHeightForWidth())
        self.gbChild.setSizePolicy(sizePolicy)
        self.gbChild.setCheckable(True)
        self.gbChild.setObjectName(_fromUtf8("gbChild"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbChild)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkCountChildren = QtGui.QCheckBox(self.gbChild)
        self.chkCountChildren.setChecked(True)
        self.chkCountChildren.setObjectName(_fromUtf8("chkCountChildren"))
        self.gridLayout_2.addWidget(self.chkCountChildren, 0, 0, 1, 1)
        self.chkCountChildren1year = QtGui.QCheckBox(self.gbChild)
        self.chkCountChildren1year.setChecked(True)
        self.chkCountChildren1year.setObjectName(
            _fromUtf8("chkCountChildren1year"))
        self.gridLayout_2.addWidget(self.chkCountChildren1year, 0, 1, 1, 1)
        self.chkDurationChildren = QtGui.QCheckBox(self.gbChild)
        self.chkDurationChildren.setChecked(True)
        self.chkDurationChildren.setObjectName(
            _fromUtf8("chkDurationChildren"))
        self.gridLayout_2.addWidget(self.chkDurationChildren, 1, 0, 1, 1)
        self.chkCountChildrenDead = QtGui.QCheckBox(self.gbChild)
        self.chkCountChildrenDead.setChecked(True)
        self.chkCountChildrenDead.setObjectName(
            _fromUtf8("chkCountChildrenDead"))
        self.gridLayout_2.addWidget(self.chkCountChildrenDead, 2, 0, 1, 1)
        self.chkCountChildren1yearDead = QtGui.QCheckBox(self.gbChild)
        self.chkCountChildren1yearDead.setChecked(True)
        self.chkCountChildren1yearDead.setObjectName(
            _fromUtf8("chkCountChildren1yearDead"))
        self.gridLayout_2.addWidget(self.chkCountChildren1yearDead, 2, 1, 1, 1)
        self.chkChildrenOther = QtGui.QCheckBox(self.gbChild)
        self.chkChildrenOther.setChecked(True)
        self.chkChildrenOther.setObjectName(_fromUtf8("chkChildrenOther"))
        self.gridLayout_2.addWidget(self.chkChildrenOther, 3, 0, 1, 1)
        self.chkChildren1yearOther = QtGui.QCheckBox(self.gbChild)
        self.chkChildren1yearOther.setChecked(True)
        self.chkChildren1yearOther.setObjectName(
            _fromUtf8("chkChildren1yearOther"))
        self.gridLayout_2.addWidget(self.chkChildren1yearOther, 3, 1, 1, 1)
        self.gridLayout.addWidget(self.gbChild, 14, 4, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblMKBFilter.setBuddy(self.cmbMKBFilter)

        self.retranslateUi(ReportDiagnosisLeaved)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportDiagnosisLeaved.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportDiagnosisLeaved.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportDiagnosisLeaved)

    def retranslateUi(self, ReportDiagnosisLeaved):
        ReportDiagnosisLeaved.setWindowTitle(
            _translate("ReportDiagnosisLeaved", "Dialog", None))
        self.lblOrder.setText(
            _translate("ReportDiagnosisLeaved", "Порядок", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportDiagnosisLeaved", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportDiagnosisLeaved", "Z99.9", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportDiagnosisLeaved", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportDiagnosisLeaved", "A.",
                                           None))
        self.lblTypeHosp.setText(
            _translate("ReportDiagnosisLeaved", "Тип госпитализации", None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportDiagnosisLeaved", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportDiagnosisLeaved", "Интервал", None))
        self.lblEndDate.setText(
            _translate("ReportDiagnosisLeaved", "Дата &окончания периода",
                       None))
        self.lblBegDate.setText(
            _translate("ReportDiagnosisLeaved", "Дата &начала периода", None))
        self.lblMKBFilter.setText(
            _translate("ReportDiagnosisLeaved", "Коды диагнозов по &МКБ",
                       None))
        self.cmbTypeHosp.setItemText(
            0, _translate("ReportDiagnosisLeaved", "не задано", None))
        self.cmbTypeHosp.setItemText(
            1,
            _translate("ReportDiagnosisLeaved", "круглосуточный стационар",
                       None))
        self.cmbTypeHosp.setItemText(
            2, _translate("ReportDiagnosisLeaved", "дневной стационар", None))
        self.cmbTypeHosp.setItemText(
            3, _translate("ReportDiagnosisLeaved", "амбулаторно", None))
        self.cmbOrder.setItemText(
            0, _translate("ReportDiagnosisLeaved", "не задано", None))
        self.cmbOrder.setItemText(
            1, _translate("ReportDiagnosisLeaved", "планово", None))
        self.cmbOrder.setItemText(
            2, _translate("ReportDiagnosisLeaved", "экстренно", None))
        self.label.setText(
            _translate("ReportDiagnosisLeaved", "Тип финансирования", None))
        self.chkOrgStructureMulti.setText(
            _translate("ReportDiagnosisLeaved", "Подразделение", None))
        self.gbAdult.setTitle(
            _translate("ReportDiagnosisLeaved", "Взрослые", None))
        self.chkCountAdult.setText(
            _translate("ReportDiagnosisLeaved", "Выписано б-х", None))
        self.chkDurationAdult.setText(
            _translate("ReportDiagnosisLeaved", "Провед выпис. к/д", None))
        self.chkCountAdultDead.setText(
            _translate("ReportDiagnosisLeaved", "Умерло", None))
        self.chkAdultOther.setText(
            _translate("ReportDiagnosisLeaved", "Переведено", None))
        self.gbGeneral.setTitle(
            _translate("ReportDiagnosisLeaved", "Общие", None))
        self.chkOrgStructure.setText(
            _translate("ReportDiagnosisLeaved", "Отделение", None))
        self.chkDiagnosis.setText(
            _translate("ReportDiagnosisLeaved", "Диагноз", None))
        self.chkWeight.setText(
            _translate("ReportDiagnosisLeaved", "Удельный вес", None))
        self.chkCountAmb.setText(
            _translate("ReportDiagnosisLeaved", "Кол-во\n"
                       "амбулаторных", None))
        self.gbChild.setTitle(
            _translate("ReportDiagnosisLeaved",
                       "Дети и подростки до 17 лет вкл.", None))
        self.chkCountChildren.setText(
            _translate("ReportDiagnosisLeaved", "Выписано б-х", None))
        self.chkCountChildren1year.setText(
            _translate("ReportDiagnosisLeaved", "В т.ч до 1 года", None))
        self.chkDurationChildren.setText(
            _translate("ReportDiagnosisLeaved", "Провед выпис. к/д", None))
        self.chkCountChildrenDead.setText(
            _translate("ReportDiagnosisLeaved", "Умерло", None))
        self.chkCountChildren1yearDead.setText(
            _translate("ReportDiagnosisLeaved", "В т.ч до 1 года", None))
        self.chkChildrenOther.setText(
            _translate("ReportDiagnosisLeaved", "Переведено", None))
        self.chkChildren1yearOther.setText(
            _translate("ReportDiagnosisLeaved", "В т.ч до 1 года", None))
Exemplo n.º 9
0
class Ui_TempInvalidSetupDialog(object):
    def setupUi(self, TempInvalidSetupDialog):
        TempInvalidSetupDialog.setObjectName(_fromUtf8("TempInvalidSetupDialog"))
        TempInvalidSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TempInvalidSetupDialog.resize(346, 420)
        TempInvalidSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(TempInvalidSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblDuration = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblDuration.setObjectName(_fromUtf8("lblDuration"))
        self.gridlayout.addWidget(self.lblDuration, 8, 0, 2, 1)
        self.frmDuration = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmDuration.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDuration.setFrameShadow(QtGui.QFrame.Raised)
        self.frmDuration.setObjectName(_fromUtf8("frmDuration"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmDuration)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtDurationFrom = QtGui.QSpinBox(self.frmDuration)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDurationFrom.sizePolicy().hasHeightForWidth())
        self.edtDurationFrom.setSizePolicy(sizePolicy)
        self.edtDurationFrom.setMaximum(366)
        self.edtDurationFrom.setObjectName(_fromUtf8("edtDurationFrom"))
        self.hboxlayout.addWidget(self.edtDurationFrom)
        self.lblDurationTo = QtGui.QLabel(self.frmDuration)
        self.lblDurationTo.setObjectName(_fromUtf8("lblDurationTo"))
        self.hboxlayout.addWidget(self.lblDurationTo)
        self.edtDurationTo = QtGui.QSpinBox(self.frmDuration)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDurationTo.sizePolicy().hasHeightForWidth())
        self.edtDurationTo.setSizePolicy(sizePolicy)
        self.edtDurationTo.setMaximum(366)
        self.edtDurationTo.setObjectName(_fromUtf8("edtDurationTo"))
        self.hboxlayout.addWidget(self.edtDurationTo)
        self.lblDurationDays = QtGui.QLabel(self.frmDuration)
        self.lblDurationDays.setObjectName(_fromUtf8("lblDurationDays"))
        self.hboxlayout.addWidget(self.lblDurationDays)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout.addWidget(self.frmDuration, 8, 1, 1, 2)
        self.frmSex = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmSex.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmSex.setFrameShadow(QtGui.QFrame.Raised)
        self.frmSex.setObjectName(_fromUtf8("frmSex"))
        self.hboxlayout1 = QtGui.QHBoxLayout(self.frmSex)
        self.hboxlayout1.setSpacing(4)
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.cmbSex = QtGui.QComboBox(self.frmSex)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.hboxlayout1.addWidget(self.cmbSex)
        spacerItem1 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.gridlayout.addWidget(self.frmSex, 9, 1, 2, 2)
        self.frmAge = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout2 = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout2.setSpacing(4)
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout2.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout2.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout2.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout2.addWidget(self.lblAgeYears)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)
        self.gridlayout.addWidget(self.frmAge, 11, 1, 1, 2)
        self.frmMKB = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout1.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout1.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem3, 0, 3, 1, 1)
        self.gridlayout.addWidget(self.frmMKB, 15, 1, 1, 2)
        self.edtBegDate = CDateEdit(TempInvalidSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblDocType = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblDocType.setObjectName(_fromUtf8("lblDocType"))
        self.gridlayout.addWidget(self.lblDocType, 3, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem4, 1, 2, 1, 1)
        self.edtEndDate = CDateEdit(TempInvalidSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 0, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbDoctype = CRBComboBox(TempInvalidSetupDialog)
        self.cmbDoctype.setObjectName(_fromUtf8("cmbDoctype"))
        self.gridlayout.addWidget(self.cmbDoctype, 3, 1, 1, 2)
        self.lblTempInvalidReason = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblTempInvalidReason.setObjectName(_fromUtf8("lblTempInvalidReason"))
        self.gridlayout.addWidget(self.lblTempInvalidReason, 4, 0, 1, 1)
        self.cmbReason = CRBComboBox(TempInvalidSetupDialog)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridlayout.addWidget(self.cmbReason, 4, 1, 1, 2)
        self.chkOnlyClosed = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkOnlyClosed.setChecked(True)
        self.chkOnlyClosed.setObjectName(_fromUtf8("chkOnlyClosed"))
        self.gridlayout.addWidget(self.chkOnlyClosed, 5, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(TempInvalidSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(TempInvalidSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblSex = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 10, 0, 1, 1)
        self.lblAge = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 11, 0, 1, 1)
        self.lblMKB = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 15, 0, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem6, 18, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 19, 0, 1, 3)
        self.lblInsuranceOfficeMark = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblInsuranceOfficeMark.setObjectName(_fromUtf8("lblInsuranceOfficeMark"))
        self.gridlayout.addWidget(self.lblInsuranceOfficeMark, 16, 0, 1, 1)
        self.cmbInsuranceOfficeMark = QtGui.QComboBox(TempInvalidSetupDialog)
        self.cmbInsuranceOfficeMark.setObjectName(_fromUtf8("cmbInsuranceOfficeMark"))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.cmbInsuranceOfficeMark.setItemText(0, _fromUtf8(""))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbInsuranceOfficeMark, 16, 1, 1, 2)
        self.chkByPeriod = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkByPeriod.setObjectName(_fromUtf8("chkByPeriod"))
        self.gridlayout.addWidget(self.chkByPeriod, 2, 1, 1, 2)
        self.cmbSocStatusClass = CSocStatusComboBox(TempInvalidSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridlayout.addWidget(self.cmbSocStatusClass, 12, 1, 1, 2)
        self.lblSocStatusClass = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridlayout.addWidget(self.lblSocStatusClass, 12, 0, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridlayout.addWidget(self.lblSocStatusType, 14, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(TempInvalidSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridlayout.addWidget(self.cmbSocStatusType, 14, 1, 1, 2)
        self.chkOldForm = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkOldForm.setObjectName(_fromUtf8("chkOldForm"))
        self.gridlayout.addWidget(self.chkOldForm, 17, 0, 1, 2)
        self.lblDuration.setBuddy(self.edtDurationFrom)
        self.lblDurationTo.setBuddy(self.edtDurationTo)
        self.lblDurationDays.setBuddy(self.edtDurationTo)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblDocType.setBuddy(self.cmbDoctype)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblTempInvalidReason.setBuddy(self.cmbReason)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblInsuranceOfficeMark.setBuddy(self.cmbInsuranceOfficeMark)
        self.lblSocStatusClass.setBuddy(self.cmbSocStatusClass)
        self.lblSocStatusType.setBuddy(self.cmbSocStatusType)

        self.retranslateUi(TempInvalidSetupDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidSetupDialog)
        TempInvalidSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        TempInvalidSetupDialog.setTabOrder(self.edtEndDate, self.chkByPeriod)
        TempInvalidSetupDialog.setTabOrder(self.chkByPeriod, self.cmbDoctype)
        TempInvalidSetupDialog.setTabOrder(self.cmbDoctype, self.cmbReason)
        TempInvalidSetupDialog.setTabOrder(self.cmbReason, self.chkOnlyClosed)
        TempInvalidSetupDialog.setTabOrder(self.chkOnlyClosed, self.cmbOrgStructure)
        TempInvalidSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson)
        TempInvalidSetupDialog.setTabOrder(self.cmbPerson, self.edtDurationFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtDurationFrom, self.edtDurationTo)
        TempInvalidSetupDialog.setTabOrder(self.edtDurationTo, self.cmbSex)
        TempInvalidSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        TempInvalidSetupDialog.setTabOrder(self.edtAgeTo, self.cmbSocStatusClass)
        TempInvalidSetupDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType)
        TempInvalidSetupDialog.setTabOrder(self.cmbSocStatusType, self.cmbMKBFilter)
        TempInvalidSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        TempInvalidSetupDialog.setTabOrder(self.edtMKBTo, self.cmbInsuranceOfficeMark)
        TempInvalidSetupDialog.setTabOrder(self.cmbInsuranceOfficeMark, self.buttonBox)

    def retranslateUi(self, TempInvalidSetupDialog):
        TempInvalidSetupDialog.setWindowTitle(_translate("TempInvalidSetupDialog", "параметры отчёта", None))
        self.lblDuration.setText(_translate("TempInvalidSetupDialog", "&Длительность с", None))
        self.lblDurationTo.setText(_translate("TempInvalidSetupDialog", "по", None))
        self.lblDurationDays.setText(_translate("TempInvalidSetupDialog", "дней", None))
        self.cmbSex.setItemText(1, _translate("TempInvalidSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("TempInvalidSetupDialog", "Ж", None))
        self.lblAgeTo.setText(_translate("TempInvalidSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("TempInvalidSetupDialog", "лет", None))
        self.cmbMKBFilter.setItemText(0, _translate("TempInvalidSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(1, _translate("TempInvalidSetupDialog", "Интервал", None))
        self.cmbMKBFilter.setItemText(2, _translate("TempInvalidSetupDialog", "Без диагноза", None))
        self.edtMKBFrom.setInputMask(_translate("TempInvalidSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("TempInvalidSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(_translate("TempInvalidSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("TempInvalidSetupDialog", "Z99.9", None))
        self.edtBegDate.setDisplayFormat(_translate("TempInvalidSetupDialog", "dd.MM.yyyy", None))
        self.lblDocType.setText(_translate("TempInvalidSetupDialog", "Тип &документа", None))
        self.edtEndDate.setDisplayFormat(_translate("TempInvalidSetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(_translate("TempInvalidSetupDialog", "Дата &окончания периода", None))
        self.lblBegDate.setText(_translate("TempInvalidSetupDialog", "Дата &начала периода", None))
        self.lblTempInvalidReason.setText(_translate("TempInvalidSetupDialog", "При&чина", None))
        self.chkOnlyClosed.setText(_translate("TempInvalidSetupDialog", "&Только &закрытые", None))
        self.lblOrgStructure.setText(_translate("TempInvalidSetupDialog", "&Подразделение", None))
        self.lblPerson.setText(_translate("TempInvalidSetupDialog", "&Врач", None))
        self.cmbPerson.setItemText(0, _translate("TempInvalidSetupDialog", "Врач", None))
        self.lblSex.setText(_translate("TempInvalidSetupDialog", "По&л", None))
        self.lblAge.setText(_translate("TempInvalidSetupDialog", "Во&зраст с", None))
        self.lblMKB.setText(_translate("TempInvalidSetupDialog", "Коды диагнозов по &МКБ", None))
        self.lblInsuranceOfficeMark.setText(_translate("TempInvalidSetupDialog", "&Отметка страхового стола", None))
        self.cmbInsuranceOfficeMark.setItemText(1, _translate("TempInvalidSetupDialog", "без отметки", None))
        self.cmbInsuranceOfficeMark.setItemText(2, _translate("TempInvalidSetupDialog", "с отметкой", None))
        self.chkByPeriod.setToolTip(_translate("TempInvalidSetupDialog", "<!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=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Если отметка <span style=\" font-weight:600;\">стоит</span>, то для отчёта <br />выбираются документы ВУТ с <span style=\" font-weight:600;\">периодом, </span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-weight:600;\">пересекающимя с периодом отчёта</p>\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;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Если отметка <span style=\" font-weight:600;\">снята</span>, то для отчёта </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">выбираются документы ВУТ </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><span style=\" font-weight:600;\">закрытые в периоде отчёта</span></p>\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;\"></p></body></html>", None))
        self.chkByPeriod.setText(_translate("TempInvalidSetupDialog", "Отчёт по периоду случая", None))
        self.lblSocStatusClass.setText(_translate("TempInvalidSetupDialog", "Класс соц.статуса", None))
        self.lblSocStatusType.setText(_translate("TempInvalidSetupDialog", "Тип соц.статуса", None))
        self.chkOldForm.setText(_translate("TempInvalidSetupDialog", "Страя форма отчета", None))
Exemplo n.º 10
0
class Ui_ReportZNOEstablishedFirst(object):
    def setupUi(self, ReportZNOEstablishedFirst):
        ReportZNOEstablishedFirst.setObjectName(
            _fromUtf8("ReportZNOEstablishedFirst"))
        ReportZNOEstablishedFirst.resize(967, 746)
        self.gridLayout = QtGui.QGridLayout(ReportZNOEstablishedFirst)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbEmployment = QtGui.QComboBox(ReportZNOEstablishedFirst)
        self.cmbEmployment.setEnabled(False)
        self.cmbEmployment.setObjectName(_fromUtf8("cmbEmployment"))
        self.cmbEmployment.addItem(_fromUtf8(""))
        self.cmbEmployment.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEmployment, 7, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportZNOEstablishedFirst)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 19, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.gbZNO = QtGui.QGroupBox(ReportZNOEstablishedFirst)
        self.gbZNO.setObjectName(_fromUtf8("gbZNO"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbZNO)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.cmbZNOFirst = QtGui.QComboBox(self.gbZNO)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbZNOFirst.sizePolicy().hasHeightForWidth())
        self.cmbZNOFirst.setSizePolicy(sizePolicy)
        self.cmbZNOFirst.setObjectName(_fromUtf8("cmbZNOFirst"))
        self.gridLayout_2.addWidget(self.cmbZNOFirst, 0, 1, 1, 1)
        self.cmbZNOMorph = QtGui.QComboBox(self.gbZNO)
        self.cmbZNOMorph.setObjectName(_fromUtf8("cmbZNOMorph"))
        self.gridLayout_2.addWidget(self.cmbZNOMorph, 1, 1, 1, 1)
        self.lblZNOFirst = QtGui.QLabel(self.gbZNO)
        self.lblZNOFirst.setObjectName(_fromUtf8("lblZNOFirst"))
        self.gridLayout_2.addWidget(self.lblZNOFirst, 0, 0, 1, 1)
        self.lblZNOMorph = QtGui.QLabel(self.gbZNO)
        self.lblZNOMorph.setObjectName(_fromUtf8("lblZNOMorph"))
        self.gridLayout_2.addWidget(self.lblZNOMorph, 1, 0, 1, 1)
        self.gridLayout.addWidget(self.gbZNO, 2, 0, 1, 2)
        self.chkEmployment = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkEmployment.setObjectName(_fromUtf8("chkEmployment"))
        self.gridLayout.addWidget(self.chkEmployment, 7, 0, 1, 1)
        self.chkSex = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 6, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportZNOEstablishedFirst)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lstOrgStructure = CRBListBox(ReportZNOEstablishedFirst)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 13, 0, 1, 3)
        self.lstEventType = CRBListBox(ReportZNOEstablishedFirst)
        self.lstEventType.setObjectName(_fromUtf8("lstEventType"))
        self.gridLayout.addWidget(self.lstEventType, 10, 0, 1, 3)
        self.chkMKB = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 4, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportZNOEstablishedFirst)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.cmbEventType = CRBComboBox(ReportZNOEstablishedFirst)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 8, 1, 1, 2)
        self.edtBegDate = CDateEdit(ReportZNOEstablishedFirst)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.cmbDistrict = CRBComboBox(ReportZNOEstablishedFirst)
        self.cmbDistrict.setObjectName(_fromUtf8("cmbDistrict"))
        self.gridLayout.addWidget(self.cmbDistrict, 14, 1, 1, 2)
        self.chkOrgStructureMulti = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkOrgStructureMulti.setObjectName(
            _fromUtf8("chkOrgStructureMulti"))
        self.gridLayout.addWidget(self.chkOrgStructureMulti, 11, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtMKBFrom = CICDCodeEdit(ReportZNOEstablishedFirst)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.horizontalLayout.addWidget(self.edtMKBFrom)
        self.edtMKBTo = CICDCodeEdit(ReportZNOEstablishedFirst)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.horizontalLayout.addWidget(self.edtMKBTo)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout.addLayout(self.horizontalLayout, 4, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportZNOEstablishedFirst)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 11, 1, 1, 2)
        self.cmbSex = QtGui.QComboBox(ReportZNOEstablishedFirst)
        self.cmbSex.setEnabled(False)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 6, 1, 1, 1)
        self.chkDistrictMulti = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkDistrictMulti.setObjectName(_fromUtf8("chkDistrictMulti"))
        self.gridLayout.addWidget(self.chkDistrictMulti, 14, 0, 1, 1)
        self.chkEventTypeMulti = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkEventTypeMulti.setObjectName(_fromUtf8("chkEventTypeMulti"))
        self.gridLayout.addWidget(self.chkEventTypeMulti, 8, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportZNOEstablishedFirst)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lstDistrict = CRBListBox(ReportZNOEstablishedFirst)
        self.lstDistrict.setObjectName(_fromUtf8("lstDistrict"))
        self.gridLayout.addWidget(self.lstDistrict, 15, 0, 1, 3)
        self.chkAge = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 5, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtAgeFrom = QtGui.QSpinBox(ReportZNOEstablishedFirst)
        self.edtAgeFrom.setEnabled(False)
        self.edtAgeFrom.setMaximum(160)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.horizontalLayout_2.addWidget(self.edtAgeFrom)
        self.edtAgeTo = QtGui.QSpinBox(ReportZNOEstablishedFirst)
        self.edtAgeTo.setEnabled(False)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setProperty("value", 150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.horizontalLayout_2.addWidget(self.edtAgeTo)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.gridLayout.addLayout(self.horizontalLayout_2, 5, 1, 1, 2)
        self.chkGroupOrgStructure = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkGroupOrgStructure.setObjectName(
            _fromUtf8("chkGroupOrgStructure"))
        self.gridLayout.addWidget(self.chkGroupOrgStructure, 12, 0, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem4, 18, 0, 1, 1)
        self.cmbFinanceType = CRBComboBox(ReportZNOEstablishedFirst)
        self.cmbFinanceType.setObjectName(_fromUtf8("cmbFinanceType"))
        self.gridLayout.addWidget(self.cmbFinanceType, 16, 1, 1, 2)
        self.chkFinanceTypeMulti = QtGui.QCheckBox(ReportZNOEstablishedFirst)
        self.chkFinanceTypeMulti.setObjectName(
            _fromUtf8("chkFinanceTypeMulti"))
        self.gridLayout.addWidget(self.chkFinanceTypeMulti, 16, 0, 1, 1)
        self.lstFinanceType = CRBListBox(ReportZNOEstablishedFirst)
        self.lstFinanceType.setObjectName(_fromUtf8("lstFinanceType"))
        self.gridLayout.addWidget(self.lstFinanceType, 17, 0, 1, 3)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

        self.retranslateUi(ReportZNOEstablishedFirst)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportZNOEstablishedFirst.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportZNOEstablishedFirst.reject)
        QtCore.QObject.connect(self.chkMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtMKBTo.setEnabled)
        QtCore.QObject.connect(self.chkMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtAgeTo.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtAgeFrom.setEnabled)
        QtCore.QObject.connect(self.chkEmployment,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEmployment.setEnabled)
        QtCore.QObject.connect(self.chkEventTypeMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEventType.setHidden)
        QtCore.QObject.connect(self.chkEventTypeMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lstEventType.setVisible)
        QtCore.QObject.connect(self.chkOrgStructureMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOrgStructure.setHidden)
        QtCore.QObject.connect(self.chkOrgStructureMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lstOrgStructure.setVisible)
        QtCore.QObject.connect(self.chkDistrictMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbDistrict.setHidden)
        QtCore.QObject.connect(self.chkDistrictMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lstDistrict.setVisible)
        QtCore.QObject.connect(self.chkFinanceTypeMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbFinanceType.setHidden)
        QtCore.QObject.connect(self.chkFinanceTypeMulti,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lstFinanceType.setVisible)
        QtCore.QMetaObject.connectSlotsByName(ReportZNOEstablishedFirst)

    def retranslateUi(self, ReportZNOEstablishedFirst):
        ReportZNOEstablishedFirst.setWindowTitle(
            _translate("ReportZNOEstablishedFirst", "Dialog", None))
        self.cmbEmployment.setItemText(
            0, _translate("ReportZNOEstablishedFirst", "Да", None))
        self.cmbEmployment.setItemText(
            1, _translate("ReportZNOEstablishedFirst", "Нет", None))
        self.gbZNO.setTitle(
            _translate("ReportZNOEstablishedFirst", "ЗНО", None))
        self.lblZNOFirst.setText(
            _translate("ReportZNOEstablishedFirst", "ЗНО установлен впервые",
                       None))
        self.lblZNOMorph.setText(
            _translate("ReportZNOEstablishedFirst",
                       "ЗНО подтверждён морфологически", None))
        self.chkEmployment.setText(
            _translate("ReportZNOEstablishedFirst", "Трудоспособность", None))
        self.chkSex.setText(
            _translate("ReportZNOEstablishedFirst", "Пол", None))
        self.lblEndDate.setText(
            _translate("ReportZNOEstablishedFirst", "Дата &окончания периода",
                       None))
        self.chkMKB.setText(
            _translate("ReportZNOEstablishedFirst", "Коды диагнозов по МКБ",
                       None))
        self.lblBegDate.setText(
            _translate("ReportZNOEstablishedFirst", "Дата &начала периода",
                       None))
        self.chkOrgStructureMulti.setText(
            _translate("ReportZNOEstablishedFirst", "Подразделение", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportZNOEstablishedFirst", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportZNOEstablishedFirst", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportZNOEstablishedFirst", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportZNOEstablishedFirst", "Z99.9", None))
        self.cmbSex.setItemText(
            0, _translate("ReportZNOEstablishedFirst", "Не указано", None))
        self.cmbSex.setItemText(
            1, _translate("ReportZNOEstablishedFirst", "М", None))
        self.cmbSex.setItemText(
            2, _translate("ReportZNOEstablishedFirst", "Ж", None))
        self.chkDistrictMulti.setText(
            _translate("ReportZNOEstablishedFirst", "Район", None))
        self.chkEventTypeMulti.setText(
            _translate("ReportZNOEstablishedFirst", "Тип обращения", None))
        self.chkAge.setText(
            _translate("ReportZNOEstablishedFirst", "Возраст", None))
        self.chkGroupOrgStructure.setText(
            _translate("ReportZNOEstablishedFirst",
                       "Группировать по подразделениям", None))
        self.chkFinanceTypeMulti.setText(
            _translate("ReportZNOEstablishedFirst", "Тип финансирования",
                       None))
Exemplo n.º 11
0
class Ui_ReportAcuteInfectionsSetupDialog(object):
    def setupUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setObjectName(_fromUtf8("ReportAcuteInfectionsSetupDialog"))
        ReportAcuteInfectionsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAcuteInfectionsSetupDialog.resize(884, 866)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportAcuteInfectionsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportAcuteInfectionsSetupDialog.setSizePolicy(sizePolicy)
        ReportAcuteInfectionsSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAcuteInfectionsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lblSex = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.horizontalLayout_4.addWidget(self.lblSex)
        self.cmbSex = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.horizontalLayout_4.addWidget(self.cmbSex)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_4, 11, 3, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportAcuteInfectionsSetupDialog)
        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.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 7, 3, 1, 1)
        self.lblTemplate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblTemplate.setObjectName(_fromUtf8("lblTemplate"))
        self.gridLayout.addWidget(self.lblTemplate, 1, 3, 1, 1)
        self.cmbCategory = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCategory.sizePolicy().hasHeightForWidth())
        self.cmbCategory.setSizePolicy(sizePolicy)
        self.cmbCategory.setObjectName(_fromUtf8("cmbCategory"))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCategory, 1, 1, 1, 2)
        self.frmAge = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge.sizePolicy().hasHeightForWidth())
        self.frmAge.setSizePolicy(sizePolicy)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(self.frmAge)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        self.chkOnlyChilds = QtGui.QCheckBox(self.frmAge)
        self.chkOnlyChilds.setObjectName(_fromUtf8("chkOnlyChilds"))
        self.hboxlayout.addWidget(self.chkOnlyChilds)
        self.gridLayout.addWidget(self.frmAge, 11, 0, 1, 3)
        self.cmbTemplate = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbTemplate.sizePolicy().hasHeightForWidth())
        self.cmbTemplate.setSizePolicy(sizePolicy)
        self.cmbTemplate.setObjectName(_fromUtf8("cmbTemplate"))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTemplate, 1, 4, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 7, 4, 1, 1)
        self.lblLocality = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblLocality.setObjectName(_fromUtf8("lblLocality"))
        self.gridLayout.addWidget(self.lblLocality, 18, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 17, 0, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblSocStatusClass = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.lblSocStatusClass)
        self.cmbSocStatusClass = CSocStatusComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.cmbSocStatusClass)
        self.gridLayout.addLayout(self.horizontalLayout_3, 15, 0, 1, 3)
        self.chkArea = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 19, 0, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lblSocStatusType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.horizontalLayout_2.addWidget(self.lblSocStatusType)
        self.cmbSocStatusType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.horizontalLayout_2.addWidget(self.cmbSocStatusType)
        self.gridLayout.addLayout(self.horizontalLayout_2, 15, 3, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAcuteInfectionsSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 23, 0, 1, 5)
        self.lblHurt = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblHurt.setObjectName(_fromUtf8("lblHurt"))
        self.gridLayout.addWidget(self.lblHurt, 5, 3, 1, 1)
        self.cmbSpecialityPerson = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSpecialityPerson.setObjectName(_fromUtf8("cmbSpecialityPerson"))
        self.gridLayout.addWidget(self.cmbSpecialityPerson, 6, 4, 1, 1)
        self.cmbEventPurpose = CRBMultiComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 2)
        self.cmbArea = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 19, 3, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbLocality = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbLocality.setObjectName(_fromUtf8("cmbLocality"))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocality, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 22, 2, 1, 1)
        self.cmbHurt = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbHurt.setObjectName(_fromUtf8("cmbHurt"))
        self.gridLayout.addWidget(self.cmbHurt, 5, 4, 1, 1)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(_fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 17, 3, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblSpecialityPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSpecialityPerson.setObjectName(_fromUtf8("lblSpecialityPerson"))
        self.gridLayout.addWidget(self.lblSpecialityPerson, 6, 3, 1, 1)
        self.lblCategory = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCategory.setObjectName(_fromUtf8("lblCategory"))
        self.gridLayout.addWidget(self.lblCategory, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.frmMKBEx = QtGui.QFrame(self.groupBox)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self._2 = QtGui.QGridLayout(self.frmMKBEx)
        self._2.setMargin(0)
        self._2.setHorizontalSpacing(4)
        self._2.setVerticalSpacing(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbMKBExFilter, 1, 4, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self._2.addWidget(self.edtMKBExFrom, 1, 5, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self._2.addWidget(self.edtMKBExTo, 1, 6, 1, 1)
        self.lblMKBEx = QtGui.QLabel(self.frmMKBEx)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self._2.addWidget(self.lblMKBEx, 1, 3, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKBEx, 0, 3, 1, 1)
        self.frmMKB = QtGui.QFrame(self.groupBox)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblMKB = QtGui.QLabel(self.frmMKB)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout.addWidget(self.edtMKBFrom, 0, 2, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout.addWidget(self.edtMKBTo, 0, 3, 1, 1)
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBFilter, 0, 1, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKB, 0, 0, 1, 3)
        self.cmbIsPrimary = QtGui.QComboBox(self.groupBox)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.setItemText(0, _fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbIsPrimary, 2, 1, 1, 1)
        self.chkNotNullTraumaType = QtGui.QCheckBox(self.groupBox)
        self.chkNotNullTraumaType.setObjectName(_fromUtf8("chkNotNullTraumaType"))
        self.gridLayout_3.addWidget(self.chkNotNullTraumaType, 4, 3, 1, 1)
        self.lblIsPrimary = QtGui.QLabel(self.groupBox)
        self.lblIsPrimary.setObjectName(_fromUtf8("lblIsPrimary"))
        self.gridLayout_3.addWidget(self.lblIsPrimary, 2, 0, 1, 1)
        self.chkOnlyFirstTime = QtGui.QCheckBox(self.groupBox)
        self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime"))
        self.gridLayout_3.addWidget(self.chkOnlyFirstTime, 4, 0, 1, 1)
        self.chkRegisteredInPeriod = QtGui.QCheckBox(self.groupBox)
        self.chkRegisteredInPeriod.setObjectName(_fromUtf8("chkRegisteredInPeriod"))
        self.gridLayout_3.addWidget(self.chkRegisteredInPeriod, 3, 0, 1, 1)
        self.chkNotConsiderDigitsAfterDot = QtGui.QCheckBox(self.groupBox)
        self.chkNotConsiderDigitsAfterDot.setObjectName(_fromUtf8("chkNotConsiderDigitsAfterDot"))
        self.gridLayout_3.addWidget(self.chkNotConsiderDigitsAfterDot, 2, 3, 1, 1)
        self.chkAccountAccomp = QtGui.QCheckBox(self.groupBox)
        self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp"))
        self.gridLayout_3.addWidget(self.chkAccountAccomp, 3, 3, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 14, 0, 1, 5)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.edtBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_4.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_4.addWidget(self.edtEndDate, 0, 4, 1, 1)
        self.label_4 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_4.addWidget(self.label_4, 0, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_4, 3, 1, 1, 2)
        self.label_2 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.chkCreateDate = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkCreateDate.setObjectName(_fromUtf8("chkCreateDate"))
        self.gridLayout.addWidget(self.chkCreateDate, 3, 3, 1, 1)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtCreateBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateBegDate.sizePolicy().hasHeightForWidth())
        self.edtCreateBegDate.setSizePolicy(sizePolicy)
        self.edtCreateBegDate.setCalendarPopup(True)
        self.edtCreateBegDate.setObjectName(_fromUtf8("edtCreateBegDate"))
        self.gridLayout_5.addWidget(self.edtCreateBegDate, 1, 2, 1, 1)
        self.edtCreateEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateEndDate.sizePolicy().hasHeightForWidth())
        self.edtCreateEndDate.setSizePolicy(sizePolicy)
        self.edtCreateEndDate.setCalendarPopup(True)
        self.edtCreateEndDate.setObjectName(_fromUtf8("edtCreateEndDate"))
        self.gridLayout_5.addWidget(self.edtCreateEndDate, 1, 4, 1, 1)
        self.lblCreateDate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCreateDate.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCreateDate.setObjectName(_fromUtf8("lblCreateDate"))
        self.gridLayout_5.addWidget(self.lblCreateDate, 1, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_5, 3, 4, 1, 1)
        self.gbFilterAddress = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gbFilterAddress.sizePolicy().hasHeightForWidth())
        self.gbFilterAddress.setSizePolicy(sizePolicy)
        self.gbFilterAddress.setCheckable(True)
        self.gbFilterAddress.setChecked(True)
        self.gbFilterAddress.setObjectName(_fromUtf8("gbFilterAddress"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbFilterAddress)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setSpacing(2)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.lblFilterAddressHouse = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressHouse.setEnabled(False)
        self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressHouse.setObjectName(_fromUtf8("lblFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressHouse)
        self.edtFilterAddressHouse = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressHouse.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAddressHouse.setObjectName(_fromUtf8("edtFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressCorpus.setEnabled(False)
        self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressCorpus.setObjectName(_fromUtf8("lblFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressCorpus)
        self.edtFilterAddressCorpus = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressCorpus.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressCorpus.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressCorpus.setSizePolicy(sizePolicy)
        self.edtFilterAddressCorpus.setObjectName(_fromUtf8("edtFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressFlat.setEnabled(False)
        self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressFlat.setObjectName(_fromUtf8("lblFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressFlat)
        self.edtFilterAddressFlat = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressFlat.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressFlat.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressFlat.setSizePolicy(sizePolicy)
        self.edtFilterAddressFlat.setObjectName(_fromUtf8("edtFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressFlat)
        self.gridLayout_2.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.cmbFilterAddressStreet = CStreetComboBox(self.gbFilterAddress)
        self.cmbFilterAddressStreet.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setEditable(True)
        self.cmbFilterAddressStreet.setObjectName(_fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressStreet, 2, 0, 1, 1)
        self.cmbFilterAddressCity = CKLADRComboBox(self.gbFilterAddress)
        self.cmbFilterAddressCity.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setEditable(True)
        self.cmbFilterAddressCity.setObjectName(_fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressCity, 1, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.gbFilterAddress)
        self.cmbFilterAddressType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setEditable(True)
        self.cmbFilterAddressType.setObjectName(_fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbFilterAddressType, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.gbFilterAddress, 21, 0, 1, 5)
        self.frmAge_2 = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge_2.sizePolicy().hasHeightForWidth())
        self.frmAge_2.setSizePolicy(sizePolicy)
        self.frmAge_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge_2.setObjectName(_fromUtf8("frmAge_2"))
        self._8 = QtGui.QHBoxLayout(self.frmAge_2)
        self._8.setMargin(0)
        self._8.setSpacing(4)
        self._8.setObjectName(_fromUtf8("_8"))
        self.chkBirthYear = QtGui.QCheckBox(self.frmAge_2)
        self.chkBirthYear.setObjectName(_fromUtf8("chkBirthYear"))
        self._8.addWidget(self.chkBirthYear)
        self.edtBegBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtBegBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegBirthYear.sizePolicy().hasHeightForWidth())
        self.edtBegBirthYear.setSizePolicy(sizePolicy)
        self.edtBegBirthYear.setMinimum(1900)
        self.edtBegBirthYear.setMaximum(2100)
        self.edtBegBirthYear.setObjectName(_fromUtf8("edtBegBirthYear"))
        self._8.addWidget(self.edtBegBirthYear)
        self.lblAgeTo_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeTo_3.setObjectName(_fromUtf8("lblAgeTo_3"))
        self._8.addWidget(self.lblAgeTo_3)
        self.edtEndBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtEndBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndBirthYear.sizePolicy().hasHeightForWidth())
        self.edtEndBirthYear.setSizePolicy(sizePolicy)
        self.edtEndBirthYear.setMinimum(1900)
        self.edtEndBirthYear.setMaximum(2100)
        self.edtEndBirthYear.setObjectName(_fromUtf8("edtEndBirthYear"))
        self._8.addWidget(self.edtEndBirthYear)
        self.lblAgeYears_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeYears_3.setObjectName(_fromUtf8("lblAgeYears_3"))
        self._8.addWidget(self.lblAgeYears_3)
        self.gridLayout.addWidget(self.frmAge_2, 12, 0, 1, 3)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblLocality.setBuddy(self.cmbLocality)
        self.lblSocStatusClass.setBuddy(self.cmbSocStatusClass)
        self.lblSocStatusType.setBuddy(self.cmbSocStatusType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat)

        self.retranslateUi(ReportAcuteInfectionsSetupDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportAcuteInfectionsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportAcuteInfectionsSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbArea.setEnabled)
        QtCore.QObject.connect(self.chkCreateDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtCreateBegDate.setEnabled)
        QtCore.QObject.connect(self.chkCreateDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtCreateEndDate.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegBirthYear.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndBirthYear.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtAgeTo.setDisabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtAgeFrom.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportAcuteInfectionsSetupDialog)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtAgeTo, self.cmbSocStatusClass)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.cmbSocStatusClass, self.edtFilterAddressHouse)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtFilterAddressHouse, self.edtFilterAddressCorpus)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtFilterAddressCorpus, self.edtFilterAddressFlat)

    def retranslateUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setWindowTitle(_translate("ReportAcuteInfectionsSetupDialog", "параметры отчёта", None))
        self.lblSex.setText(_translate("ReportAcuteInfectionsSetupDialog", "По&л", None))
        self.cmbSex.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Ж", None))
        self.cmbPerson.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Врач", None))
        self.lblEventType.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Тип обращения", None))
        self.lblTemplate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Образец:", None))
        self.cmbCategory.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Дети", None))
        self.cmbCategory.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Дети до 1 года", None))
        self.cmbCategory.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Подростки", None))
        self.cmbCategory.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые", None))
        self.cmbCategory.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "Пожилые", None))
        self.cmbCategory.setItemText(5, _translate("ReportAcuteInfectionsSetupDialog", "Вкладыш-2008", None))
        self.cmbCategory.setItemText(6, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые 4000", None))
        self.label.setText(_translate("ReportAcuteInfectionsSetupDialog", "Возраст с", None))
        self.lblAgeTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
        self.chkOnlyChilds.setText(_translate("ReportAcuteInfectionsSetupDialog", "Только дети", None))
        self.cmbTemplate.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Старый", None))
        self.cmbTemplate.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "2013 года", None))
        self.cmbTemplate.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "2014 года", None))
        self.cmbTemplate.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "2015 года", None))
        self.cmbTemplate.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "2016 года", None))
        self.lblLocality.setText(_translate("ReportAcuteInfectionsSetupDialog", "Местность", None))
        self.chkVisitEmergency.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать посещения СМП", None))
        self.lblSocStatusClass.setText(_translate("ReportAcuteInfectionsSetupDialog", "Класс соц.статуса", None))
        self.chkArea.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать территорию подразделения:", None))
        self.lblSocStatusType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип соц.статуса", None))
        self.lblHurt.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип вредности", None))
        self.lblOrgStructure.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Подразделение", None))
        self.lblEventPurpose.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Назначение обращения", None))
        self.cmbLocality.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Не учитывать", None))
        self.cmbLocality.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Городские жители", None))
        self.cmbLocality.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Сельские жители", None))
        self.lblPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Врач", None))
        self.chkOnlyPermanentAttach.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать только прикрепленных к ЛПУ", None))
        self.lblSpecialityPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип специальности врача", None))
        self.lblCategory.setText(_translate("ReportAcuteInfectionsSetupDialog", "Категория:", None))
        self.groupBox.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Диагнозы", None))
        self.cmbMKBExFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.lblMKBEx.setText(_translate("ReportAcuteInfectionsSetupDialog", "В сочетании с", None))
        self.lblMKB.setText(_translate("ReportAcuteInfectionsSetupDialog", "Коды диагнозов по &МКБ", None))
        self.edtMKBFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.cmbMKBFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.cmbIsPrimary.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Первичный", None))
        self.cmbIsPrimary.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Повторный", None))
        self.chkNotNullTraumaType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип травмы указан", None))
        self.lblIsPrimary.setText(_translate("ReportAcuteInfectionsSetupDialog", "Признак первичности", None))
        self.chkOnlyFirstTime.setToolTip(_translate("ReportAcuteInfectionsSetupDialog", "Значение может отличаться от значения \"впервые\" ф.12", None))
        self.chkOnlyFirstTime.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период впервые", None))
        self.chkRegisteredInPeriod.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период", None))
        self.chkNotConsiderDigitsAfterDot.setText(_translate("ReportAcuteInfectionsSetupDialog", "Не учитывать знаки после точки в МКБ", None))
        self.chkAccountAccomp.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать сопутствующие", None))
        self.label_4.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.label_2.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период", None))
        self.chkCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период создания записи", None))
        self.lblCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.gbFilterAddress.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Адрес", None))
        self.lblFilterAddressHouse.setText(_translate("ReportAcuteInfectionsSetupDialog", "Дом", None))
        self.lblFilterAddressCorpus.setText(_translate("ReportAcuteInfectionsSetupDialog", "Корп", None))
        self.lblFilterAddressFlat.setText(_translate("ReportAcuteInfectionsSetupDialog", "Кв", None))
        self.cmbFilterAddressType.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Регистрации", None))
        self.cmbFilterAddressType.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Проживания", None))
        self.chkBirthYear.setText(_translate("ReportAcuteInfectionsSetupDialog", "Год рождения", None))
        self.lblAgeTo_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
Exemplo n.º 12
0
class Ui_ReportAnalyticalTable(object):
    def setupUi(self, ReportAnalyticalTable):
        ReportAnalyticalTable.setObjectName(_fromUtf8("ReportAnalyticalTable"))
        ReportAnalyticalTable.resize(967, 1015)
        self.gridLayout = QtGui.QGridLayout(ReportAnalyticalTable)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDiagType = QtGui.QLabel(ReportAnalyticalTable)
        self.lblDiagType.setObjectName(_fromUtf8("lblDiagType"))
        self.gridLayout.addWidget(self.lblDiagType, 4, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportAnalyticalTable)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lstEventType = CRBListBox(ReportAnalyticalTable)
        self.lstEventType.setObjectName(_fromUtf8("lstEventType"))
        self.gridLayout.addWidget(self.lstEventType, 7, 0, 1, 5)
        self.cmbResult = QtGui.QComboBox(ReportAnalyticalTable)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbResult, 10, 1, 1, 4)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 3, 4, 1, 1)
        self.lblMES = QtGui.QLabel(ReportAnalyticalTable)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 3, 0, 1, 1)
        self.lstOrgStructure = CRBListBox(ReportAnalyticalTable)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 9, 0, 1, 5)
        self.lstFinance = CRBListBox(ReportAnalyticalTable)
        self.lstFinance.setObjectName(_fromUtf8("lstFinance"))
        self.gridLayout.addWidget(self.lstFinance, 12, 0, 1, 5)
        self.edtMESFrom = QtGui.QLineEdit(ReportAnalyticalTable)
        self.edtMESFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMESFrom.sizePolicy().hasHeightForWidth())
        self.edtMESFrom.setSizePolicy(sizePolicy)
        self.edtMESFrom.setMaximumSize(QtCore.QSize(80, 16777215))
        self.edtMESFrom.setObjectName(_fromUtf8("edtMESFrom"))
        self.gridLayout.addWidget(self.edtMESFrom, 3, 2, 1, 1)
        self.edtMESTo = QtGui.QLineEdit(ReportAnalyticalTable)
        self.edtMESTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMESTo.sizePolicy().hasHeightForWidth())
        self.edtMESTo.setSizePolicy(sizePolicy)
        self.edtMESTo.setMaximumSize(QtCore.QSize(80, 16777215))
        self.edtMESTo.setObjectName(_fromUtf8("edtMESTo"))
        self.gridLayout.addWidget(self.edtMESTo, 3, 3, 1, 1)
        self.cmbMES = QtGui.QComboBox(ReportAnalyticalTable)
        self.cmbMES.setObjectName(_fromUtf8("cmbMES"))
        self.cmbMES.addItem(_fromUtf8(""))
        self.cmbMES.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbMES, 3, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportAnalyticalTable)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.chkFinanceMulti = QtGui.QCheckBox(ReportAnalyticalTable)
        self.chkFinanceMulti.setObjectName(_fromUtf8("chkFinanceMulti"))
        self.gridLayout.addWidget(self.chkFinanceMulti, 11, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportAnalyticalTable)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbDiagnosisType = CRBComboBox(ReportAnalyticalTable)
        self.cmbDiagnosisType.setEnabled(True)
        self.cmbDiagnosisType.setObjectName(_fromUtf8("cmbDiagnosisType"))
        self.gridLayout.addWidget(self.cmbDiagnosisType, 4, 1, 1, 4)
        self.chkOrgStructureMulti = QtGui.QCheckBox(ReportAnalyticalTable)
        self.chkOrgStructureMulti.setObjectName(
            _fromUtf8("chkOrgStructureMulti"))
        self.gridLayout.addWidget(self.chkOrgStructureMulti, 8, 0, 1, 1)
        self.chkEventTypeMulti = QtGui.QCheckBox(ReportAnalyticalTable)
        self.chkEventTypeMulti.setObjectName(_fromUtf8("chkEventTypeMulti"))
        self.gridLayout.addWidget(self.chkEventTypeMulti, 5, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAnalyticalTable)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 15, 4, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAnalyticalTable)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 4)
        self.cmbFinance = CRBComboBox(ReportAnalyticalTable)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 11, 1, 1, 4)
        self.edtEndDate = CDateEdit(ReportAnalyticalTable)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAnalyticalTable)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 5, 1, 1, 4)
        self.label = QtGui.QLabel(ReportAnalyticalTable)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 10, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 4, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblMKB = QtGui.QLabel(ReportAnalyticalTable)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.horizontalLayout.addWidget(self.lblMKB)
        self.cmbMKBFilter = QtGui.QComboBox(ReportAnalyticalTable)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBFilter.setSizePolicy(sizePolicy)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.cmbMKBFilter)
        self.edtMKBFrom = CICDCodeEdit(ReportAnalyticalTable)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.horizontalLayout.addWidget(self.edtMKBFrom)
        self.edtMKBTo = CICDCodeEdit(ReportAnalyticalTable)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.horizontalLayout.addWidget(self.edtMKBTo)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 5)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 0, 4, 1, 1)
        self.groupBox = QtGui.QGroupBox(ReportAnalyticalTable)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkSetTime = QtGui.QCheckBox(self.groupBox)
        self.chkSetTime.setChecked(True)
        self.chkSetTime.setObjectName(_fromUtf8("chkSetTime"))
        self.gridLayout_2.addWidget(self.chkSetTime, 10, 2, 1, 1)
        self.chkExecDate = QtGui.QCheckBox(self.groupBox)
        self.chkExecDate.setChecked(True)
        self.chkExecDate.setObjectName(_fromUtf8("chkExecDate"))
        self.gridLayout_2.addWidget(self.chkExecDate, 11, 2, 1, 1)
        self.chkReceived = QtGui.QCheckBox(self.groupBox)
        self.chkReceived.setChecked(True)
        self.chkReceived.setObjectName(_fromUtf8("chkReceived"))
        self.gridLayout_2.addWidget(self.chkReceived, 0, 3, 1, 1)
        self.chkExecTime = QtGui.QCheckBox(self.groupBox)
        self.chkExecTime.setChecked(True)
        self.chkExecTime.setObjectName(_fromUtf8("chkExecTime"))
        self.gridLayout_2.addWidget(self.chkExecTime, 12, 2, 1, 1)
        self.chkArea = QtGui.QCheckBox(self.groupBox)
        self.chkArea.setChecked(True)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout_2.addWidget(self.chkArea, 10, 3, 1, 1)
        self.chkName = QtGui.QCheckBox(self.groupBox)
        self.chkName.setChecked(True)
        self.chkName.setObjectName(_fromUtf8("chkName"))
        self.gridLayout_2.addWidget(self.chkName, 3, 2, 1, 1)
        self.chkTime = QtGui.QCheckBox(self.groupBox)
        self.chkTime.setChecked(True)
        self.chkTime.setObjectName(_fromUtf8("chkTime"))
        self.gridLayout_2.addWidget(self.chkTime, 5, 2, 1, 1)
        self.chkStatus = QtGui.QCheckBox(self.groupBox)
        self.chkStatus.setChecked(True)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout_2.addWidget(self.chkStatus, 2, 2, 1, 1)
        self.chkActionPerson = QtGui.QCheckBox(self.groupBox)
        self.chkActionPerson.setChecked(True)
        self.chkActionPerson.setObjectName(_fromUtf8("chkActionPerson"))
        self.gridLayout_2.addWidget(self.chkActionPerson, 4, 2, 1, 1)
        self.chkWork = QtGui.QCheckBox(self.groupBox)
        self.chkWork.setChecked(True)
        self.chkWork.setObjectName(_fromUtf8("chkWork"))
        self.gridLayout_2.addWidget(self.chkWork, 12, 3, 1, 1)
        self.chkInhab = QtGui.QCheckBox(self.groupBox)
        self.chkInhab.setChecked(True)
        self.chkInhab.setObjectName(_fromUtf8("chkInhab"))
        self.gridLayout_2.addWidget(self.chkInhab, 11, 3, 1, 1)
        self.chkSetDate = QtGui.QCheckBox(self.groupBox)
        self.chkSetDate.setChecked(True)
        self.chkSetDate.setObjectName(_fromUtf8("chkSetDate"))
        self.gridLayout_2.addWidget(self.chkSetDate, 8, 2, 1, 1)
        self.chkPrimaryEvent = QtGui.QCheckBox(self.groupBox)
        self.chkPrimaryEvent.setChecked(True)
        self.chkPrimaryEvent.setObjectName(_fromUtf8("chkPrimaryEvent"))
        self.gridLayout_2.addWidget(self.chkPrimaryEvent, 7, 2, 1, 1)
        self.chkDiagnosis = QtGui.QCheckBox(self.groupBox)
        self.chkDiagnosis.setChecked(True)
        self.chkDiagnosis.setObjectName(_fromUtf8("chkDiagnosis"))
        self.gridLayout_2.addWidget(self.chkDiagnosis, 8, 3, 1, 1)
        self.chkOrderEvent = QtGui.QCheckBox(self.groupBox)
        self.chkOrderEvent.setChecked(True)
        self.chkOrderEvent.setObjectName(_fromUtf8("chkOrderEvent"))
        self.gridLayout_2.addWidget(self.chkOrderEvent, 6, 2, 1, 1)
        self.chkPerson = QtGui.QCheckBox(self.groupBox)
        self.chkPerson.setChecked(True)
        self.chkPerson.setObjectName(_fromUtf8("chkPerson"))
        self.gridLayout_2.addWidget(self.chkPerson, 6, 3, 1, 1)
        self.chkOrgStructure = QtGui.QCheckBox(self.groupBox)
        self.chkOrgStructure.setChecked(True)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout_2.addWidget(self.chkOrgStructure, 3, 3, 1, 1)
        self.chkReanimation = QtGui.QCheckBox(self.groupBox)
        self.chkReanimation.setChecked(True)
        self.chkReanimation.setObjectName(_fromUtf8("chkReanimation"))
        self.gridLayout_2.addWidget(self.chkReanimation, 5, 3, 1, 1)
        self.chkOrganization = QtGui.QCheckBox(self.groupBox)
        self.chkOrganization.setChecked(True)
        self.chkOrganization.setObjectName(_fromUtf8("chkOrganization"))
        self.gridLayout_2.addWidget(self.chkOrganization, 7, 3, 1, 1)
        self.chkProfile = QtGui.QCheckBox(self.groupBox)
        self.chkProfile.setChecked(True)
        self.chkProfile.setObjectName(_fromUtf8("chkProfile"))
        self.gridLayout_2.addWidget(self.chkProfile, 4, 3, 1, 1)
        self.chkResult = QtGui.QCheckBox(self.groupBox)
        self.chkResult.setChecked(True)
        self.chkResult.setObjectName(_fromUtf8("chkResult"))
        self.gridLayout_2.addWidget(self.chkResult, 2, 3, 1, 1)
        self.chkMES = QtGui.QCheckBox(self.groupBox)
        self.chkMES.setChecked(True)
        self.chkMES.setObjectName(_fromUtf8("chkMES"))
        self.gridLayout_2.addWidget(self.chkMES, 12, 0, 1, 1)
        self.chkAge = QtGui.QCheckBox(self.groupBox)
        self.chkAge.setChecked(True)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout_2.addWidget(self.chkAge, 6, 0, 1, 1)
        self.chkPolicy = QtGui.QCheckBox(self.groupBox)
        self.chkPolicy.setChecked(True)
        self.chkPolicy.setObjectName(_fromUtf8("chkPolicy"))
        self.gridLayout_2.addWidget(self.chkPolicy, 8, 0, 1, 1)
        self.chkMKB = QtGui.QCheckBox(self.groupBox)
        self.chkMKB.setChecked(True)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout_2.addWidget(self.chkMKB, 10, 0, 1, 1)
        self.chkFinance = QtGui.QCheckBox(self.groupBox)
        self.chkFinance.setChecked(True)
        self.chkFinance.setObjectName(_fromUtf8("chkFinance"))
        self.gridLayout_2.addWidget(self.chkFinance, 7, 0, 1, 1)
        self.chkFinishedMKB = QtGui.QCheckBox(self.groupBox)
        self.chkFinishedMKB.setChecked(True)
        self.chkFinishedMKB.setObjectName(_fromUtf8("chkFinishedMKB"))
        self.gridLayout_2.addWidget(self.chkFinishedMKB, 11, 0, 1, 1)
        self.chkCode = QtGui.QCheckBox(self.groupBox)
        self.chkCode.setChecked(True)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout_2.addWidget(self.chkCode, 0, 2, 1, 1)
        self.chkSex = QtGui.QCheckBox(self.groupBox)
        self.chkSex.setChecked(True)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout_2.addWidget(self.chkSex, 5, 0, 1, 1)
        self.chkExternalId = QtGui.QCheckBox(self.groupBox)
        self.chkExternalId.setChecked(True)
        self.chkExternalId.setObjectName(_fromUtf8("chkExternalId"))
        self.gridLayout_2.addWidget(self.chkExternalId, 0, 0, 1, 1)
        self.chkFirstName = QtGui.QCheckBox(self.groupBox)
        self.chkFirstName.setChecked(True)
        self.chkFirstName.setObjectName(_fromUtf8("chkFirstName"))
        self.gridLayout_2.addWidget(self.chkFirstName, 3, 0, 1, 1)
        self.chkPatrName = QtGui.QCheckBox(self.groupBox)
        self.chkPatrName.setChecked(True)
        self.chkPatrName.setObjectName(_fromUtf8("chkPatrName"))
        self.gridLayout_2.addWidget(self.chkPatrName, 4, 0, 1, 1)
        self.chkLastName = QtGui.QCheckBox(self.groupBox)
        self.chkLastName.setChecked(True)
        self.chkLastName.setObjectName(_fromUtf8("chkLastName"))
        self.gridLayout_2.addWidget(self.chkLastName, 2, 0, 1, 1)
        self.chkBirthDate = QtGui.QCheckBox(self.groupBox)
        self.chkBirthDate.setChecked(True)
        self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate"))
        self.gridLayout_2.addWidget(self.chkBirthDate, 13, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 13, 0, 1, 5)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem4, 14, 4, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblMES.setBuddy(self.cmbMES)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblMKB.setBuddy(self.cmbMKBFilter)

        self.retranslateUi(ReportAnalyticalTable)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportAnalyticalTable.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportAnalyticalTable.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportAnalyticalTable)

    def retranslateUi(self, ReportAnalyticalTable):
        ReportAnalyticalTable.setWindowTitle(
            _translate("ReportAnalyticalTable", "Dialog", None))
        self.lblDiagType.setText(
            _translate("ReportAnalyticalTable", "Тип диагноза", None))
        self.lblEndDate.setText(
            _translate("ReportAnalyticalTable", "Дата &окончания периода",
                       None))
        self.cmbResult.setItemText(
            0, _translate("ReportAnalyticalTable", "не задано", None))
        self.cmbResult.setItemText(
            1, _translate("ReportAnalyticalTable", "умер", None))
        self.cmbResult.setItemText(
            2, _translate("ReportAnalyticalTable", "выписан", None))
        self.lblMES.setText(
            _translate("ReportAnalyticalTable", "Коды МЭС", None))
        self.cmbMES.setItemText(
            0, _translate("ReportAnalyticalTable", "Игнор.", None))
        self.cmbMES.setItemText(
            1, _translate("ReportAnalyticalTable", "Интервал", None))
        self.chkFinanceMulti.setText(
            _translate("ReportAnalyticalTable", "Тип финансирования", None))
        self.lblBegDate.setText(
            _translate("ReportAnalyticalTable", "Дата &начала периода", None))
        self.chkOrgStructureMulti.setText(
            _translate("ReportAnalyticalTable", "Подразделение", None))
        self.chkEventTypeMulti.setText(
            _translate("ReportAnalyticalTable", "Тип обращения", None))
        self.label.setText(
            _translate("ReportAnalyticalTable", "Результат события", None))
        self.lblMKB.setText(
            _translate("ReportAnalyticalTable", "Коды диагнозов по &МКБ",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportAnalyticalTable", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportAnalyticalTable", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportAnalyticalTable", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportAnalyticalTable", "A.",
                                           None))
        self.edtMKBTo.setInputMask(
            _translate("ReportAnalyticalTable", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportAnalyticalTable", "Z99.9", None))
        self.groupBox.setTitle(
            _translate("ReportAnalyticalTable", "Отчет строится по столбцам",
                       None))
        self.chkSetTime.setText(
            _translate("ReportAnalyticalTable", "Время поступления", None))
        self.chkExecDate.setText(
            _translate("ReportAnalyticalTable", "Дата выбытия", None))
        self.chkReceived.setText(
            _translate(
                "ReportAnalyticalTable",
                "Время доставки с момента получения травмы/заболевания", None))
        self.chkExecTime.setText(
            _translate("ReportAnalyticalTable", "Время выбытия", None))
        self.chkArea.setText(_translate("ReportAnalyticalTable", "Район",
                                        None))
        self.chkName.setText(
            _translate("ReportAnalyticalTable", "Наименование услуги", None))
        self.chkTime.setText(
            _translate("ReportAnalyticalTable",
                       "Время оказания услуги  c момена поступления", None))
        self.chkStatus.setText(
            _translate("ReportAnalyticalTable", "Статус оплаты", None))
        self.chkActionPerson.setText(
            _translate("ReportAnalyticalTable", "Исполнитель в услуге", None))
        self.chkWork.setText(
            _translate("ReportAnalyticalTable", "Занятость", None))
        self.chkInhab.setText(
            _translate("ReportAnalyticalTable", "Житель", None))
        self.chkSetDate.setText(
            _translate("ReportAnalyticalTable", "Дата поступления", None))
        self.chkPrimaryEvent.setText(
            _translate("ReportAnalyticalTable", "Первично/повторно", None))
        self.chkDiagnosis.setText(
            _translate("ReportAnalyticalTable", "Диагноз направителя", None))
        self.chkOrderEvent.setText(
            _translate("ReportAnalyticalTable", "Порядок поступления", None))
        self.chkPerson.setText(
            _translate("ReportAnalyticalTable", "Лечащий врач", None))
        self.chkOrgStructure.setText(
            _translate("ReportAnalyticalTable", "Отделение, из которого выбыл",
                       None))
        self.chkReanimation.setText(
            _translate("ReportAnalyticalTable", "Нахождение в реанимации",
                       None))
        self.chkOrganization.setText(
            _translate("ReportAnalyticalTable", "Кем направлен", None))
        self.chkProfile.setText(
            _translate("ReportAnalyticalTable", "Профиль", None))
        self.chkResult.setText(
            _translate("ReportAnalyticalTable", "Исход", None))
        self.chkMES.setText(
            _translate("ReportAnalyticalTable", "Стандарт", None))
        self.chkAge.setText(
            _translate("ReportAnalyticalTable", "Возраст", None))
        self.chkPolicy.setText(
            _translate("ReportAnalyticalTable", "Серия и номер полиса", None))
        self.chkMKB.setText(
            _translate("ReportAnalyticalTable", "Диагноз", None))
        self.chkFinance.setText(
            _translate("ReportAnalyticalTable", "Тип финансирования", None))
        self.chkFinishedMKB.setText(
            _translate("ReportAnalyticalTable", "Заключительный диагноз",
                       None))
        self.chkCode.setText(
            _translate("ReportAnalyticalTable", "Код услуги", None))
        self.chkSex.setText(_translate("ReportAnalyticalTable", "Пол", None))
        self.chkExternalId.setText(
            _translate("ReportAnalyticalTable", "№ истории болезни", None))
        self.chkFirstName.setText(
            _translate("ReportAnalyticalTable", "Имя", None))
        self.chkPatrName.setText(
            _translate("ReportAnalyticalTable", "Отчество", None))
        self.chkLastName.setText(
            _translate("ReportAnalyticalTable", "Фамилия", None))
        self.chkBirthDate.setText(
            _translate("ReportAnalyticalTable", "Дата рождения", None))
Exemplo n.º 13
0
class Ui_EventResultSetupDialog(object):
    def setupUi(self, EventResultSetupDialog):
        EventResultSetupDialog.setObjectName(
            _fromUtf8("EventResultSetupDialog"))
        EventResultSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        EventResultSetupDialog.resize(343, 599)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            EventResultSetupDialog.sizePolicy().hasHeightForWidth())
        EventResultSetupDialog.setSizePolicy(sizePolicy)
        EventResultSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(EventResultSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbClientAddressCity = CAllSelectableKLADRComboBox(
            EventResultSetupDialog)
        self.cmbClientAddressCity.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbClientAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbClientAddressCity.setSizePolicy(sizePolicy)
        self.cmbClientAddressCity.setObjectName(
            _fromUtf8("cmbClientAddressCity"))
        self.gridLayout.addWidget(self.cmbClientAddressCity, 24, 1, 1, 4)
        self.lblSpeciality = QtGui.QLabel(EventResultSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 8, 0, 1, 1)
        self.cmbClientAddressStreet = CStreetComboBox(EventResultSetupDialog)
        self.cmbClientAddressStreet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbClientAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbClientAddressStreet.setSizePolicy(sizePolicy)
        self.cmbClientAddressStreet.setObjectName(
            _fromUtf8("cmbClientAddressStreet"))
        self.gridLayout.addWidget(self.cmbClientAddressStreet, 25, 1, 1, 4)
        self.cmbClientAddressType = QtGui.QComboBox(EventResultSetupDialog)
        self.cmbClientAddressType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbClientAddressType.sizePolicy().hasHeightForWidth())
        self.cmbClientAddressType.setSizePolicy(sizePolicy)
        self.cmbClientAddressType.setObjectName(
            _fromUtf8("cmbClientAddressType"))
        self.cmbClientAddressType.addItem(_fromUtf8(""))
        self.cmbClientAddressType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbClientAddressType, 23, 1, 1, 4)
        self.chkClientAddress = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkClientAddress.setEnabled(False)
        self.chkClientAddress.setObjectName(_fromUtf8("chkClientAddress"))
        self.gridLayout.addWidget(self.chkClientAddress, 23, 0, 1, 1)
        self.lblPrimary = QtGui.QLabel(EventResultSetupDialog)
        self.lblPrimary.setObjectName(_fromUtf8("lblPrimary"))
        self.gridLayout.addWidget(self.lblPrimary, 15, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(EventResultSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 8, 1, 1, 4)
        self.cmbResult = CRBComboBox(EventResultSetupDialog)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.gridLayout.addWidget(self.cmbResult, 14, 1, 1, 4)
        self.cmbEventPurpose = CRBComboBox(EventResultSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 2, 1, 1, 4)
        self.frmAge = QtGui.QFrame(EventResultSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAge, 18, 1, 1, 4)
        self.frmMKBEx = QtGui.QFrame(EventResultSetupDialog)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKBEx)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self.gridlayout.addWidget(self.edtMKBExFrom, 0, 1, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self.gridlayout.addWidget(self.edtMKBExTo, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKBEx, 28, 1, 2, 4)
        self.pnlHomeAddress = QtGui.QWidget(EventResultSetupDialog)
        self.pnlHomeAddress.setEnabled(True)
        self.pnlHomeAddress.setObjectName(_fromUtf8("pnlHomeAddress"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.pnlHomeAddress)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblAddressHouse = QtGui.QLabel(self.pnlHomeAddress)
        self.lblAddressHouse.setEnabled(False)
        self.lblAddressHouse.setAlignment(QtCore.Qt.AlignLeading
                                          | QtCore.Qt.AlignLeft
                                          | QtCore.Qt.AlignVCenter)
        self.lblAddressHouse.setObjectName(_fromUtf8("lblAddressHouse"))
        self.horizontalLayout.addWidget(self.lblAddressHouse)
        self.edtAddressHouse = QtGui.QLineEdit(self.pnlHomeAddress)
        self.edtAddressHouse.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAddressHouse.sizePolicy().hasHeightForWidth())
        self.edtAddressHouse.setSizePolicy(sizePolicy)
        self.edtAddressHouse.setObjectName(_fromUtf8("edtAddressHouse"))
        self.horizontalLayout.addWidget(self.edtAddressHouse)
        self.lblAddressCorpus = QtGui.QLabel(self.pnlHomeAddress)
        self.lblAddressCorpus.setEnabled(False)
        self.lblAddressCorpus.setAlignment(QtCore.Qt.AlignRight
                                           | QtCore.Qt.AlignTrailing
                                           | QtCore.Qt.AlignVCenter)
        self.lblAddressCorpus.setObjectName(_fromUtf8("lblAddressCorpus"))
        self.horizontalLayout.addWidget(self.lblAddressCorpus)
        self.edtAddressCorpus = QtGui.QLineEdit(self.pnlHomeAddress)
        self.edtAddressCorpus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAddressCorpus.sizePolicy().hasHeightForWidth())
        self.edtAddressCorpus.setSizePolicy(sizePolicy)
        self.edtAddressCorpus.setObjectName(_fromUtf8("edtAddressCorpus"))
        self.horizontalLayout.addWidget(self.edtAddressCorpus)
        self.lblAddressFlat = QtGui.QLabel(self.pnlHomeAddress)
        self.lblAddressFlat.setEnabled(False)
        self.lblAddressFlat.setAlignment(QtCore.Qt.AlignRight
                                         | QtCore.Qt.AlignTrailing
                                         | QtCore.Qt.AlignVCenter)
        self.lblAddressFlat.setObjectName(_fromUtf8("lblAddressFlat"))
        self.horizontalLayout.addWidget(self.lblAddressFlat)
        self.edtAddressFlat = QtGui.QLineEdit(self.pnlHomeAddress)
        self.edtAddressFlat.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAddressFlat.sizePolicy().hasHeightForWidth())
        self.edtAddressFlat.setSizePolicy(sizePolicy)
        self.edtAddressFlat.setObjectName(_fromUtf8("edtAddressFlat"))
        self.horizontalLayout.addWidget(self.edtAddressFlat)
        self.gridLayout.addWidget(self.pnlHomeAddress, 26, 1, 1, 4)
        self.frmMKB = QtGui.QFrame(EventResultSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout1.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout1.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem2, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKB, 27, 1, 1, 4)
        self.cmbPerson = CPersonComboBoxEx(EventResultSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 10, 1, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(EventResultSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 33, 0, 1, 5)
        self.lblOrder = QtGui.QLabel(EventResultSetupDialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 16, 0, 1, 1)
        self.cmbPrimary = QtGui.QComboBox(EventResultSetupDialog)
        self.cmbPrimary.setObjectName(_fromUtf8("cmbPrimary"))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.setItemText(0, _fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPrimary, 15, 1, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 30, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(EventResultSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 2, 0, 1, 1)
        self.lblResult = QtGui.QLabel(EventResultSetupDialog)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout.addWidget(self.lblResult, 14, 0, 1, 1)
        self.cmbOrder = QtGui.QComboBox(EventResultSetupDialog)
        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.gridLayout.addWidget(self.cmbOrder, 16, 1, 1, 4)
        self.lblEventType = QtGui.QLabel(EventResultSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.cmbEventType = CRBComboBox(EventResultSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 4)
        self.cmbOrgStructure = COrgStructureComboBox(EventResultSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(EventResultSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1)
        self.chkOrgStructureArea = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkOrgStructureArea.setEnabled(False)
        self.chkOrgStructureArea.setObjectName(
            _fromUtf8("chkOrgStructureArea"))
        self.gridLayout.addWidget(self.chkOrgStructureArea, 22, 0, 1, 1)
        self.cmbAddressType = QtGui.QComboBox(EventResultSetupDialog)
        self.cmbAddressType.setEnabled(False)
        self.cmbAddressType.setObjectName(_fromUtf8("cmbAddressType"))
        self.cmbAddressType.addItem(_fromUtf8(""))
        self.cmbAddressType.addItem(_fromUtf8(""))
        self.cmbAddressType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbAddressType, 24, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(EventResultSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(EventResultSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 0, 3, 1, 2)
        self.lblEndDate = QtGui.QLabel(EventResultSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(EventResultSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 3, 1, 2)
        self.lblWorkOrganisation = QtGui.QLabel(EventResultSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 13, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(EventResultSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 13, 1, 1, 3)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            EventResultSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 13, 4, 1, 1)
        self.lblSex = QtGui.QLabel(EventResultSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 17, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(EventResultSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 17, 1, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 17, 2, 1, 3)
        self.lblAge = QtGui.QLabel(EventResultSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 18, 0, 1, 1)
        self.cmbArea = COrgStructureComboBox(EventResultSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 22, 1, 1, 4)
        self.lblMKB = QtGui.QLabel(EventResultSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 27, 0, 1, 1)
        self.lblMKBEx = QtGui.QLabel(EventResultSetupDialog)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self.gridLayout.addWidget(self.lblMKBEx, 28, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(EventResultSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 10, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 19, 0, 1, 1)
        self.chkArea = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 20, 0, 1, 1)
        self.chkPerson = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkPerson.setObjectName(_fromUtf8("chkPerson"))
        self.gridLayout.addWidget(self.chkPerson, 12, 1, 1, 1)
        self.chkVisitPlace = QtGui.QCheckBox(EventResultSetupDialog)
        self.chkVisitPlace.setObjectName(_fromUtf8("chkVisitPlace"))
        self.gridLayout.addWidget(self.chkVisitPlace, 21, 0, 1, 1)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblAddressHouse.setBuddy(self.edtAddressHouse)
        self.lblAddressCorpus.setBuddy(self.edtAddressCorpus)
        self.lblAddressFlat.setBuddy(self.edtAddressFlat)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblPerson.setBuddy(self.cmbPerson)

        self.retranslateUi(EventResultSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               EventResultSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               EventResultSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.chkOrgStructureArea.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EventResultSetupDialog)
        EventResultSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        EventResultSetupDialog.setTabOrder(self.edtEndDate,
                                           self.cmbEventPurpose)
        EventResultSetupDialog.setTabOrder(self.cmbEventPurpose,
                                           self.cmbEventType)
        EventResultSetupDialog.setTabOrder(self.cmbEventType,
                                           self.cmbOrgStructure)
        EventResultSetupDialog.setTabOrder(self.cmbOrgStructure,
                                           self.cmbSpeciality)
        EventResultSetupDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        EventResultSetupDialog.setTabOrder(self.cmbPerson,
                                           self.cmbWorkOrganisation)
        EventResultSetupDialog.setTabOrder(self.cmbWorkOrganisation,
                                           self.btnSelectWorkOrganisation)
        EventResultSetupDialog.setTabOrder(self.btnSelectWorkOrganisation,
                                           self.cmbResult)
        EventResultSetupDialog.setTabOrder(self.cmbResult, self.cmbPrimary)
        EventResultSetupDialog.setTabOrder(self.cmbPrimary, self.cmbOrder)
        EventResultSetupDialog.setTabOrder(self.cmbOrder, self.cmbSex)
        EventResultSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        EventResultSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        EventResultSetupDialog.setTabOrder(self.edtAgeTo,
                                           self.chkOrgStructureArea)
        EventResultSetupDialog.setTabOrder(self.chkOrgStructureArea,
                                           self.cmbArea)
        EventResultSetupDialog.setTabOrder(self.cmbArea, self.chkClientAddress)
        EventResultSetupDialog.setTabOrder(self.chkClientAddress,
                                           self.cmbClientAddressType)
        EventResultSetupDialog.setTabOrder(self.cmbClientAddressType,
                                           self.cmbAddressType)
        EventResultSetupDialog.setTabOrder(self.cmbAddressType,
                                           self.cmbClientAddressCity)
        EventResultSetupDialog.setTabOrder(self.cmbClientAddressCity,
                                           self.cmbClientAddressStreet)
        EventResultSetupDialog.setTabOrder(self.cmbClientAddressStreet,
                                           self.edtAddressHouse)
        EventResultSetupDialog.setTabOrder(self.edtAddressHouse,
                                           self.edtAddressCorpus)
        EventResultSetupDialog.setTabOrder(self.edtAddressCorpus,
                                           self.edtAddressFlat)
        EventResultSetupDialog.setTabOrder(self.edtAddressFlat,
                                           self.cmbMKBFilter)
        EventResultSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom)
        EventResultSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        EventResultSetupDialog.setTabOrder(self.edtMKBTo, self.cmbMKBExFilter)
        EventResultSetupDialog.setTabOrder(self.cmbMKBExFilter,
                                           self.edtMKBExFrom)
        EventResultSetupDialog.setTabOrder(self.edtMKBExFrom, self.edtMKBExTo)
        EventResultSetupDialog.setTabOrder(self.edtMKBExTo, self.buttonBox)

    def retranslateUi(self, EventResultSetupDialog):
        EventResultSetupDialog.setWindowTitle(
            _translate("EventResultSetupDialog", "параметры отчёта", None))
        self.lblSpeciality.setText(
            _translate("EventResultSetupDialog", "&Специальность", None))
        self.cmbClientAddressType.setItemText(
            0, _translate("EventResultSetupDialog", "Регистрации", None))
        self.cmbClientAddressType.setItemText(
            1, _translate("EventResultSetupDialog", "Проживания", None))
        self.chkClientAddress.setText(
            _translate("EventResultSetupDialog", "Пациента", None))
        self.lblPrimary.setText(
            _translate("EventResultSetupDialog", "Первичность", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "EventResultSetupDialog",
                "<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;\"></p></body></html>",
                None))
        self.lblAgeTo.setText(_translate("EventResultSetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("EventResultSetupDialog", "лет", None))
        self.cmbMKBExFilter.setItemText(
            0, _translate("EventResultSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(
            1, _translate("EventResultSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(
            _translate("EventResultSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(
            _translate("EventResultSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(
            _translate("EventResultSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(
            _translate("EventResultSetupDialog", "Z99.9", None))
        self.lblAddressHouse.setText(
            _translate("EventResultSetupDialog", "Дом", None))
        self.lblAddressCorpus.setText(
            _translate("EventResultSetupDialog", "Корп", None))
        self.lblAddressFlat.setText(
            _translate("EventResultSetupDialog", "Кв", None))
        self.cmbMKBFilter.setItemText(
            0, _translate("EventResultSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("EventResultSetupDialog", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("EventResultSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("EventResultSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("EventResultSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("EventResultSetupDialog", "Z99.9", None))
        self.lblOrder.setText(
            _translate("EventResultSetupDialog", "Порядок", None))
        self.cmbPrimary.setItemText(
            1, _translate("EventResultSetupDialog", "Первичный", None))
        self.cmbPrimary.setItemText(
            2, _translate("EventResultSetupDialog", "Повторный", None))
        self.cmbPrimary.setItemText(
            3, _translate("EventResultSetupDialog", "Актив", None))
        self.lblEventPurpose.setText(
            _translate("EventResultSetupDialog", "&Назначение обращения",
                       None))
        self.lblResult.setText(
            _translate("EventResultSetupDialog", "Результат", None))
        self.cmbOrder.setItemText(
            1, _translate("EventResultSetupDialog", "Плановый", None))
        self.cmbOrder.setItemText(
            2, _translate("EventResultSetupDialog", "Экстренный", None))
        self.cmbOrder.setItemText(
            3, _translate("EventResultSetupDialog", "Самотеком", None))
        self.cmbOrder.setItemText(
            4, _translate("EventResultSetupDialog", "Принудительный", None))
        self.lblEventType.setText(
            _translate("EventResultSetupDialog", "&Тип обращения", None))
        self.lblOrgStructure.setText(
            _translate("EventResultSetupDialog", "&Подразделение", None))
        self.chkOrgStructureArea.setText(
            _translate("EventResultSetupDialog", "Те&рритории обслуживания",
                       None))
        self.cmbAddressType.setItemText(
            0, _translate("EventResultSetupDialog", "Тоный адрес", None))
        self.cmbAddressType.setItemText(
            1, _translate("EventResultSetupDialog", "Иногородний", None))
        self.cmbAddressType.setItemText(
            2, _translate("EventResultSetupDialog", "Иностранец", None))
        self.lblBegDate.setText(
            _translate("EventResultSetupDialog", "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("EventResultSetupDialog", "Дата &окончания периода",
                       None))
        self.lblWorkOrganisation.setText(
            _translate("EventResultSetupDialog", "Занятость", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("EventResultSetupDialog", "...", None))
        self.lblSex.setText(_translate("EventResultSetupDialog", "По&л", None))
        self.cmbSex.setItemText(
            1, _translate("EventResultSetupDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("EventResultSetupDialog", "Ж", None))
        self.lblAge.setText(
            _translate("EventResultSetupDialog", "Во&зраст с", None))
        self.lblMKB.setText(
            _translate("EventResultSetupDialog", "Коды диагнозов по &МКБ",
                       None))
        self.lblMKBEx.setText(
            _translate("EventResultSetupDialog", "В сочетании с", None))
        self.lblPerson.setText(
            _translate("EventResultSetupDialog", "&Врач", None))
        self.chkVisitEmergency.setText(
            _translate("EventResultSetupDialog", "Учитывать посещения СМП",
                       None))
        self.chkArea.setText(
            _translate("EventResultSetupDialog", "Учитывать адрес", None))
        self.chkPerson.setText(
            _translate("EventResultSetupDialog", "Выводить врача", None))
        self.chkVisitPlace.setText(
            _translate("EventResultSetupDialog", "Выводить место посещения",
                       None))