class Ui_HospitalBedsLocationCardEditor(object):
    def setupUi(self, HospitalBedsLocationCardEditor):
        HospitalBedsLocationCardEditor.setObjectName(
            _fromUtf8("HospitalBedsLocationCardEditor"))
        HospitalBedsLocationCardEditor.resize(411, 138)
        HospitalBedsLocationCardEditor.setSizeGripEnabled(False)
        self.gridLayout = QtGui.QGridLayout(HospitalBedsLocationCardEditor)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbLocationCardType = CRBComboBox(HospitalBedsLocationCardEditor)
        self.cmbLocationCardType.setObjectName(
            _fromUtf8("cmbLocationCardType"))
        self.gridLayout.addWidget(self.cmbLocationCardType, 0, 1, 1, 1)
        self.lblLocationCardType = QtGui.QLabel(HospitalBedsLocationCardEditor)
        self.lblLocationCardType.setObjectName(
            _fromUtf8("lblLocationCardType"))
        self.gridLayout.addWidget(self.lblLocationCardType, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HospitalBedsLocationCardEditor)
        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, 4, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(103, 16, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
        self.lblDateMoveCard = QtGui.QLabel(HospitalBedsLocationCardEditor)
        self.lblDateMoveCard.setObjectName(_fromUtf8("lblDateMoveCard"))
        self.gridLayout.addWidget(self.lblDateMoveCard, 1, 0, 1, 1)
        self.edtDateMoveCard = CDateEdit(HospitalBedsLocationCardEditor)
        self.edtDateMoveCard.setObjectName(_fromUtf8("edtDateMoveCard"))
        self.gridLayout.addWidget(self.edtDateMoveCard, 1, 1, 1, 1)
        self.lblDateReturnCard = QtGui.QLabel(HospitalBedsLocationCardEditor)
        self.lblDateReturnCard.setObjectName(_fromUtf8("lblDateReturnCard"))
        self.gridLayout.addWidget(self.lblDateReturnCard, 2, 0, 1, 1)
        self.edtDateReturnCard = CDateEdit(HospitalBedsLocationCardEditor)
        self.edtDateReturnCard.setObjectName(_fromUtf8("edtDateReturnCard"))
        self.gridLayout.addWidget(self.edtDateReturnCard, 2, 1, 1, 1)

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

    def retranslateUi(self, HospitalBedsLocationCardEditor):
        HospitalBedsLocationCardEditor.setWindowTitle(
            _translate("HospitalBedsLocationCardEditor",
                       "Место нахождения истории болезни", None))
        self.lblLocationCardType.setText(
            _translate("HospitalBedsLocationCardEditor",
                       "Место нахождения истории болезни", None))
        self.lblDateMoveCard.setText(
            _translate("HospitalBedsLocationCardEditor",
                       "Дата перемещения истории болезни", None))
        self.lblDateReturnCard.setText(
            _translate("HospitalBedsLocationCardEditor",
                       "Дата возврата истории болезни", None))
class Ui_CancellationReasonDialog(object):
    def setupUi(self, CancellationReasonDialog):
        CancellationReasonDialog.setObjectName(_fromUtf8("CancellationReasonDialog"))
        CancellationReasonDialog.resize(283, 68)
        self.gridLayout = QtGui.QGridLayout(CancellationReasonDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCancellationReason = QtGui.QLabel(CancellationReasonDialog)
        self.lblCancellationReason.setObjectName(_fromUtf8("lblCancellationReason"))
        self.gridLayout.addWidget(self.lblCancellationReason, 0, 0, 1, 1)
        self.cmbReason = CRBComboBox(CancellationReasonDialog)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridLayout.addWidget(self.cmbReason, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(CancellationReasonDialog)
        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, 1, 0, 1, 2)

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

    def retranslateUi(self, CancellationReasonDialog):
        CancellationReasonDialog.setWindowTitle(_translate("CancellationReasonDialog", "Причина аннулирования", None))
        self.lblCancellationReason.setText(_translate("CancellationReasonDialog", "Причина аннулирования:", None))
Exemple #3
0
class CRBPrintDialog(CSimplePrintDialog):
    u"""Выбор элемента из справочника
    var - код элемента
    или объект класса, если этот класс задан"""
    def __init__(self, title, table, class_=None, combo=None, default=None):
        CSimplePrintDialog.__init__(self, title, 200, 100, default)
        self.class_ = class_
        if combo:
            self.comboBox = combo(self)
        else:
            self.comboBox = CRBComboBox(self)
            self.comboBox.setTable(table)
        self.comboBox.setObjectName("comboBox")
        self.verticalLayout.insertWidget(0, self.comboBox)

    def getId(self):
        return self.comboBox.value()

    def getCode(self):
        return self.comboBox.code()

    def getName(self):
        return self.comboBox.model().getName(self.comboBox.currentIndex())

    def saveData(self):
        if self.class_:
            self.var = self.context.getInstance(self.class_, self.getId())
        else:
            self.var = self.getCode()
        return True
class Ui_LocationCardEditor(object):
    def setupUi(self, LocationCardEditor):
        LocationCardEditor.setObjectName(_fromUtf8("LocationCardEditor"))
        LocationCardEditor.resize(374, 84)
        LocationCardEditor.setSizeGripEnabled(False)
        self.gridLayout = QtGui.QGridLayout(LocationCardEditor)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(103, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(LocationCardEditor)
        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, 2, 0, 1, 2)
        self.label = QtGui.QLabel(LocationCardEditor)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.cmbLocationCardType = CRBComboBox(LocationCardEditor)
        self.cmbLocationCardType.setObjectName(_fromUtf8("cmbLocationCardType"))
        self.gridLayout.addWidget(self.cmbLocationCardType, 0, 1, 1, 1)

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

    def retranslateUi(self, LocationCardEditor):
        LocationCardEditor.setWindowTitle(QtGui.QApplication.translate("LocationCardEditor", "Место нахождения амбулаторной карты", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("LocationCardEditor", "Место нахождения амбулаторной карты", None, QtGui.QApplication.UnicodeUTF8))
Exemple #5
0
class Ui_StatusObservationClientEditor(object):
    def setupUi(self, StatusObservationClientEditor):
        StatusObservationClientEditor.setObjectName(_fromUtf8("StatusObservationClientEditor"))
        StatusObservationClientEditor.resize(374, 84)
        StatusObservationClientEditor.setSizeGripEnabled(False)
        self.gridLayout = QtGui.QGridLayout(StatusObservationClientEditor)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(103, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StatusObservationClientEditor)
        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, 2, 0, 1, 2)
        self.label = QtGui.QLabel(StatusObservationClientEditor)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.cmbStatusObservationType = CRBComboBox(StatusObservationClientEditor)
        self.cmbStatusObservationType.setObjectName(_fromUtf8("cmbStatusObservationType"))
        self.gridLayout.addWidget(self.cmbStatusObservationType, 0, 1, 1, 1)

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

    def retranslateUi(self, StatusObservationClientEditor):
        StatusObservationClientEditor.setWindowTitle(QtGui.QApplication.translate("StatusObservationClientEditor", "Статус наблюдения пациента", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("StatusObservationClientEditor", "Статус наблюдения пациента", None, QtGui.QApplication.UnicodeUTF8))
Exemple #6
0
class Ui_RBTestGroupEditor(object):
    def setupUi(self, RBTestGroupEditor):
        RBTestGroupEditor.setObjectName(_fromUtf8("RBTestGroupEditor"))
        RBTestGroupEditor.resize(400, 140)
        RBTestGroupEditor.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(RBTestGroupEditor)
        self.gridLayout.setMargin(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblName = QtGui.QLabel(RBTestGroupEditor)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 0, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(RBTestGroupEditor)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 0, 1, 1, 1)
        self.lblCode = QtGui.QLabel(RBTestGroupEditor)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 1, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(RBTestGroupEditor)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 1, 1, 1, 1)
        self.lblGroup = QtGui.QLabel(RBTestGroupEditor)
        self.lblGroup.setObjectName(_fromUtf8("lblGroup"))
        self.gridLayout.addWidget(self.lblGroup, 2, 0, 1, 1)
        self.cmbGroup = CRBComboBox(RBTestGroupEditor)
        self.cmbGroup.setObjectName(_fromUtf8("cmbGroup"))
        self.gridLayout.addWidget(self.cmbGroup, 2, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(RBTestGroupEditor)
        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, 4, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)

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

    def retranslateUi(self, RBTestGroupEditor):
        RBTestGroupEditor.setWindowTitle(
            QtGui.QApplication.translate("RBTestGroupEditor", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblName.setText(
            QtGui.QApplication.translate("RBTestGroupEditor", "Наименование",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblCode.setText(
            QtGui.QApplication.translate("RBTestGroupEditor", "Код", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroup.setText(
            QtGui.QApplication.translate("RBTestGroupEditor", "Группа", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_ReportUnclosedEventsSetupDialog(object):
    def setupUi(self, ReportUnclosedEventsSetupDialog):
        ReportUnclosedEventsSetupDialog.setObjectName(_fromUtf8("ReportUnclosedEventsSetupDialog"))
        ReportUnclosedEventsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportUnclosedEventsSetupDialog.resize(397, 135)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportUnclosedEventsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportUnclosedEventsSetupDialog.setSizePolicy(sizePolicy)
        ReportUnclosedEventsSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportUnclosedEventsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportUnclosedEventsSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportUnclosedEventsSetupDialog)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportUnclosedEventsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportUnclosedEventsSetupDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportUnclosedEventsSetupDialog)
        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.cmbEventType = CRBComboBox(ReportUnclosedEventsSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportUnclosedEventsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.lblEventType.setBuddy(self.cmbEventType)

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

    def retranslateUi(self, ReportUnclosedEventsSetupDialog):
        ReportUnclosedEventsSetupDialog.setWindowTitle(_translate("ReportUnclosedEventsSetupDialog", "параметры отчёта", None))
        self.lblBegDate.setText(_translate("ReportUnclosedEventsSetupDialog", "Дата начала периода", None))
        self.lblEndDate.setText(_translate("ReportUnclosedEventsSetupDialog", "Дата окончания периода", None))
        self.lblEventType.setText(_translate("ReportUnclosedEventsSetupDialog", "&Тип обращения", None))
Exemple #8
0
class Ui_TestComboBoxPopupForm(object):
    def setupUi(self, TestComboBoxPopupForm):
        TestComboBoxPopupForm.setObjectName(_fromUtf8("TestComboBoxPopupForm"))
        TestComboBoxPopupForm.resize(491, 331)
        self.gridLayout = QtGui.QGridLayout(TestComboBoxPopupForm)
        self.gridLayout.setContentsMargins(1, 2, 1, 1)
        self.gridLayout.setHorizontalSpacing(1)
        self.gridLayout.setVerticalSpacing(2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbTestGroup = CRBComboBox(TestComboBoxPopupForm)
        self.cmbTestGroup.setObjectName(_fromUtf8("cmbTestGroup"))
        self.gridLayout.addWidget(self.cmbTestGroup, 0, 1, 1, 1)
        self.tblTests = CRBPopupView(TestComboBoxPopupForm)
        self.tblTests.setObjectName(_fromUtf8("tblTests"))
        self.gridLayout.addWidget(self.tblTests, 1, 0, 1, 2)
        self.lblTestGroup = QtGui.QLabel(TestComboBoxPopupForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTestGroup.sizePolicy().hasHeightForWidth())
        self.lblTestGroup.setSizePolicy(sizePolicy)
        self.lblTestGroup.setObjectName(_fromUtf8("lblTestGroup"))
        self.gridLayout.addWidget(self.lblTestGroup, 0, 0, 1, 1)

        self.retranslateUi(TestComboBoxPopupForm)
        QtCore.QMetaObject.connectSlotsByName(TestComboBoxPopupForm)

    def retranslateUi(self, TestComboBoxPopupForm):
        TestComboBoxPopupForm.setWindowTitle(
            QtGui.QApplication.translate("TestComboBoxPopupForm", "Form", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblTestGroup.setText(
            QtGui.QApplication.translate("TestComboBoxPopupForm", "Группа",
                                         None, QtGui.QApplication.UnicodeUTF8))
class Ui_StationaryF14DCSetupDialog(object):
    def setupUi(self, StationaryF14DCSetupDialog):
        StationaryF14DCSetupDialog.setObjectName(
            _fromUtf8("StationaryF14DCSetupDialog"))
        StationaryF14DCSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        StationaryF14DCSetupDialog.resize(438, 313)
        StationaryF14DCSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryF14DCSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbEventType = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 10, 1, 1, 3)
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 13, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryF14DCSetupDialog)
        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, 4)
        self.edtEndDate = CDateEdit(StationaryF14DCSetupDialog)
        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.chkGroupingForMES = QtGui.QCheckBox(StationaryF14DCSetupDialog)
        self.chkGroupingForMES.setObjectName(_fromUtf8("chkGroupingForMES"))
        self.gridLayout.addWidget(self.chkGroupingForMES, 6, 1, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            StationaryF14DCSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 3)
        self.lblEndDate = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 2, 1, 2)
        self.lblGroupMES = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblGroupMES.setObjectName(_fromUtf8("lblGroupMES"))
        self.gridLayout.addWidget(self.lblGroupMES, 7, 0, 1, 1)
        self.cmbGroupMES = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbGroupMES.setEnabled(False)
        self.cmbGroupMES.setObjectName(_fromUtf8("cmbGroupMES"))
        self.gridLayout.addWidget(self.cmbGroupMES, 7, 1, 1, 3)
        self.edtBegDate = CDateEdit(StationaryF14DCSetupDialog)
        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.lblBegDate = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.label = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 10, 0, 1, 1)
        self.lblMes = QtGui.QLabel(StationaryF14DCSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 8, 0, 1, 1)
        self.cmbMes = CMESComboBox(StationaryF14DCSetupDialog)
        self.cmbMes.setEnabled(False)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 8, 1, 1, 3)
        self.lblOrder = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 4, 0, 1, 1)
        self.cmbOrder = QtGui.QComboBox(StationaryF14DCSetupDialog)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrder, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 9, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 9, 1, 1, 3)
        self.cmbDurationType = QtGui.QComboBox(StationaryF14DCSetupDialog)
        self.cmbDurationType.setObjectName(_fromUtf8("cmbDurationType"))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbDurationType, 11, 1, 1, 3)
        self.lblDurationType = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblDurationType.setObjectName(_fromUtf8("lblDurationType"))
        self.gridLayout.addWidget(self.lblDurationType, 11, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(StationaryF14DCSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryF14DCSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryF14DCSetupDialog.reject)
        QtCore.QObject.connect(self.chkGroupingForMES,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbGroupMES.setEnabled)
        QtCore.QObject.connect(self.chkGroupingForMES,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMes.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(StationaryF14DCSetupDialog)
        StationaryF14DCSetupDialog.setTabOrder(self.edtBegDate,
                                               self.edtEndDate)
        StationaryF14DCSetupDialog.setTabOrder(self.edtEndDate,
                                               self.cmbOrgStructure)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbOrgStructure,
                                               self.chkGroupingForMES)
        StationaryF14DCSetupDialog.setTabOrder(self.chkGroupingForMES,
                                               self.cmbGroupMES)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbGroupMES, self.cmbMes)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbMes, self.buttonBox)

    def retranslateUi(self, StationaryF14DCSetupDialog):
        StationaryF14DCSetupDialog.setWindowTitle(
            _translate("StationaryF14DCSetupDialog", "параметры отчёта", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF14DCSetupDialog", "dd.MM.yyyy", None))
        self.chkGroupingForMES.setText(
            _translate("StationaryF14DCSetupDialog", "Учитывать МЭС", None))
        self.lblEndDate.setText(
            _translate("StationaryF14DCSetupDialog", "Дата &окончания периода",
                       None))
        self.lblOrgStructure.setText(
            _translate("StationaryF14DCSetupDialog", "&Подразделение", None))
        self.lblGroupMES.setText(
            _translate("StationaryF14DCSetupDialog", "Группа МЭС", None))
        self.edtBegDate.setDisplayFormat(
            _translate("StationaryF14DCSetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("StationaryF14DCSetupDialog", "Дата &начала периода",
                       None))
        self.label.setText(
            _translate("StationaryF14DCSetupDialog", "Тип обращения", None))
        self.lblMes.setText(
            _translate("StationaryF14DCSetupDialog", "МЭС", None))
        self.lblOrder.setText(
            _translate("StationaryF14DCSetupDialog", "Порядок", None))
        self.cmbOrder.setItemText(
            1, _translate("StationaryF14DCSetupDialog", "Плановый", None))
        self.cmbOrder.setItemText(
            2, _translate("StationaryF14DCSetupDialog", "Экстренный", None))
        self.cmbOrder.setItemText(
            3, _translate("StationaryF14DCSetupDialog", "Самотеком", None))
        self.cmbOrder.setItemText(
            4, _translate("StationaryF14DCSetupDialog", "Принудительный",
                          None))
        self.label_2.setText(
            _translate("StationaryF14DCSetupDialog", "Назначение", None))
        self.cmbDurationType.setItemText(
            0,
            _translate("StationaryF14DCSetupDialog", "по количеству посещений",
                       None))
        self.cmbDurationType.setItemText(
            1,
            _translate("StationaryF14DCSetupDialog",
                       "по количеству дней в обращении", None))
        self.cmbDurationType.setItemText(
            2,
            _translate("StationaryF14DCSetupDialog",
                       "по количеству рабочих дней в обращении", None))
        self.lblDurationType.setText(
            _translate("StationaryF14DCSetupDialog", "Считать длительность",
                       None))
class Ui_ReportDDStudentsInfoSetupDialog(object):
    def setupUi(self, ReportDDStudentsInfoSetupDialog):
        ReportDDStudentsInfoSetupDialog.setObjectName(
            _fromUtf8("ReportDDStudentsInfoSetupDialog"))
        ReportDDStudentsInfoSetupDialog.resize(468, 460)
        self.layoutWidget = QtGui.QWidget(ReportDDStudentsInfoSetupDialog)
        self.layoutWidget.setGeometry(QtCore.QRect(11, 11, 446, 443))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkPodtver = QtGui.QCheckBox(self.layoutWidget)
        self.chkPodtver.setObjectName(_fromUtf8("chkPodtver"))
        self.gridLayout.addWidget(self.chkPodtver, 4, 0, 1, 3)
        self.lblEndDatePodtver = QtGui.QLabel(self.layoutWidget)
        self.lblEndDatePodtver.setEnabled(False)
        self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver"))
        self.gridLayout.addWidget(self.lblEndDatePodtver, 7, 0, 1, 4)
        self.edtEndDatePodtver = CDateEdit(self.layoutWidget)
        self.edtEndDatePodtver.setEnabled(False)
        self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver"))
        self.gridLayout.addWidget(self.edtEndDatePodtver, 7, 4, 1, 3)
        self.lblBegDatePodtver = QtGui.QLabel(self.layoutWidget)
        self.lblBegDatePodtver.setEnabled(False)
        self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver"))
        self.gridLayout.addWidget(self.lblBegDatePodtver, 6, 0, 1, 3)
        self.edtBegDatePodtver = CDateEdit(self.layoutWidget)
        self.edtBegDatePodtver.setEnabled(False)
        self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver"))
        self.gridLayout.addWidget(self.edtBegDatePodtver, 6, 4, 1, 3)
        self.lblAge = QtGui.QLabel(self.layoutWidget)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 3, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.layoutWidget)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 10, 3, 1, 4)
        self.cmbOrgStructure = COrgStructureComboBox(self.layoutWidget)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 9, 3, 1, 4)
        self.cmbRefuseType = CRBComboBox(self.layoutWidget)
        self.cmbRefuseType.setEnabled(False)
        self.cmbRefuseType.setObjectName(_fromUtf8("cmbRefuseType"))
        self.gridLayout.addWidget(self.cmbRefuseType, 8, 4, 1, 3)
        self.lblEndDate = QtGui.QLabel(self.layoutWidget)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 3)
        self.lblPerson = QtGui.QLabel(self.layoutWidget)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 10, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(self.layoutWidget)
        self.cmbWorkOrganisation.setEnabled(True)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 11, 3, 1, 3)
        self.lblPodtver = QtGui.QLabel(self.layoutWidget)
        self.lblPodtver.setEnabled(False)
        self.lblPodtver.setObjectName(_fromUtf8("lblPodtver"))
        self.gridLayout.addWidget(self.lblPodtver, 5, 0, 1, 1)
        self.lblSex = QtGui.QLabel(self.layoutWidget)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 2, 0, 1, 1)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(self.layoutWidget)
        self.btnSelectWorkOrganisation.setEnabled(True)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 11, 6, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 17, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 12, 5, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget)
        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, 3, 1, 3)
        self.frmAge_2 = QtGui.QFrame(self.layoutWidget)
        self.frmAge_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge_2.setObjectName(_fromUtf8("frmAge_2"))
        self._2 = QtGui.QHBoxLayout(self.frmAge_2)
        self._2.setSpacing(4)
        self._2.setMargin(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge_2)
        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_2)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self._2.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge_2)
        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_2)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self._2.addWidget(self.lblAgeYears)
        spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem1)
        self.gridLayout.addWidget(self.frmAge_2, 3, 3, 1, 4)
        self.lblRefuseType = QtGui.QLabel(self.layoutWidget)
        self.lblRefuseType.setEnabled(False)
        self.lblRefuseType.setObjectName(_fromUtf8("lblRefuseType"))
        self.gridLayout.addWidget(self.lblRefuseType, 8, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.layoutWidget)
        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, 2, 3, 1, 4)
        self.edtEndDate = CDateEdit(self.layoutWidget)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 4)
        self.edtBegDate = CDateEdit(self.layoutWidget)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 4)
        self.cmbPodtver = QtGui.QComboBox(self.layoutWidget)
        self.cmbPodtver.setEnabled(False)
        self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver"))
        self.gridLayout.addWidget(self.cmbPodtver, 5, 4, 1, 3)
        self.lblWorkOrganisation = QtGui.QLabel(self.layoutWidget)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 11, 0, 1, 2)
        self.lblBegDate = QtGui.QLabel(self.layoutWidget)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 3)
        self.lblOrgStructure = QtGui.QLabel(self.layoutWidget)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 9, 0, 1, 3)
        self.lblEndDatePodtver.setBuddy(self.edtEndDatePodtver)
        self.lblBegDatePodtver.setBuddy(self.edtBegDatePodtver)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblPodtver.setBuddy(self.cmbPodtver)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblRefuseType.setBuddy(self.cmbRefuseType)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(ReportDDStudentsInfoSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportDDStudentsInfoSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportDDStudentsInfoSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportDDStudentsInfoSetupDialog)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.buttonBox,
                                                    self.edtBegDate)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtBegDate,
                                                    self.edtEndDate)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtEndDate,
                                                    self.cmbSex)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbSex,
                                                    self.edtAgeFrom)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtAgeFrom,
                                                    self.edtAgeTo)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtAgeTo,
                                                    self.chkPodtver)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.chkPodtver,
                                                    self.cmbPodtver)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbPodtver,
                                                    self.edtBegDatePodtver)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtBegDatePodtver,
                                                    self.edtEndDatePodtver)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtEndDatePodtver,
                                                    self.cmbRefuseType)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbRefuseType,
                                                    self.cmbOrgStructure)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbOrgStructure,
                                                    self.cmbPerson)
        ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbPerson,
                                                    self.cmbWorkOrganisation)
        ReportDDStudentsInfoSetupDialog.setTabOrder(
            self.cmbWorkOrganisation, self.btnSelectWorkOrganisation)

    def retranslateUi(self, ReportDDStudentsInfoSetupDialog):
        ReportDDStudentsInfoSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkPodtver.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Подтверждение оп&латы", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDatePodtver.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Окончание периода подтверждени&я:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegDatePodtver.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Начало пер&иода подтверждения:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Возраст с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPerson.setItemText(
            0,
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "&Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPodtver.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Тип подтве&рждения:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnSelectWorkOrganisation.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "...", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeYears.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "лет", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblRefuseType.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "При&чина отказа:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblWorkOrganisation.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Учебное заведение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemple #11
0
class Ui_grpTempInvalid(object):
    def setupUi(self, grpTempInvalid):
        grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid"))
        grpTempInvalid.setEnabled(True)
        grpTempInvalid.resize(1210, 576)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            grpTempInvalid.sizePolicy().hasHeightForWidth())
        grpTempInvalid.setSizePolicy(sizePolicy)
        grpTempInvalid.setFlat(False)
        grpTempInvalid.setCheckable(True)
        grpTempInvalid.setChecked(False)
        self.gridLayout_4 = QtGui.QGridLayout(grpTempInvalid)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblTempInvalidReason = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidReason.setObjectName(
            _fromUtf8("lblTempInvalidReason"))
        self.gridLayout.addWidget(self.lblTempInvalidReason, 1, 0, 1, 1)
        self.lblTempInvalidOtherAge = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherAge.setAlignment(QtCore.Qt.AlignRight
                                                 | QtCore.Qt.AlignTrailing
                                                 | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidOtherAge.setObjectName(
            _fromUtf8("lblTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherAge, 5, 2, 1, 1)
        self.edtTempInvalidNumber = QtGui.QLineEdit(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidNumber.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidNumber.setSizePolicy(sizePolicy)
        self.edtTempInvalidNumber.setMaxLength(16)
        self.edtTempInvalidNumber.setObjectName(
            _fromUtf8("edtTempInvalidNumber"))
        self.gridLayout.addWidget(self.edtTempInvalidNumber, 3, 2, 1, 1)
        self.lblTempInvalidExternalLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidExternalLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidExternalLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidExternalLengthValue.setFrameShadow(
            QtGui.QFrame.Sunken)
        self.lblTempInvalidExternalLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidExternalLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidExternalLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLengthValue, 4, 3,
                                  1, 1)
        self.edtPlaceWork = QtGui.QLineEdit(grpTempInvalid)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 6, 1, 1, 3)
        self.cmbExtraReason = CRBComboBox(grpTempInvalid)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 2, 1, 1, 2)
        self.lblExtraReason = QtGui.QLabel(grpTempInvalid)
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 2, 0, 1, 1)
        self.lblTempInvalidLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTempInvalidLengthValue.sizePolicy().hasHeightForWidth())
        self.lblTempInvalidLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblTempInvalidLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidLengthValue, 4, 1, 1, 1)
        self.lblTempInvalidOtherSex = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherSex.setObjectName(
            _fromUtf8("lblTempInvalidOtherSex"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherSex, 5, 0, 1, 1)
        self.lblTempInvalidLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidLength.setObjectName(
            _fromUtf8("lblTempInvalidLength"))
        self.gridLayout.addWidget(self.lblTempInvalidLength, 4, 0, 1, 1)
        self.lblTempInvalidCaseLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidCaseLength.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidCaseLength.setObjectName(
            _fromUtf8("lblTempInvalidCaseLength"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLength, 1, 7, 1, 1)
        self.lblTempInvalidCaseLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidCaseLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidCaseLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidCaseLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidCaseLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidCaseLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLengthValue, 1, 8, 1,
                                  1)
        self.lblCaseBegDate = QtGui.QLabel(grpTempInvalid)
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 1, 4, 1, 1)
        self.lblTempInvalidPrevNumberValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevNumberValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevNumberValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevNumberValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevNumberValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevNumberValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevNumberValue, 0, 7, 1,
                                  1)
        self.lblTempInvalidPrevSerialValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevSerialValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevSerialValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevSerialValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevSerialValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevSerialValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevSerialValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevSerialValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevSerialValue, 0, 6, 1,
                                  1)
        self.btnNewLN = QtGui.QPushButton(grpTempInvalid)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 3, 1, 1, 1)
        self.lblTempInvalidPrev = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidPrev.setObjectName(_fromUtf8("lblTempInvalidPrev"))
        self.gridLayout.addWidget(self.lblTempInvalidPrev, 0, 4, 1, 1)
        self.edtCaseBegDate = CDateEdit(grpTempInvalid)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 1, 6, 1, 1)
        self.edtTempInvalidOtherAge = QtGui.QSpinBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidOtherAge.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidOtherAge.setSizePolicy(sizePolicy)
        self.edtTempInvalidOtherAge.setObjectName(
            _fromUtf8("edtTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.edtTempInvalidOtherAge, 5, 3, 1, 1)
        self.cmbTempInvalidReason = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidReason.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidReason.setSizePolicy(sizePolicy)
        self.cmbTempInvalidReason.setObjectName(
            _fromUtf8("cmbTempInvalidReason"))
        self.gridLayout.addWidget(self.cmbTempInvalidReason, 1, 1, 1, 2)
        self.lblTempInvalidSerial = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidSerial.setObjectName(
            _fromUtf8("lblTempInvalidSerial"))
        self.gridLayout.addWidget(self.lblTempInvalidSerial, 3, 0, 1, 1)
        self.lblTempInvalidDoctype = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidDoctype.setObjectName(
            _fromUtf8("lblTempInvalidDoctype"))
        self.gridLayout.addWidget(self.lblTempInvalidDoctype, 0, 0, 1, 1)
        self.lblPlaceWork = QtGui.QLabel(grpTempInvalid)
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 6, 0, 1, 1)
        self.cmbTempInvalidDoctype = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidDoctype.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidDoctype.setSizePolicy(sizePolicy)
        self.cmbTempInvalidDoctype.setObjectName(
            _fromUtf8("cmbTempInvalidDoctype"))
        self.gridLayout.addWidget(self.cmbTempInvalidDoctype, 0, 1, 1, 2)
        self.cmbTempInvalidOtherSex = QtGui.QComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidOtherSex.setSizePolicy(sizePolicy)
        self.cmbTempInvalidOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbTempInvalidOtherSex.setObjectName(
            _fromUtf8("cmbTempInvalidOtherSex"))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTempInvalidOtherSex, 5, 1, 1, 1)
        self.lblTempInvalidExternalLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidExternalLength.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
            | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidExternalLength.setObjectName(
            _fromUtf8("lblTempInvalidExternalLength"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLength, 4, 2, 1,
                                  1)
        self.lblBusyness_2 = QtGui.QLabel(grpTempInvalid)
        self.lblBusyness_2.setObjectName(_fromUtf8("lblBusyness_2"))
        self.gridLayout.addWidget(self.lblBusyness_2, 2, 4, 1, 1)
        self.cmbBusyness = CEnumComboBox(grpTempInvalid)
        self.cmbBusyness.setFrame(True)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 2, 6, 1, 1)
        self.btnTempInvalidProlong = QtGui.QPushButton(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnTempInvalidProlong.sizePolicy().hasHeightForWidth())
        self.btnTempInvalidProlong.setSizePolicy(sizePolicy)
        self.btnTempInvalidProlong.setObjectName(
            _fromUtf8("btnTempInvalidProlong"))
        self.gridLayout.addWidget(self.btnTempInvalidProlong, 6, 6, 1, 1)
        self.btnSendInFss = QtGui.QPushButton(grpTempInvalid)
        self.btnSendInFss.setObjectName(_fromUtf8("btnSendInFss"))
        self.gridLayout.addWidget(self.btnSendInFss, 6, 7, 1, 2)
        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.tblTempInvalidPeriods = CInDocTableView(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblTempInvalidPeriods.sizePolicy().hasHeightForWidth())
        self.tblTempInvalidPeriods.setSizePolicy(sizePolicy)
        self.tblTempInvalidPeriods.setObjectName(
            _fromUtf8("tblTempInvalidPeriods"))
        self.gridLayout_3.addWidget(self.tblTempInvalidPeriods, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 1, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.lblTempInvalidReason.setBuddy(self.cmbTempInvalidReason)
        self.lblTempInvalidOtherAge.setBuddy(self.edtTempInvalidOtherAge)
        self.lblTempInvalidOtherSex.setBuddy(self.cmbTempInvalidOtherSex)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblTempInvalidDoctype.setBuddy(self.cmbTempInvalidDoctype)

        self.retranslateUi(grpTempInvalid)
        QtCore.QMetaObject.connectSlotsByName(grpTempInvalid)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidDoctype,
                                   self.cmbTempInvalidReason)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidReason,
                                   self.cmbExtraReason)
        grpTempInvalid.setTabOrder(self.cmbExtraReason,
                                   self.cmbTempInvalidOtherSex)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidOtherSex,
                                   self.edtTempInvalidOtherAge)
        grpTempInvalid.setTabOrder(self.edtTempInvalidOtherAge,
                                   self.edtPlaceWork)
        grpTempInvalid.setTabOrder(self.edtPlaceWork,
                                   self.tblTempInvalidPeriods)

    def retranslateUi(self, grpTempInvalid):
        grpTempInvalid.setTitle(_translate("grpTempInvalid", "&ВУТ", None))
        self.lblTempInvalidReason.setText(
            _translate("grpTempInvalid", "Причина", None))
        self.lblTempInvalidOtherAge.setText(
            _translate("grpTempInvalid", "возраст", None))
        self.lblExtraReason.setText(
            _translate("grpTempInvalid", "Доп.причина", None))
        self.lblTempInvalidOtherSex.setText(
            _translate("grpTempInvalid", "Пол", None))
        self.lblTempInvalidLength.setText(
            _translate("grpTempInvalid", "Длительность", None))
        self.lblTempInvalidCaseLength.setText(
            _translate("grpTempInvalid", "дней", None))
        self.lblCaseBegDate.setText(
            _translate("grpTempInvalid", "Дата начала ВУТ", None))
        self.btnNewLN.setText(
            _translate("grpTempInvalid", "Сформировать новый номер ЛН", None))
        self.lblTempInvalidPrev.setText(
            _translate("grpTempInvalid", "Продлён", None))
        self.edtCaseBegDate.setDisplayFormat(
            _translate("grpTempInvalid", "dd.MM.yyyy", None))
        self.lblTempInvalidSerial.setText(
            _translate("grpTempInvalid", "Номер", None))
        self.lblTempInvalidDoctype.setText(
            _translate("grpTempInvalid", "Документ", None))
        self.lblPlaceWork.setText(
            _translate("grpTempInvalid", "Место работы", None))
        self.cmbTempInvalidOtherSex.setItemText(
            1, _translate("grpTempInvalid", "М", None))
        self.cmbTempInvalidOtherSex.setItemText(
            2, _translate("grpTempInvalid", "Ж", None))
        self.lblTempInvalidExternalLength.setText(
            _translate("grpTempInvalid", "вне ЛПУ", None))
        self.lblBusyness_2.setText(
            _translate("grpTempInvalid", "Занятость", None))
        self.btnTempInvalidProlong.setText(
            _translate("grpTempInvalid", "Продлить", None))
        self.btnSendInFss.setText(
            _translate("grpTempInvalid", "Подписать и отправить в ФСС", None))
Exemple #12
0
class Ui_TemplateOnRotationDialog(object):
    def setupUi(self, TemplateOnRotationDialog):
        TemplateOnRotationDialog.setObjectName(
            _fromUtf8("TemplateOnRotationDialog"))
        TemplateOnRotationDialog.resize(669, 419)
        self.gridLayout = QtGui.QGridLayout(TemplateOnRotationDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grbOnePlan = QtGui.QGroupBox(TemplateOnRotationDialog)
        self.grbOnePlan.setTitle(_fromUtf8(""))
        self.grbOnePlan.setObjectName(_fromUtf8("grbOnePlan"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grbOnePlan)
        self.gridLayout_6.setMargin(4)
        self.gridLayout_6.setSpacing(4)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.edtAmbPlan12 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbPlan12.setEnabled(False)
        self.edtAmbPlan12.setMaximum(9999)
        self.edtAmbPlan12.setObjectName(_fromUtf8("edtAmbPlan12"))
        self.gridLayout_6.addWidget(self.edtAmbPlan12, 3, 3, 1, 1)
        self.edtHomeTimeRange1 = CTimeRangeEdit(self.grbOnePlan)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtHomeTimeRange1.sizePolicy().hasHeightForWidth())
        self.edtHomeTimeRange1.setSizePolicy(sizePolicy)
        self.edtHomeTimeRange1.setMaximumSize(QtCore.QSize(90, 16777215))
        self.edtHomeTimeRange1.setMaxLength(13)
        self.edtHomeTimeRange1.setObjectName(_fromUtf8("edtHomeTimeRange1"))
        self.gridLayout_6.addWidget(self.edtHomeTimeRange1, 2, 10, 1, 1)
        self.edtAmbPlan1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbPlan1.setMaximum(9999)
        self.edtAmbPlan1.setObjectName(_fromUtf8("edtAmbPlan1"))
        self.gridLayout_6.addWidget(self.edtAmbPlan1, 2, 3, 1, 1)
        self.edtAmbOffice12 = QtGui.QLineEdit(self.grbOnePlan)
        self.edtAmbOffice12.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAmbOffice12.sizePolicy().hasHeightForWidth())
        self.edtAmbOffice12.setSizePolicy(sizePolicy)
        self.edtAmbOffice12.setMaximumSize(QtCore.QSize(70, 16777215))
        self.edtAmbOffice12.setMaxLength(8)
        self.edtAmbOffice12.setObjectName(_fromUtf8("edtAmbOffice12"))
        self.gridLayout_6.addWidget(self.edtAmbOffice12, 3, 2, 1, 1)
        self.lblAmbPlan = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbPlan.setAlignment(QtCore.Qt.AlignCenter)
        self.lblAmbPlan.setObjectName(_fromUtf8("lblAmbPlan"))
        self.gridLayout_6.addWidget(self.lblAmbPlan, 1, 3, 1, 1)
        self.label_1 = QtGui.QLabel(self.grbOnePlan)
        self.label_1.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_1.setObjectName(_fromUtf8("label_1"))
        self.gridLayout_6.addWidget(self.label_1, 2, 0, 1, 1)
        self.edtHomeTimeRange12 = CTimeRangeEdit(self.grbOnePlan)
        self.edtHomeTimeRange12.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtHomeTimeRange12.sizePolicy().hasHeightForWidth())
        self.edtHomeTimeRange12.setSizePolicy(sizePolicy)
        self.edtHomeTimeRange12.setMaximumSize(QtCore.QSize(90, 16777215))
        self.edtHomeTimeRange12.setMaxLength(13)
        self.edtHomeTimeRange12.setObjectName(_fromUtf8("edtHomeTimeRange12"))
        self.gridLayout_6.addWidget(self.edtHomeTimeRange12, 3, 10, 1, 1)
        spacerItem = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_6.addItem(spacerItem, 3, 13, 1, 1)
        self.edtAmbOffice1 = QtGui.QLineEdit(self.grbOnePlan)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAmbOffice1.sizePolicy().hasHeightForWidth())
        self.edtAmbOffice1.setSizePolicy(sizePolicy)
        self.edtAmbOffice1.setMaximumSize(QtCore.QSize(70, 16777215))
        self.edtAmbOffice1.setMaxLength(8)
        self.edtAmbOffice1.setObjectName(_fromUtf8("edtAmbOffice1"))
        self.gridLayout_6.addWidget(self.edtAmbOffice1, 2, 2, 1, 1)
        self.cmbReasonOfAbsence1 = CRBComboBox(self.grbOnePlan)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbReasonOfAbsence1.sizePolicy().hasHeightForWidth())
        self.cmbReasonOfAbsence1.setSizePolicy(sizePolicy)
        self.cmbReasonOfAbsence1.setObjectName(
            _fromUtf8("cmbReasonOfAbsence1"))
        self.gridLayout_6.addWidget(self.cmbReasonOfAbsence1, 2, 13, 1, 1)
        self.edtAmbTimeRange1 = CTimeRangeEdit(self.grbOnePlan)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAmbTimeRange1.sizePolicy().hasHeightForWidth())
        self.edtAmbTimeRange1.setSizePolicy(sizePolicy)
        self.edtAmbTimeRange1.setMaximumSize(QtCore.QSize(90, 16777215))
        self.edtAmbTimeRange1.setMaxLength(13)
        self.edtAmbTimeRange1.setObjectName(_fromUtf8("edtAmbTimeRange1"))
        self.gridLayout_6.addWidget(self.edtAmbTimeRange1, 2, 1, 1, 1)
        self.edtHomePlan12 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtHomePlan12.setEnabled(False)
        self.edtHomePlan12.setMaximum(9999)
        self.edtHomePlan12.setObjectName(_fromUtf8("edtHomePlan12"))
        self.gridLayout_6.addWidget(self.edtHomePlan12, 3, 11, 1, 1)
        self.edtAmbTimeRange12 = CTimeRangeEdit(self.grbOnePlan)
        self.edtAmbTimeRange12.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAmbTimeRange12.sizePolicy().hasHeightForWidth())
        self.edtAmbTimeRange12.setSizePolicy(sizePolicy)
        self.edtAmbTimeRange12.setMaximumSize(QtCore.QSize(90, 16777215))
        self.edtAmbTimeRange12.setMaxLength(13)
        self.edtAmbTimeRange12.setObjectName(_fromUtf8("edtAmbTimeRange12"))
        self.gridLayout_6.addWidget(self.edtAmbTimeRange12, 3, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.grbOnePlan)
        self.label_2.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_6.addWidget(self.label_2, 3, 0, 1, 1)
        self.lblAmb = QtGui.QLabel(self.grbOnePlan)
        self.lblAmb.setAlignment(QtCore.Qt.AlignCenter)
        self.lblAmb.setObjectName(_fromUtf8("lblAmb"))
        self.gridLayout_6.addWidget(self.lblAmb, 0, 0, 1, 4)
        self.lblReasonOfAbsence1 = QtGui.QLabel(self.grbOnePlan)
        self.lblReasonOfAbsence1.setAlignment(QtCore.Qt.AlignCenter)
        self.lblReasonOfAbsence1.setObjectName(
            _fromUtf8("lblReasonOfAbsence1"))
        self.gridLayout_6.addWidget(self.lblReasonOfAbsence1, 0, 13, 1, 1)
        self.lblAmbHours = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbHours.setAlignment(QtCore.Qt.AlignCenter)
        self.lblAmbHours.setObjectName(_fromUtf8("lblAmbHours"))
        self.gridLayout_6.addWidget(self.lblAmbHours, 1, 0, 1, 2)
        self.lblAmbCab = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbCab.setAlignment(QtCore.Qt.AlignCenter)
        self.lblAmbCab.setObjectName(_fromUtf8("lblAmbCab"))
        self.gridLayout_6.addWidget(self.lblAmbCab, 1, 2, 1, 1)
        self.lblHome = QtGui.QLabel(self.grbOnePlan)
        self.lblHome.setAlignment(QtCore.Qt.AlignCenter)
        self.lblHome.setObjectName(_fromUtf8("lblHome"))
        self.gridLayout_6.addWidget(self.lblHome, 0, 10, 1, 2)
        self.lblHomePlan = QtGui.QLabel(self.grbOnePlan)
        self.lblHomePlan.setAlignment(QtCore.Qt.AlignCenter)
        self.lblHomePlan.setObjectName(_fromUtf8("lblHomePlan"))
        self.gridLayout_6.addWidget(self.lblHomePlan, 1, 11, 1, 1)
        self.lblHomeHours = QtGui.QLabel(self.grbOnePlan)
        self.lblHomeHours.setAlignment(QtCore.Qt.AlignCenter)
        self.lblHomeHours.setObjectName(_fromUtf8("lblHomeHours"))
        self.gridLayout_6.addWidget(self.lblHomeHours, 1, 10, 1, 1)
        self.lblReasonOfAbsence2 = QtGui.QLabel(self.grbOnePlan)
        self.lblReasonOfAbsence2.setAlignment(QtCore.Qt.AlignCenter)
        self.lblReasonOfAbsence2.setObjectName(
            _fromUtf8("lblReasonOfAbsence2"))
        self.gridLayout_6.addWidget(self.lblReasonOfAbsence2, 1, 13, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtAmbInterval12 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbInterval12.setEnabled(False)
        self.edtAmbInterval12.setObjectName(_fromUtf8("edtAmbInterval12"))
        self.horizontalLayout.addWidget(self.edtAmbInterval12)
        self.lblAmbInterval12 = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbInterval12.setEnabled(False)
        self.lblAmbInterval12.setObjectName(_fromUtf8("lblAmbInterval12"))
        self.horizontalLayout.addWidget(self.lblAmbInterval12)
        self.gridLayout_6.addLayout(self.horizontalLayout, 3, 4, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtAmbInterInterval1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbInterInterval1.setEnabled(False)
        self.edtAmbInterInterval1.setObjectName(
            _fromUtf8("edtAmbInterInterval1"))
        self.horizontalLayout_2.addWidget(self.edtAmbInterInterval1)
        self.lblAmbInterInterval1 = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbInterInterval1.setEnabled(False)
        self.lblAmbInterInterval1.setObjectName(
            _fromUtf8("lblAmbInterInterval1"))
        self.horizontalLayout_2.addWidget(self.lblAmbInterInterval1)
        self.gridLayout_6.addLayout(self.horizontalLayout_2, 4, 4, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtAmbInterval1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbInterval1.setObjectName(_fromUtf8("edtAmbInterval1"))
        self.horizontalLayout_3.addWidget(self.edtAmbInterval1)
        self.lblAmbInterval1 = QtGui.QLabel(self.grbOnePlan)
        self.lblAmbInterval1.setObjectName(_fromUtf8("lblAmbInterval1"))
        self.horizontalLayout_3.addWidget(self.lblAmbInterval1)
        self.gridLayout_6.addLayout(self.horizontalLayout_3, 2, 4, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtHomeInterval12 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtHomeInterval12.setEnabled(False)
        self.edtHomeInterval12.setObjectName(_fromUtf8("edtHomeInterval12"))
        self.horizontalLayout_4.addWidget(self.edtHomeInterval12)
        self.lblHomeInterval12 = QtGui.QLabel(self.grbOnePlan)
        self.lblHomeInterval12.setEnabled(False)
        self.lblHomeInterval12.setObjectName(_fromUtf8("lblHomeInterval12"))
        self.horizontalLayout_4.addWidget(self.lblHomeInterval12)
        self.gridLayout_6.addLayout(self.horizontalLayout_4, 3, 12, 1, 1)
        self.edtHomePlan1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtHomePlan1.setMaximum(9999)
        self.edtHomePlan1.setObjectName(_fromUtf8("edtHomePlan1"))
        self.gridLayout_6.addWidget(self.edtHomePlan1, 2, 11, 1, 1)
        self.edtAmbOfficeInter = QtGui.QLineEdit(self.grbOnePlan)
        self.edtAmbOfficeInter.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAmbOfficeInter.sizePolicy().hasHeightForWidth())
        self.edtAmbOfficeInter.setSizePolicy(sizePolicy)
        self.edtAmbOfficeInter.setMaximumSize(QtCore.QSize(70, 16777215))
        self.edtAmbOfficeInter.setMaxLength(8)
        self.edtAmbOfficeInter.setObjectName(_fromUtf8("edtAmbOfficeInter"))
        self.gridLayout_6.addWidget(self.edtAmbOfficeInter, 4, 2, 1, 1)
        self.edtAmbInterPlan1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtAmbInterPlan1.setEnabled(False)
        self.edtAmbInterPlan1.setMaximum(9999)
        self.edtAmbInterPlan1.setObjectName(_fromUtf8("edtAmbInterPlan1"))
        self.gridLayout_6.addWidget(self.edtAmbInterPlan1, 4, 3, 1, 1)
        self.label_3 = QtGui.QLabel(self.grbOnePlan)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_6.addWidget(self.label_3, 4, 1, 1, 1)
        self.btnAmbColor1 = CColorPicker(self.grbOnePlan)
        self.btnAmbColor1.setText(_fromUtf8(""))
        self.btnAmbColor1.setObjectName(_fromUtf8("btnAmbColor1"))
        self.gridLayout_6.addWidget(self.btnAmbColor1, 2, 7, 1, 1)
        self.btnAmbColor12 = CColorPicker(self.grbOnePlan)
        self.btnAmbColor12.setEnabled(False)
        self.btnAmbColor12.setText(_fromUtf8(""))
        self.btnAmbColor12.setObjectName(_fromUtf8("btnAmbColor12"))
        self.gridLayout_6.addWidget(self.btnAmbColor12, 3, 7, 1, 1)
        self.btnAmbInterColor1 = CColorPicker(self.grbOnePlan)
        self.btnAmbInterColor1.setEnabled(False)
        self.btnAmbInterColor1.setText(_fromUtf8(""))
        self.btnAmbInterColor1.setObjectName(_fromUtf8("btnAmbInterColor1"))
        self.gridLayout_6.addWidget(self.btnAmbInterColor1, 4, 7, 1, 1)
        self.label_4 = QtGui.QLabel(self.grbOnePlan)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_6.addWidget(self.label_4, 1, 4, 1, 1)
        self.label_5 = QtGui.QLabel(self.grbOnePlan)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_6.addWidget(self.label_5, 1, 12, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.edtHomeInterval1 = QtGui.QSpinBox(self.grbOnePlan)
        self.edtHomeInterval1.setObjectName(_fromUtf8("edtHomeInterval1"))
        self.horizontalLayout_5.addWidget(self.edtHomeInterval1)
        self.lblHomeInterval1 = QtGui.QLabel(self.grbOnePlan)
        self.lblHomeInterval1.setObjectName(_fromUtf8("lblHomeInterval1"))
        self.horizontalLayout_5.addWidget(self.lblHomeInterval1)
        self.gridLayout_6.addLayout(self.horizontalLayout_5, 2, 12, 1, 1)
        self.line = QtGui.QFrame(self.grbOnePlan)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_6.addWidget(self.line, 0, 9, 5, 1)
        self.chkNotExternalSystem1 = QtGui.QCheckBox(self.grbOnePlan)
        self.chkNotExternalSystem1.setText(_fromUtf8(""))
        self.chkNotExternalSystem1.setObjectName(
            _fromUtf8("chkNotExternalSystem1"))
        self.gridLayout_6.addWidget(self.chkNotExternalSystem1, 2, 8, 1, 1)
        self.chkNotExternalSystem12 = QtGui.QCheckBox(self.grbOnePlan)
        self.chkNotExternalSystem12.setEnabled(False)
        self.chkNotExternalSystem12.setText(_fromUtf8(""))
        self.chkNotExternalSystem12.setObjectName(
            _fromUtf8("chkNotExternalSystem12"))
        self.gridLayout_6.addWidget(self.chkNotExternalSystem12, 3, 8, 1, 1)
        self.lblNotExternalSystem = QtGui.QLabel(self.grbOnePlan)
        self.lblNotExternalSystem.setObjectName(
            _fromUtf8("lblNotExternalSystem"))
        self.gridLayout_6.addWidget(self.lblNotExternalSystem, 1, 8, 1, 1)
        self.chkInterNotExternalSystem1 = QtGui.QCheckBox(self.grbOnePlan)
        self.chkInterNotExternalSystem1.setEnabled(False)
        self.chkInterNotExternalSystem1.setText(_fromUtf8(""))
        self.chkInterNotExternalSystem1.setObjectName(
            _fromUtf8("chkInterNotExternalSystem1"))
        self.gridLayout_6.addWidget(self.chkInterNotExternalSystem1, 4, 8, 1,
                                    1)
        self.gridLayout.addWidget(self.grbOnePlan, 0, 0, 1, 3)
        self.lblCountSelectedDays = QtGui.QLabel(TemplateOnRotationDialog)
        self.lblCountSelectedDays.setMaximumSize(QtCore.QSize(16777215, 20))
        self.lblCountSelectedDays.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountSelectedDays.setObjectName(
            _fromUtf8("lblCountSelectedDays"))
        self.gridLayout.addWidget(self.lblCountSelectedDays, 3, 2, 1, 1)
        self.calendarTemplateOnRotation = CCalendarWidget(
            TemplateOnRotationDialog)
        self.calendarTemplateOnRotation.setObjectName(
            _fromUtf8("calendarTemplateOnRotation"))
        self.gridLayout.addWidget(self.calendarTemplateOnRotation, 1, 0, 4, 1)
        self.lblSelectedDays = QtGui.QLabel(TemplateOnRotationDialog)
        self.lblSelectedDays.setText(_fromUtf8(""))
        self.lblSelectedDays.setAlignment(QtCore.Qt.AlignLeading
                                          | QtCore.Qt.AlignLeft
                                          | QtCore.Qt.AlignTop)
        self.lblSelectedDays.setWordWrap(True)
        self.lblSelectedDays.setObjectName(_fromUtf8("lblSelectedDays"))
        self.gridLayout.addWidget(self.lblSelectedDays, 2, 1, 1, 2)
        self.label = QtGui.QLabel(TemplateOnRotationDialog)
        self.label.setMaximumSize(QtCore.QSize(16777215, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignTop)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 1, 1, 2)
        self.btnClear = QtGui.QPushButton(TemplateOnRotationDialog)
        self.btnClear.setObjectName(_fromUtf8("btnClear"))
        self.gridLayout.addWidget(self.btnClear, 4, 2, 1, 1)
        self.chkFillRedDays = QtGui.QCheckBox(TemplateOnRotationDialog)
        self.chkFillRedDays.setChecked(True)
        self.chkFillRedDays.setObjectName(_fromUtf8("chkFillRedDays"))
        self.gridLayout.addWidget(self.chkFillRedDays, 5, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TemplateOnRotationDialog)
        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, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 9, 0, 1, 1)
        self.chkAmbSecondPeriod = QtGui.QCheckBox(TemplateOnRotationDialog)
        self.chkAmbSecondPeriod.setObjectName(_fromUtf8("chkAmbSecondPeriod"))
        self.gridLayout.addWidget(self.chkAmbSecondPeriod, 6, 0, 1, 1)
        self.chkHomeSecondPeriod = QtGui.QCheckBox(TemplateOnRotationDialog)
        self.chkHomeSecondPeriod.setObjectName(
            _fromUtf8("chkHomeSecondPeriod"))
        self.gridLayout.addWidget(self.chkHomeSecondPeriod, 8, 0, 1, 1)
        self.chkAmbInterPeriod = QtGui.QCheckBox(TemplateOnRotationDialog)
        self.chkAmbInterPeriod.setEnabled(False)
        self.chkAmbInterPeriod.setObjectName(_fromUtf8("chkAmbInterPeriod"))
        self.gridLayout.addWidget(self.chkAmbInterPeriod, 7, 0, 1, 1)

        self.retranslateUi(TemplateOnRotationDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TemplateOnRotationDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TemplateOnRotationDialog.reject)
        QtCore.QObject.connect(self.chkAmbSecondPeriod,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkAmbInterPeriod.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(TemplateOnRotationDialog)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbTimeRange1,
                                             self.edtAmbOffice1)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbOffice1,
                                             self.edtAmbPlan1)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbPlan1,
                                             self.edtAmbInterval1)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbInterval1,
                                             self.btnAmbColor1)
        TemplateOnRotationDialog.setTabOrder(self.btnAmbColor1,
                                             self.chkNotExternalSystem1)
        TemplateOnRotationDialog.setTabOrder(self.chkNotExternalSystem1,
                                             self.edtHomeTimeRange1)
        TemplateOnRotationDialog.setTabOrder(self.edtHomeTimeRange1,
                                             self.edtHomePlan1)
        TemplateOnRotationDialog.setTabOrder(self.edtHomePlan1,
                                             self.edtHomeInterval1)
        TemplateOnRotationDialog.setTabOrder(self.edtHomeInterval1,
                                             self.cmbReasonOfAbsence1)
        TemplateOnRotationDialog.setTabOrder(self.cmbReasonOfAbsence1,
                                             self.edtAmbTimeRange12)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbTimeRange12,
                                             self.edtAmbOffice12)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbOffice12,
                                             self.edtAmbPlan12)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbPlan12,
                                             self.edtAmbInterval12)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbInterval12,
                                             self.btnAmbColor12)
        TemplateOnRotationDialog.setTabOrder(self.btnAmbColor12,
                                             self.chkNotExternalSystem12)
        TemplateOnRotationDialog.setTabOrder(self.chkNotExternalSystem12,
                                             self.edtHomeTimeRange12)
        TemplateOnRotationDialog.setTabOrder(self.edtHomeTimeRange12,
                                             self.edtHomePlan12)
        TemplateOnRotationDialog.setTabOrder(self.edtHomePlan12,
                                             self.edtHomeInterval12)
        TemplateOnRotationDialog.setTabOrder(self.edtHomeInterval12,
                                             self.edtAmbOfficeInter)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbOfficeInter,
                                             self.edtAmbInterPlan1)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbInterPlan1,
                                             self.edtAmbInterInterval1)
        TemplateOnRotationDialog.setTabOrder(self.edtAmbInterInterval1,
                                             self.btnAmbInterColor1)
        TemplateOnRotationDialog.setTabOrder(self.btnAmbInterColor1,
                                             self.chkInterNotExternalSystem1)
        TemplateOnRotationDialog.setTabOrder(self.chkInterNotExternalSystem1,
                                             self.calendarTemplateOnRotation)
        TemplateOnRotationDialog.setTabOrder(self.calendarTemplateOnRotation,
                                             self.btnClear)
        TemplateOnRotationDialog.setTabOrder(self.btnClear,
                                             self.chkFillRedDays)
        TemplateOnRotationDialog.setTabOrder(self.chkFillRedDays,
                                             self.chkAmbSecondPeriod)
        TemplateOnRotationDialog.setTabOrder(self.chkAmbSecondPeriod,
                                             self.chkAmbInterPeriod)
        TemplateOnRotationDialog.setTabOrder(self.chkAmbInterPeriod,
                                             self.chkHomeSecondPeriod)
        TemplateOnRotationDialog.setTabOrder(self.chkHomeSecondPeriod,
                                             self.buttonBox)

    def retranslateUi(self, TemplateOnRotationDialog):
        TemplateOnRotationDialog.setWindowTitle(
            _translate("TemplateOnRotationDialog", "Шаблон планировщика",
                       None))
        self.lblAmbPlan.setText(
            _translate("TemplateOnRotationDialog", "План", None))
        self.label_1.setText(_translate("TemplateOnRotationDialog", "1", None))
        self.label_2.setText(_translate("TemplateOnRotationDialog", "2", None))
        self.lblAmb.setText(
            _translate("TemplateOnRotationDialog", "Амбулаторный приём", None))
        self.lblReasonOfAbsence1.setText(
            _translate("TemplateOnRotationDialog", "Причина", None))
        self.lblAmbHours.setText(
            _translate("TemplateOnRotationDialog", "Часы", None))
        self.lblAmbCab.setText(
            _translate("TemplateOnRotationDialog", "Кабинет", None))
        self.lblHome.setText(
            _translate("TemplateOnRotationDialog", "Вызовы на дом", None))
        self.lblHomePlan.setText(
            _translate("TemplateOnRotationDialog", "План", None))
        self.lblHomeHours.setText(
            _translate("TemplateOnRotationDialog", "Часы", None))
        self.lblReasonOfAbsence2.setText(
            _translate("TemplateOnRotationDialog", "отсутствия", None))
        self.lblAmbInterval12.setText(
            _translate("TemplateOnRotationDialog", "мин.", None))
        self.lblAmbInterInterval1.setText(
            _translate("TemplateOnRotationDialog", "мин.", None))
        self.lblAmbInterval1.setText(
            _translate("TemplateOnRotationDialog", "мин.", None))
        self.lblHomeInterval12.setText(
            _translate("TemplateOnRotationDialog", "мин.", None))
        self.label_3.setText(
            _translate("TemplateOnRotationDialog", "Вне очереди", None))
        self.label_4.setText(
            _translate("TemplateOnRotationDialog", "Интервал", None))
        self.label_5.setText(
            _translate("TemplateOnRotationDialog", "Интервал", None))
        self.lblHomeInterval1.setText(
            _translate("TemplateOnRotationDialog", "мин.", None))
        self.chkNotExternalSystem1.setToolTip(
            _translate(
                "TemplateOnRotationDialog",
                "<html><head/><body><p>Данный период недоступен для использования через внешние системы</p></body></html>",
                None))
        self.chkNotExternalSystem12.setToolTip(
            _translate(
                "TemplateOnRotationDialog",
                "<html><head/><body><p>Данный период недоступен для использования через внешние системы</p></body></html>",
                None))
        self.lblNotExternalSystem.setToolTip(
            _translate(
                "TemplateOnRotationDialog",
                "<html><head/><body><p>Данный период недоступен для использования через внешние системы</p></body></html>",
                None))
        self.lblNotExternalSystem.setText(
            _translate("TemplateOnRotationDialog", "ВС", None))
        self.lblCountSelectedDays.setText(
            _translate("TemplateOnRotationDialog", "Всего выбрано дней: 0",
                       None))
        self.label.setText(
            _translate("TemplateOnRotationDialog", "Выбранные дни:", None))
        self.btnClear.setText(
            _translate("TemplateOnRotationDialog", "Очистить", None))
        self.chkFillRedDays.setText(
            _translate("TemplateOnRotationDialog", "&Заполнять выходные дни",
                       None))
        self.chkAmbSecondPeriod.setText(
            _translate("TemplateOnRotationDialog",
                       "&Ввод второго периода приема", None))
        self.chkHomeSecondPeriod.setText(
            _translate("TemplateOnRotationDialog",
                       "&Ввод второго периода вызовов", None))
        self.chkAmbInterPeriod.setText(
            _translate("TemplateOnRotationDialog",
                       "&Добавить план между приемами", None))
class Ui_SamplePreparationDialog(object):
    def setupUi(self, SamplePreparationDialog):
        SamplePreparationDialog.setObjectName(_fromUtf8("SamplePreparationDialog"))
        SamplePreparationDialog.resize(850, 716)
        SamplePreparationDialog.setSizeGripEnabled(True)
        self.gridLayout_2 = QtGui.QGridLayout(SamplePreparationDialog)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.splitter = QtGui.QSplitter(SamplePreparationDialog)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.pnlInfo = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pnlInfo.sizePolicy().hasHeightForWidth())
        self.pnlInfo.setSizePolicy(sizePolicy)
        self.pnlInfo.setObjectName(_fromUtf8("pnlInfo"))
        self.verticalLayout = QtGui.QVBoxLayout(self.pnlInfo)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.textBrowser = CTextBrowser(self.pnlInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textBrowser.sizePolicy().hasHeightForWidth())
        self.textBrowser.setSizePolicy(sizePolicy)
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.verticalLayout.addWidget(self.textBrowser)
        self.lblTissueRecordInfo = QtGui.QLabel(self.pnlInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTissueRecordInfo.sizePolicy().hasHeightForWidth())
        self.lblTissueRecordInfo.setSizePolicy(sizePolicy)
        self.lblTissueRecordInfo.setObjectName(_fromUtf8("lblTissueRecordInfo"))
        self.verticalLayout.addWidget(self.lblTissueRecordInfo)
        self.pnlItems = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pnlItems.sizePolicy().hasHeightForWidth())
        self.pnlItems.setSizePolicy(sizePolicy)
        self.pnlItems.setObjectName(_fromUtf8("pnlItems"))
        self.gridLayout = QtGui.QGridLayout(self.pnlItems)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEquipment = QtGui.QLabel(self.pnlItems)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEquipment.sizePolicy().hasHeightForWidth())
        self.lblEquipment.setSizePolicy(sizePolicy)
        self.lblEquipment.setObjectName(_fromUtf8("lblEquipment"))
        self.gridLayout.addWidget(self.lblEquipment, 0, 0, 1, 1)
        self.cmbEquipment = CRBComboBox(self.pnlItems)
        self.cmbEquipment.setObjectName(_fromUtf8("cmbEquipment"))
        self.gridLayout.addWidget(self.cmbEquipment, 0, 1, 1, 1)
        self.lblTestGroup = QtGui.QLabel(self.pnlItems)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTestGroup.sizePolicy().hasHeightForWidth())
        self.lblTestGroup.setSizePolicy(sizePolicy)
        self.lblTestGroup.setObjectName(_fromUtf8("lblTestGroup"))
        self.gridLayout.addWidget(self.lblTestGroup, 0, 2, 1, 1)
        self.cmbTestGroup = CRBComboBox(self.pnlItems)
        self.cmbTestGroup.setObjectName(_fromUtf8("cmbTestGroup"))
        self.gridLayout.addWidget(self.cmbTestGroup, 0, 3, 1, 1)
        self.tblSamplePreparation = CSamplePreparationInDocTableView(self.pnlItems)
        self.tblSamplePreparation.setObjectName(_fromUtf8("tblSamplePreparation"))
        self.gridLayout.addWidget(self.tblSamplePreparation, 1, 0, 1, 5)
        self.btnSelectItems = QtGui.QPushButton(self.pnlItems)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSelectItems.sizePolicy().hasHeightForWidth())
        self.btnSelectItems.setSizePolicy(sizePolicy)
        self.btnSelectItems.setObjectName(_fromUtf8("btnSelectItems"))
        self.gridLayout.addWidget(self.btnSelectItems, 0, 4, 1, 1)
        self.gridLayout_2.addWidget(self.splitter, 0, 0, 1, 5)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 0, 1, 1)
        self.btnApply = QtGui.QPushButton(SamplePreparationDialog)
        self.btnApply.setObjectName(_fromUtf8("btnApply"))
        self.gridLayout_2.addWidget(self.btnApply, 1, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(SamplePreparationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, 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.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_2.addWidget(self.buttonBox, 1, 4, 1, 1)
        self.btnSetEquipment = QtGui.QPushButton(SamplePreparationDialog)
        self.btnSetEquipment.setObjectName(_fromUtf8("btnSetEquipment"))
        self.gridLayout_2.addWidget(self.btnSetEquipment, 1, 3, 1, 1)

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

    def retranslateUi(self, SamplePreparationDialog):
        SamplePreparationDialog.setWindowTitle(QtGui.QApplication.translate("SamplePreparationDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.lblTissueRecordInfo.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Информация о биоматериале", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEquipment.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Оборудование", None, QtGui.QApplication.UnicodeUTF8))
        self.lblTestGroup.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Группа тестов", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSelectItems.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Выбрать", None, QtGui.QApplication.UnicodeUTF8))
        self.btnApply.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Регистрация проб", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetEquipment.setText(QtGui.QApplication.translate("SamplePreparationDialog", "Назначить оборудование", None, QtGui.QApplication.UnicodeUTF8))
Exemple #14
0
class Ui_ReportF16(object):
    def setupUi(self, ReportF16):
        ReportF16.setObjectName(_fromUtf8("ReportF16"))
        ReportF16.resize(429, 488)
        self.gridLayout = QtGui.QGridLayout(ReportF16)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lstOrgStructure = CRBListBox(ReportF16)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 7, 0, 1, 3)
        self.cmbProfileBed = CRBComboBox(ReportF16)
        self.cmbProfileBed.setObjectName(_fromUtf8("cmbProfileBed"))
        self.gridLayout.addWidget(self.cmbProfileBed, 8, 1, 1, 2)
        self.lstProfileBed = CRBListBox(ReportF16)
        self.lstProfileBed.setObjectName(_fromUtf8("lstProfileBed"))
        self.gridLayout.addWidget(self.lstProfileBed, 10, 0, 1, 3)
        self.label = QtGui.QLabel(ReportF16)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 5, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF16)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.chkProfileBed = QtGui.QCheckBox(ReportF16)
        self.chkProfileBed.setObjectName(_fromUtf8("chkProfileBed"))
        self.gridLayout.addWidget(self.chkProfileBed, 8, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportF16)
        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, 2, 1, 1)
        self.cmbOrder = QtGui.QComboBox(ReportF16)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrder, 4, 1, 1, 2)
        self.cmbTypeHosp = QtGui.QComboBox(ReportF16)
        self.cmbTypeHosp.setObjectName(_fromUtf8("cmbTypeHosp"))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTypeHosp, 3, 1, 1, 2)
        self.edtBegDate = CDateEdit(ReportF16)
        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.lblBegDate = QtGui.QLabel(ReportF16)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportF16)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblOrder = QtGui.QLabel(ReportF16)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 4, 0, 1, 1)
        self.chkOrgStructure = QtGui.QCheckBox(ReportF16)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 6, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportF16)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 5, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportF16)
        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.lblTypeHosp = QtGui.QLabel(ReportF16)
        self.lblTypeHosp.setObjectName(_fromUtf8("lblTypeHosp"))
        self.gridLayout.addWidget(self.lblTypeHosp, 3, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 11, 2, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportF16):
        ReportF16.setWindowTitle(_translate("ReportF16", "Dialog", None))
        self.label.setText(_translate("ReportF16", "Тип финансирования", None))
        self.chkProfileBed.setText(_translate("ReportF16", "Профиль", None))
        self.cmbOrder.setItemText(0, _translate("ReportF16", "не задано",
                                                None))
        self.cmbOrder.setItemText(1, _translate("ReportF16", "планово", None))
        self.cmbOrder.setItemText(2, _translate("ReportF16", "экстренно",
                                                None))
        self.cmbTypeHosp.setItemText(
            0, _translate("ReportF16", "не задано", None))
        self.cmbTypeHosp.setItemText(
            1, _translate("ReportF16", "круглосуточный стационар", None))
        self.cmbTypeHosp.setItemText(
            2, _translate("ReportF16", "дневной стационар", None))
        self.cmbTypeHosp.setItemText(
            3, _translate("ReportF16", "амбулаторно", None))
        self.lblBegDate.setText(
            _translate("ReportF16", "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportF16", "Дата &окончания периода", None))
        self.lblOrder.setText(_translate("ReportF16", "Порядок", None))
        self.chkOrgStructure.setText(
            _translate("ReportF16", "Подразделение", None))
        self.lblTypeHosp.setText(
            _translate("ReportF16", "Тип госпитализации", None))
class Ui_ReportInvalidMKBEventsListSetup(object):
    def setupUi(self, ReportInvalidMKBEventsListSetup):
        ReportInvalidMKBEventsListSetup.setObjectName(
            _fromUtf8("ReportInvalidMKBEventsListSetup"))
        ReportInvalidMKBEventsListSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportInvalidMKBEventsListSetup.resize(436, 156)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportInvalidMKBEventsListSetup.sizePolicy().hasHeightForWidth())
        ReportInvalidMKBEventsListSetup.setSizePolicy(sizePolicy)
        ReportInvalidMKBEventsListSetup.setSizeGripEnabled(True)
        ReportInvalidMKBEventsListSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportInvalidMKBEventsListSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportInvalidMKBEventsListSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 5)
        self.lblEndDate = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportInvalidMKBEventsListSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 6)
        spacerItem1 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 6)
        self.lblOrgStructure = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 6, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportInvalidMKBEventsListSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportInvalidMKBEventsListSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 3, 1, 3)
        self.cmbFinance = CRBComboBox(ReportInvalidMKBEventsListSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 6, 1, 1, 5)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportInvalidMKBEventsListSetup):
        ReportInvalidMKBEventsListSetup.setWindowTitle(
            _translate("ReportInvalidMKBEventsListSetup", "параметры отчёта",
                       None))
        self.lblBegDate.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Дата &окончания периода", None))
        self.lblOrgStructure.setText(
            _translate("ReportInvalidMKBEventsListSetup", "Подразделение",
                       None))
        self.lblFinance.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Тип финанисирования", None))
Exemple #16
0
class Ui_ReportF39ModSetupDialog(object):
    def setupUi(self, ReportF39ModSetupDialog):
        ReportF39ModSetupDialog.setObjectName(
            _fromUtf8("ReportF39ModSetupDialog"))
        ReportF39ModSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportF39ModSetupDialog.resize(342, 344)
        ReportF39ModSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(ReportF39ModSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblBegDate = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportF39ModSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportF39ModSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF39ModSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 9, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportF39ModSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 9, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportF39ModSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 16, 0, 1, 3)
        self.lblRowGrouping = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping"))
        self.gridlayout.addWidget(self.lblRowGrouping, 12, 0, 1, 1)
        self.cmbRowGrouping = QtGui.QComboBox(ReportF39ModSetupDialog)
        self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping"))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbRowGrouping, 12, 1, 1, 2)
        self.cmbEventType = CRBComboBox(ReportF39ModSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridlayout.addWidget(self.cmbEventType, 7, 1, 1, 2)
        self.cmbEventPurpose = CRBComboBox(ReportF39ModSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridlayout.addWidget(self.cmbEventPurpose, 4, 1, 1, 2)
        self.lblEventPurpose = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridlayout.addWidget(self.lblEventPurpose, 4, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridlayout.addWidget(self.lblEventType, 7, 0, 1, 1)
        self.lblVisitPayStatus = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblVisitPayStatus.setObjectName(_fromUtf8("lblVisitPayStatus"))
        self.gridlayout.addWidget(self.lblVisitPayStatus, 14, 0, 1, 1)
        self.cmbVisitPayStatus = QtGui.QComboBox(ReportF39ModSetupDialog)
        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, 14, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem2, 15, 0, 1, 1)
        self.chkDetailChildren = QtGui.QCheckBox(ReportF39ModSetupDialog)
        self.chkDetailChildren.setObjectName(_fromUtf8("chkDetailChildren"))
        self.gridlayout.addWidget(self.chkDetailChildren, 2, 1, 1, 2)
        self.chkVisitHospital = QtGui.QCheckBox(ReportF39ModSetupDialog)
        self.chkVisitHospital.setObjectName(_fromUtf8("chkVisitHospital"))
        self.gridlayout.addWidget(self.chkVisitHospital, 3, 1, 1, 2)
        self.lblSex = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 10, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(ReportF39ModSetupDialog)
        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, 10, 1, 1, 1)
        self.lblAge = QtGui.QLabel(ReportF39ModSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 11, 0, 1, 1)
        self.frmAge = QtGui.QFrame(ReportF39ModSetupDialog)
        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, 11, 1, 1, 2)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblRowGrouping.setBuddy(self.cmbRowGrouping)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)

        self.retranslateUi(ReportF39ModSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportF39ModSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportF39ModSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportF39ModSetupDialog)
        ReportF39ModSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportF39ModSetupDialog.setTabOrder(self.edtEndDate,
                                            self.chkDetailChildren)
        ReportF39ModSetupDialog.setTabOrder(self.chkDetailChildren,
                                            self.chkVisitHospital)
        ReportF39ModSetupDialog.setTabOrder(self.chkVisitHospital,
                                            self.cmbEventPurpose)
        ReportF39ModSetupDialog.setTabOrder(self.cmbEventPurpose,
                                            self.cmbEventType)
        ReportF39ModSetupDialog.setTabOrder(self.cmbEventType,
                                            self.cmbOrgStructure)
        ReportF39ModSetupDialog.setTabOrder(self.cmbOrgStructure,
                                            self.cmbPerson)
        ReportF39ModSetupDialog.setTabOrder(self.cmbPerson, self.cmbSex)
        ReportF39ModSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        ReportF39ModSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        ReportF39ModSetupDialog.setTabOrder(self.edtAgeTo, self.cmbRowGrouping)
        ReportF39ModSetupDialog.setTabOrder(self.cmbRowGrouping,
                                            self.cmbVisitPayStatus)
        ReportF39ModSetupDialog.setTabOrder(self.cmbVisitPayStatus,
                                            self.buttonBox)

    def retranslateUi(self, ReportF39ModSetupDialog):
        ReportF39ModSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPerson.setItemText(
            0,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblRowGrouping.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "&Строки по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbRowGrouping.setItemText(
            0,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "Датам",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRowGrouping.setItemText(
            1,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "Врачам",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRowGrouping.setItemText(
            2,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Подразделениям", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbRowGrouping.setItemText(
            3,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Специальности", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbRowGrouping.setItemText(
            4,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Должности", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblVisitPayStatus.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Флаг финансирования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbVisitPayStatus.setItemText(
            0,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "не задано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbVisitPayStatus.setItemText(
            1,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "не выставлено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbVisitPayStatus.setItemText(
            2,
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "выставлено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbVisitPayStatus.setItemText(
            3,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "отказано",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbVisitPayStatus.setItemText(
            4,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "оплачено",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkDetailChildren.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Детализация по подросткам", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkVisitHospital.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Учитывать посещения ДС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "По&л",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog",
                                         "Во&зраст с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeYears.setText(
            QtGui.QApplication.translate("ReportF39ModSetupDialog", "лет",
                                         None, QtGui.QApplication.UnicodeUTF8))
class Ui_ReportVisitsByClientTypeSetupDialog(object):
    def setupUi(self, ReportVisitsByClientTypeSetupDialog):
        ReportVisitsByClientTypeSetupDialog.setObjectName(
            _fromUtf8("ReportVisitsByClientTypeSetupDialog"))
        ReportVisitsByClientTypeSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportVisitsByClientTypeSetupDialog.resize(363, 321)
        ReportVisitsByClientTypeSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(
            ReportVisitsByClientTypeSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCitizen = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCitizen.sizePolicy().hasHeightForWidth())
        self.lblCitizen.setSizePolicy(sizePolicy)
        self.lblCitizen.setObjectName(_fromUtf8("lblCitizen"))
        self.gridLayout.addWidget(self.lblCitizen, 6, 0, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.lblMKBTo = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBTo.sizePolicy().hasHeightForWidth())
        self.lblMKBTo.setSizePolicy(sizePolicy)
        self.lblMKBTo.setObjectName(_fromUtf8("lblMKBTo"))
        self.gridLayout.addWidget(self.lblMKBTo, 5, 5, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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.addWidget(self.lblEventType, 2, 0, 1, 2)
        self.lblEndDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.cmbMKBFrom = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFrom.sizePolicy().hasHeightForWidth())
        self.cmbMKBFrom.setSizePolicy(sizePolicy)
        self.cmbMKBFrom.setObjectName(_fromUtf8("cmbMKBFrom"))
        self.gridLayout.addWidget(self.cmbMKBFrom, 5, 3, 1, 1)
        self.lblMKBRange = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBRange.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBRange.sizePolicy().hasHeightForWidth())
        self.lblMKBRange.setSizePolicy(sizePolicy)
        self.lblMKBRange.setObjectName(_fromUtf8("lblMKBRange"))
        self.gridLayout.addWidget(self.lblMKBRange, 5, 1, 1, 1)
        self.lblMKBFrom = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBFrom.sizePolicy().hasHeightForWidth())
        self.lblMKBFrom.setSizePolicy(sizePolicy)
        self.lblMKBFrom.setObjectName(_fromUtf8("lblMKBFrom"))
        self.gridLayout.addWidget(self.lblMKBFrom, 5, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportVisitsByClientTypeSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 2, 1, 5)
        self.edtBegDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 5)
        self.cmbIsPrimary = QtGui.QComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsPrimary, 3, 2, 1, 5)
        self.chbMKBFilter = QtGui.QCheckBox(
            ReportVisitsByClientTypeSetupDialog)
        self.chbMKBFilter.setText(_fromUtf8(""))
        self.chbMKBFilter.setObjectName(_fromUtf8("chbMKBFilter"))
        self.gridLayout.addWidget(self.chbMKBFilter, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 4, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 2, 1, 5)
        self.lblPrimaryStatus = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPrimaryStatus.sizePolicy().hasHeightForWidth())
        self.lblPrimaryStatus.setSizePolicy(sizePolicy)
        self.lblPrimaryStatus.setObjectName(_fromUtf8("lblPrimaryStatus"))
        self.gridLayout.addWidget(self.lblPrimaryStatus, 3, 0, 1, 2)
        self.edtEndDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 5)
        self.cmbMKBTo = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBTo.sizePolicy().hasHeightForWidth())
        self.cmbMKBTo.setSizePolicy(sizePolicy)
        self.cmbMKBTo.setObjectName(_fromUtf8("cmbMKBTo"))
        self.gridLayout.addWidget(self.cmbMKBTo, 5, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ReportVisitsByClientTypeSetupDialog)
        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, 2, 2, 1, 5)
        self.cmbCitizen = QtGui.QComboBox(ReportVisitsByClientTypeSetupDialog)
        self.cmbCitizen.setObjectName(_fromUtf8("cmbCitizen"))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCitizen, 6, 2, 1, 5)
        self.lblCitizen.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblMKBRange.setBuddy(self.cmbOrgStructure)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPrimaryStatus.setBuddy(self.cmbEventType)

        self.retranslateUi(ReportVisitsByClientTypeSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportVisitsByClientTypeSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportVisitsByClientTypeSetupDialog.reject)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBRange.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBTo.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBTo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(
            ReportVisitsByClientTypeSetupDialog)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtBegDate, self.edtEndDate)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtEndDate, self.cmbEventType)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.cmbEventType, self.cmbOrgStructure)

    def retranslateUi(self, ReportVisitsByClientTypeSetupDialog):
        ReportVisitsByClientTypeSetupDialog.setWindowTitle(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "параметры отчёта", None))
        self.lblCitizen.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Житель", None))
        self.lblBegDate.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Дата &начала периода", None))
        self.lblMKBTo.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "по", None))
        self.lblEventType.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Тип обращения",
                       None))
        self.lblEndDate.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Дата &окончания периода", None))
        self.lblMKBRange.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "&Диапазон диагнозов:", None))
        self.lblMKBFrom.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "с", None))
        self.cmbIsPrimary.setItemText(
            0,
            _translate("ReportVisitsByClientTypeSetupDialog", "Не заполнять",
                       None))
        self.cmbIsPrimary.setItemText(
            1,
            _translate("ReportVisitsByClientTypeSetupDialog", "Первичное",
                       None))
        self.cmbIsPrimary.setItemText(
            2,
            _translate("ReportVisitsByClientTypeSetupDialog", "Повторное",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Подразделение",
                       None))
        self.lblPrimaryStatus.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Вид обращения",
                       None))
        self.cmbCitizen.setItemText(
            0,
            _translate("ReportVisitsByClientTypeSetupDialog", "Не заполнять",
                       None))
        self.cmbCitizen.setItemText(
            1,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Житель Санкт-Петербурга", None))
        self.cmbCitizen.setItemText(
            2,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Житель Лен. области", None))
        self.cmbCitizen.setItemText(
            3,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Иногородний житель", None))
        self.cmbCitizen.setItemText(
            4,
            _translate("ReportVisitsByClientTypeSetupDialog", "Иностранец",
                       None))
        self.cmbCitizen.setItemText(
            5,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Сельский житель", None))
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))
Exemple #19
0
class Ui_CreateDeferredQueueDialog(object):
    def setupUi(self, CreateDeferredQueueDialog):
        CreateDeferredQueueDialog.setObjectName(
            _fromUtf8("CreateDeferredQueueDialog"))
        CreateDeferredQueueDialog.resize(579, 340)
        self.gridLayout = QtGui.QGridLayout(CreateDeferredQueueDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.gbAfterAddingBehaviour = QtGui.QGroupBox(
            CreateDeferredQueueDialog)
        self.gbAfterAddingBehaviour.setObjectName(
            _fromUtf8("gbAfterAddingBehaviour"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.gbAfterAddingBehaviour)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.rbReturnToDeferredQueue = QtGui.QRadioButton(
            self.gbAfterAddingBehaviour)
        self.rbReturnToDeferredQueue.setObjectName(
            _fromUtf8("rbReturnToDeferredQueue"))
        self.horizontalLayout.addWidget(self.rbReturnToDeferredQueue)
        self.rbReturnToRegistry = QtGui.QRadioButton(
            self.gbAfterAddingBehaviour)
        self.rbReturnToRegistry.setObjectName(_fromUtf8("rbReturnToRegistry"))
        self.horizontalLayout.addWidget(self.rbReturnToRegistry)
        self.gridLayout.addWidget(self.gbAfterAddingBehaviour, 6, 1, 1, 1)
        self.label_12 = QtGui.QLabel(CreateDeferredQueueDialog)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout.addWidget(self.label_12, 0, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtClient = QtGui.QLineEdit(CreateDeferredQueueDialog)
        self.edtClient.setEnabled(True)
        self.edtClient.setObjectName(_fromUtf8("edtClient"))
        self.horizontalLayout_3.addWidget(self.edtClient)
        self.btnClient = QtGui.QToolButton(CreateDeferredQueueDialog)
        self.btnClient.setEnabled(True)
        self.btnClient.setObjectName(_fromUtf8("btnClient"))
        self.horizontalLayout_3.addWidget(self.btnClient)
        self.gridLayout.addLayout(self.horizontalLayout_3, 0, 1, 1, 1)
        self.label_17 = QtGui.QLabel(CreateDeferredQueueDialog)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.gridLayout.addWidget(self.label_17, 1, 0, 1, 1)
        self.edtMaxDate = CDateEdit(CreateDeferredQueueDialog)
        self.edtMaxDate.setObjectName(_fromUtf8("edtMaxDate"))
        self.gridLayout.addWidget(self.edtMaxDate, 1, 1, 1, 1)
        self.label_13 = QtGui.QLabel(CreateDeferredQueueDialog)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout.addWidget(self.label_13, 3, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(CreateDeferredQueueDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 3, 1, 1, 1)
        self.label_14 = QtGui.QLabel(CreateDeferredQueueDialog)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout.addWidget(self.label_14, 4, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(CreateDeferredQueueDialog)
        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, 4, 1, 1, 1)
        self.label_16 = QtGui.QLabel(CreateDeferredQueueDialog)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.gridLayout.addWidget(self.label_16, 5, 0, 1, 1)
        self.edtComments = QtGui.QTextEdit(CreateDeferredQueueDialog)
        self.edtComments.setObjectName(_fromUtf8("edtComments"))
        self.gridLayout.addWidget(self.edtComments, 5, 1, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(CreateDeferredQueueDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_5.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.horizontalLayout_5, 7, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(CreateDeferredQueueDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(CreateDeferredQueueDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 1)
        self.label_12.setBuddy(self.edtClient)
        self.label_17.setBuddy(self.edtMaxDate)
        self.label_13.setBuddy(self.cmbSpeciality)
        self.label_14.setBuddy(self.cmbPerson)
        self.label_16.setBuddy(self.edtComments)

        self.retranslateUi(CreateDeferredQueueDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               CreateDeferredQueueDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CreateDeferredQueueDialog)
        CreateDeferredQueueDialog.setTabOrder(self.edtClient, self.btnClient)
        CreateDeferredQueueDialog.setTabOrder(self.btnClient, self.edtMaxDate)
        CreateDeferredQueueDialog.setTabOrder(self.edtMaxDate,
                                              self.cmbSpeciality)
        CreateDeferredQueueDialog.setTabOrder(self.cmbSpeciality,
                                              self.cmbPerson)
        CreateDeferredQueueDialog.setTabOrder(self.cmbPerson, self.edtComments)

    def retranslateUi(self, CreateDeferredQueueDialog):
        CreateDeferredQueueDialog.setWindowTitle(
            _translate("CreateDeferredQueueDialog", "Dialog", None))
        self.gbAfterAddingBehaviour.setTitle(
            _translate("CreateDeferredQueueDialog",
                       "После добавления перейти в окно", None))
        self.rbReturnToDeferredQueue.setText(
            _translate("CreateDeferredQueueDialog",
                       "Журнала отложенного спроса", None))
        self.rbReturnToRegistry.setText(
            _translate("CreateDeferredQueueDialog", "Картотеки", None))
        self.label_12.setText(
            _translate("CreateDeferredQueueDialog", "Пациент", None))
        self.btnClient.setText(
            _translate("CreateDeferredQueueDialog", "...", None))
        self.label_17.setText(
            _translate("CreateDeferredQueueDialog", "Крайняя дата", None))
        self.label_13.setText(
            _translate("CreateDeferredQueueDialog", "Специальность", None))
        self.label_14.setText(
            _translate("CreateDeferredQueueDialog", "Врач", None))
        self.label_16.setText(
            _translate("CreateDeferredQueueDialog", "Комментарий", None))
        self.lblOrgStructure.setText(
            _translate("CreateDeferredQueueDialog", "Подразделение", None))
Exemple #20
0
class Ui_PersonVisitsSetupDialog(object):
    def setupUi(self, PersonVisitsSetupDialog):
        PersonVisitsSetupDialog.setObjectName(
            _fromUtf8("PersonVisitsSetupDialog"))
        PersonVisitsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PersonVisitsSetupDialog.resize(341, 317)
        PersonVisitsSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(PersonVisitsSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblBegDate = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(PersonVisitsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.lblEndDate = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(PersonVisitsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(PersonVisitsSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridlayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridlayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 4)
        self.lblEventType = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridlayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridlayout.addWidget(self.cmbEventType, 6, 1, 1, 4)
        self.lblScene = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblScene.setObjectName(_fromUtf8("lblScene"))
        self.gridlayout.addWidget(self.lblScene, 7, 0, 1, 1)
        self.cmbScene = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbScene.setObjectName(_fromUtf8("cmbScene"))
        self.gridlayout.addWidget(self.cmbScene, 7, 1, 1, 4)
        self.lblWorkOrganisation = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridlayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(PersonVisitsSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridlayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            PersonVisitsSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridlayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1)
        self.lblSex = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(PersonVisitsSetupDialog)
        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(PersonVisitsSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 10, 0, 1, 1)
        self.frmAge = QtGui.QFrame(PersonVisitsSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout.addWidget(self.frmAge, 10, 1, 1, 4)
        spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 11, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PersonVisitsSetupDialog)
        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, 5)
        self.cmbOrgStructure = COrgStructureComboBox(PersonVisitsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblEventPurpose.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbPerson)
        self.lblScene.setBuddy(self.cmbPerson)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(PersonVisitsSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PersonVisitsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PersonVisitsSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PersonVisitsSetupDialog)
        PersonVisitsSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        PersonVisitsSetupDialog.setTabOrder(self.edtEndDate,
                                            self.cmbOrgStructure)
        PersonVisitsSetupDialog.setTabOrder(self.cmbOrgStructure,
                                            self.cmbPerson)
        PersonVisitsSetupDialog.setTabOrder(self.cmbPerson,
                                            self.cmbEventPurpose)
        PersonVisitsSetupDialog.setTabOrder(self.cmbEventPurpose,
                                            self.cmbEventType)
        PersonVisitsSetupDialog.setTabOrder(self.cmbEventType, self.cmbScene)
        PersonVisitsSetupDialog.setTabOrder(self.cmbScene,
                                            self.cmbWorkOrganisation)
        PersonVisitsSetupDialog.setTabOrder(self.cmbWorkOrganisation,
                                            self.btnSelectWorkOrganisation)
        PersonVisitsSetupDialog.setTabOrder(self.btnSelectWorkOrganisation,
                                            self.cmbSex)
        PersonVisitsSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        PersonVisitsSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        PersonVisitsSetupDialog.setTabOrder(self.edtAgeTo, self.buttonBox)

    def retranslateUi(self, PersonVisitsSetupDialog):
        PersonVisitsSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "&Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPerson.setItemText(
            0,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblScene.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "&Место",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblWorkOrganisation.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Занятость", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnSelectWorkOrganisation.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "...",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "По&л",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Во&зраст с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeYears.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "лет",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_PatientEntranceOrgStructureSetupDialog(object):
    def setupUi(self, PatientEntranceOrgStructureSetupDialog):
        PatientEntranceOrgStructureSetupDialog.setObjectName(_fromUtf8("PatientEntranceOrgStructureSetupDialog"))
        PatientEntranceOrgStructureSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PatientEntranceOrgStructureSetupDialog.resize(390, 233)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(PatientEntranceOrgStructureSetupDialog.sizePolicy().hasHeightForWidth())
        PatientEntranceOrgStructureSetupDialog.setSizePolicy(sizePolicy)
        PatientEntranceOrgStructureSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(PatientEntranceOrgStructureSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEventType = QtGui.QLabel(PatientEntranceOrgStructureSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(PatientEntranceOrgStructureSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 2, 0, 1, 1)
        self.lblFinanceType = QtGui.QLabel(PatientEntranceOrgStructureSetupDialog)
        self.lblFinanceType.setObjectName(_fromUtf8("lblFinanceType"))
        self.gridLayout.addWidget(self.lblFinanceType, 3, 0, 1, 1)
        self.edtBegDate = CDateEdit(PatientEntranceOrgStructureSetupDialog)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PatientEntranceOrgStructureSetupDialog)
        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.edtEndDate = CDateEdit(PatientEntranceOrgStructureSetupDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 2, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(PatientEntranceOrgStructureSetupDialog)
        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, 6, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(PatientEntranceOrgStructureSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(PatientEntranceOrgStructureSetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 1, 2, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(PatientEntranceOrgStructureSetupDialog)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 2, 2, 1, 1)
        self.cmbFinanceType = CRBComboBox(PatientEntranceOrgStructureSetupDialog)
        self.cmbFinanceType.setObjectName(_fromUtf8("cmbFinanceType"))
        self.gridLayout.addWidget(self.cmbFinanceType, 3, 1, 1, 2)
        self.cmbEventType = CRBComboBox(PatientEntranceOrgStructureSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(PatientEntranceOrgStructureSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 2)

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

    def retranslateUi(self, PatientEntranceOrgStructureSetupDialog):
        PatientEntranceOrgStructureSetupDialog.setWindowTitle(_translate("PatientEntranceOrgStructureSetupDialog", "параметры отчёта", None))
        self.lblEventType.setText(_translate("PatientEntranceOrgStructureSetupDialog", "Тип обращения", None))
        self.lblEndDate.setText(_translate("PatientEntranceOrgStructureSetupDialog", "Дата окончания периода", None))
        self.lblFinanceType.setText(_translate("PatientEntranceOrgStructureSetupDialog", "Тип финансирования", None))
        self.lblBegDate.setText(_translate("PatientEntranceOrgStructureSetupDialog", "Дата начала периода", None))
        self.lblOrgStructure.setText(_translate("PatientEntranceOrgStructureSetupDialog", "Подразделение", None))
Exemple #22
0
class Ui_ActionsPageWidget(object):
    def setupUi(self, ActionsPageWidget):
        ActionsPageWidget.setObjectName(_fromUtf8("ActionsPageWidget"))
        ActionsPageWidget.resize(1021, 825)
        self.verticalLayout = QtGui.QVBoxLayout(ActionsPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.attrsAP = QtGui.QFrame(ActionsPageWidget)
        self.attrsAP.setObjectName(_fromUtf8("attrsAP"))
        self.gridLayout_3 = QtGui.QGridLayout(self.attrsAP)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setMargin(0)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.edtAPBegDate = CDateEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegDate.sizePolicy().hasHeightForWidth())
        self.edtAPBegDate.setSizePolicy(sizePolicy)
        self.edtAPBegDate.setCalendarPopup(True)
        self.edtAPBegDate.setObjectName(_fromUtf8("edtAPBegDate"))
        self.horizontalLayout_11.addWidget(self.edtAPBegDate)
        self.edtAPBegTime = QtGui.QTimeEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegTime.sizePolicy().hasHeightForWidth())
        self.edtAPBegTime.setSizePolicy(sizePolicy)
        self.edtAPBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPBegTime.setObjectName(_fromUtf8("edtAPBegTime"))
        self.horizontalLayout_11.addWidget(self.edtAPBegTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_11, 1, 1, 1, 1)
        self.lblAPEndDate = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPEndDate.sizePolicy().hasHeightForWidth())
        self.lblAPEndDate.setSizePolicy(sizePolicy)
        self.lblAPEndDate.setObjectName(_fromUtf8("lblAPEndDate"))
        self.gridLayout_3.addWidget(self.lblAPEndDate, 1, 4, 1, 1)
        self.mkbLayout = QtGui.QWidget(self.attrsAP)
        self.mkbLayout.setObjectName(_fromUtf8("mkbLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.mkbLayout)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.cmbHMPMethod = CRBComboBox(self.mkbLayout)
        self.cmbHMPMethod.setObjectName(_fromUtf8("cmbHMPMethod"))
        self.horizontalLayout_2.addWidget(self.cmbHMPMethod)
        self.gridLayout_3.addWidget(self.mkbLayout, 6, 5, 1, 1)
        self.lblAPOffice = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPOffice.sizePolicy().hasHeightForWidth())
        self.lblAPOffice.setSizePolicy(sizePolicy)
        self.lblAPOffice.setObjectName(_fromUtf8("lblAPOffice"))
        self.gridLayout_3.addWidget(self.lblAPOffice, 1, 2, 1, 1)
        self.lblAPDirectionDate = QtGui.QLabel(self.attrsAP)
        self.lblAPDirectionDate.setObjectName(_fromUtf8("lblAPDirectionDate"))
        self.gridLayout_3.addWidget(self.lblAPDirectionDate, 0, 4, 1, 1)
        self.lblAPStatus = QtGui.QLabel(self.attrsAP)
        self.lblAPStatus.setObjectName(_fromUtf8("lblAPStatus"))
        self.gridLayout_3.addWidget(self.lblAPStatus, 0, 0, 1, 1)
        self.lblAPOrg = QtGui.QLabel(self.attrsAP)
        self.lblAPOrg.setObjectName(_fromUtf8("lblAPOrg"))
        self.gridLayout_3.addWidget(self.lblAPOrg, 2, 0, 1, 1)
        self.lblAPBegDate = QtGui.QLabel(self.attrsAP)
        self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate"))
        self.gridLayout_3.addWidget(self.lblAPBegDate, 1, 0, 1, 1)
        self.cmbAPSetPerson = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPSetPerson.sizePolicy().hasHeightForWidth())
        self.cmbAPSetPerson.setSizePolicy(sizePolicy)
        self.cmbAPSetPerson.setObjectName(_fromUtf8("cmbAPSetPerson"))
        self.cmbAPSetPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPSetPerson, 0, 7, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.btnPlanNextAction = QtGui.QToolButton(self.attrsAP)
        self.btnPlanNextAction.setEnabled(True)
        self.btnPlanNextAction.setObjectName(_fromUtf8("btnPlanNextAction"))
        self.horizontalLayout_5.addWidget(self.btnPlanNextAction)
        self.btnNextAction = QtGui.QPushButton(self.attrsAP)
        self.btnNextAction.setEnabled(True)
        self.btnNextAction.setObjectName(_fromUtf8("btnNextAction"))
        self.horizontalLayout_5.addWidget(self.btnNextAction)
        self.btnReanimation = QtGui.QPushButton(self.attrsAP)
        self.btnReanimation.setObjectName(_fromUtf8("btnReanimation"))
        self.horizontalLayout_5.addWidget(self.btnReanimation)
        self.btnMaternityWard = QtGui.QPushButton(self.attrsAP)
        self.btnMaternityWard.setObjectName(_fromUtf8("btnMaternityWard"))
        self.horizontalLayout_5.addWidget(self.btnMaternityWard)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 4, 1, 2)
        self.cmbAPPerson = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPPerson.setObjectName(_fromUtf8("cmbAPPerson"))
        self.cmbAPPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPPerson, 1, 7, 1, 1)
        self.lblAPPerson = QtGui.QLabel(self.attrsAP)
        self.lblAPPerson.setObjectName(_fromUtf8("lblAPPerson"))
        self.gridLayout_3.addWidget(self.lblAPPerson, 1, 6, 1, 1)
        self.lblAPSetPerson = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPSetPerson.sizePolicy().hasHeightForWidth())
        self.lblAPSetPerson.setSizePolicy(sizePolicy)
        self.lblAPSetPerson.setObjectName(_fromUtf8("lblAPSetPerson"))
        self.gridLayout_3.addWidget(self.lblAPSetPerson, 0, 6, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setMargin(0)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.edtAPEndDate = CDateEdit(self.attrsAP)
        self.edtAPEndDate.setCalendarPopup(True)
        self.edtAPEndDate.setObjectName(_fromUtf8("edtAPEndDate"))
        self.horizontalLayout_8.addWidget(self.edtAPEndDate)
        self.edtAPEndTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPEndTime.setObjectName(_fromUtf8("edtAPEndTime"))
        self.horizontalLayout_8.addWidget(self.edtAPEndTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_8, 1, 5, 1, 1)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setMargin(0)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.edtAPDirectionDate = CDateEdit(self.attrsAP)
        self.edtAPDirectionDate.setCalendarPopup(True)
        self.edtAPDirectionDate.setObjectName(_fromUtf8("edtAPDirectionDate"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionDate)
        self.edtAPDirectionTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPDirectionTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPDirectionTime.setObjectName(_fromUtf8("edtAPDirectionTime"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 0, 5, 1, 1)
        self.edtAPOffice = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPOffice.sizePolicy().hasHeightForWidth())
        self.edtAPOffice.setSizePolicy(sizePolicy)
        self.edtAPOffice.setMaxLength(16)
        self.edtAPOffice.setObjectName(_fromUtf8("edtAPOffice"))
        self.gridLayout_3.addWidget(self.edtAPOffice, 1, 3, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.cmbAPStatus = QtGui.QComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPStatus.sizePolicy().hasHeightForWidth())
        self.cmbAPStatus.setSizePolicy(sizePolicy)
        self.cmbAPStatus.setObjectName(_fromUtf8("cmbAPStatus"))
        self.horizontalLayout_3.addWidget(self.cmbAPStatus)
        self.chkAPIsUrgent = QtGui.QCheckBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAPIsUrgent.sizePolicy().hasHeightForWidth())
        self.chkAPIsUrgent.setSizePolicy(sizePolicy)
        self.chkAPIsUrgent.setObjectName(_fromUtf8("chkAPIsUrgent"))
        self.horizontalLayout_3.addWidget(self.chkAPIsUrgent)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 1, 1, 3)
        self.lblAPAssistant = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant.setObjectName(_fromUtf8("lblAPAssistant"))
        self.gridLayout_3.addWidget(self.lblAPAssistant, 3, 0, 1, 1)
        self.cmbAPAssistant = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPAssistant.sizePolicy().hasHeightForWidth())
        self.cmbAPAssistant.setSizePolicy(sizePolicy)
        self.cmbAPAssistant.setObjectName(_fromUtf8("cmbAPAssistant"))
        self.cmbAPAssistant.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPAssistant, 3, 1, 1, 3)
        self.cmbAPAssistant3 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant3.setObjectName(_fromUtf8("cmbAPAssistant3"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant3, 3, 7, 1, 1)
        self.cmbAPAssistant2 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant2.setObjectName(_fromUtf8("cmbAPAssistant2"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant2, 3, 5, 1, 1)
        self.lblAPAssistant2 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant2.setObjectName(_fromUtf8("lblAPAssistant2"))
        self.gridLayout_3.addWidget(self.lblAPAssistant2, 3, 4, 1, 1)
        self.lblAPAssistant3 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant3.setObjectName(_fromUtf8("lblAPAssistant3"))
        self.gridLayout_3.addWidget(self.lblAPAssistant3, 3, 6, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblAPAmount = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPAmount.sizePolicy().hasHeightForWidth())
        self.lblAPAmount.setSizePolicy(sizePolicy)
        self.lblAPAmount.setObjectName(_fromUtf8("lblAPAmount"))
        self.horizontalLayout.addWidget(self.lblAPAmount)
        self.edtAPAmount = QtGui.QDoubleSpinBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPAmount.sizePolicy().hasHeightForWidth())
        self.edtAPAmount.setSizePolicy(sizePolicy)
        self.edtAPAmount.setMaximum(999.99)
        self.edtAPAmount.setObjectName(_fromUtf8("edtAPAmount"))
        self.horizontalLayout.addWidget(self.edtAPAmount)
        self.lblAPUet = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPUet.sizePolicy().hasHeightForWidth())
        self.lblAPUet.setSizePolicy(sizePolicy)
        self.lblAPUet.setObjectName(_fromUtf8("lblAPUet"))
        self.horizontalLayout.addWidget(self.lblAPUet)
        self.edtAPUet = QtGui.QDoubleSpinBox(self.attrsAP)
        self.edtAPUet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPUet.sizePolicy().hasHeightForWidth())
        self.edtAPUet.setSizePolicy(sizePolicy)
        self.edtAPUet.setSingleStep(0.5)
        self.edtAPUet.setObjectName(_fromUtf8("edtAPUet"))
        self.horizontalLayout.addWidget(self.edtAPUet)
        self.lblAPNote = QtGui.QLabel(self.attrsAP)
        self.lblAPNote.setObjectName(_fromUtf8("lblAPNote"))
        self.horizontalLayout.addWidget(self.lblAPNote)
        self.edtAPNote = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPNote.sizePolicy().hasHeightForWidth())
        self.edtAPNote.setSizePolicy(sizePolicy)
        self.edtAPNote.setObjectName(_fromUtf8("edtAPNote"))
        self.horizontalLayout.addWidget(self.edtAPNote)
        self.lblAPMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMKB.setSizePolicy(sizePolicy)
        self.lblAPMKB.setObjectName(_fromUtf8("lblAPMKB"))
        self.horizontalLayout.addWidget(self.lblAPMKB)
        self.cmbAPMKB = CICDCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMKB.setSizePolicy(sizePolicy)
        self.cmbAPMKB.setObjectName(_fromUtf8("cmbAPMKB"))
        self.horizontalLayout.addWidget(self.cmbAPMKB)
        self.lblAPMKBText = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKBText.sizePolicy().hasHeightForWidth())
        self.lblAPMKBText.setSizePolicy(sizePolicy)
        self.lblAPMKBText.setText(_fromUtf8(""))
        self.lblAPMKBText.setWordWrap(True)
        self.lblAPMKBText.setObjectName(_fromUtf8("lblAPMKBText"))
        self.horizontalLayout.addWidget(self.lblAPMKBText)
        self.gridLayout_3.addLayout(self.horizontalLayout, 5, 0, 1, 8)
        self.grpAPOrg = QtGui.QWidget(self.attrsAP)
        self.grpAPOrg.setObjectName(_fromUtf8("grpAPOrg"))
        self._2 = QtGui.QHBoxLayout(self.grpAPOrg)
        self._2.setMargin(1)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbAPOrg = CPolyclinicExtendedComboBox(self.grpAPOrg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPOrg.sizePolicy().hasHeightForWidth())
        self.cmbAPOrg.setSizePolicy(sizePolicy)
        self.cmbAPOrg.setObjectName(_fromUtf8("cmbAPOrg"))
        self.cmbAPOrg.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbAPOrg)
        self.btnAPSelectOrg = QtGui.QToolButton(self.grpAPOrg)
        self.btnAPSelectOrg.setObjectName(_fromUtf8("btnAPSelectOrg"))
        self._2.addWidget(self.btnAPSelectOrg)
        self.gridLayout_3.addWidget(self.grpAPOrg, 2, 1, 1, 3)
        self.cmbAPMorphologyMKB = CICDMorphologyCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.cmbAPMorphologyMKB.setMinimumSize(QtCore.QSize(0, 0))
        self.cmbAPMorphologyMKB.setObjectName(_fromUtf8("cmbAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.cmbAPMorphologyMKB, 2, 7, 1, 1)
        self.lblAPMorphologyMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.lblAPMorphologyMKB.setObjectName(_fromUtf8("lblAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.lblAPMorphologyMKB, 2, 6, 1, 1)
        self.lblHMPKind = QtGui.QLabel(self.attrsAP)
        self.lblHMPKind.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPKind.setObjectName(_fromUtf8("lblHMPKind"))
        self.gridLayout_3.addWidget(self.lblHMPKind, 6, 0, 1, 1)
        self.cmbHMPKind = CRBComboBox(self.attrsAP)
        self.cmbHMPKind.setObjectName(_fromUtf8("cmbHMPKind"))
        self.gridLayout_3.addWidget(self.cmbHMPKind, 6, 1, 1, 3)
        self.lblHMPMethod = QtGui.QLabel(self.attrsAP)
        self.lblHMPMethod.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPMethod.setObjectName(_fromUtf8("lblHMPMethod"))
        self.gridLayout_3.addWidget(self.lblHMPMethod, 6, 4, 1, 1)
        self.lblActionMes = QtGui.QLabel(self.attrsAP)
        self.lblActionMes.setObjectName(_fromUtf8("lblActionMes"))
        self.gridLayout_3.addWidget(self.lblActionMes, 6, 6, 1, 1)
        self.cmbActionMes = CMESComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbActionMes.sizePolicy().hasHeightForWidth())
        self.cmbActionMes.setSizePolicy(sizePolicy)
        self.cmbActionMes.setObjectName(_fromUtf8("cmbActionMes"))
        self.gridLayout_3.addWidget(self.cmbActionMes, 6, 7, 1, 1)
        self.verticalLayout.addWidget(self.attrsAP)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.btnToggleAttrsAP = QtGui.QPushButton(ActionsPageWidget)
        self.btnToggleAttrsAP.setMinimumSize(QtCore.QSize(0, 0))
        self.btnToggleAttrsAP.setMaximumSize(QtCore.QSize(40, 20))
        self.btnToggleAttrsAP.setCheckable(True)
        self.btnToggleAttrsAP.setChecked(False)
        self.btnToggleAttrsAP.setObjectName(_fromUtf8("btnToggleAttrsAP"))
        self.horizontalLayout_7.addWidget(self.btnToggleAttrsAP)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.scrollArea = QtGui.QScrollArea(ActionsPageWidget)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1009, 547))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitterAP = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitterAP.sizePolicy().hasHeightForWidth())
        self.splitterAP.setSizePolicy(sizePolicy)
        self.splitterAP.setOrientation(QtCore.Qt.Horizontal)
        self.splitterAP.setChildrenCollapsible(False)
        self.splitterAP.setObjectName(_fromUtf8("splitterAP"))
        self.tblAPActions = CActionsTableView(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblAPActions.sizePolicy().hasHeightForWidth())
        self.tblAPActions.setSizePolicy(sizePolicy)
        self.tblAPActions.setMinimumSize(QtCore.QSize(150, 0))
        self.tblAPActions.setObjectName(_fromUtf8("tblAPActions"))
        self.frameAP = QtGui.QFrame(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frameAP.sizePolicy().hasHeightForWidth())
        self.frameAP.setSizePolicy(sizePolicy)
        self.frameAP.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frameAP.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameAP.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameAP.setObjectName(_fromUtf8("frameAP"))
        self.gridLayout = QtGui.QGridLayout(self.frameAP)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblAPProps = CExActionPropertiesTableView(self.frameAP)
        self.tblAPProps.setEnabled(False)
        self.tblAPProps.setMinimumSize(QtCore.QSize(0, 250))
        self.tblAPProps.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setObjectName(_fromUtf8("tblAPProps"))
        self.gridLayout.addWidget(self.tblAPProps, 18, 0, 1, 2)
        self.frmAPButtonsBar = QtGui.QFrame(self.frameAP)
        self.frmAPButtonsBar.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAPButtonsBar.setFrameShadow(QtGui.QFrame.Plain)
        self.frmAPButtonsBar.setLineWidth(0)
        self.frmAPButtonsBar.setObjectName(_fromUtf8("frmAPButtonsBar"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmAPButtonsBar)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAPPrint = CPrintButton(self.frmAPButtonsBar)
        self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint"))
        self.horizontalLayout_4.addWidget(self.btnAPPrint)
        self.btnAPLoadTemplate = CActionTemplateChooseButton(self.frmAPButtonsBar)
        self.btnAPLoadTemplate.setObjectName(_fromUtf8("btnAPLoadTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadTemplate)
        self.btnAPSaveAsTemplate = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPSaveAsTemplate.setObjectName(_fromUtf8("btnAPSaveAsTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPSaveAsTemplate)
        self.btnAPLoadPrevAction = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPLoadPrevAction.setEnabled(False)
        self.btnAPLoadPrevAction.setObjectName(_fromUtf8("btnAPLoadPrevAction"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadPrevAction)
        spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAPButtonsBar, 19, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.splitterAP)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)

        self.retranslateUi(ActionsPageWidget)
        QtCore.QObject.connect(self.btnToggleAttrsAP, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.attrsAP.setHidden)
        QtCore.QMetaObject.connectSlotsByName(ActionsPageWidget)
        ActionsPageWidget.setTabOrder(self.cmbAPStatus, self.chkAPIsUrgent)
        ActionsPageWidget.setTabOrder(self.chkAPIsUrgent, self.edtAPDirectionDate)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionDate, self.edtAPDirectionTime)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionTime, self.cmbAPSetPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPSetPerson, self.edtAPBegDate)
        ActionsPageWidget.setTabOrder(self.edtAPBegDate, self.edtAPBegTime)
        ActionsPageWidget.setTabOrder(self.edtAPBegTime, self.edtAPOffice)
        ActionsPageWidget.setTabOrder(self.edtAPOffice, self.edtAPEndDate)
        ActionsPageWidget.setTabOrder(self.edtAPEndDate, self.edtAPEndTime)
        ActionsPageWidget.setTabOrder(self.edtAPEndTime, self.cmbAPPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPPerson, self.cmbAPOrg)
        ActionsPageWidget.setTabOrder(self.cmbAPOrg, self.btnAPSelectOrg)
        ActionsPageWidget.setTabOrder(self.btnAPSelectOrg, self.btnPlanNextAction)
        ActionsPageWidget.setTabOrder(self.btnPlanNextAction, self.btnNextAction)
        ActionsPageWidget.setTabOrder(self.btnNextAction, self.btnReanimation)
        ActionsPageWidget.setTabOrder(self.btnReanimation, self.btnMaternityWard)
        ActionsPageWidget.setTabOrder(self.btnMaternityWard, self.cmbAPMorphologyMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMorphologyMKB, self.cmbAPAssistant)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant, self.cmbAPAssistant2)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant2, self.cmbAPAssistant3)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant3, self.edtAPAmount)
        ActionsPageWidget.setTabOrder(self.edtAPAmount, self.edtAPUet)
        ActionsPageWidget.setTabOrder(self.edtAPUet, self.edtAPNote)
        ActionsPageWidget.setTabOrder(self.edtAPNote, self.cmbAPMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMKB, self.cmbHMPKind)
        ActionsPageWidget.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod)
        ActionsPageWidget.setTabOrder(self.cmbHMPMethod, self.cmbActionMes)
        ActionsPageWidget.setTabOrder(self.cmbActionMes, self.btnToggleAttrsAP)
        ActionsPageWidget.setTabOrder(self.btnToggleAttrsAP, self.scrollArea)
        ActionsPageWidget.setTabOrder(self.scrollArea, self.tblAPActions)
        ActionsPageWidget.setTabOrder(self.tblAPActions, self.tblAPProps)
        ActionsPageWidget.setTabOrder(self.tblAPProps, self.btnAPPrint)
        ActionsPageWidget.setTabOrder(self.btnAPPrint, self.btnAPLoadTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPLoadTemplate, self.btnAPSaveAsTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPSaveAsTemplate, self.btnAPLoadPrevAction)

    def retranslateUi(self, ActionsPageWidget):
        ActionsPageWidget.setWindowTitle(_translate("ActionsPageWidget", "Form", None))
        self.edtAPBegDate.setWhatsThis(_translate("ActionsPageWidget", "дата окончания осмотра", None))
        self.edtAPBegTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.lblAPEndDate.setText(_translate("ActionsPageWidget", "Выполнено", None))
        self.cmbHMPMethod.setWhatsThis(_translate("ActionsPageWidget", "результат осмотра", None))
        self.lblAPOffice.setText(_translate("ActionsPageWidget", "Кабинет", None))
        self.lblAPDirectionDate.setText(_translate("ActionsPageWidget", "Назначено", None))
        self.lblAPStatus.setText(_translate("ActionsPageWidget", "Состояние", None))
        self.lblAPOrg.setText(_translate("ActionsPageWidget", "Место выполнения", None))
        self.lblAPBegDate.setText(_translate("ActionsPageWidget", "Начато", None))
        self.cmbAPSetPerson.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.btnPlanNextAction.setText(_translate("ActionsPageWidget", "...", None))
        self.btnNextAction.setText(_translate("ActionsPageWidget", "Действие", None))
        self.btnReanimation.setText(_translate("ActionsPageWidget", "Реанимация", None))
        self.btnMaternityWard.setText(_translate("ActionsPageWidget", "Родовое", None))
        self.cmbAPPerson.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.lblAPPerson.setText(_translate("ActionsPageWidget", "Исполнитель", None))
        self.lblAPSetPerson.setText(_translate("ActionsPageWidget", "Назначил", None))
        self.edtAPEndTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.edtAPDirectionDate.setWhatsThis(_translate("ActionsPageWidget", "дата начала осмотра", None))
        self.edtAPDirectionTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.chkAPIsUrgent.setText(_translate("ActionsPageWidget", "Срочно", None))
        self.lblAPAssistant.setText(_translate("ActionsPageWidget", "Ассистент", None))
        self.cmbAPAssistant.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.lblAPAssistant2.setText(_translate("ActionsPageWidget", "Ассистент2", None))
        self.lblAPAssistant3.setText(_translate("ActionsPageWidget", "Ассистент3", None))
        self.lblAPAmount.setText(_translate("ActionsPageWidget", "Количество", None))
        self.lblAPUet.setText(_translate("ActionsPageWidget", "УЕТ", None))
        self.lblAPNote.setText(_translate("ActionsPageWidget", "Примечания", None))
        self.lblAPMKB.setText(_translate("ActionsPageWidget", "Диагноз", None))
        self.cmbAPOrg.setItemText(0, _translate("ActionsPageWidget", "Организация", None))
        self.btnAPSelectOrg.setText(_translate("ActionsPageWidget", "...", None))
        self.lblAPMorphologyMKB.setText(_translate("ActionsPageWidget", "Морфология МКБ", None))
        self.lblHMPKind.setText(_translate("ActionsPageWidget", "Вид ВМП", None))
        self.cmbHMPKind.setWhatsThis(_translate("ActionsPageWidget", "результат осмотра", None))
        self.lblHMPMethod.setText(_translate("ActionsPageWidget", "Метод ВМП", None))
        self.lblActionMes.setText(_translate("ActionsPageWidget", "Стандарт", None))
        self.btnToggleAttrsAP.setText(_translate("ActionsPageWidget", "^", None))
        self.btnAPPrint.setText(_translate("ActionsPageWidget", "Печать", None))
        self.btnAPLoadTemplate.setText(_translate("ActionsPageWidget", "Загрузить шаблон", None))
        self.btnAPSaveAsTemplate.setText(_translate("ActionsPageWidget", "Сохранить шаблон", None))
        self.btnAPLoadPrevAction.setText(_translate("ActionsPageWidget", "Копировать из предыдущего", None))
Exemple #23
0
class Ui_ReportDD2013WeeklySetupDialog(object):
    def setupUi(self, ReportDD2013WeeklySetupDialog):
        ReportDD2013WeeklySetupDialog.setObjectName(
            _fromUtf8("ReportDD2013WeeklySetupDialog"))
        ReportDD2013WeeklySetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportDD2013WeeklySetupDialog.resize(532, 304)
        ReportDD2013WeeklySetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(ReportDD2013WeeklySetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblSex = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 4, 0, 1, 1)
        self.frmAge = QtGui.QFrame(ReportDD2013WeeklySetupDialog)
        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.setMargin(0)
        self._2.setSpacing(4)
        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)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self._2.addItem(spacerItem)
        self.gridlayout.addWidget(self.frmAge, 6, 2, 1, 2)
        self.lblTerType = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblTerType.setObjectName(_fromUtf8("lblTerType"))
        self.gridlayout.addWidget(self.lblTerType, 10, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridlayout.addWidget(self.lblEventType, 7, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportDD2013WeeklySetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridlayout.addWidget(self.cmbEventType, 7, 2, 1, 1)
        self.lblPayStatus = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblPayStatus.setObjectName(_fromUtf8("lblPayStatus"))
        self.gridlayout.addWidget(self.lblPayStatus, 14, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(ReportDD2013WeeklySetupDialog)
        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, 4, 2, 1, 1)
        self.lblAge = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 6, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1)
        self.edtBegDate = CDateEdit(ReportDD2013WeeklySetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem2, 18, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 1, 3, 1, 1)
        self.cmbSource = QtGui.QComboBox(ReportDD2013WeeklySetupDialog)
        self.cmbSource.setObjectName(_fromUtf8("cmbSource"))
        self.cmbSource.addItem(_fromUtf8(""))
        self.cmbSource.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbSource, 11, 2, 1, 1)
        self.chkCountUnfinished = QtGui.QCheckBox(
            ReportDD2013WeeklySetupDialog)
        self.chkCountUnfinished.setObjectName(_fromUtf8("chkCountUnfinished"))
        self.gridlayout.addWidget(self.chkCountUnfinished, 15, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportDD2013WeeklySetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 19, 0, 1, 4)
        self.grbPopulation = QtGui.QGroupBox(ReportDD2013WeeklySetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grbPopulation.sizePolicy().hasHeightForWidth())
        self.grbPopulation.setSizePolicy(sizePolicy)
        self.grbPopulation.setMinimumSize(QtCore.QSize(0, 100))
        self.grbPopulation.setCheckable(True)
        self.grbPopulation.setChecked(False)
        self.grbPopulation.setObjectName(_fromUtf8("grbPopulation"))
        self.gridLayoutWidget = QtGui.QWidget(self.grbPopulation)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 340, 93))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblWomen = QtGui.QLabel(self.gridLayoutWidget)
        self.lblWomen.setObjectName(_fromUtf8("lblWomen"))
        self.gridLayout_2.addWidget(self.lblWomen, 0, 3, 1, 1)
        self.lblWomenPlan = QtGui.QLabel(self.gridLayoutWidget)
        self.lblWomenPlan.setObjectName(_fromUtf8("lblWomenPlan"))
        self.gridLayout_2.addWidget(self.lblWomenPlan, 0, 4, 1, 1)
        self.lblYoung = QtGui.QLabel(self.gridLayoutWidget)
        self.lblYoung.setObjectName(_fromUtf8("lblYoung"))
        self.gridLayout_2.addWidget(self.lblYoung, 1, 0, 1, 1)
        self.lblMenPlan = QtGui.QLabel(self.gridLayoutWidget)
        self.lblMenPlan.setObjectName(_fromUtf8("lblMenPlan"))
        self.gridLayout_2.addWidget(self.lblMenPlan, 0, 2, 1, 1)
        self.lblMiddle = QtGui.QLabel(self.gridLayoutWidget)
        self.lblMiddle.setObjectName(_fromUtf8("lblMiddle"))
        self.gridLayout_2.addWidget(self.lblMiddle, 2, 0, 1, 1)
        self.lblOld = QtGui.QLabel(self.gridLayoutWidget)
        self.lblOld.setObjectName(_fromUtf8("lblOld"))
        self.gridLayout_2.addWidget(self.lblOld, 3, 0, 1, 1)
        self.lblMen = QtGui.QLabel(self.gridLayoutWidget)
        self.lblMen.setObjectName(_fromUtf8("lblMen"))
        self.gridLayout_2.addWidget(self.lblMen, 0, 1, 1, 1)
        self.edtYoungMen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtYoungMen.setObjectName(_fromUtf8("edtYoungMen"))
        self.gridLayout_2.addWidget(self.edtYoungMen, 1, 1, 1, 1)
        self.edtMiddleMen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtMiddleMen.setObjectName(_fromUtf8("edtMiddleMen"))
        self.gridLayout_2.addWidget(self.edtMiddleMen, 2, 1, 1, 1)
        self.edtOldMen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtOldMen.setObjectName(_fromUtf8("edtOldMen"))
        self.gridLayout_2.addWidget(self.edtOldMen, 3, 1, 1, 1)
        self.edtYoungMenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtYoungMenPlan.setObjectName(_fromUtf8("edtYoungMenPlan"))
        self.gridLayout_2.addWidget(self.edtYoungMenPlan, 1, 2, 1, 1)
        self.edtMiddleMenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtMiddleMenPlan.setObjectName(_fromUtf8("edtMiddleMenPlan"))
        self.gridLayout_2.addWidget(self.edtMiddleMenPlan, 2, 2, 1, 1)
        self.edtOldMenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtOldMenPlan.setObjectName(_fromUtf8("edtOldMenPlan"))
        self.gridLayout_2.addWidget(self.edtOldMenPlan, 3, 2, 1, 1)
        self.edtYoungWomen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtYoungWomen.setObjectName(_fromUtf8("edtYoungWomen"))
        self.gridLayout_2.addWidget(self.edtYoungWomen, 1, 3, 1, 1)
        self.edtMiddleWomen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtMiddleWomen.setObjectName(_fromUtf8("edtMiddleWomen"))
        self.gridLayout_2.addWidget(self.edtMiddleWomen, 2, 3, 1, 1)
        self.edtOldWomen = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtOldWomen.setObjectName(_fromUtf8("edtOldWomen"))
        self.gridLayout_2.addWidget(self.edtOldWomen, 3, 3, 1, 1)
        self.edtYoungWomenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtYoungWomenPlan.setObjectName(_fromUtf8("edtYoungWomenPlan"))
        self.gridLayout_2.addWidget(self.edtYoungWomenPlan, 1, 4, 1, 1)
        self.edtMiddleWomenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtMiddleWomenPlan.setObjectName(_fromUtf8("edtMiddleWomenPlan"))
        self.gridLayout_2.addWidget(self.edtMiddleWomenPlan, 2, 4, 1, 1)
        self.edtOldWomenPlan = QtGui.QLineEdit(self.gridLayoutWidget)
        self.edtOldWomenPlan.setObjectName(_fromUtf8("edtOldWomenPlan"))
        self.gridLayout_2.addWidget(self.edtOldWomenPlan, 3, 4, 1, 1)
        self.gridlayout.addWidget(self.grbPopulation, 13, 0, 1, 3)
        self.cmbTerType = QtGui.QComboBox(ReportDD2013WeeklySetupDialog)
        self.cmbTerType.setObjectName(_fromUtf8("cmbTerType"))
        self.cmbTerType.addItem(_fromUtf8(""))
        self.cmbTerType.addItem(_fromUtf8(""))
        self.cmbTerType.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbTerType, 10, 2, 1, 1)
        self.edtEndDate = CDateEdit(ReportDD2013WeeklySetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 2, 1, 1)
        self.cmbPayStatus = QtGui.QComboBox(ReportDD2013WeeklySetupDialog)
        self.cmbPayStatus.setObjectName(_fromUtf8("cmbPayStatus"))
        self.gridlayout.addWidget(self.cmbPayStatus, 14, 2, 1, 1)
        self.lblSocStatusClass = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridlayout.addWidget(self.lblSocStatusClass, 16, 0, 1, 1)
        self.cmbSocStatusClass = CSocStatusComboBox(
            ReportDD2013WeeklySetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridlayout.addWidget(self.cmbSocStatusClass, 16, 2, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridlayout.addWidget(self.lblSocStatusType, 17, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportDD2013WeeklySetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridlayout.addWidget(self.cmbSocStatusType, 17, 2, 1, 1)
        self.lblSource = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblSource.setObjectName(_fromUtf8("lblSource"))
        self.gridlayout.addWidget(self.lblSource, 11, 0, 1, 1)
        self.lblDDPlan = QtGui.QLabel(ReportDD2013WeeklySetupDialog)
        self.lblDDPlan.setObjectName(_fromUtf8("lblDDPlan"))
        self.gridlayout.addWidget(self.lblDDPlan, 12, 0, 1, 1)
        self.edtDDPlan = QtGui.QLineEdit(ReportDD2013WeeklySetupDialog)
        self.edtDDPlan.setInputMask(_fromUtf8(""))
        self.edtDDPlan.setObjectName(_fromUtf8("edtDDPlan"))
        self.gridlayout.addWidget(self.edtDDPlan, 12, 2, 1, 1)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblTerType.setBuddy(self.cmbTerType)
        self.lblPayStatus.setBuddy(self.cmbPayStatus)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblDDPlan.setBuddy(self.edtDDPlan)

        self.retranslateUi(ReportDD2013WeeklySetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportDD2013WeeklySetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportDD2013WeeklySetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportDD2013WeeklySetupDialog)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.edtBegDate,
                                                  self.edtEndDate)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.edtEndDate, self.cmbSex)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.edtAgeFrom,
                                                  self.edtAgeTo)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.edtAgeTo,
                                                  self.cmbTerType)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.cmbTerType,
                                                  self.cmbPayStatus)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.cmbPayStatus,
                                                  self.chkCountUnfinished)
        ReportDD2013WeeklySetupDialog.setTabOrder(self.chkCountUnfinished,
                                                  self.buttonBox)

    def retranslateUi(self, ReportDD2013WeeklySetupDialog):
        ReportDD2013WeeklySetupDialog.setWindowTitle(
            _translate("ReportDD2013WeeklySetupDialog", "параметры отчёта",
                       None))
        self.lblSex.setText(
            _translate("ReportDD2013WeeklySetupDialog", "По&л", None))
        self.lblAgeTo.setText(
            _translate("ReportDD2013WeeklySetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("ReportDD2013WeeklySetupDialog", "лет", None))
        self.lblTerType.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Территориально",
                       None))
        self.lblEventType.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Тип обращения", None))
        self.lblPayStatus.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Состояние оплаты",
                       None))
        self.cmbSex.setItemText(
            1, _translate("ReportDD2013WeeklySetupDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("ReportDD2013WeeklySetupDialog", "Ж", None))
        self.lblAge.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Во&зраст с", None))
        self.lblBegDate.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Дата &начала периода",
                       None))
        self.cmbSource.setItemText(
            0, _translate("ReportDD2013WeeklySetupDialog", "База данных",
                          None))
        self.cmbSource.setItemText(
            1,
            _translate("ReportDD2013WeeklySetupDialog",
                       "Предоставленные значения", None))
        self.chkCountUnfinished.setText(
            _translate("ReportDD2013WeeklySetupDialog",
                       "Учитывать неоконченные обращения", None))
        self.lblEndDate.setText(
            _translate("ReportDD2013WeeklySetupDialog",
                       "Дата &окончания периода", None))
        self.grbPopulation.setTitle(
            _translate("ReportDD2013WeeklySetupDialog",
                       "Численность населения", None))
        self.lblWomen.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Всего женщин", None))
        self.lblWomenPlan.setText(
            _translate("ReportDD2013WeeklySetupDialog", "План", None))
        self.lblYoung.setText(
            _translate("ReportDD2013WeeklySetupDialog", "21-36 лет", None))
        self.lblMenPlan.setText(
            _translate("ReportDD2013WeeklySetupDialog", "План", None))
        self.lblMiddle.setText(
            _translate("ReportDD2013WeeklySetupDialog", "39-60 лет", None))
        self.lblOld.setText(
            _translate("ReportDD2013WeeklySetupDialog", "старше 60 лет", None))
        self.lblMen.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Всего мужчин", None))
        self.cmbTerType.setItemText(
            0, _translate("ReportDD2013WeeklySetupDialog", "Не задано", None))
        self.cmbTerType.setItemText(
            1,
            _translate("ReportDD2013WeeklySetupDialog",
                       "Проживает в субъекте, обслуживаемом ЛПУ", None))
        self.cmbTerType.setItemText(
            2,
            _translate("ReportDD2013WeeklySetupDialog", "Прикреплен к ЛПУ",
                       None))
        self.lblSocStatusClass.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Класс соц. статуса",
                       None))
        self.lblSocStatusType.setText(
            _translate("ReportDD2013WeeklySetupDialog", "Тип соц. статуса",
                       None))
        self.lblSource.setText(
            _translate("ReportDD2013WeeklySetupDialog",
                       "Источник данных о населении", None))
        self.lblDDPlan.setText(
            _translate("ReportDD2013WeeklySetupDialog", "План диспансеризации",
                       None))
class Ui_ReportPatientAtHome(object):
    def setupUi(self, ReportPatientAtHome):
        ReportPatientAtHome.setObjectName(_fromUtf8("ReportPatientAtHome"))
        ReportPatientAtHome.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportPatientAtHome.resize(425, 392)
        ReportPatientAtHome.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(ReportPatientAtHome)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbEventType = CRBComboBox(ReportPatientAtHome)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridlayout.addWidget(self.cmbEventType, 2, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportPatientAtHome)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.label_2 = QtGui.QLabel(ReportPatientAtHome)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridlayout.addWidget(self.label_2, 4, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportPatientAtHome)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportPatientAtHome)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 2)
        self.lblEndDate = QtGui.QLabel(ReportPatientAtHome)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportPatientAtHome)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 8, 1, 1, 2)
        self.lblRowGrouping = QtGui.QLabel(ReportPatientAtHome)
        self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping"))
        self.gridlayout.addWidget(self.lblRowGrouping, 10, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportPatientAtHome)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportPatientAtHome)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportPatientAtHome)
        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, 14, 0, 1, 3)
        self.cmbSex = QtGui.QComboBox(ReportPatientAtHome)
        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.lblPerson = QtGui.QLabel(ReportPatientAtHome)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 8, 0, 1, 1)
        self.cmbRowGrouping = QtGui.QComboBox(ReportPatientAtHome)
        self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping"))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.cmbRowGrouping.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbRowGrouping, 10, 1, 1, 2)
        self.label = QtGui.QLabel(ReportPatientAtHome)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout.addWidget(self.label, 2, 0, 1, 1)
        self.lblSex = QtGui.QLabel(ReportPatientAtHome)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.label_3 = QtGui.QLabel(ReportPatientAtHome)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridlayout.addWidget(self.label_3, 3, 0, 1, 1)
        self.cmbSocStatusClass = CSocStatusComboBox(ReportPatientAtHome)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridlayout.addWidget(self.cmbSocStatusClass, 3, 1, 1, 2)
        self.cmbSocStatusType = CRBComboBox(ReportPatientAtHome)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridlayout.addWidget(self.cmbSocStatusType, 4, 1, 1, 2)
        self.chkGroup = QtGui.QCheckBox(ReportPatientAtHome)
        self.chkGroup.setObjectName(_fromUtf8("chkGroup"))
        self.gridlayout.addWidget(self.chkGroup, 11, 1, 1, 1)
        self.chkRegAddress = QtGui.QCheckBox(ReportPatientAtHome)
        self.chkRegAddress.setObjectName(_fromUtf8("chkRegAddress"))
        self.gridlayout.addWidget(self.chkRegAddress, 12, 1, 1, 1)
        self.chkAddress = QtGui.QCheckBox(ReportPatientAtHome)
        self.chkAddress.setObjectName(_fromUtf8("chkAddress"))
        self.gridlayout.addWidget(self.chkAddress, 13, 1, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblRowGrouping.setBuddy(self.cmbRowGrouping)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblSex.setBuddy(self.cmbSex)

        self.retranslateUi(ReportPatientAtHome)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportPatientAtHome.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportPatientAtHome.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportPatientAtHome)
        ReportPatientAtHome.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportPatientAtHome.setTabOrder(self.edtEndDate, self.cmbOrgStructure)
        ReportPatientAtHome.setTabOrder(self.cmbOrgStructure, self.cmbPerson)
        ReportPatientAtHome.setTabOrder(self.cmbPerson, self.cmbSex)
        ReportPatientAtHome.setTabOrder(self.cmbSex, self.cmbRowGrouping)
        ReportPatientAtHome.setTabOrder(self.cmbRowGrouping, self.buttonBox)

    def retranslateUi(self, ReportPatientAtHome):
        ReportPatientAtHome.setWindowTitle(
            _translate("ReportPatientAtHome", "параметры отчёта", None))
        self.lblOrgStructure.setText(
            _translate("ReportPatientAtHome", "&Подразделение", None))
        self.label_2.setText(
            _translate("ReportPatientAtHome", "Тип соц. статуса", None))
        self.lblBegDate.setText(
            _translate("ReportPatientAtHome", "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportPatientAtHome", "Дата &окончания периода", None))
        self.cmbPerson.setItemText(
            0, _translate("ReportPatientAtHome", "Врач", None))
        self.lblRowGrouping.setText(
            _translate("ReportPatientAtHome", "&Строки по", None))
        self.cmbSex.setItemText(1, _translate("ReportPatientAtHome", "М",
                                              None))
        self.cmbSex.setItemText(2, _translate("ReportPatientAtHome", "Ж",
                                              None))
        self.lblPerson.setText(_translate("ReportPatientAtHome", "&Врач",
                                          None))
        self.cmbRowGrouping.setItemText(
            0, _translate("ReportPatientAtHome", "Датам", None))
        self.cmbRowGrouping.setItemText(
            1, _translate("ReportPatientAtHome", "Врачам", None))
        self.cmbRowGrouping.setItemText(
            2, _translate("ReportPatientAtHome", "Подразделениям", None))
        self.cmbRowGrouping.setItemText(
            3, _translate("ReportPatientAtHome", "Специальности", None))
        self.cmbRowGrouping.setItemText(
            4, _translate("ReportPatientAtHome", "Должности", None))
        self.cmbRowGrouping.setItemText(
            5, _translate("ReportPatientAtHome", "Пациентам", None))
        self.label.setText(
            _translate("ReportPatientAtHome", "Тип события", None))
        self.lblSex.setText(_translate("ReportPatientAtHome", "По&л", None))
        self.label_3.setText(
            _translate("ReportPatientAtHome", "Класс соц. статуса", None))
        self.chkGroup.setText(
            _translate("ReportPatientAtHome", "Группировать по отделениям",
                       None))
        self.chkRegAddress.setText(
            _translate("ReportPatientAtHome", "Выводить адрес регистрации",
                       None))
        self.chkAddress.setText(
            _translate("ReportPatientAtHome", "Выводить адрес проживания",
                       None))
Exemple #25
0
class Ui_ReportF32SetupDialog(object):
    def setupUi(self, ReportF32SetupDialog):
        ReportF32SetupDialog.setObjectName(_fromUtf8("ReportF32SetupDialog"))
        ReportF32SetupDialog.resize(408, 258)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportF32SetupDialog.sizePolicy().hasHeightForWidth())
        ReportF32SetupDialog.setSizePolicy(sizePolicy)
        self.label = QtGui.QLabel(ReportF32SetupDialog)
        self.label.setGeometry(QtCore.QRect(10, 20, 141, 16))
        self.label.setObjectName(_fromUtf8("label"))
        self.edtEndDate = CDateEdit(ReportF32SetupDialog)
        self.edtEndDate.setGeometry(QtCore.QRect(210, 50, 110, 22))
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.edtBegDate = CDateEdit(ReportF32SetupDialog)
        self.edtBegDate.setGeometry(QtCore.QRect(210, 20, 110, 22))
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.label_2 = QtGui.QLabel(ReportF32SetupDialog)
        self.label_2.setGeometry(QtCore.QRect(10, 50, 161, 16))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_4 = QtGui.QLabel(ReportF32SetupDialog)
        self.label_4.setGeometry(QtCore.QRect(10, 110, 131, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.cmbOrgStructure = COrgStructureComboBox(ReportF32SetupDialog)
        self.cmbOrgStructure.setGeometry(QtCore.QRect(210, 110, 191, 22))
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.cmbEventType = CRBComboBox(ReportF32SetupDialog)
        self.cmbEventType.setGeometry(QtCore.QRect(210, 80, 191, 22))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.label_3 = QtGui.QLabel(ReportF32SetupDialog)
        self.label_3.setGeometry(QtCore.QRect(10, 80, 131, 16))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.buttonBox = QtGui.QDialogButtonBox(ReportF32SetupDialog)
        self.buttonBox.setGeometry(QtCore.QRect(180, 230, 221, 23))
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.lblSpeciality = QtGui.QLabel(ReportF32SetupDialog)
        self.lblSpeciality.setGeometry(QtCore.QRect(9, 140, 197, 25))
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.cmbPerson = CPersonComboBoxEx(ReportF32SetupDialog)
        self.cmbPerson.setGeometry(QtCore.QRect(210, 169, 191, 25))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.lblPerson = QtGui.QLabel(ReportF32SetupDialog)
        self.lblPerson.setGeometry(QtCore.QRect(9, 169, 197, 25))
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.cmbSpeciality = CRBComboBox(ReportF32SetupDialog)
        self.cmbSpeciality.setGeometry(QtCore.QRect(210, 140, 191, 25))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.lblAgeYears = QtGui.QLabel(ReportF32SetupDialog)
        self.lblAgeYears.setGeometry(QtCore.QRect(348, 200, 23, 25))
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.edtAgeTo = QtGui.QSpinBox(ReportF32SetupDialog)
        self.edtAgeTo.setGeometry(QtCore.QRect(289, 200, 55, 25))
        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.edtAgeFrom = QtGui.QSpinBox(ReportF32SetupDialog)
        self.edtAgeFrom.setGeometry(QtCore.QRect(210, 200, 55, 25))
        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.lblAge = QtGui.QLabel(ReportF32SetupDialog)
        self.lblAge.setGeometry(QtCore.QRect(384, 612, 197, 25))
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.lblAge_2 = QtGui.QLabel(ReportF32SetupDialog)
        self.lblAge_2.setGeometry(QtCore.QRect(10, 200, 197, 25))
        self.lblAge_2.setObjectName(_fromUtf8("lblAge_2"))
        self.lblAgeTo = QtGui.QLabel(ReportF32SetupDialog)
        self.lblAgeTo.setGeometry(QtCore.QRect(270, 200, 16, 25))
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblAge_2.setBuddy(self.edtAgeFrom)
        self.lblAgeTo.setBuddy(self.edtAgeTo)

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

    def retranslateUi(self, ReportF32SetupDialog):
        ReportF32SetupDialog.setWindowTitle(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "Параметры отчета", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog",
                                         "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog", "&Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "ReportF32SetupDialog",
                "<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.lblAgeYears.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog", "лет", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog", "Во&зраст с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAge_2.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog", "Во&зраст с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("ReportF32SetupDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemple #26
0
class Ui_ReportF030ruSetup(object):
    def setupUi(self, ReportF030ruSetup):
        ReportF030ruSetup.setObjectName(_fromUtf8("ReportF030ruSetup"))
        ReportF030ruSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportF030ruSetup.resize(483, 209)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportF030ruSetup.sizePolicy().hasHeightForWidth())
        ReportF030ruSetup.setSizePolicy(sizePolicy)
        ReportF030ruSetup.setSizeGripEnabled(True)
        ReportF030ruSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportF030ruSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportF030ruSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportF030ruSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF030ruSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 4)
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 3, 1, 2)
        self.edtBegDate = CDateEdit(ReportF030ruSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportF030ruSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 3, 3, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportF030ruSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportF030ruSetup)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.lblFinance = QtGui.QLabel(ReportF030ruSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportF030ruSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 1, 1, 4)
        self.lblOrgStructure_2 = QtGui.QLabel(ReportF030ruSetup)
        self.lblOrgStructure_2.setObjectName(_fromUtf8("lblOrgStructure_2"))
        self.gridLayout.addWidget(self.lblOrgStructure_2, 8, 0, 1, 1)
        self.cmbRecipeStatus = CRecipeStatusComboBox(ReportF030ruSetup)
        self.cmbRecipeStatus.setObjectName(_fromUtf8("cmbRecipeStatus"))
        self.gridLayout.addWidget(self.cmbRecipeStatus, 8, 1, 1, 4)
        self.btnOk = QtGui.QPushButton(ReportF030ruSetup)
        self.btnOk.setObjectName(_fromUtf8("btnOk"))
        self.gridLayout.addWidget(self.btnOk, 10, 4, 1, 1)
        self.btnCancel = QtGui.QPushButton(ReportF030ruSetup)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.gridLayout.addWidget(self.btnCancel, 10, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 9, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblBegDate_2.setBuddy(self.edtBegDate)

        self.retranslateUi(ReportF030ruSetup)
        QtCore.QObject.connect(self.btnCancel,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportF030ruSetup.reject)
        QtCore.QObject.connect(self.btnOk,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportF030ruSetup.accept)
        QtCore.QMetaObject.connectSlotsByName(ReportF030ruSetup)
        ReportF030ruSetup.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportF030ruSetup.setTabOrder(self.edtEndDate, self.cmbFinance)
        ReportF030ruSetup.setTabOrder(self.cmbFinance, self.cmbOrgStructure)
        ReportF030ruSetup.setTabOrder(self.cmbOrgStructure,
                                      self.cmbRecipeStatus)
        ReportF030ruSetup.setTabOrder(self.cmbRecipeStatus, self.btnOk)
        ReportF030ruSetup.setTabOrder(self.btnOk, self.btnCancel)

    def retranslateUi(self, ReportF030ruSetup):
        ReportF030ruSetup.setWindowTitle(
            _translate("ReportF030ruSetup", "параметры отчёта", None))
        self.lblEndDate.setText(_translate("ReportF030ruSetup", "по", None))
        self.lblOrgStructure.setText(
            _translate("ReportF030ruSetup", "Подразделение", None))
        self.lblBegDate.setText(_translate("ReportF030ruSetup", "с", None))
        self.lblBegDate_2.setText(
            _translate("ReportF030ruSetup", "Дата выписки рецепта:", None))
        self.lblFinance.setText(
            _translate("ReportF030ruSetup", "Источник финансирования", None))
        self.lblOrgStructure_2.setText(
            _translate("ReportF030ruSetup", "Статус рецепта", None))
        self.btnOk.setText(_translate("ReportF030ruSetup", "ОК", None))
        self.btnCancel.setText(_translate("ReportF030ruSetup", "Отмена", None))
Exemple #27
0
class Ui_ClientQuotaDiscussionEditor(object):
    def setupUi(self, ClientQuotaDiscussionEditor):
        ClientQuotaDiscussionEditor.setObjectName(
            _fromUtf8("ClientQuotaDiscussionEditor"))
        ClientQuotaDiscussionEditor.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(ClientQuotaDiscussionEditor)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.lblDateMessage = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblDateMessage.setObjectName(_fromUtf8("lblDateMessage"))
        self.verticalLayout.addWidget(self.lblDateMessage)
        self.lblAgreementType = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblAgreementType.setObjectName(_fromUtf8("lblAgreementType"))
        self.verticalLayout.addWidget(self.lblAgreementType)
        self.lblResponsiblePerson = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblResponsiblePerson.setObjectName(
            _fromUtf8("lblResponsiblePerson"))
        self.verticalLayout.addWidget(self.lblResponsiblePerson)
        self.lblCosignatory = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblCosignatory.setObjectName(_fromUtf8("lblCosignatory"))
        self.verticalLayout.addWidget(self.lblCosignatory)
        self.lblCosignatoryPost = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblCosignatoryPost.setObjectName(_fromUtf8("lblCosignatoryPost"))
        self.verticalLayout.addWidget(self.lblCosignatoryPost)
        self.lblCosignatoryName = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblCosignatoryName.setObjectName(_fromUtf8("lblCosignatoryName"))
        self.verticalLayout.addWidget(self.lblCosignatoryName)
        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.edtDateMessage = QtGui.QDateTimeEdit(ClientQuotaDiscussionEditor)
        self.edtDateMessage.setCalendarPopup(True)
        self.edtDateMessage.setObjectName(_fromUtf8("edtDateMessage"))
        self.verticalLayout_2.addWidget(self.edtDateMessage)
        self.cmbAgreementType = CRBComboBox(ClientQuotaDiscussionEditor)
        self.cmbAgreementType.setObjectName(_fromUtf8("cmbAgreementType"))
        self.verticalLayout_2.addWidget(self.cmbAgreementType)
        self.cmbResponsiblePerson = CRBComboBox(ClientQuotaDiscussionEditor)
        self.cmbResponsiblePerson.setObjectName(
            _fromUtf8("cmbResponsiblePerson"))
        self.verticalLayout_2.addWidget(self.cmbResponsiblePerson)
        self.edtCosignatory = QtGui.QLineEdit(ClientQuotaDiscussionEditor)
        self.edtCosignatory.setObjectName(_fromUtf8("edtCosignatory"))
        self.verticalLayout_2.addWidget(self.edtCosignatory)
        self.edtCosignatoryPost = QtGui.QLineEdit(ClientQuotaDiscussionEditor)
        self.edtCosignatoryPost.setObjectName(_fromUtf8("edtCosignatoryPost"))
        self.verticalLayout_2.addWidget(self.edtCosignatoryPost)
        self.edtCosignatoryName = QtGui.QLineEdit(ClientQuotaDiscussionEditor)
        self.edtCosignatoryName.setObjectName(_fromUtf8("edtCosignatoryName"))
        self.verticalLayout_2.addWidget(self.edtCosignatoryName)
        self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 2)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.lblRemark = QtGui.QLabel(ClientQuotaDiscussionEditor)
        self.lblRemark.setObjectName(_fromUtf8("lblRemark"))
        self.verticalLayout_3.addWidget(self.lblRemark)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.gridLayout.addLayout(self.verticalLayout_3, 1, 0, 1, 1)
        self.edtRemark = QtGui.QTextEdit(ClientQuotaDiscussionEditor)
        self.edtRemark.setObjectName(_fromUtf8("edtRemark"))
        self.gridLayout.addWidget(self.edtRemark, 1, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ClientQuotaDiscussionEditor)
        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, 2, 2, 1, 1)

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

    def retranslateUi(self, ClientQuotaDiscussionEditor):
        ClientQuotaDiscussionEditor.setWindowTitle(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDateMessage.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Дата и время сообщения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgreementType.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Тип согласования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblResponsiblePerson.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Ответственный ЛПУ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCosignatory.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Контрагент", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCosignatoryPost.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Должность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCosignatoryName.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor", "ФИО",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblRemark.setText(
            QtGui.QApplication.translate("ClientQuotaDiscussionEditor",
                                         "Примечания", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_TempInvalidDuplicateEditDialog(object):
    def setupUi(self, TempInvalidDuplicateEditDialog):
        TempInvalidDuplicateEditDialog.setObjectName(
            _fromUtf8("TempInvalidDuplicateEditDialog"))
        TempInvalidDuplicateEditDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        TempInvalidDuplicateEditDialog.resize(324, 392)
        self.gridLayout = QtGui.QGridLayout(TempInvalidDuplicateEditDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblNote = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 8, 0, 1, 1)
        self.lblSerial = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 0, 0, 1, 1)
        self.edtNote = QtGui.QPlainTextEdit(TempInvalidDuplicateEditDialog)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 8, 1, 2, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(TempInvalidDuplicateEditDialog)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 1, 1, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(TempInvalidDuplicateEditDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 3, 1, 1, 2)
        self.edtSerial = CBlankComboBox(TempInvalidDuplicateEditDialog)
        self.edtSerial.setEditable(True)
        self.edtSerial.setObjectName(_fromUtf8("edtSerial"))
        self.gridLayout.addWidget(self.edtSerial, 0, 1, 1, 2)
        self.lblNumber = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 11, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidDuplicateEditDialog)
        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, 3)
        self.lblDate = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 2, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1)
        self.lblDestination = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblDestination.setObjectName(_fromUtf8("lblDestination"))
        self.gridLayout.addWidget(self.lblDestination, 5, 0, 1, 1)
        self.edtDestination = QtGui.QLineEdit(TempInvalidDuplicateEditDialog)
        self.edtDestination.setObjectName(_fromUtf8("edtDestination"))
        self.gridLayout.addWidget(self.edtDestination, 5, 1, 1, 2)
        self.cmbReason = CRBComboBox(TempInvalidDuplicateEditDialog)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridLayout.addWidget(self.cmbReason, 6, 1, 1, 2)
        self.lblReason = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblReason.setObjectName(_fromUtf8("lblReason"))
        self.gridLayout.addWidget(self.lblReason, 6, 0, 1, 1)
        self.chkInsuranceOfficeMark = QtGui.QCheckBox(
            TempInvalidDuplicateEditDialog)
        self.chkInsuranceOfficeMark.setObjectName(
            _fromUtf8("chkInsuranceOfficeMark"))
        self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 10, 1, 1, 2)
        self.edtPlaceWork = QtGui.QLineEdit(TempInvalidDuplicateEditDialog)
        self.edtPlaceWork.setEnabled(False)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 7, 1, 1, 2)
        self.lblPlaceWork = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 7, 0, 1, 1)
        self.edtDate = CDateEdit(TempInvalidDuplicateEditDialog)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 2, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(71, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 2, 2, 1, 1)
        self.label = QtGui.QLabel(TempInvalidDuplicateEditDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 4, 0, 1, 1)
        self.cmbExpert = CPersonComboBoxEx(TempInvalidDuplicateEditDialog)
        self.cmbExpert.setObjectName(_fromUtf8("cmbExpert"))
        self.gridLayout.addWidget(self.cmbExpert, 4, 1, 1, 2)
        self.lblNote.setBuddy(self.cmbPerson)
        self.lblNumber.setBuddy(self.edtNumber)
        self.lblDate.setBuddy(self.edtDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblDestination.setBuddy(self.cmbPerson)
        self.lblReason.setBuddy(self.cmbPerson)

        self.retranslateUi(TempInvalidDuplicateEditDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TempInvalidDuplicateEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TempInvalidDuplicateEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidDuplicateEditDialog)
        TempInvalidDuplicateEditDialog.setTabOrder(self.edtNumber,
                                                   self.edtDate)
        TempInvalidDuplicateEditDialog.setTabOrder(self.edtDate,
                                                   self.cmbPerson)
        TempInvalidDuplicateEditDialog.setTabOrder(self.cmbPerson,
                                                   self.edtDestination)
        TempInvalidDuplicateEditDialog.setTabOrder(self.edtDestination,
                                                   self.cmbReason)
        TempInvalidDuplicateEditDialog.setTabOrder(self.cmbReason,
                                                   self.edtPlaceWork)
        TempInvalidDuplicateEditDialog.setTabOrder(self.edtPlaceWork,
                                                   self.edtNote)
        TempInvalidDuplicateEditDialog.setTabOrder(self.edtNote,
                                                   self.chkInsuranceOfficeMark)
        TempInvalidDuplicateEditDialog.setTabOrder(self.chkInsuranceOfficeMark,
                                                   self.buttonBox)

    def retranslateUi(self, TempInvalidDuplicateEditDialog):
        TempInvalidDuplicateEditDialog.setWindowTitle(
            _translate("TempInvalidDuplicateEditDialog",
                       "Дубликат документа временной нетрудоспособности",
                       None))
        self.lblNote.setText(
            _translate("TempInvalidDuplicateEditDialog", "П&римечание", None))
        self.lblSerial.setText(
            _translate("TempInvalidDuplicateEditDialog", "Серия", None))
        self.lblNumber.setText(
            _translate("TempInvalidDuplicateEditDialog", "&Номер", None))
        self.lblDate.setText(
            _translate("TempInvalidDuplicateEditDialog", "&Дата", None))
        self.lblPerson.setText(
            _translate("TempInvalidDuplicateEditDialog", "&Выдал", None))
        self.lblDestination.setText(
            _translate("TempInvalidDuplicateEditDialog",
                       "&Для представления в", None))
        self.lblReason.setText(
            _translate("TempInvalidDuplicateEditDialog", "&Причина выдачи",
                       None))
        self.chkInsuranceOfficeMark.setText(
            _translate("TempInvalidDuplicateEditDialog",
                       "Отметка страхового стола", None))
        self.lblPlaceWork.setText(
            _translate("TempInvalidDuplicateEditDialog", "Место работы", None))
        self.label.setText(
            _translate("TempInvalidDuplicateEditDialog", "Председатель КЭР",
                       None))
Exemple #29
0
class Ui_CashDialog(object):
    def setupUi(self, CashDialog):
        CashDialog.setObjectName(_fromUtf8("CashDialog"))
        CashDialog.resize(231, 112)
        CashDialog.setSizeGripEnabled(True)
        CashDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(CashDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        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, 0, 0, 1, 1)
        self.edtDate = CDateEdit(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.lblCashOperation = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCashOperation.sizePolicy().hasHeightForWidth())
        self.lblCashOperation.setSizePolicy(sizePolicy)
        self.lblCashOperation.setObjectName(_fromUtf8("lblCashOperation"))
        self.gridLayout.addWidget(self.lblCashOperation, 1, 0, 1, 1)
        self.cmbCashOperation = CRBComboBox(CashDialog)
        self.cmbCashOperation.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCashOperation.sizePolicy().hasHeightForWidth())
        self.cmbCashOperation.setSizePolicy(sizePolicy)
        self.cmbCashOperation.setObjectName(_fromUtf8("cmbCashOperation"))
        self.gridLayout.addWidget(self.cmbCashOperation, 1, 1, 1, 1)
        self.lblSum = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSum.sizePolicy().hasHeightForWidth())
        self.lblSum.setSizePolicy(sizePolicy)
        self.lblSum.setObjectName(_fromUtf8("lblSum"))
        self.gridLayout.addWidget(self.lblSum, 2, 0, 1, 1)
        self.edtSum = QtGui.QDoubleSpinBox(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSum.sizePolicy().hasHeightForWidth())
        self.edtSum.setSizePolicy(sizePolicy)
        self.edtSum.setMaximum(9999999.99)
        self.edtSum.setObjectName(_fromUtf8("edtSum"))
        self.gridLayout.addWidget(self.edtSum, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(CashDialog)
        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, 4, 0, 1, 2)
        self.lblDate.setBuddy(self.edtDate)
        self.lblCashOperation.setBuddy(self.cmbCashOperation)
        self.lblSum.setBuddy(self.edtSum)

        self.retranslateUi(CashDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               CashDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               CashDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CashDialog)
        CashDialog.setTabOrder(self.edtDate, self.cmbCashOperation)
        CashDialog.setTabOrder(self.cmbCashOperation, self.edtSum)
        CashDialog.setTabOrder(self.edtSum, self.buttonBox)

    def retranslateUi(self, CashDialog):
        CashDialog.setWindowTitle(
            QtGui.QApplication.translate("CashDialog", "Приём оплаты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(
            QtGui.QApplication.translate("CashDialog", "&Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCashOperation.setText(
            QtGui.QApplication.translate("CashDialog", "&Кассовая операция",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSum.setText(
            QtGui.QApplication.translate("CashDialog", "&Сумма", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemple #30
0
class Ui_MKBMorphologyEditor(object):
    def setupUi(self, MKBMorphologyEditor):
        MKBMorphologyEditor.setObjectName(_fromUtf8("MKBMorphologyEditor"))
        MKBMorphologyEditor.resize(336, 168)
        MKBMorphologyEditor.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(MKBMorphologyEditor)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCode = QtGui.QLabel(MKBMorphologyEditor)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 0, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(MKBMorphologyEditor)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 2)
        self.lblName = QtGui.QLabel(MKBMorphologyEditor)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 1, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(MKBMorphologyEditor)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 1, 1, 1, 2)
        self.lblGroup = QtGui.QLabel(MKBMorphologyEditor)
        self.lblGroup.setObjectName(_fromUtf8("lblGroup"))
        self.gridLayout.addWidget(self.lblGroup, 4, 0, 1, 1)
        self.lblDiagRange1 = QtGui.QLabel(MKBMorphologyEditor)
        self.lblDiagRange1.setObjectName(_fromUtf8("lblDiagRange1"))
        self.gridLayout.addWidget(self.lblDiagRange1, 6, 0, 1, 1)
        self.frmDiagRange2 = QtGui.QFrame(MKBMorphologyEditor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDiagRange2.sizePolicy().hasHeightForWidth())
        self.frmDiagRange2.setSizePolicy(sizePolicy)
        self.frmDiagRange2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDiagRange2.setFrameShadow(QtGui.QFrame.Plain)
        self.frmDiagRange2.setLineWidth(0)
        self.frmDiagRange2.setObjectName(_fromUtf8("frmDiagRange2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.frmDiagRange2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblDiagRangeFrom2 = QtGui.QLabel(self.frmDiagRange2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeFrom2.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeFrom2.setSizePolicy(sizePolicy)
        self.lblDiagRangeFrom2.setObjectName(_fromUtf8("lblDiagRangeFrom2"))
        self.gridLayout_3.addWidget(self.lblDiagRangeFrom2, 0, 0, 1, 1)
        self.cmbDiagRangeFrom2 = CICDCodeEditEx(self.frmDiagRange2)
        self.cmbDiagRangeFrom2.setObjectName(_fromUtf8("cmbDiagRangeFrom2"))
        self.gridLayout_3.addWidget(self.cmbDiagRangeFrom2, 0, 1, 1, 1)
        self.lblDiagRangeTo2 = QtGui.QLabel(self.frmDiagRange2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeTo2.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeTo2.setSizePolicy(sizePolicy)
        self.lblDiagRangeTo2.setObjectName(_fromUtf8("lblDiagRangeTo2"))
        self.gridLayout_3.addWidget(self.lblDiagRangeTo2, 0, 2, 1, 1)
        self.cmbDiagRangeTo2 = CICDCodeEditEx(self.frmDiagRange2)
        self.cmbDiagRangeTo2.setObjectName(_fromUtf8("cmbDiagRangeTo2"))
        self.gridLayout_3.addWidget(self.cmbDiagRangeTo2, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmDiagRange2, 8, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(MKBMorphologyEditor)
        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, 3)
        self.lblDiagRange2 = QtGui.QLabel(MKBMorphologyEditor)
        self.lblDiagRange2.setObjectName(_fromUtf8("lblDiagRange2"))
        self.gridLayout.addWidget(self.lblDiagRange2, 8, 0, 1, 1)
        self.cmbGroup = CRBComboBox(MKBMorphologyEditor)
        self.cmbGroup.setObjectName(_fromUtf8("cmbGroup"))
        self.gridLayout.addWidget(self.cmbGroup, 4, 1, 1, 2)
        self.frmDiagRange1 = QtGui.QFrame(MKBMorphologyEditor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDiagRange1.sizePolicy().hasHeightForWidth())
        self.frmDiagRange1.setSizePolicy(sizePolicy)
        self.frmDiagRange1.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDiagRange1.setFrameShadow(QtGui.QFrame.Plain)
        self.frmDiagRange1.setLineWidth(0)
        self.frmDiagRange1.setObjectName(_fromUtf8("frmDiagRange1"))
        self.gridLayout_2 = QtGui.QGridLayout(self.frmDiagRange1)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblDiagRangeFrom1 = QtGui.QLabel(self.frmDiagRange1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeFrom1.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeFrom1.setSizePolicy(sizePolicy)
        self.lblDiagRangeFrom1.setObjectName(_fromUtf8("lblDiagRangeFrom1"))
        self.gridLayout_2.addWidget(self.lblDiagRangeFrom1, 0, 0, 1, 1)
        self.cmbDiagRangeFrom1 = CICDCodeEditEx(self.frmDiagRange1)
        self.cmbDiagRangeFrom1.setObjectName(_fromUtf8("cmbDiagRangeFrom1"))
        self.gridLayout_2.addWidget(self.cmbDiagRangeFrom1, 0, 1, 1, 1)
        self.lblDiagRangeTo1 = QtGui.QLabel(self.frmDiagRange1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeTo1.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeTo1.setSizePolicy(sizePolicy)
        self.lblDiagRangeTo1.setObjectName(_fromUtf8("lblDiagRangeTo1"))
        self.gridLayout_2.addWidget(self.lblDiagRangeTo1, 0, 2, 1, 1)
        self.cmbDiagRangeTo1 = CICDCodeEditEx(self.frmDiagRange1)
        self.cmbDiagRangeTo1.setObjectName(_fromUtf8("cmbDiagRangeTo1"))
        self.gridLayout_2.addWidget(self.cmbDiagRangeTo1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmDiagRange1, 6, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 6, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 8, 2, 1, 1)
        self.lblCode.setBuddy(self.edtCode)
        self.lblName.setBuddy(self.edtName)
        self.lblGroup.setBuddy(self.cmbGroup)
        self.lblDiagRange1.setBuddy(self.cmbDiagRangeFrom1)
        self.lblDiagRangeFrom2.setBuddy(self.cmbDiagRangeFrom2)
        self.lblDiagRangeTo2.setBuddy(self.cmbDiagRangeTo2)
        self.lblDiagRange2.setBuddy(self.cmbDiagRangeFrom2)
        self.lblDiagRangeFrom1.setBuddy(self.cmbDiagRangeFrom1)
        self.lblDiagRangeTo1.setBuddy(self.cmbDiagRangeTo1)

        self.retranslateUi(MKBMorphologyEditor)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               MKBMorphologyEditor.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               MKBMorphologyEditor.reject)
        QtCore.QMetaObject.connectSlotsByName(MKBMorphologyEditor)
        MKBMorphologyEditor.setTabOrder(self.edtCode, self.edtName)
        MKBMorphologyEditor.setTabOrder(self.edtName, self.cmbGroup)
        MKBMorphologyEditor.setTabOrder(self.cmbGroup, self.cmbDiagRangeFrom1)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeFrom1,
                                        self.cmbDiagRangeTo1)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeTo1,
                                        self.cmbDiagRangeFrom2)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeFrom2,
                                        self.cmbDiagRangeTo2)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeTo2, self.buttonBox)

    def retranslateUi(self, MKBMorphologyEditor):
        MKBMorphologyEditor.setWindowTitle(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCode.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Код", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblName.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Наименование",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblGroup.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Группа", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRange1.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Диапозон МКБ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRangeFrom2.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRangeTo2.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRange2.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "Диапозон МКБ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRangeFrom1.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDiagRangeTo1.setText(
            QtGui.QApplication.translate("MKBMorphologyEditor", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))