Ejemplo n.º 1
0
class Ui_NonPaidEventsSetupDialog(object):
    def setupUi(self, NonPaidEventsSetupDialog):
        NonPaidEventsSetupDialog.setObjectName(_fromUtf8("NonPaidEventsSetupDialog"))
        NonPaidEventsSetupDialog.resize(407, 204)
        self.gridLayout = QtGui.QGridLayout(NonPaidEventsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(NonPaidEventsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 0, 0, 1, 1)
        self.cmbContract = CContractComboBox(NonPaidEventsSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 2, 1, 1, 1)
        self.lblContract = QtGui.QLabel(NonPaidEventsSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 2, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(NonPaidEventsSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.endDate = CDateEdit(NonPaidEventsSetupDialog)
        self.endDate.setObjectName(_fromUtf8("endDate"))
        self.gridLayout.addWidget(self.endDate, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(NonPaidEventsSetupDialog)
        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, 7, 0, 1, 2)
        self.begDate = CDateEdit(NonPaidEventsSetupDialog)
        self.begDate.setObjectName(_fromUtf8("begDate"))
        self.gridLayout.addWidget(self.begDate, 0, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(NonPaidEventsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(NonPaidEventsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 1, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, NonPaidEventsSetupDialog):
        NonPaidEventsSetupDialog.setWindowTitle(_translate("NonPaidEventsSetupDialog", "Неоплаченные события", None))
        self.lblEndDate.setText(_translate("NonPaidEventsSetupDialog", "Дата начала", None))
        self.lblContract.setText(_translate("NonPaidEventsSetupDialog", "Договор", None))
        self.lblBegDate.setText(_translate("NonPaidEventsSetupDialog", "Дата окончания", None))
        self.lblOrgStructure.setText(_translate("NonPaidEventsSetupDialog", "&Подразделение", None))
Ejemplo n.º 2
0
class Ui_ReportSetupByOrgStructureDialog(object):
    def setupUi(self, ReportSetupByOrgStructureDialog):
        ReportSetupByOrgStructureDialog.setObjectName(
            _fromUtf8("ReportSetupByOrgStructureDialog"))
        ReportSetupByOrgStructureDialog.resize(860, 866)
        ReportSetupByOrgStructureDialog.setContextMenuPolicy(
            QtCore.Qt.NoContextMenu)
        self.gridLayout = QtGui.QGridLayout(ReportSetupByOrgStructureDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportSetupByOrgStructureDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 32, 1, 1, 3)
        self.cmbFinance = CRBComboBox(ReportSetupByOrgStructureDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 2, 1, 2)
        self.chkOrgStructure = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 6, 0, 1, 2)
        self.lblEventType = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 7, 0, 1, 2)
        self.cmbStatus = QtGui.QComboBox(ReportSetupByOrgStructureDialog)
        self.cmbStatus.setEnabled(False)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.gridLayout.addWidget(self.cmbStatus, 5, 2, 1, 2)
        self.cmbClientAgeCategory = QtGui.QComboBox(
            ReportSetupByOrgStructureDialog)
        self.cmbClientAgeCategory.setObjectName(
            _fromUtf8("cmbClientAgeCategory"))
        self.cmbClientAgeCategory.addItem(_fromUtf8(""))
        self.cmbClientAgeCategory.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbClientAgeCategory, 23, 2, 1, 2)
        self.chkGroupByPatient = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkGroupByPatient.setChecked(True)
        self.chkGroupByPatient.setObjectName(_fromUtf8("chkGroupByPatient"))
        self.gridLayout.addWidget(self.chkGroupByPatient, 20, 3, 1, 1)
        self.chkOnlyDiscountPayment = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkOnlyDiscountPayment.setObjectName(
            _fromUtf8("chkOnlyDiscountPayment"))
        self.gridLayout.addWidget(self.chkOnlyDiscountPayment, 26, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(585, 63, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 31, 0, 2, 4)
        self.cmbReportType = QtGui.QComboBox(ReportSetupByOrgStructureDialog)
        self.cmbReportType.setObjectName(_fromUtf8("cmbReportType"))
        self.cmbReportType.addItem(_fromUtf8(""))
        self.cmbReportType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbReportType, 13, 2, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportSetupByOrgStructureDialog)
        self.cmbOrgStructure.setEnabled(False)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 2, 1, 1)
        self.chkRefused = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkRefused.setObjectName(_fromUtf8("chkRefused"))
        self.gridLayout.addWidget(self.chkRefused, 28, 0, 1, 1)
        self.chkAllOrgStructure = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkAllOrgStructure.setEnabled(False)
        self.chkAllOrgStructure.setObjectName(_fromUtf8("chkAllOrgStructure"))
        self.gridLayout.addWidget(self.chkAllOrgStructure, 15, 2, 1, 1)
        self.chkPerson = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkPerson.setObjectName(_fromUtf8("chkPerson"))
        self.gridLayout.addWidget(self.chkPerson, 17, 0, 1, 1)
        self.chkClientAgeCategory = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkClientAgeCategory.setObjectName(
            _fromUtf8("chkClientAgeCategory"))
        self.gridLayout.addWidget(self.chkClientAgeCategory, 23, 0, 1, 2)
        self.chkAssistant = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkAssistant.setObjectName(_fromUtf8("chkAssistant"))
        self.gridLayout.addWidget(self.chkAssistant, 9, 0, 1, 1)
        self.chkOnlyStaffRelative = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkOnlyStaffRelative.setObjectName(
            _fromUtf8("chkOnlyStaffRelative"))
        self.gridLayout.addWidget(self.chkOnlyStaffRelative, 27, 0, 1, 1)
        self.chkPost = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkPost.setEnabled(False)
        self.chkPost.setObjectName(_fromUtf8("chkPost"))
        self.gridLayout.addWidget(self.chkPost, 17, 2, 1, 1)
        self.cmbAssistantPost = CRBComboBox(ReportSetupByOrgStructureDialog)
        self.cmbAssistantPost.setEnabled(False)
        self.cmbAssistantPost.setObjectName(_fromUtf8("cmbAssistantPost"))
        self.gridLayout.addWidget(self.cmbAssistantPost, 10, 2, 1, 2)
        self.lblAssistantPost = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblAssistantPost.setObjectName(_fromUtf8("lblAssistantPost"))
        self.gridLayout.addWidget(self.lblAssistantPost, 10, 0, 1, 1)
        self.lblAssistant = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblAssistant.setObjectName(_fromUtf8("lblAssistant"))
        self.gridLayout.addWidget(self.lblAssistant, 11, 0, 1, 1)
        self.lblReportType = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblReportType.setObjectName(_fromUtf8("lblReportType"))
        self.gridLayout.addWidget(self.lblReportType, 13, 0, 1, 2)
        self.cmbAssistant = CPersonComboBoxEx(ReportSetupByOrgStructureDialog)
        self.cmbAssistant.setEnabled(False)
        self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant"))
        self.gridLayout.addWidget(self.cmbAssistant, 11, 2, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportSetupByOrgStructureDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 2)
        self.cmbContract = CContractComboBox(ReportSetupByOrgStructureDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 2, 2, 1, 2)
        self.cmbEventType = CRBComboBox(ReportSetupByOrgStructureDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 7, 2, 1, 2)
        self.chkPresenceInTariffs = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkPresenceInTariffs.setChecked(True)
        self.chkPresenceInTariffs.setObjectName(
            _fromUtf8("chkPresenceInTariffs"))
        self.gridLayout.addWidget(self.chkPresenceInTariffs, 20, 2, 1, 1)
        self.chkPatientInfo = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkPatientInfo.setObjectName(_fromUtf8("chkPatientInfo"))
        self.gridLayout.addWidget(self.chkPatientInfo, 20, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout.addWidget(self.chkStatus, 5, 0, 1, 2)
        self.chkOnlyClientAsPersonInLPU = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkOnlyClientAsPersonInLPU.setObjectName(
            _fromUtf8("chkOnlyClientAsPersonInLPU"))
        self.gridLayout.addWidget(self.chkOnlyClientAsPersonInLPU, 25, 0, 1, 3)
        self.lblFinance = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 1)
        self.lblContract = QtGui.QLabel(ReportSetupByOrgStructureDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 2, 0, 1, 2)
        self.chkOutputByOrgStructure = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkOutputByOrgStructure.setObjectName(
            _fromUtf8("chkOutputByOrgStructure"))
        self.gridLayout.addWidget(self.chkOutputByOrgStructure, 15, 0, 1, 1)
        self.chkNotContract = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkNotContract.setObjectName(_fromUtf8("chkNotContract"))
        self.gridLayout.addWidget(self.chkNotContract, 1, 0, 1, 1)
        self.chkDetailServiceTypes = QtGui.QCheckBox(
            ReportSetupByOrgStructureDialog)
        self.chkDetailServiceTypes.setObjectName(
            _fromUtf8("chkDetailServiceTypes"))
        self.gridLayout.addWidget(self.chkDetailServiceTypes, 24, 0, 1, 1)
        self.gbDateInterval = QtGui.QGroupBox(ReportSetupByOrgStructureDialog)
        self.gbDateInterval.setObjectName(_fromUtf8("gbDateInterval"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbDateInterval)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.rbtnByActionEndDate = QtGui.QRadioButton(self.gbDateInterval)
        self.rbtnByActionEndDate.setChecked(True)
        self.rbtnByActionEndDate.setObjectName(
            _fromUtf8("rbtnByActionEndDate"))
        self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 1, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 3, 3, 1, 1)
        self.lblBegDate = QtGui.QLabel(self.gbDateInterval)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 1, 0, 1, 2)
        self.edtBegDate = CDateEdit(self.gbDateInterval)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_2.addWidget(self.edtBegDate, 1, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(self.gbDateInterval)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 3, 0, 1, 2)
        self.rbtnByFormingAccountDate = QtGui.QRadioButton(self.gbDateInterval)
        self.rbtnByFormingAccountDate.setChecked(False)
        self.rbtnByFormingAccountDate.setObjectName(
            _fromUtf8("rbtnByFormingAccountDate"))
        self.gridLayout_2.addWidget(self.rbtnByFormingAccountDate, 0, 0, 1, 1)
        self.edtEndDate = CDateEdit(self.gbDateInterval)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_2.addWidget(self.edtEndDate, 3, 2, 1, 1)
        self.lblBegDate.raise_()
        self.lblEndDate.raise_()
        self.rbtnByFormingAccountDate.raise_()
        self.rbtnByActionEndDate.raise_()
        self.edtBegDate.raise_()
        self.edtEndDate.raise_()
        self.gridLayout.addWidget(self.gbDateInterval, 0, 0, 1, 4)
        self.chkShowClient = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkShowClient.setObjectName(_fromUtf8("chkShowClient"))
        self.gridLayout.addWidget(self.chkShowClient, 16, 0, 1, 1)
        self.chkShowDates = QtGui.QCheckBox(ReportSetupByOrgStructureDialog)
        self.chkShowDates.setChecked(True)
        self.chkShowDates.setObjectName(_fromUtf8("chkShowDates"))
        self.gridLayout.addWidget(self.chkShowDates, 16, 2, 1, 1)
        self.lstServiceTypes = QtGui.QListView(ReportSetupByOrgStructureDialog)
        self.lstServiceTypes.setMinimumSize(QtCore.QSize(0, 75))
        self.lstServiceTypes.setMaximumSize(QtCore.QSize(16777215, 130))
        self.lstServiceTypes.setEditTriggers(
            QtGui.QAbstractItemView.NoEditTriggers)
        self.lstServiceTypes.setSelectionMode(
            QtGui.QAbstractItemView.MultiSelection)
        self.lstServiceTypes.setObjectName(_fromUtf8("lstServiceTypes"))
        self.gridLayout.addWidget(self.lstServiceTypes, 24, 2, 1, 2)
        self.lblReportType.setBuddy(self.cmbReportType)
        self.lblFinance.setBuddy(self.cmbFinance)
        self.lblContract.setBuddy(self.cmbContract)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ReportSetupByOrgStructureDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportSetupByOrgStructureDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportSetupByOrgStructureDialog.reject)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkOrgStructure,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkClientAgeCategory,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbClientAgeCategory.setEnabled)
        QtCore.QObject.connect(self.chkOnlyDiscountPayment,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkOnlyStaffRelative.setEnabled)
        QtCore.QObject.connect(self.chkAssistant,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistant.setEnabled)
        QtCore.QObject.connect(self.chkAssistant,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPerson.setDisabled)
        QtCore.QObject.connect(self.chkAssistant,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblPerson.setDisabled)
        QtCore.QObject.connect(self.chkAssistant,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantPost.setEnabled)
        QtCore.QObject.connect(self.chkPerson,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkPost.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ReportSetupByOrgStructureDialog)
        ReportSetupByOrgStructureDialog.setTabOrder(self.cmbContract,
                                                    self.cmbFinance)
        ReportSetupByOrgStructureDialog.setTabOrder(self.cmbFinance,
                                                    self.chkStatus)
        ReportSetupByOrgStructureDialog.setTabOrder(self.chkStatus,
                                                    self.cmbStatus)
        ReportSetupByOrgStructureDialog.setTabOrder(self.cmbStatus,
                                                    self.chkOrgStructure)
        ReportSetupByOrgStructureDialog.setTabOrder(self.chkOrgStructure,
                                                    self.cmbOrgStructure)
        ReportSetupByOrgStructureDialog.setTabOrder(self.cmbOrgStructure,
                                                    self.cmbReportType)
        ReportSetupByOrgStructureDialog.setTabOrder(self.cmbReportType,
                                                    self.chkAllOrgStructure)
        ReportSetupByOrgStructureDialog.setTabOrder(self.chkAllOrgStructure,
                                                    self.buttonBox)

    def retranslateUi(self, ReportSetupByOrgStructureDialog):
        ReportSetupByOrgStructureDialog.setWindowTitle(
            _translate("ReportSetupByOrgStructureDialog", "Dialog", None))
        self.chkOrgStructure.setText(
            _translate("ReportSetupByOrgStructureDialog", "Подразделение",
                       None))
        self.lblEventType.setText(
            _translate("ReportSetupByOrgStructureDialog", "Тип обращения",
                       None))
        self.cmbClientAgeCategory.setItemText(
            0,
            _translate("ReportSetupByOrgStructureDialog",
                       "Дети от 0 до 17 лет", None))
        self.cmbClientAgeCategory.setItemText(
            1,
            _translate("ReportSetupByOrgStructureDialog", "Взрослые от 18 лет",
                       None))
        self.chkGroupByPatient.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Группировать по пациентам", None))
        self.chkOnlyDiscountPayment.setText(
            _translate("ReportSetupByOrgStructureDialog", "Оплата со скидкой",
                       None))
        self.cmbReportType.setItemText(
            0,
            _translate("ReportSetupByOrgStructureDialog",
                       "отделениям выполнившего действие врача", None))
        self.cmbReportType.setItemText(
            1,
            _translate("ReportSetupByOrgStructureDialog",
                       "отделениям за которым закреплено действие", None))
        self.chkRefused.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Исключение отмененных услуг", None))
        self.chkAllOrgStructure.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Учитывать все возможные подразделения", None))
        self.chkPerson.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Группировать по врачу/ассистенту", None))
        self.chkClientAgeCategory.setText(
            _translate("ReportSetupByOrgStructureDialog", "Возраст пациента",
                       None))
        self.chkAssistant.setText(
            _translate("ReportSetupByOrgStructureDialog", "Ассистент в услуге",
                       None))
        self.chkOnlyStaffRelative.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Родственники сотрудников", None))
        self.chkPost.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Выводить должность врача/ассистента", None))
        self.lblAssistantPost.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Должность ассистента", None))
        self.lblAssistant.setText(
            _translate("ReportSetupByOrgStructureDialog", "Ассистент", None))
        self.lblReportType.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Формировать отчет по", None))
        self.chkPresenceInTariffs.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Проверять наличие услуги в тарифах", None))
        self.chkPatientInfo.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Информация о пациенте", None))
        self.chkStatus.setText(
            _translate("ReportSetupByOrgStructureDialog", "Статус", None))
        self.chkOnlyClientAsPersonInLPU.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Только пациенты сотрудники учереждения", None))
        self.lblFinance.setText(
            _translate("ReportSetupByOrgStructureDialog", "Тип финансирования",
                       None))
        self.lblPerson.setText(
            _translate("ReportSetupByOrgStructureDialog", "Врач", None))
        self.lblContract.setText(
            _translate("ReportSetupByOrgStructureDialog", "Контракт", None))
        self.chkOutputByOrgStructure.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Выводить по отделениям", None))
        self.chkNotContract.setText(
            _translate("ReportSetupByOrgStructureDialog", "Без контракта",
                       None))
        self.chkDetailServiceTypes.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Детализировать виды услуг", None))
        self.gbDateInterval.setTitle(
            _translate("ReportSetupByOrgStructureDialog", "Период", None))
        self.rbtnByActionEndDate.setText(
            _translate("ReportSetupByOrgStructureDialog", "выполнения услуги",
                       None))
        self.lblBegDate.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportSetupByOrgStructureDialog",
                       "Дата &окончания периода", None))
        self.rbtnByFormingAccountDate.setText(
            _translate("ReportSetupByOrgStructureDialog", "формирования счета",
                       None))
        self.chkShowClient.setText(
            _translate("ReportSetupByOrgStructureDialog", "Выводить пациента",
                       None))
        self.chkShowDates.setText(
            _translate("ReportSetupByOrgStructureDialog", "Выводить даты",
                       None))
Ejemplo n.º 3
0
class Ui_ReportClientActionsSetupDialog(object):
    def setupUi(self, ReportClientActionsSetupDialog):
        ReportClientActionsSetupDialog.setObjectName(
            _fromUtf8("ReportClientActionsSetupDialog"))
        ReportClientActionsSetupDialog.resize(577, 676)
        self.gridLayout = QtGui.QGridLayout(ReportClientActionsSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grpClient = QtGui.QGroupBox(ReportClientActionsSetupDialog)
        self.grpClient.setFlat(False)
        self.grpClient.setCheckable(False)
        self.grpClient.setChecked(False)
        self.grpClient.setObjectName(_fromUtf8("grpClient"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpClient)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblLastName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLastName.sizePolicy().hasHeightForWidth())
        self.lblLastName.setSizePolicy(sizePolicy)
        self.lblLastName.setObjectName(_fromUtf8("lblLastName"))
        self.gridLayout_2.addWidget(self.lblLastName, 1, 0, 1, 1)
        self.edtLastName = QtGui.QLineEdit(self.grpClient)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout_2.addWidget(self.edtLastName, 1, 1, 1, 7)
        self.lblFirstName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFirstName.sizePolicy().hasHeightForWidth())
        self.lblFirstName.setSizePolicy(sizePolicy)
        self.lblFirstName.setObjectName(_fromUtf8("lblFirstName"))
        self.gridLayout_2.addWidget(self.lblFirstName, 2, 0, 1, 1)
        self.edtFirstName = QtGui.QLineEdit(self.grpClient)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout_2.addWidget(self.edtFirstName, 2, 1, 1, 7)
        self.lblPatrName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPatrName.sizePolicy().hasHeightForWidth())
        self.lblPatrName.setSizePolicy(sizePolicy)
        self.lblPatrName.setObjectName(_fromUtf8("lblPatrName"))
        self.gridLayout_2.addWidget(self.lblPatrName, 3, 0, 1, 1)
        self.edtPatrName = QtGui.QLineEdit(self.grpClient)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout_2.addWidget(self.edtPatrName, 3, 1, 1, 7)
        self.lblBirthDate = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBirthDate.sizePolicy().hasHeightForWidth())
        self.lblBirthDate.setSizePolicy(sizePolicy)
        self.lblBirthDate.setObjectName(_fromUtf8("lblBirthDate"))
        self.gridLayout_2.addWidget(self.lblBirthDate, 4, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBirthDate.sizePolicy().hasHeightForWidth())
        self.edtBirthDate.setSizePolicy(sizePolicy)
        self.edtBirthDate.setCalendarPopup(True)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout_2.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(221, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 4, 2, 1, 6)
        self.lblDocument = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDocument.sizePolicy().hasHeightForWidth())
        self.lblDocument.setSizePolicy(sizePolicy)
        self.lblDocument.setObjectName(_fromUtf8("lblDocument"))
        self.gridLayout_2.addWidget(self.lblDocument, 5, 0, 1, 1)
        self.cmbDocType = CRBComboBox(self.grpClient)
        self.cmbDocType.setObjectName(_fromUtf8("cmbDocType"))
        self.gridLayout_2.addWidget(self.cmbDocType, 5, 1, 1, 1)
        self.lblSerial = QtGui.QLabel(self.grpClient)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout_2.addWidget(self.lblSerial, 5, 2, 1, 1)
        self.edtLeftSerial = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeftSerial.sizePolicy().hasHeightForWidth())
        self.edtLeftSerial.setSizePolicy(sizePolicy)
        self.edtLeftSerial.setObjectName(_fromUtf8("edtLeftSerial"))
        self.gridLayout_2.addWidget(self.edtLeftSerial, 5, 3, 1, 1)
        self.edtRightSerial = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtRightSerial.sizePolicy().hasHeightForWidth())
        self.edtRightSerial.setSizePolicy(sizePolicy)
        self.edtRightSerial.setObjectName(_fromUtf8("edtRightSerial"))
        self.gridLayout_2.addWidget(self.edtRightSerial, 5, 4, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpClient)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_2.addWidget(self.lblNumber, 5, 5, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_2.addWidget(self.edtNumber, 5, 6, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 5, 7, 1, 1)
        self.lblCompulsoryPolicy = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCompulsoryPolicy.sizePolicy().hasHeightForWidth())
        self.lblCompulsoryPolicy.setSizePolicy(sizePolicy)
        self.lblCompulsoryPolicy.setObjectName(
            _fromUtf8("lblCompulsoryPolicy"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolicy, 6, 0, 1, 1)
        self.cmbPolicyType = CRBComboBox(self.grpClient)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.gridLayout_2.addWidget(self.cmbPolicyType, 6, 1, 1, 1)
        self.lblCompulsoryPolisSerial = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisSerial.setObjectName(
            _fromUtf8("lblCompulsoryPolisSerial"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisSerial, 6, 2, 1, 1)
        self.edtPolicySerial = CPolicySerialEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicySerial.sizePolicy().hasHeightForWidth())
        self.edtPolicySerial.setSizePolicy(sizePolicy)
        self.edtPolicySerial.setObjectName(_fromUtf8("edtPolicySerial"))
        self.gridLayout_2.addWidget(self.edtPolicySerial, 6, 3, 1, 2)
        self.lblCompulsoryPolisNumber = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisNumber.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblCompulsoryPolisNumber.setObjectName(
            _fromUtf8("lblCompulsoryPolisNumber"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisNumber, 6, 5, 1, 1)
        self.edtPolicyNumber = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyNumber.sizePolicy().hasHeightForWidth())
        self.edtPolicyNumber.setSizePolicy(sizePolicy)
        self.edtPolicyNumber.setObjectName(_fromUtf8("edtPolicyNumber"))
        self.gridLayout_2.addWidget(self.edtPolicyNumber, 6, 6, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 6, 7, 1, 1)
        self.lblCompulsoryPolisCompany = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisCompany.setObjectName(
            _fromUtf8("lblCompulsoryPolisCompany"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisCompany, 7, 2, 1, 1)
        self.cmbPolicyCompany = CInsurerComboBox(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPolicyCompany.sizePolicy().hasHeightForWidth())
        self.cmbPolicyCompany.setSizePolicy(sizePolicy)
        self.cmbPolicyCompany.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbPolicyCompany.setObjectName(_fromUtf8("cmbPolicyCompany"))
        self.gridLayout_2.addWidget(self.cmbPolicyCompany, 7, 3, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem3, 7, 7, 1, 1)
        self.lblContact = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContact.sizePolicy().hasHeightForWidth())
        self.lblContact.setSizePolicy(sizePolicy)
        self.lblContact.setObjectName(_fromUtf8("lblContact"))
        self.gridLayout_2.addWidget(self.lblContact, 8, 0, 1, 1)
        self.edtContact = QtGui.QLineEdit(self.grpClient)
        self.edtContact.setObjectName(_fromUtf8("edtContact"))
        self.gridLayout_2.addWidget(self.edtContact, 8, 1, 1, 7)
        self.chkClientCode = QtGui.QCheckBox(self.grpClient)
        self.chkClientCode.setObjectName(_fromUtf8("chkClientCode"))
        self.gridLayout_2.addWidget(self.chkClientCode, 0, 0, 1, 1)
        self.edtClientCode = QtGui.QLineEdit(self.grpClient)
        self.edtClientCode.setEnabled(False)
        self.edtClientCode.setObjectName(_fromUtf8("edtClientCode"))
        self.gridLayout_2.addWidget(self.edtClientCode, 0, 1, 1, 3)
        self.cmbAccountingSystem = CRBComboBox(self.grpClient)
        self.cmbAccountingSystem.setEnabled(False)
        self.cmbAccountingSystem.setObjectName(
            _fromUtf8("cmbAccountingSystem"))
        self.gridLayout_2.addWidget(self.cmbAccountingSystem, 0, 4, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem4, 0, 6, 1, 2)
        self.gridLayout.addWidget(self.grpClient, 3, 0, 1, 5)
        self.lblActionDateType = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblActionDateType.sizePolicy().hasHeightForWidth())
        self.lblActionDateType.setSizePolicy(sizePolicy)
        self.lblActionDateType.setObjectName(_fromUtf8("lblActionDateType"))
        self.gridLayout.addWidget(self.lblActionDateType, 4, 0, 1, 1)
        self.cmbActionDateType = QtGui.QComboBox(
            ReportClientActionsSetupDialog)
        self.cmbActionDateType.setObjectName(_fromUtf8("cmbActionDateType"))
        self.cmbActionDateType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbActionDateType, 4, 1, 1, 3)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 4, 4, 1, 1)
        self.lblDate = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 5, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportClientActionsSetupDialog)
        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.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 5, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportClientActionsSetupDialog)
        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.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 5, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 5, 4, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportClientActionsSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 5)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem7, 9, 3, 1, 1)
        self.lblContract = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContract.sizePolicy().hasHeightForWidth())
        self.lblContract.setSizePolicy(sizePolicy)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 7, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportClientActionsSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 7, 1, 1, 4)
        self.lblFinance = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFinance.sizePolicy().hasHeightForWidth())
        self.lblFinance.setSizePolicy(sizePolicy)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 6, 0, 1, 1)
        self.lblResultType = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblResultType.sizePolicy().hasHeightForWidth())
        self.lblResultType.setSizePolicy(sizePolicy)
        self.lblResultType.setObjectName(_fromUtf8("lblResultType"))
        self.gridLayout.addWidget(self.lblResultType, 0, 0, 1, 1)
        self.cmbResultType = QtGui.QComboBox(ReportClientActionsSetupDialog)
        self.cmbResultType.setObjectName(_fromUtf8("cmbResultType"))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbResultType, 0, 1, 1, 3)
        self.chkDetailDateAndPersonCode = QtGui.QCheckBox(
            ReportClientActionsSetupDialog)
        self.chkDetailDateAndPersonCode.setObjectName(
            _fromUtf8("chkDetailDateAndPersonCode"))
        self.gridLayout.addWidget(self.chkDetailDateAndPersonCode, 1, 0, 1, 4)
        self.chkOnlyAccounting = QtGui.QCheckBox(
            ReportClientActionsSetupDialog)
        self.chkOnlyAccounting.setObjectName(_fromUtf8("chkOnlyAccounting"))
        self.gridLayout.addWidget(self.chkOnlyAccounting, 2, 0, 1, 3)
        self.lblOrgStructure = QtGui.QLabel(ReportClientActionsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportClientActionsSetupDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 4)
        self.cmbFinance = CRBComboBox(ReportClientActionsSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 6, 1, 1, 4)
        self.lblLastName.setBuddy(self.edtLastName)
        self.lblFirstName.setBuddy(self.edtFirstName)
        self.lblCompulsoryPolicy.setBuddy(self.edtPolicySerial)
        self.lblCompulsoryPolisSerial.setBuddy(self.edtPolicySerial)
        self.lblCompulsoryPolisNumber.setBuddy(self.edtPolicyNumber)
        self.lblCompulsoryPolisCompany.setBuddy(self.cmbPolicyCompany)

        self.retranslateUi(ReportClientActionsSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportClientActionsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportClientActionsSetupDialog.reject)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtClientCode.setEnabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbAccountingSystem.setEnabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLastName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFirstName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPatrName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBirthDate.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbDocType.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLeftSerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtRightSerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtNumber.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyType.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPolicySerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPolicyNumber.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyCompany.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtContact.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportClientActionsSetupDialog)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbResultType,
                                                   self.chkClientCode)
        ReportClientActionsSetupDialog.setTabOrder(self.chkClientCode,
                                                   self.edtClientCode)
        ReportClientActionsSetupDialog.setTabOrder(self.edtClientCode,
                                                   self.cmbAccountingSystem)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbAccountingSystem,
                                                   self.edtLastName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtLastName,
                                                   self.edtFirstName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtFirstName,
                                                   self.edtPatrName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPatrName,
                                                   self.edtBirthDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtBirthDate,
                                                   self.cmbDocType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbDocType,
                                                   self.edtLeftSerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtLeftSerial,
                                                   self.edtRightSerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtRightSerial,
                                                   self.edtNumber)
        ReportClientActionsSetupDialog.setTabOrder(self.edtNumber,
                                                   self.cmbPolicyType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbPolicyType,
                                                   self.edtPolicySerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPolicySerial,
                                                   self.edtPolicyNumber)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPolicyNumber,
                                                   self.cmbPolicyCompany)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbPolicyCompany,
                                                   self.edtContact)
        ReportClientActionsSetupDialog.setTabOrder(self.edtContact,
                                                   self.cmbActionDateType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbActionDateType,
                                                   self.edtBegDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtBegDate,
                                                   self.edtEndDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtEndDate,
                                                   self.cmbFinance)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbFinance,
                                                   self.cmbContract)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbContract,
                                                   self.buttonBox)

    def retranslateUi(self, ReportClientActionsSetupDialog):
        ReportClientActionsSetupDialog.setWindowTitle(
            _translate("ReportClientActionsSetupDialog", "Dialog", None))
        self.grpClient.setTitle(
            _translate("ReportClientActionsSetupDialog", "Пациент", None))
        self.lblLastName.setText(
            _translate("ReportClientActionsSetupDialog", "Фамилия", None))
        self.lblFirstName.setText(
            _translate("ReportClientActionsSetupDialog", "Имя", None))
        self.lblPatrName.setText(
            _translate("ReportClientActionsSetupDialog", "Отчество", None))
        self.lblBirthDate.setText(
            _translate("ReportClientActionsSetupDialog", "Дата рождения",
                       None))
        self.edtBirthDate.setDisplayFormat(
            _translate("ReportClientActionsSetupDialog", "dd.MM.yyyy", None))
        self.lblDocument.setText(
            _translate("ReportClientActionsSetupDialog", "Документ", None))
        self.lblSerial.setText(
            _translate("ReportClientActionsSetupDialog", "Серия", None))
        self.lblNumber.setText(
            _translate("ReportClientActionsSetupDialog", "Номер", None))
        self.lblCompulsoryPolicy.setText(
            _translate("ReportClientActionsSetupDialog", "Полис", None))
        self.lblCompulsoryPolisSerial.setText(
            _translate("ReportClientActionsSetupDialog", "Серия", None))
        self.lblCompulsoryPolisNumber.setText(
            _translate("ReportClientActionsSetupDialog", "Номер", None))
        self.lblCompulsoryPolisCompany.setText(
            _translate("ReportClientActionsSetupDialog", "СМО", None))
        self.lblContact.setText(
            _translate("ReportClientActionsSetupDialog", "Контакт", None))
        self.chkClientCode.setText(
            _translate("ReportClientActionsSetupDialog", "Код", None))
        self.lblActionDateType.setText(
            _translate("ReportClientActionsSetupDialog", "Тип даты действия",
                       None))
        self.cmbActionDateType.setItemText(
            0,
            _translate("ReportClientActionsSetupDialog", "Возможные типы дат",
                       None))
        self.lblDate.setText(
            _translate("ReportClientActionsSetupDialog", "Период", None))
        self.lblContract.setText(
            _translate("ReportClientActionsSetupDialog", "Контракт", None))
        self.lblFinance.setText(
            _translate("ReportClientActionsSetupDialog", "Тип финансирования",
                       None))
        self.lblResultType.setText(
            _translate("ReportClientActionsSetupDialog", "Результат", None))
        self.cmbResultType.setItemText(
            0, _translate("ReportClientActionsSetupDialog", "Отчет", None))
        self.cmbResultType.setItemText(
            1, _translate("ReportClientActionsSetupDialog", "Реестр", None))
        self.cmbResultType.setItemText(
            2,
            _translate("ReportClientActionsSetupDialog",
                       "Реестр услуг с датами выполнения", None))
        self.chkDetailDateAndPersonCode.setText(
            _translate("ReportClientActionsSetupDialog",
                       "Выводить дату оказания и исполнителя услуги", None))
        self.chkOnlyAccounting.setText(
            _translate("ReportClientActionsSetupDialog", "Только по счетам",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportClientActionsSetupDialog", "Подразделение",
                       None))
Ejemplo n.º 4
0
class Ui_ExposedServicesReportsSetupDialog(object):
    def setupUi(self, ExposedServicesReportsSetupDialog):
        ExposedServicesReportsSetupDialog.setObjectName(_fromUtf8("ExposedServicesReportsSetupDialog"))
        ExposedServicesReportsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ExposedServicesReportsSetupDialog.resize(397, 218)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ExposedServicesReportsSetupDialog.sizePolicy().hasHeightForWidth())
        ExposedServicesReportsSetupDialog.setSizePolicy(sizePolicy)
        ExposedServicesReportsSetupDialog.setMinimumSize(QtCore.QSize(397, 218))
        ExposedServicesReportsSetupDialog.setMaximumSize(QtCore.QSize(397, 218))
        ExposedServicesReportsSetupDialog.setSizeGripEnabled(False)
        self.gridLayout = QtGui.QGridLayout(ExposedServicesReportsSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grbPeriod = QtGui.QGroupBox(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grbPeriod.sizePolicy().hasHeightForWidth())
        self.grbPeriod.setSizePolicy(sizePolicy)
        self.grbPeriod.setMaximumSize(QtCore.QSize(16777215, 70))
        self.grbPeriod.setObjectName(_fromUtf8("grbPeriod"))
        self.edtBegDate = CDateEdit(self.grbPeriod)
        self.edtBegDate.setGeometry(QtCore.QRect(143, 18, 121, 20))
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.lblEndDate = QtGui.QLabel(self.grbPeriod)
        self.lblEndDate.setGeometry(QtCore.QRect(10, 42, 129, 20))
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.edtEndDate = CDateEdit(self.grbPeriod)
        self.edtEndDate.setGeometry(QtCore.QRect(143, 42, 121, 20))
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.lblBegDate = QtGui.QLabel(self.grbPeriod)
        self.lblBegDate.setGeometry(QtCore.QRect(10, 18, 129, 20))
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.grbPeriod, 0, 1, 1, 1)
        self.wgtCommon = QtGui.QWidget(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wgtCommon.sizePolicy().hasHeightForWidth())
        self.wgtCommon.setSizePolicy(sizePolicy)
        self.wgtCommon.setMaximumSize(QtCore.QSize(400, 100))
        self.wgtCommon.setObjectName(_fromUtf8("wgtCommon"))
        self.gridLayoutWidget_2 = QtGui.QWidget(self.wgtCommon)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(10, 0, 371, 100))
        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblContract = QtGui.QLabel(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblContract.sizePolicy().hasHeightForWidth())
        self.lblContract.setSizePolicy(sizePolicy)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout_3.addWidget(self.lblContract, 2, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.gridLayoutWidget_2)
        self.lblOrgStructure.setEnabled(True)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_3.addWidget(self.lblOrgStructure, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.gridLayoutWidget_2)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_3.addWidget(self.cmbOrgStructure, 0, 1, 1, 1)
        self.cmbContract = CContractComboBox(self.gridLayoutWidget_2)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout_3.addWidget(self.cmbContract, 2, 1, 1, 1)
        self.lblFinance = QtGui.QLabel(self.gridLayoutWidget_2)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout_3.addWidget(self.lblFinance, 1, 0, 1, 1)
        self.cmbFinance = CRBComboBox(self.gridLayoutWidget_2)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout_3.addWidget(self.cmbFinance, 1, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.gridLayoutWidget_2)
        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.setMinimumSize(QtCore.QSize(0, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_3.addWidget(self.cmbEventType, 3, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout_3.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.gridLayout.addWidget(self.wgtCommon, 5, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 7, 1, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, ExposedServicesReportsSetupDialog):
        ExposedServicesReportsSetupDialog.setWindowTitle(_translate("ExposedServicesReportsSetupDialog", "Параметры отчёта", None))
        self.grbPeriod.setTitle(_translate("ExposedServicesReportsSetupDialog", "Период", None))
        self.lblEndDate.setText(_translate("ExposedServicesReportsSetupDialog", "Дата &окончания периода", None))
        self.lblBegDate.setText(_translate("ExposedServicesReportsSetupDialog", "Дата &начала периода", None))
        self.lblContract.setText(_translate("ExposedServicesReportsSetupDialog", "Договор", None))
        self.lblOrgStructure.setText(_translate("ExposedServicesReportsSetupDialog", "Подразделение", None))
        self.lblFinance.setText(_translate("ExposedServicesReportsSetupDialog", "Тип финансирования", None))
        self.lblEventType.setText(_translate("ExposedServicesReportsSetupDialog", "Тип события", None))
Ejemplo n.º 5
0
class Ui_ReportContractsRegistrySetupDialog(object):
    def setupUi(self, ReportContractsRegistrySetupDialog):
        ReportContractsRegistrySetupDialog.setObjectName(
            _fromUtf8("ReportContractsRegistrySetupDialog"))
        ReportContractsRegistrySetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportContractsRegistrySetupDialog.resize(390, 300)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportContractsRegistrySetupDialog.
                                     sizePolicy().hasHeightForWidth())
        ReportContractsRegistrySetupDialog.setSizePolicy(sizePolicy)
        ReportContractsRegistrySetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportContractsRegistrySetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtBegDate = CDateEdit(ReportContractsRegistrySetupDialog)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.edtBegTime = CTimeEdit(ReportContractsRegistrySetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 2, 1, 1, 1)
        self.lblBegTime = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblBegTime.setObjectName(_fromUtf8("lblBegTime"))
        self.gridLayout.addWidget(self.lblBegTime, 2, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportContractsRegistrySetupDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.edtEndTime = CTimeEdit(ReportContractsRegistrySetupDialog)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 4, 1, 1, 1)
        self.lblEndTime = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblEndTime.setObjectName(_fromUtf8("lblEndTime"))
        self.gridLayout.addWidget(self.lblEndTime, 4, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportContractsRegistrySetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 1)
        self.lblContract = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 6, 0, 1, 1)
        self.cmbContract = CContractComboBox(
            ReportContractsRegistrySetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 6, 1, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.cmbPerson = CPersonComboBox(ReportContractsRegistrySetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 8, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportContractsRegistrySetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 8, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportContractsRegistrySetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 9, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportContractsRegistrySetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 9, 1, 1, 1)
        self.lblVisitPayStatus = QtGui.QLabel(
            ReportContractsRegistrySetupDialog)
        self.lblVisitPayStatus.setObjectName(_fromUtf8("lblVisitPayStatus"))
        self.gridLayout.addWidget(self.lblVisitPayStatus, 10, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 10, 1, 1, 1)
        self.cmbVisitPayStatus = QtGui.QComboBox(
            ReportContractsRegistrySetupDialog)
        self.cmbVisitPayStatus.setMinimumSize(QtCore.QSize(252, 0))
        self.cmbVisitPayStatus.setObjectName(_fromUtf8("cmbVisitPayStatus"))
        self.cmbVisitPayStatus.addItem(_fromUtf8(""))
        self.cmbVisitPayStatus.addItem(_fromUtf8(""))
        self.cmbVisitPayStatus.addItem(_fromUtf8(""))
        self.cmbVisitPayStatus.addItem(_fromUtf8(""))
        self.cmbVisitPayStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbVisitPayStatus, 10, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportContractsRegistrySetupDialog)
        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, 12, 0, 1, 2)

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

    def retranslateUi(self, ReportContractsRegistrySetupDialog):
        ReportContractsRegistrySetupDialog.setWindowTitle(
            _translate("ReportContractsRegistrySetupDialog", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Дата начала периода", None))
        self.lblBegTime.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Время начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Дата окончания периода", None))
        self.lblEndTime.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Время окончания периода", None))
        self.lblOrgStructure.setText(
            _translate("ReportContractsRegistrySetupDialog", "Подразделение",
                       None))
        self.lblContract.setText(
            _translate("ReportContractsRegistrySetupDialog", "Договор", None))
        self.lblPerson.setText(
            _translate("ReportContractsRegistrySetupDialog", "Исполнитель",
                       None))
        self.lblFinance.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Тип финансирования", None))
        self.lblEventType.setText(
            _translate("ReportContractsRegistrySetupDialog", "Тип обращения",
                       None))
        self.lblVisitPayStatus.setText(
            _translate("ReportContractsRegistrySetupDialog",
                       "Флаг Финансирования", None))
        self.cmbVisitPayStatus.setItemText(
            0,
            _translate("ReportContractsRegistrySetupDialog", "не задано",
                       None))
        self.cmbVisitPayStatus.setItemText(
            1,
            _translate("ReportContractsRegistrySetupDialog", "не выставлено",
                       None))
        self.cmbVisitPayStatus.setItemText(
            2,
            _translate("ReportContractsRegistrySetupDialog", "выставлено",
                       None))
        self.cmbVisitPayStatus.setItemText(
            3,
            _translate("ReportContractsRegistrySetupDialog", "отказано", None))
        self.cmbVisitPayStatus.setItemText(
            4,
            _translate("ReportContractsRegistrySetupDialog", "оплачено", None))
Ejemplo n.º 6
0
class Ui_ReportRecommendations(object):
    def setupUi(self, ReportRecommendations):
        ReportRecommendations.setObjectName(_fromUtf8("ReportRecommendations"))
        ReportRecommendations.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportRecommendations.resize(436, 193)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportRecommendations.sizePolicy().hasHeightForWidth())
        ReportRecommendations.setSizePolicy(sizePolicy)
        ReportRecommendations.setSizeGripEnabled(True)
        ReportRecommendations.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportRecommendations)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportRecommendations)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportRecommendations)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportRecommendations)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 0, 1, 5)
        self.buttonBox = QtGui.QDialogButtonBox(ReportRecommendations)
        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, 9, 0, 1, 5)
        self.chkExtendedReport = QtGui.QCheckBox(ReportRecommendations)
        self.chkExtendedReport.setObjectName(_fromUtf8("chkExtendedReport"))
        self.gridLayout.addWidget(self.chkExtendedReport, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportRecommendations)
        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, 2, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportRecommendations)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.edtBegDate = CDateEdit(ReportRecommendations)
        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, 2, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportRecommendations)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 2, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 3, 3, 1, 1)
        self.lblContract = QtGui.QLabel(ReportRecommendations)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 4, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportRecommendations)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 4, 2, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportRecommendations)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 2, 1, 2)
        self.cmbEventType = CRBComboBox(ReportRecommendations)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 2, 1, 2)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegDate_2.setBuddy(self.edtBegDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportRecommendations):
        ReportRecommendations.setWindowTitle(
            _translate("ReportRecommendations", "параметры отчёта", None))
        self.lblEndDate.setText(_translate("ReportRecommendations", "по",
                                           None))
        self.lblEventType.setText(
            _translate("ReportRecommendations", "&Тип обращения", None))
        self.lblOrgStructure.setText(
            _translate("ReportRecommendations", "Подразделение направителя",
                       None))
        self.chkExtendedReport.setText(
            _translate("ReportRecommendations", "Подробный отчет", None))
        self.lblBegDate_2.setText(
            _translate("ReportRecommendations", "Дата выдачи направления:",
                       None))
        self.lblBegDate.setText(_translate("ReportRecommendations", "с", None))
        self.lblContract.setText(
            _translate("ReportRecommendations", "Договор", None))
Ejemplo n.º 7
0
class Ui_ReportControlPaymentAmount(object):
    def setupUi(self, ReportControlPaymentAmount):
        ReportControlPaymentAmount.setObjectName(
            _fromUtf8("ReportControlPaymentAmount"))
        ReportControlPaymentAmount.resize(428, 318)
        self.verticalLayout = QtGui.QVBoxLayout(ReportControlPaymentAmount)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.lblBegDate = QtGui.QLabel(ReportControlPaymentAmount)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole,
                                  self.lblBegDate)
        self.edtBegDate = CDateEdit(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       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.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.edtBegDate)
        self.lblEndDate = QtGui.QLabel(ReportControlPaymentAmount)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole,
                                  self.lblEndDate)
        self.edtEndDate = CDateEdit(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       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.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.edtEndDate)
        self.label = QtGui.QLabel(ReportControlPaymentAmount)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label)
        self.cmbFinance = CRBComboBox(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFinance.sizePolicy().hasHeightForWidth())
        self.cmbFinance.setSizePolicy(sizePolicy)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.cmbFinance)
        self.label_2 = QtGui.QLabel(ReportControlPaymentAmount)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.SpanningRole,
                                  self.label_2)
        self.label_3 = QtGui.QLabel(ReportControlPaymentAmount)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbContract = CContractComboBox(ReportControlPaymentAmount)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.cmbContract)
        self.verticalLayout.addLayout(self.formLayout)
        self.tblNumbers = CTableView(ReportControlPaymentAmount)
        self.tblNumbers.setObjectName(_fromUtf8("tblNumbers"))
        self.verticalLayout.addWidget(self.tblNumbers)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(ReportControlPaymentAmount)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportControlPaymentAmount):
        ReportControlPaymentAmount.setWindowTitle(
            _translate("ReportControlPaymentAmount", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportControlPaymentAmount", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("ReportControlPaymentAmount", "Дата окончания периода",
                       None))
        self.label.setText(
            _translate("ReportControlPaymentAmount", "Тип финансирования",
                       None))
        self.label_2.setText(
            _translate("ReportControlPaymentAmount",
                       "Реестры с расчетными датами", None))
        self.label_3.setText(
            _translate("ReportControlPaymentAmount", "Договор", None))
Ejemplo n.º 8
0
class Ui_ReportOrgByDoctorSetupDialog(object):
    def setupUi(self, ReportOrgByDoctorSetupDialog):
        ReportOrgByDoctorSetupDialog.setObjectName(
            _fromUtf8("ReportOrgByDoctorSetupDialog"))
        ReportOrgByDoctorSetupDialog.resize(400, 203)
        self.formLayout = QtGui.QFormLayout(ReportOrgByDoctorSetupDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.edtBegDate = CDateEdit(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.edtBegDate)
        self.label_2 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.edtEndDate = CDateEdit(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.edtEndDate)
        self.label_3 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbOrganisation = COrgComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrganisation.sizePolicy().hasHeightForWidth())
        self.cmbOrganisation.setSizePolicy(sizePolicy)
        self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.cmbOrganisation)
        self.label_4 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.cmbOrgStruct = COrgStructureComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStruct.sizePolicy().hasHeightForWidth())
        self.cmbOrgStruct.setSizePolicy(sizePolicy)
        self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.cmbOrgStruct)
        self.label_5 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.cmbContract = CContractComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbContract.sizePolicy().hasHeightForWidth())
        self.cmbContract.setSizePolicy(sizePolicy)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.cmbContract)
        spacerItem = QtGui.QSpacerItem(290, 0, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.formLayout.setItem(6, QtGui.QFormLayout.FieldRole, spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(ReportOrgByDoctorSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole,
                                  self.buttonBox)
        self.cmbPerson = CPersonComboBoxEx(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       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.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole,
                                  self.cmbPerson)
        self.label_6 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)

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

    def retranslateUi(self, ReportOrgByDoctorSetupDialog):
        ReportOrgByDoctorSetupDialog.setWindowTitle(
            _translate("ReportOrgByDoctorSetupDialog", "Dialog", None))
        self.label.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Дата начала", None))
        self.label_2.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Дата окончания", None))
        self.label_3.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Плательщик", None))
        self.label_4.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Подразделение", None))
        self.label_5.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Договор", None))
        self.label_6.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Сотрудник", None))
class Ui_ReportLogbookHospitalizationSetupDialog(object):
    def setupUi(self, ReportLogbookHospitalizationSetupDialog):
        ReportLogbookHospitalizationSetupDialog.setObjectName(
            _fromUtf8("ReportLogbookHospitalizationSetupDialog"))
        ReportLogbookHospitalizationSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportLogbookHospitalizationSetupDialog.resize(305, 324)
        ReportLogbookHospitalizationSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(
            ReportLogbookHospitalizationSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtDiapTo = QtGui.QLineEdit(
            ReportLogbookHospitalizationSetupDialog)
        self.edtDiapTo.setObjectName(_fromUtf8("edtDiapTo"))
        self.gridLayout.addWidget(self.edtDiapTo, 4, 0, 1, 1)
        self.lblDiap = QtGui.QLabel(ReportLogbookHospitalizationSetupDialog)
        self.lblDiap.setObjectName(_fromUtf8("lblDiap"))
        self.gridLayout.addWidget(self.lblDiap, 0, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportLogbookHospitalizationSetupDialog)
        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, 12, 0, 1, 1)
        self.lblPrefix = QtGui.QLabel(ReportLogbookHospitalizationSetupDialog)
        self.lblPrefix.setObjectName(_fromUtf8("lblPrefix"))
        self.gridLayout.addWidget(self.lblPrefix, 5, 0, 1, 1)
        self.edtPrefix = QtGui.QLineEdit(
            ReportLogbookHospitalizationSetupDialog)
        self.edtPrefix.setObjectName(_fromUtf8("edtPrefix"))
        self.gridLayout.addWidget(self.edtPrefix, 6, 0, 1, 1)
        self.lblDiapTo = QtGui.QLabel(ReportLogbookHospitalizationSetupDialog)
        self.lblDiapTo.setObjectName(_fromUtf8("lblDiapTo"))
        self.gridLayout.addWidget(self.lblDiapTo, 3, 0, 1, 1)
        self.edtDiapFrom = QtGui.QLineEdit(
            ReportLogbookHospitalizationSetupDialog)
        self.edtDiapFrom.setObjectName(_fromUtf8("edtDiapFrom"))
        self.gridLayout.addWidget(self.edtDiapFrom, 2, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.lblDiapFrom = QtGui.QLabel(
            ReportLogbookHospitalizationSetupDialog)
        self.lblDiapFrom.setObjectName(_fromUtf8("lblDiapFrom"))
        self.gridLayout.addWidget(self.lblDiapFrom, 1, 0, 1, 1)
        self.cmbContract = CContractComboBox(
            ReportLogbookHospitalizationSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbContract.sizePolicy().hasHeightForWidth())
        self.cmbContract.setSizePolicy(sizePolicy)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 8, 0, 1, 1)
        self.lblContract = QtGui.QLabel(
            ReportLogbookHospitalizationSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 7, 0, 1, 1)
        self.label = QtGui.QLabel(ReportLogbookHospitalizationSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 9, 0, 1, 1)
        self.cmbResult = CRBComboBox(ReportLogbookHospitalizationSetupDialog)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.gridLayout.addWidget(self.cmbResult, 10, 0, 1, 1)

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

    def retranslateUi(self, ReportLogbookHospitalizationSetupDialog):
        ReportLogbookHospitalizationSetupDialog.setWindowTitle(
            _translate("ReportLogbookHospitalizationSetupDialog",
                       "параметры отчёта", None))
        self.lblDiap.setText(
            _translate("ReportLogbookHospitalizationSetupDialog",
                       "Диапазон номеров истории болезни:", None))
        self.lblPrefix.setText(
            _translate("ReportLogbookHospitalizationSetupDialog", "Префикс",
                       None))
        self.lblDiapTo.setText(
            _translate("ReportLogbookHospitalizationSetupDialog", "до", None))
        self.lblDiapFrom.setText(
            _translate("ReportLogbookHospitalizationSetupDialog", "от", None))
        self.lblContract.setText(
            _translate("ReportLogbookHospitalizationSetupDialog", "Договор",
                       None))
        self.label.setText(
            _translate("ReportLogbookHospitalizationSetupDialog", "Результат",
                       None))
Ejemplo n.º 10
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))
class Ui_ReportAnalizeBillOnDirectionSetup(object):
    def setupUi(self, ReportAnalizeBillOnDirectionSetup):
        ReportAnalizeBillOnDirectionSetup.setObjectName(
            _fromUtf8("ReportAnalizeBillOnDirectionSetup"))
        ReportAnalizeBillOnDirectionSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportAnalizeBillOnDirectionSetup.resize(283, 181)
        ReportAnalizeBillOnDirectionSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAnalizeBillOnDirectionSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtEndDate = CDateEdit(ReportAnalizeBillOnDirectionSetup)
        self.edtEndDate.setEnabled(True)
        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(ReportAnalizeBillOnDirectionSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportAnalizeBillOnDirectionSetup)
        self.edtBegDate.setEnabled(True)
        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.lblEventType = QtGui.QLabel(ReportAnalizeBillOnDirectionSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbPerson = CPersonComboBox(ReportAnalizeBillOnDirectionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       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.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblBegDae = QtGui.QLabel(ReportAnalizeBillOnDirectionSetup)
        self.lblBegDae.setObjectName(_fromUtf8("lblBegDae"))
        self.gridLayout.addWidget(self.lblBegDae, 0, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportAnalizeBillOnDirectionSetup)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportAnalizeBillOnDirectionSetup)
        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, 11, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAnalizeBillOnDirectionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       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, 6, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportAnalizeBillOnDirectionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.lblSubdivision = QtGui.QLabel(ReportAnalizeBillOnDirectionSetup)
        self.lblSubdivision.setObjectName(_fromUtf8("lblSubdivision"))
        self.gridLayout.addWidget(self.lblSubdivision, 3, 0, 1, 1)
        self.label = QtGui.QLabel(ReportAnalizeBillOnDirectionSetup)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 8, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportAnalizeBillOnDirectionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbContract.sizePolicy().hasHeightForWidth())
        self.cmbContract.setSizePolicy(sizePolicy)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 8, 1, 1, 2)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegDae.setBuddy(self.edtBegDate)

        self.retranslateUi(ReportAnalizeBillOnDirectionSetup)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportAnalizeBillOnDirectionSetup.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportAnalizeBillOnDirectionSetup.reject)
        QtCore.QMetaObject.connectSlotsByName(
            ReportAnalizeBillOnDirectionSetup)
        ReportAnalizeBillOnDirectionSetup.setTabOrder(self.edtBegDate,
                                                      self.edtEndDate)
        ReportAnalizeBillOnDirectionSetup.setTabOrder(self.edtEndDate,
                                                      self.buttonBox)

    def retranslateUi(self, ReportAnalizeBillOnDirectionSetup):
        ReportAnalizeBillOnDirectionSetup.setWindowTitle(
            _translate("ReportAnalizeBillOnDirectionSetup", "параметры отчёта",
                       None))
        self.lblEndDate.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "Дата окончания",
                       None))
        self.lblEventType.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "&Тип обращения",
                       None))
        self.lblBegDae.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "Дата начала",
                       None))
        self.lblPerson.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "Врач", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportAnalizeBillOnDirectionSetup",
                "<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.lblSubdivision.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "Подразделение",
                       None))
        self.label.setText(
            _translate("ReportAnalizeBillOnDirectionSetup", "Договор", None))
Ejemplo n.º 12
0
class Ui_ReportRegisterContractsSetupDialog(object):
    def setupUi(self, ReportRegisterContractsSetupDialog):
        ReportRegisterContractsSetupDialog.setObjectName(_fromUtf8("ReportRegisterContractsSetupDialog"))
        ReportRegisterContractsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportRegisterContractsSetupDialog.resize(390, 277)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportRegisterContractsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportRegisterContractsSetupDialog.setSizePolicy(sizePolicy)
        ReportRegisterContractsSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportRegisterContractsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblFinanceType = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblFinanceType.setObjectName(_fromUtf8("lblFinanceType"))
        self.gridLayout.addWidget(self.lblFinanceType, 4, 0, 1, 1)
        self.lblContract = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 3, 0, 1, 1)
        self.edtEndDate = QtGui.QDateEdit(ReportRegisterContractsSetupDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 2, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 2, 0, 1, 1)
        self.edtBegDate = QtGui.QDateEdit(ReportRegisterContractsSetupDialog)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportRegisterContractsSetupDialog)
        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, 9, 0, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 5, 0, 1, 1)
        self.cmbFinanceType = CRBComboBox(ReportRegisterContractsSetupDialog)
        self.cmbFinanceType.setObjectName(_fromUtf8("cmbFinanceType"))
        self.gridLayout.addWidget(self.cmbFinanceType, 4, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportRegisterContractsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 1)
        self.cmbContract = CContractComboBox(ReportRegisterContractsSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 3, 1, 1, 1)
        self.cmbEventType = CRBComboBox(ReportRegisterContractsSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 5, 1, 1, 1)
        self.lblDateSortType = QtGui.QLabel(ReportRegisterContractsSetupDialog)
        self.lblDateSortType.setObjectName(_fromUtf8("lblDateSortType"))
        self.gridLayout.addWidget(self.lblDateSortType, 7, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.btnToMonth = QtGui.QRadioButton(ReportRegisterContractsSetupDialog)
        self.btnToMonth.setChecked(True)
        self.btnToMonth.setObjectName(_fromUtf8("btnToMonth"))
        self.horizontalLayout.addWidget(self.btnToMonth)
        self.btnToDay = QtGui.QRadioButton(ReportRegisterContractsSetupDialog)
        self.btnToDay.setObjectName(_fromUtf8("btnToDay"))
        self.horizontalLayout.addWidget(self.btnToDay)
        self.gridLayout.addLayout(self.horizontalLayout, 7, 1, 1, 1)

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

    def retranslateUi(self, ReportRegisterContractsSetupDialog):
        ReportRegisterContractsSetupDialog.setWindowTitle(_translate("ReportRegisterContractsSetupDialog", "параметры отчёта", None))
        self.lblFinanceType.setText(_translate("ReportRegisterContractsSetupDialog", "Тип финансирования", None))
        self.lblContract.setText(_translate("ReportRegisterContractsSetupDialog", "Договор", None))
        self.lblEndDate.setText(_translate("ReportRegisterContractsSetupDialog", "Дата окончания периода", None))
        self.lblBegDate.setText(_translate("ReportRegisterContractsSetupDialog", "Дата начала периода", None))
        self.lblOrgStructure.setText(_translate("ReportRegisterContractsSetupDialog", "Подразделение", None))
        self.lblEventType.setText(_translate("ReportRegisterContractsSetupDialog", "Тип обращения", None))
        self.lblDateSortType.setText(_translate("ReportRegisterContractsSetupDialog", "Выводить по", None))
        self.btnToMonth.setText(_translate("ReportRegisterContractsSetupDialog", "месяцам", None))
        self.btnToDay.setText(_translate("ReportRegisterContractsSetupDialog", "дням", None))
Ejemplo n.º 13
0
class Ui_MUOMSOFSetupDialog(object):
    def setupUi(self, MUOMSOFSetupDialog):
        MUOMSOFSetupDialog.setObjectName(_fromUtf8("MUOMSOFSetupDialog"))
        MUOMSOFSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        MUOMSOFSetupDialog.resize(339, 354)
        MUOMSOFSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(MUOMSOFSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(MUOMSOFSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(MUOMSOFSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 2, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(MUOMSOFSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 2, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.cmbEventType = CRBComboBox(MUOMSOFSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(MUOMSOFSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 1, 1, 2)
        self.lblSpeciality = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 5, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(MUOMSOFSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 5, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(MUOMSOFSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 6, 1, 1, 2)
        self.lblContract = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 7, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(MUOMSOFSetupDialog)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 8, 1, 1, 2)
        self.lblInsurer = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblInsurer.setObjectName(_fromUtf8("lblInsurer"))
        self.gridLayout.addWidget(self.lblInsurer, 8, 0, 1, 1)
        self.lblGroupType = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblGroupType.setObjectName(_fromUtf8("lblGroupType"))
        self.gridLayout.addWidget(self.lblGroupType, 11, 0, 1, 1)
        self.cmbGroupType = QtGui.QComboBox(MUOMSOFSetupDialog)
        self.cmbGroupType.setObjectName(_fromUtf8("cmbGroupType"))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbGroupType, 11, 1, 1, 2)
        self.cmbContracts = CContractComboBox(MUOMSOFSetupDialog)
        self.cmbContracts.setObjectName(_fromUtf8("cmbContracts"))
        self.gridLayout.addWidget(self.cmbContracts, 7, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(MUOMSOFSetupDialog)
        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)
        spacerItem2 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 12, 0, 1, 1)
        self.lblSex = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(MUOMSOFSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        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)
        self.lblAge = QtGui.QLabel(MUOMSOFSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 10, 0, 1, 1)
        self.frmAge = QtGui.QFrame(MUOMSOFSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self._2 = QtGui.QHBoxLayout(self.frmAge)
        self._2.setSpacing(4)
        self._2.setMargin(0)
        self._2.setObjectName(_fromUtf8("_2"))
        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._2.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self._2.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._2.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self._2.addWidget(self.lblAgeYears)
        spacerItem3 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem3)
        self.gridLayout.addWidget(self.frmAge, 10, 1, 1, 2)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblContract.setBuddy(self.cmbContracts)
        self.lblInsurer.setBuddy(self.cmbInsurer)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)

        self.retranslateUi(MUOMSOFSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               MUOMSOFSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               MUOMSOFSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(MUOMSOFSetupDialog)
        MUOMSOFSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        MUOMSOFSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventPurpose)
        MUOMSOFSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType)
        MUOMSOFSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure)
        MUOMSOFSetupDialog.setTabOrder(self.cmbOrgStructure,
                                       self.cmbSpeciality)
        MUOMSOFSetupDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        MUOMSOFSetupDialog.setTabOrder(self.cmbPerson, self.cmbContracts)
        MUOMSOFSetupDialog.setTabOrder(self.cmbContracts, self.cmbInsurer)
        MUOMSOFSetupDialog.setTabOrder(self.cmbInsurer, self.cmbSex)
        MUOMSOFSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        MUOMSOFSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        MUOMSOFSetupDialog.setTabOrder(self.edtAgeTo, self.cmbGroupType)
        MUOMSOFSetupDialog.setTabOrder(self.cmbGroupType, self.buttonBox)

    def retranslateUi(self, MUOMSOFSetupDialog):
        MUOMSOFSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "MUOMSOFSetupDialog",
                "<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, QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "&Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblContract.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "Договор", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblInsurer.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "СМО", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroupType.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "Группировать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            0,
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "Не группировать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            1,
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "По профилю события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            2,
            QtGui.QApplication.translate("MUOMSOFSetupDialog",
                                         "По типу события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "По&л", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "Во&зраст с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeYears.setText(
            QtGui.QApplication.translate("MUOMSOFSetupDialog", "лет", None,
                                         QtGui.QApplication.UnicodeUTF8))