class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(398, 335)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
        Dialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 6, 1, 1, 1)
        self.lblDays = QtGui.QLabel(Dialog)
        self.lblDays.setObjectName(_fromUtf8("lblDays"))
        self.gridLayout.addWidget(self.lblDays, 4, 0, 1, 1)
        self.cmbEventType = CRBComboBox(Dialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 0, 1, 1, 2)
        self.lstOrgStructure = CRBListBox(Dialog)
        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, 3, 0, 1, 3)
        self.edtDays = QtGui.QLineEdit(Dialog)
        self.edtDays.setObjectName(_fromUtf8("edtDays"))
        self.gridLayout.addWidget(self.edtDays, 4, 1, 1, 1)
        self.lstEventType = CRBListBox(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lstEventType.sizePolicy().hasHeightForWidth())
        self.lstEventType.setSizePolicy(sizePolicy)
        self.lstEventType.setObjectName(_fromUtf8("lstEventType"))
        self.gridLayout.addWidget(self.lstEventType, 1, 0, 1, 3)
        self.chkOrgStructureMulti = QtGui.QCheckBox(Dialog)
        self.chkOrgStructureMulti.setObjectName(
            _fromUtf8("chkOrgStructureMulti"))
        self.gridLayout.addWidget(self.chkOrgStructureMulti, 2, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)
        self.chkEventTypeMulti = QtGui.QCheckBox(Dialog)
        self.chkEventTypeMulti.setObjectName(_fromUtf8("chkEventTypeMulti"))
        self.gridLayout.addWidget(self.chkEventTypeMulti, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(Dialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.lblDays.setText(
            _translate("Dialog", "Количество койко-дней", None))
        self.chkOrgStructureMulti.setText(
            _translate("Dialog", "Подразделение", None))
        self.chkEventTypeMulti.setText(
            _translate("Dialog", "Тип обращения", None))
class Ui_EventContractChecklDialog(object):
    def setupUi(self, EventContractChecklDialog):
        EventContractChecklDialog.setObjectName(
            _fromUtf8("EventContractChecklDialog"))
        EventContractChecklDialog.resize(600, 500)
        self.gridLayout = QtGui.QGridLayout(EventContractChecklDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(EventContractChecklDialog)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.layoutButtons = QtGui.QHBoxLayout()
        self.layoutButtons.setObjectName(_fromUtf8("layoutButtons"))
        self.btnStart = QtGui.QPushButton(EventContractChecklDialog)
        self.btnStart.setMinimumSize(QtCore.QSize(100, 0))
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.layoutButtons.addWidget(self.btnStart)
        spacerItem = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.layoutButtons.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(EventContractChecklDialog)
        self.btnClose.setMinimumSize(QtCore.QSize(100, 0))
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.layoutButtons.addWidget(self.btnClose)
        self.gridLayout.addLayout(self.layoutButtons, 7, 0, 1, 2)
        self.lblInfo = QtGui.QLabel(EventContractChecklDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfo.sizePolicy().hasHeightForWidth())
        self.lblInfo.setSizePolicy(sizePolicy)
        self.lblInfo.setText(_fromUtf8(""))
        self.lblInfo.setObjectName(_fromUtf8("lblInfo"))
        self.gridLayout.addWidget(self.lblInfo, 6, 0, 1, 2)
        self.lblEventType = QtGui.QLabel(EventContractChecklDialog)
        self.lblEventType.setAlignment(QtCore.Qt.AlignLeading
                                       | QtCore.Qt.AlignLeft
                                       | QtCore.Qt.AlignTop)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 1, 0, 1, 1)
        self.progressBar = CProgressBar(EventContractChecklDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 4, 0, 1, 2)
        self.layoutFilter = QtGui.QHBoxLayout()
        self.layoutFilter.setObjectName(_fromUtf8("layoutFilter"))
        self.lblDateFrom = QtGui.QLabel(EventContractChecklDialog)
        self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom"))
        self.layoutFilter.addWidget(self.lblDateFrom)
        self.edtDateFrom = CDateEdit(EventContractChecklDialog)
        self.edtDateFrom.setObjectName(_fromUtf8("edtDateFrom"))
        self.layoutFilter.addWidget(self.edtDateFrom)
        self.lblDateTo = QtGui.QLabel(EventContractChecklDialog)
        self.lblDateTo.setObjectName(_fromUtf8("lblDateTo"))
        self.layoutFilter.addWidget(self.lblDateTo)
        self.edtDateTo = CDateEdit(EventContractChecklDialog)
        self.edtDateTo.setObjectName(_fromUtf8("edtDateTo"))
        self.layoutFilter.addWidget(self.edtDateTo)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.layoutFilter.addItem(spacerItem1)
        self.gridLayout.addLayout(self.layoutFilter, 0, 1, 1, 1)
        self.tblEventType = CRBListBox(EventContractChecklDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(
            self.tblEventType.sizePolicy().hasHeightForWidth())
        self.tblEventType.setSizePolicy(sizePolicy)
        self.tblEventType.setObjectName(_fromUtf8("tblEventType"))
        self.gridLayout.addWidget(self.tblEventType, 1, 1, 1, 1)
        self.log = QtGui.QListWidget(EventContractChecklDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(6)
        sizePolicy.setHeightForWidth(self.log.sizePolicy().hasHeightForWidth())
        self.log.setSizePolicy(sizePolicy)
        self.log.setObjectName(_fromUtf8("log"))
        self.gridLayout.addWidget(self.log, 5, 0, 1, 2)
        self.lblEventType.setBuddy(self.tblEventType)
        self.lblDateFrom.setBuddy(self.edtDateFrom)
        self.lblDateTo.setBuddy(self.edtDateTo)

        self.retranslateUi(EventContractChecklDialog)
        QtCore.QMetaObject.connectSlotsByName(EventContractChecklDialog)
        EventContractChecklDialog.setTabOrder(self.edtDateFrom, self.edtDateTo)
        EventContractChecklDialog.setTabOrder(self.edtDateTo, self.btnStart)
        EventContractChecklDialog.setTabOrder(self.btnStart, self.btnClose)
        EventContractChecklDialog.setTabOrder(self.btnClose, self.log)

    def retranslateUi(self, EventContractChecklDialog):
        EventContractChecklDialog.setWindowTitle(
            _translate("EventContractChecklDialog",
                       "Контроль договоров в обращениях", None))
        self.lblDate.setText(
            _translate("EventContractChecklDialog", "Дата назначения:", None))
        self.btnStart.setText(
            _translate("EventContractChecklDialog", "Начать проверку", None))
        self.btnClose.setText(
            _translate("EventContractChecklDialog", "Прервать", None))
        self.lblEventType.setText(
            _translate("EventContractChecklDialog", "Типы обращений:", None))
        self.lblDateFrom.setText(
            _translate("EventContractChecklDialog", "с", None))
        self.lblDateTo.setText(
            _translate("EventContractChecklDialog", "по", None))
Exemple #3
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))