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_TissueJournalTotalEditorDialog(object):
    def setupUi(self, TissueJournalTotalEditorDialog):
        TissueJournalTotalEditorDialog.setObjectName(
            _fromUtf8("TissueJournalTotalEditorDialog"))
        TissueJournalTotalEditorDialog.resize(498, 267)
        TissueJournalTotalEditorDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(TissueJournalTotalEditorDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbPersonInJournal = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInJournal.setEnabled(False)
        self.cmbPersonInJournal.setObjectName(_fromUtf8("cmbPersonInJournal"))
        self.gridLayout.addWidget(self.cmbPersonInJournal, 1, 1, 1, 2)
        self.cmbAssistantInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction.setEnabled(False)
        self.cmbAssistantInAction.setObjectName(
            _fromUtf8("cmbAssistantInAction"))
        self.gridLayout.addWidget(self.cmbAssistantInAction, 3, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TissueJournalTotalEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 3)
        self.chkPersonInJournal = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkPersonInJournal.sizePolicy().hasHeightForWidth())
        self.chkPersonInJournal.setSizePolicy(sizePolicy)
        self.chkPersonInJournal.setObjectName(_fromUtf8("chkPersonInJournal"))
        self.gridLayout.addWidget(self.chkPersonInJournal, 1, 0, 1, 1)
        self.chkAssistantInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAssistantInAction.sizePolicy().hasHeightForWidth())
        self.chkAssistantInAction.setSizePolicy(sizePolicy)
        self.chkAssistantInAction.setObjectName(
            _fromUtf8("chkAssistantInAction"))
        self.gridLayout.addWidget(self.chkAssistantInAction, 3, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStatus.sizePolicy().hasHeightForWidth())
        self.chkStatus.setSizePolicy(sizePolicy)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout.addWidget(self.chkStatus, 0, 0, 1, 1)
        self.cmbStatus = QtGui.QComboBox(TissueJournalTotalEditorDialog)
        self.cmbStatus.setEnabled(False)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 0, 1, 1, 2)
        self.chkPersonInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        self.chkPersonInAction.setObjectName(_fromUtf8("chkPersonInAction"))
        self.gridLayout.addWidget(self.chkPersonInAction, 2, 0, 1, 1)
        self.cmbPersonInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInAction.setEnabled(False)
        self.cmbPersonInAction.setObjectName(_fromUtf8("cmbPersonInAction"))
        self.gridLayout.addWidget(self.cmbPersonInAction, 2, 1, 1, 2)
        self.chkMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 7, 0, 1, 1)
        self.chkMorphologyMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMorphologyMKB.setObjectName(_fromUtf8("chkMorphologyMKB"))
        self.gridLayout.addWidget(self.chkMorphologyMKB, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(TissueJournalTotalEditorDialog)
        self.cmbMKB.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 7, 1, 1, 1)
        self.cmbMorphologyMKB = CICDMorphologyCodeEditEx(
            TissueJournalTotalEditorDialog)
        self.cmbMorphologyMKB.setEnabled(False)
        self.cmbMorphologyMKB.setObjectName(_fromUtf8("cmbMorphologyMKB"))
        self.gridLayout.addWidget(self.cmbMorphologyMKB, 8, 1, 1, 1)
        self.lblMKBText = QtGui.QLabel(TissueJournalTotalEditorDialog)
        self.lblMKBText.setText(_fromUtf8(""))
        self.lblMKBText.setObjectName(_fromUtf8("lblMKBText"))
        self.gridLayout.addWidget(self.lblMKBText, 7, 2, 1, 1)
        self.lblMorphologyMKBText = QtGui.QLabel(
            TissueJournalTotalEditorDialog)
        self.lblMorphologyMKBText.setText(_fromUtf8(""))
        self.lblMorphologyMKBText.setObjectName(
            _fromUtf8("lblMorphologyMKBText"))
        self.gridLayout.addWidget(self.lblMorphologyMKBText, 8, 2, 1, 1)
        self.cmbAssistantInAction2 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction2.setEnabled(False)
        self.cmbAssistantInAction2.setObjectName(
            _fromUtf8("cmbAssistantInAction2"))
        self.gridLayout.addWidget(self.cmbAssistantInAction2, 4, 1, 1, 2)
        self.cmbAssistantInAction3 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction3.setEnabled(False)
        self.cmbAssistantInAction3.setObjectName(
            _fromUtf8("cmbAssistantInAction3"))
        self.gridLayout.addWidget(self.cmbAssistantInAction3, 5, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 0, 1, 1)

        self.retranslateUi(TissueJournalTotalEditorDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TissueJournalTotalEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TissueJournalTotalEditorDialog.reject)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkPersonInJournal,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInJournal.setEnabled)
        QtCore.QObject.connect(self.chkPersonInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInAction.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction.setEnabled)
        QtCore.QObject.connect(self.chkMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKB.setEnabled)
        QtCore.QObject.connect(self.chkMorphologyMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMorphologyMKB.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction2.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction3.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(TissueJournalTotalEditorDialog)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkStatus,
                                                   self.cmbStatus)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbStatus,
                                                   self.chkPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInJournal,
                                                   self.cmbPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInJournal,
                                                   self.chkPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInAction,
                                                   self.cmbPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInAction,
                                                   self.chkAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkAssistantInAction,
                                                   self.cmbAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbAssistantInAction,
                                                   self.chkMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMKB, self.cmbMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMKB,
                                                   self.chkMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMorphologyMKB,
                                                   self.cmbMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMorphologyMKB,
                                                   self.buttonBox)

    def retranslateUi(self, TissueJournalTotalEditorDialog):
        TissueJournalTotalEditorDialog.setWindowTitle(
            _translate("TissueJournalTotalEditorDialog",
                       "Изменить атрибуты выбранных Действий", None))
        self.chkPersonInJournal.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ответственный в журнале", None))
        self.chkAssistantInAction.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ассистент в действии", None))
        self.chkStatus.setText(
            _translate("TissueJournalTotalEditorDialog", "Статус", None))
        self.cmbStatus.setItemText(
            0, _translate("TissueJournalTotalEditorDialog", "Начато", None))
        self.cmbStatus.setItemText(
            1, _translate("TissueJournalTotalEditorDialog", "Ожидание", None))
        self.cmbStatus.setItemText(
            2, _translate("TissueJournalTotalEditorDialog", "Закончено", None))
        self.cmbStatus.setItemText(
            3, _translate("TissueJournalTotalEditorDialog", "Отменено", None))
        self.cmbStatus.setItemText(
            4,
            _translate("TissueJournalTotalEditorDialog", "Без результата",
                       None))
        self.cmbStatus.setItemText(
            5, _translate("TissueJournalTotalEditorDialog", "Назначено", None))
        self.chkPersonInAction.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ответственный в действии", None))
        self.chkMKB.setText(
            _translate("TissueJournalTotalEditorDialog", "МКБ", None))
        self.chkMorphologyMKB.setText(
            _translate("TissueJournalTotalEditorDialog", "Морфология МКБ",
                       None))
Beispiel #3
0
class Ui_TempInvalidEditDialog(object):
    def setupUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setObjectName(_fromUtf8("TempInvalidEditDialog"))
        TempInvalidEditDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TempInvalidEditDialog.resize(1075, 553)
        self.gridLayout_2 = QtGui.QGridLayout(TempInvalidEditDialog)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblMainNumber = QtGui.QLabel(TempInvalidEditDialog)
        self.lblMainNumber.setEnabled(False)
        self.lblMainNumber.setObjectName(_fromUtf8("lblMainNumber"))
        self.gridLayout.addWidget(self.lblMainNumber, 7, 5, 1, 1)
        self.lblBusyness = QtGui.QLabel(TempInvalidEditDialog)
        self.lblBusyness.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblBusyness.setObjectName(_fromUtf8("lblBusyness"))
        self.gridLayout.addWidget(self.lblBusyness, 7, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 7)
        self.lblSerial = QtGui.QLabel(TempInvalidEditDialog)
        self.lblSerial.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 1, 0, 1, 1)
        self.edtDiagnosis = CICDCodeEditEx(TempInvalidEditDialog)
        self.edtDiagnosis.setEnabled(True)
        self.edtDiagnosis.setObjectName(_fromUtf8("edtDiagnosis"))
        self.gridLayout.addWidget(self.edtDiagnosis, 4, 1, 1, 2)
        self.lblDiseaseCharacter = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiseaseCharacter.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblDiseaseCharacter.setObjectName(_fromUtf8("lblDiseaseCharacter"))
        self.gridLayout.addWidget(self.lblDiseaseCharacter, 1, 5, 1, 1)
        self.cmbExtraReason = CRBComboBox(TempInvalidEditDialog)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 0, 6, 1, 1)
        self.lblPrev = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPrev.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblPrev.setObjectName(_fromUtf8("lblPrev"))
        self.gridLayout.addWidget(self.lblPrev, 2, 0, 1, 1)
        self.cmbReason = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbReason.sizePolicy().hasHeightForWidth())
        self.cmbReason.setSizePolicy(sizePolicy)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridLayout.addWidget(self.cmbReason, 0, 4, 1, 1)
        self.lblPrevNumberValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPrevNumberValue.sizePolicy().hasHeightForWidth())
        self.lblPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblPrevNumberValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblPrevNumberValue.setText(_fromUtf8(""))
        self.lblPrevNumberValue.setObjectName(_fromUtf8("lblPrevNumberValue"))
        self.gridLayout.addWidget(self.lblPrevNumberValue, 2, 1, 1, 2)
        self.lblReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblReason.setObjectName(_fromUtf8("lblReason"))
        self.gridLayout.addWidget(self.lblReason, 0, 3, 1, 1)
        self.lblCaseLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblCaseLength.setTextFormat(QtCore.Qt.AutoText)
        self.lblCaseLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblCaseLength.setObjectName(_fromUtf8("lblCaseLength"))
        self.gridLayout.addWidget(self.lblCaseLength, 5, 3, 1, 1)
        self.tblPeriods = CInDocTableView(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblPeriods.sizePolicy().hasHeightForWidth())
        self.tblPeriods.setSizePolicy(sizePolicy)
        self.tblPeriods.setObjectName(_fromUtf8("tblPeriods"))
        self.gridLayout.addWidget(self.tblPeriods, 8, 0, 1, 7)
        self.lblLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblLengthValue.sizePolicy().hasHeightForWidth())
        self.lblLengthValue.setSizePolicy(sizePolicy)
        self.lblLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblLengthValue.setText(_fromUtf8(""))
        self.lblLengthValue.setObjectName(_fromUtf8("lblLengthValue"))
        self.gridLayout.addWidget(self.lblLengthValue, 2, 4, 1, 1)
        self.cmbDoctype = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbDoctype.sizePolicy().hasHeightForWidth())
        self.cmbDoctype.setSizePolicy(sizePolicy)
        self.cmbDoctype.setObjectName(_fromUtf8("cmbDoctype"))
        self.gridLayout.addWidget(self.cmbDoctype, 0, 1, 1, 2)
        self.edtPlaceWork = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlaceWork.sizePolicy().hasHeightForWidth())
        self.edtPlaceWork.setSizePolicy(sizePolicy)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 7, 4, 1, 1)
        self.lblDiagnosis = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiagnosis.setEnabled(True)
        self.lblDiagnosis.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 4, 0, 1, 1)
        self.chkGovEmoploymentService = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkGovEmoploymentService.setTristate(False)
        self.chkGovEmoploymentService.setObjectName(_fromUtf8("chkGovEmoploymentService"))
        self.gridLayout.addWidget(self.chkGovEmoploymentService, 6, 0, 1, 7)
        self.lblPlaceWork = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPlaceWork.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 7, 3, 1, 1)
        self.lblExternalLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExternalLengthValue.sizePolicy().hasHeightForWidth())
        self.lblExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblExternalLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblExternalLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblExternalLengthValue.setText(_fromUtf8(""))
        self.lblExternalLengthValue.setObjectName(_fromUtf8("lblExternalLengthValue"))
        self.gridLayout.addWidget(self.lblExternalLengthValue, 2, 6, 1, 1)
        self.lblCaseBegDate = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseBegDate.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 5, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setMaxLength(16)
        self.edtNumber.setAlignment(QtCore.Qt.AlignCenter)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 1, 2, 1, 1)
        self.cmbBusyness = CEnumComboBox(TempInvalidEditDialog)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 7, 1, 1, 2)
        self.lblExternalLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExternalLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExternalLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblExternalLength.setObjectName(_fromUtf8("lblExternalLength"))
        self.gridLayout.addWidget(self.lblExternalLength, 2, 5, 1, 1)
        self.lblCaseLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCaseLengthValue.sizePolicy().hasHeightForWidth())
        self.lblCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblCaseLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblCaseLengthValue.setText(_fromUtf8(""))
        self.lblCaseLengthValue.setObjectName(_fromUtf8("lblCaseLengthValue"))
        self.gridLayout.addWidget(self.lblCaseLengthValue, 5, 4, 1, 1)
        self.lblDoctype = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDoctype.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDoctype.setObjectName(_fromUtf8("lblDoctype"))
        self.gridLayout.addWidget(self.lblDoctype, 0, 0, 1, 1)
        self.edtCaseBegDate = CDateEdit(TempInvalidEditDialog)
        self.edtCaseBegDate.setEnabled(False)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 5, 1, 1, 2)
        self.btnNewLN = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 1, 1, 1, 1)
        self.cmbDiseaseCharacter = CRBComboBox(TempInvalidEditDialog)
        self.cmbDiseaseCharacter.setObjectName(_fromUtf8("cmbDiseaseCharacter"))
        self.gridLayout.addWidget(self.cmbDiseaseCharacter, 1, 6, 1, 1)
        self.lblLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblLength.setObjectName(_fromUtf8("lblLength"))
        self.gridLayout.addWidget(self.lblLength, 2, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 15, 1, 1)
        self.lblExtraReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExtraReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 0, 5, 1, 1)
        self.chkInsuranceOfficeMark = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkInsuranceOfficeMark.setObjectName(_fromUtf8("chkInsuranceOfficeMark"))
        self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 4, 5, 1, 2)
        self.edtOtherAge = QtGui.QSpinBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtOtherAge.sizePolicy().hasHeightForWidth())
        self.edtOtherAge.setSizePolicy(sizePolicy)
        self.edtOtherAge.setObjectName(_fromUtf8("edtOtherAge"))
        self.gridLayout.addWidget(self.edtOtherAge, 3, 4, 1, 1)
        self.cmbOtherSex = QtGui.QComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbOtherSex.setSizePolicy(sizePolicy)
        self.cmbOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbOtherSex.setObjectName(_fromUtf8("cmbOtherSex"))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOtherSex, 3, 1, 1, 1)
        self.lblOtherSex = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherSex.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblOtherSex.setObjectName(_fromUtf8("lblOtherSex"))
        self.gridLayout.addWidget(self.lblOtherSex, 3, 0, 1, 1)
        self.lblOtherAge = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherAge.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblOtherAge.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblOtherAge.setObjectName(_fromUtf8("lblOtherAge"))
        self.gridLayout.addWidget(self.lblOtherAge, 3, 3, 1, 1)
        self.edtMainNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        self.edtMainNumber.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMainNumber.sizePolicy().hasHeightForWidth())
        self.edtMainNumber.setSizePolicy(sizePolicy)
        self.edtMainNumber.setObjectName(_fromUtf8("edtMainNumber"))
        self.gridLayout.addWidget(self.edtMainNumber, 7, 6, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 3)
        self.btnTempInvalidProlong = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnTempInvalidProlong.setEnabled(True)
        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_2.addWidget(self.btnTempInvalidProlong, 1, 0, 1, 1)
        self.btnSendInFSS = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnSendInFSS.setObjectName(_fromUtf8("btnSendInFSS"))
        self.gridLayout_2.addWidget(self.btnSendInFSS, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidEditDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_2.addWidget(self.buttonBox, 1, 2, 1, 1)
        self.lblDiseaseCharacter.setBuddy(self.cmbDiseaseCharacter)
        self.lblReason.setBuddy(self.cmbReason)
        self.lblDiagnosis.setBuddy(self.edtDiagnosis)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblDoctype.setBuddy(self.cmbDoctype)
        self.lblOtherSex.setBuddy(self.cmbOtherSex)

        self.retranslateUi(TempInvalidEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidEditDialog)
        TempInvalidEditDialog.setTabOrder(self.cmbDoctype, self.edtDiagnosis)
        TempInvalidEditDialog.setTabOrder(self.edtDiagnosis, self.edtCaseBegDate)
        TempInvalidEditDialog.setTabOrder(self.edtCaseBegDate, self.cmbBusyness)
        TempInvalidEditDialog.setTabOrder(self.cmbBusyness, self.tblPeriods)
        TempInvalidEditDialog.setTabOrder(self.tblPeriods, self.btnTempInvalidProlong)
        TempInvalidEditDialog.setTabOrder(self.btnTempInvalidProlong, self.buttonBox)

    def retranslateUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setWindowTitle(_translate("TempInvalidEditDialog", "Документ временной нетрудоспособности", None))
        self.lblMainNumber.setText(_translate("TempInvalidEditDialog", "Номер основного листка", None))
        self.lblBusyness.setText(_translate("TempInvalidEditDialog", "Занятость", None))
        self.lblSerial.setText(_translate("TempInvalidEditDialog", "Номер ЛН", None))
        self.lblDiseaseCharacter.setText(_translate("TempInvalidEditDialog", "Характер", None))
        self.lblPrev.setText(_translate("TempInvalidEditDialog", "Продлён", None))
        self.lblReason.setText(_translate("TempInvalidEditDialog", "Причина", None))
        self.lblCaseLength.setText(_translate("TempInvalidEditDialog", "Дней", None))
        self.lblDiagnosis.setText(_translate("TempInvalidEditDialog", "Диагноз", None))
        self.chkGovEmoploymentService.setText(_translate("TempInvalidEditDialog", "Состоит на учёте в государственных учереждения службы занятости", None))
        self.lblPlaceWork.setText(_translate("TempInvalidEditDialog", "Место работы", None))
        self.lblCaseBegDate.setText(_translate("TempInvalidEditDialog", "Дата начала ВУТ", None))
        self.lblExternalLength.setText(_translate("TempInvalidEditDialog", "вне ЛПУ", None))
        self.lblDoctype.setText(_translate("TempInvalidEditDialog", "Документ", None))
        self.edtCaseBegDate.setDisplayFormat(_translate("TempInvalidEditDialog", "dd.MM.yyyy", None))
        self.btnNewLN.setText(_translate("TempInvalidEditDialog", "Сформировать \n"
"новый номер ЛН", None))
        self.lblLength.setText(_translate("TempInvalidEditDialog", "Длительность", None))
        self.lblExtraReason.setText(_translate("TempInvalidEditDialog", "Доп.причина", None))
        self.chkInsuranceOfficeMark.setText(_translate("TempInvalidEditDialog", "Отметка страхового стола", None))
        self.cmbOtherSex.setItemText(1, _translate("TempInvalidEditDialog", "М", None))
        self.cmbOtherSex.setItemText(2, _translate("TempInvalidEditDialog", "Ж", None))
        self.lblOtherSex.setText(_translate("TempInvalidEditDialog", "Пол", None))
        self.lblOtherAge.setText(_translate("TempInvalidEditDialog", "Возраст", None))
        self.btnTempInvalidProlong.setText(_translate("TempInvalidEditDialog", "Продлить", None))
        self.btnSendInFSS.setText(_translate("TempInvalidEditDialog", "Подписать и отправить в ФСС", None))