class Ui_ExportAttachClientPage1(object):
    def setupUi(self, ExportAttachClientPage1):
        ExportAttachClientPage1.setObjectName(
            _fromUtf8("ExportAttachClientPage1"))
        ExportAttachClientPage1.resize(400, 368)
        self.gridLayout = QtGui.QGridLayout(ExportAttachClientPage1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.progressBar = CProgressBar(ExportAttachClientPage1)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 7, 0, 1, 4)
        self.logBrowser = QtGui.QTextBrowser(ExportAttachClientPage1)
        self.logBrowser.setObjectName(_fromUtf8("logBrowser"))
        self.gridLayout.addWidget(self.logBrowser, 8, 0, 1, 4)
        self.lblDate = QtGui.QLabel(ExportAttachClientPage1)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.lblInsurer = QtGui.QLabel(ExportAttachClientPage1)
        self.lblInsurer.setObjectName(_fromUtf8("lblInsurer"))
        self.gridLayout.addWidget(self.lblInsurer, 2, 0, 1, 1)
        self.edtDate = CDateEdit(ExportAttachClientPage1)
        self.edtDate.setEnabled(True)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ExportAttachClientPage1)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ExportAttachClientPage1)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 2, 1, 1, 3)
        self.btnCancel = QtGui.QPushButton(ExportAttachClientPage1)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.gridLayout.addWidget(self.btnCancel, 9, 3, 1, 1)
        self.btnExport = QtGui.QPushButton(ExportAttachClientPage1)
        self.btnExport.setObjectName(_fromUtf8("btnExport"))
        self.gridLayout.addWidget(self.btnExport, 9, 2, 1, 1)
        self.lstOrgStructure = CRBListBox(ExportAttachClientPage1)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 5, 1, 1, 3)

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

    def retranslateUi(self, ExportAttachClientPage1):
        ExportAttachClientPage1.setWindowTitle(
            _translate("ExportAttachClientPage1", "Dialog", None))
        self.lblDate.setText(
            _translate("ExportAttachClientPage1", "Дата", None))
        self.lblInsurer.setText(
            _translate("ExportAttachClientPage1", "Плательщик", None))
        self.lblOrgStructure.setText(
            _translate("ExportAttachClientPage1", "Подразделение", None))
        self.btnCancel.setText(
            _translate("ExportAttachClientPage1", "прервать", None))
        self.btnExport.setText(
            _translate("ExportAttachClientPage1", "экспорт", None))
Example #2
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))
Example #3
0
class Ui_QuotingDialog(object):
    def setupUi(self, QuotingDialog):
        QuotingDialog.setObjectName(_fromUtf8("QuotingDialog"))
        QuotingDialog.resize(549, 847)
        self.gridLayout_3 = QtGui.QGridLayout(QuotingDialog)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.splitter_3 = QtGui.QSplitter(QuotingDialog)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setOpaqueResize(True)
        self.splitter_3.setChildrenCollapsible(False)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_3)
        self.horizontalLayoutWidget.setObjectName(
            _fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.splitter = QtGui.QSplitter(self.horizontalLayoutWidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setOpaqueResize(True)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.calendar = CCalendarWidget(self.splitter)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.treeQuotaType = CTreeView(self.splitter)
        self.treeQuotaType.setObjectName(_fromUtf8("treeQuotaType"))
        self.tblQuotaTypeLeaves = CTableView(self.splitter)
        self.tblQuotaTypeLeaves.setObjectName(_fromUtf8("tblQuotaTypeLeaves"))
        self.horizontalLayout.addWidget(self.splitter)
        self.tabWidgetContent = QtGui.QTabWidget(self.splitter_3)
        self.tabWidgetContent.setEnabled(True)
        self.tabWidgetContent.setObjectName(_fromUtf8("tabWidgetContent"))
        self.tabLimits = QtGui.QWidget()
        self.tabLimits.setObjectName(_fromUtf8("tabLimits"))
        self.gridLayout = QtGui.QGridLayout(self.tabLimits)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblInfo = QtGui.QLabel(self.tabLimits)
        self.lblInfo.setText(_fromUtf8(""))
        self.lblInfo.setObjectName(_fromUtf8("lblInfo"))
        self.gridLayout.addWidget(self.lblInfo, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(336, 22, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.btnEditQuota = QtGui.QPushButton(self.tabLimits)
        self.btnEditQuota.setObjectName(_fromUtf8("btnEditQuota"))
        self.gridLayout.addWidget(self.btnEditQuota, 2, 1, 1, 1)
        self.btnProlongateQuota = QtGui.QPushButton(self.tabLimits)
        self.btnProlongateQuota.setObjectName(_fromUtf8("btnProlongateQuota"))
        self.gridLayout.addWidget(self.btnProlongateQuota, 2, 2, 1, 1)
        self.btnNewQuota = QtGui.QPushButton(self.tabLimits)
        self.btnNewQuota.setObjectName(_fromUtf8("btnNewQuota"))
        self.gridLayout.addWidget(self.btnNewQuota, 2, 3, 1, 1)
        self.btnClose = QtGui.QPushButton(self.tabLimits)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 2, 4, 1, 1)
        self.splitter_2 = QtGui.QSplitter(self.tabLimits)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.tblQuoting = CTableView(self.splitter_2)
        self.tblQuoting.setObjectName(_fromUtf8("tblQuoting"))
        self.tabWidgetLimitation = QtGui.QTabWidget(self.splitter_2)
        self.tabWidgetLimitation.setObjectName(
            _fromUtf8("tabWidgetLimitation"))
        self.tabRegion = QtGui.QWidget()
        self.tabRegion.setObjectName(_fromUtf8("tabRegion"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabRegion)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblQuoting_Region = CInDocTableView(self.tabRegion)
        self.tblQuoting_Region.setObjectName(_fromUtf8("tblQuoting_Region"))
        self.gridLayout_2.addWidget(self.tblQuoting_Region, 0, 0, 1, 1)
        self.tabWidgetLimitation.addTab(self.tabRegion, _fromUtf8(""))
        self.tabInsurance = QtGui.QWidget()
        self.tabInsurance.setEnabled(True)
        self.tabInsurance.setObjectName(_fromUtf8("tabInsurance"))
        self.tabWidgetLimitation.addTab(self.tabInsurance, _fromUtf8(""))
        self.tabFinanceSource = QtGui.QWidget()
        self.tabFinanceSource.setObjectName(_fromUtf8("tabFinanceSource"))
        self.tabWidgetLimitation.addTab(self.tabFinanceSource, _fromUtf8(""))
        self.tabSocialStatus = QtGui.QWidget()
        self.tabSocialStatus.setObjectName(_fromUtf8("tabSocialStatus"))
        self.tabWidgetLimitation.addTab(self.tabSocialStatus, _fromUtf8(""))
        self.tabSexAndAge = QtGui.QWidget()
        self.tabSexAndAge.setObjectName(_fromUtf8("tabSexAndAge"))
        self.tabWidgetLimitation.addTab(self.tabSexAndAge, _fromUtf8(""))
        self.gridLayout.addWidget(self.splitter_2, 0, 0, 1, 5)
        self.tabWidgetContent.addTab(self.tabLimits, _fromUtf8(""))
        self.tabList = QtGui.QWidget()
        self.tabList.setEnabled(True)
        self.tabList.setObjectName(_fromUtf8("tabList"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabList)
        self.verticalLayout_5.setSpacing(4)
        self.verticalLayout_5.setMargin(4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.splitter_4 = QtGui.QSplitter(self.tabList)
        self.splitter_4.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.verticalLayoutWidget_4 = QtGui.QWidget(self.splitter_4)
        self.verticalLayoutWidget_4.setObjectName(
            _fromUtf8("verticalLayoutWidget_4"))
        self.gridLayout_5 = QtGui.QGridLayout(self.verticalLayoutWidget_4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setMargin(0)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblPeopleList = CTableView(self.verticalLayoutWidget_4)
        self.tblPeopleList.setObjectName(_fromUtf8("tblPeopleList"))
        self.gridLayout_5.addWidget(self.tblPeopleList, 0, 0, 1, 2)
        self.btnPrint = QtGui.QPushButton(self.verticalLayoutWidget_4)
        self.btnPrint.setObjectName(_fromUtf8("btnPrint"))
        self.gridLayout_5.addWidget(self.btnPrint, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 2, 0, 1, 1)
        self.lblPersonListCount = QtGui.QLabel(self.verticalLayoutWidget_4)
        self.lblPersonListCount.setObjectName(_fromUtf8("lblPersonListCount"))
        self.gridLayout_5.addWidget(self.lblPersonListCount, 1, 0, 1, 2)
        self.widget = QtGui.QWidget(self.splitter_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_4 = QtGui.QGridLayout(self.widget)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.chkFilterLastName = QtGui.QCheckBox(self.widget)
        self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName"))
        self.gridLayout_4.addWidget(self.chkFilterLastName, 0, 0, 1, 3)
        self.edtFilterLastName = QtGui.QLineEdit(self.widget)
        self.edtFilterLastName.setEnabled(False)
        self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName"))
        self.gridLayout_4.addWidget(self.edtFilterLastName, 1, 0, 1, 3)
        self.chkFilterFirstName = QtGui.QCheckBox(self.widget)
        self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName"))
        self.gridLayout_4.addWidget(self.chkFilterFirstName, 2, 0, 1, 2)
        self.edtFilterFirstName = QtGui.QLineEdit(self.widget)
        self.edtFilterFirstName.setEnabled(False)
        self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName"))
        self.gridLayout_4.addWidget(self.edtFilterFirstName, 3, 0, 1, 3)
        self.chkFilterPatrName = QtGui.QCheckBox(self.widget)
        self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName"))
        self.gridLayout_4.addWidget(self.chkFilterPatrName, 4, 0, 1, 3)
        self.edtFilterPatrName = QtGui.QLineEdit(self.widget)
        self.edtFilterPatrName.setEnabled(False)
        self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName"))
        self.gridLayout_4.addWidget(self.edtFilterPatrName, 5, 0, 1, 3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFilterSex = QtGui.QCheckBox(self.widget)
        self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex"))
        self.horizontalLayout_2.addWidget(self.chkFilterSex)
        self.cmbFilterSex = QtGui.QComboBox(self.widget)
        self.cmbFilterSex.setEnabled(False)
        self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex"))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.cmbFilterSex)
        self.chkFilterAge = QtGui.QCheckBox(self.widget)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.horizontalLayout_2.addWidget(self.chkFilterAge)
        self.edtFilterBegAge = QtGui.QSpinBox(self.widget)
        self.edtFilterBegAge.setEnabled(False)
        self.edtFilterBegAge.setMaximum(150)
        self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterBegAge)
        self.edtFilterEndAge = QtGui.QSpinBox(self.widget)
        self.edtFilterEndAge.setEnabled(False)
        self.edtFilterEndAge.setMaximum(150)
        self.edtFilterEndAge.setProperty("value", 150)
        self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterEndAge)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 6, 0, 1, 3)
        self.chkFilterAddress = QtGui.QCheckBox(self.widget)
        self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress"))
        self.gridLayout_4.addWidget(self.chkFilterAddress, 8, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.widget)
        self.cmbFilterAddressType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setObjectName(
            _fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterAddressType, 8, 1, 1, 2)
        self.cmbFilterAddressCity = CKLADRComboBox(self.widget)
        self.cmbFilterAddressCity.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setObjectName(
            _fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressCity, 9, 0, 1, 3)
        self.cmbFilterAddressStreet = CStreetComboBox(self.widget)
        self.cmbFilterAddressStreet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressStreet, 10, 0, 1, 3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkFilterStatus = QtGui.QCheckBox(self.widget)
        self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus"))
        self.verticalLayout_3.addWidget(self.chkFilterStatus)
        self.cmbFilterStatus = QtGui.QComboBox(self.widget)
        self.cmbFilterStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterStatus.sizePolicy().hasHeightForWidth())
        self.cmbFilterStatus.setSizePolicy(sizePolicy)
        self.cmbFilterStatus.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus"))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbFilterStatus)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.chkFilterStage = QtGui.QCheckBox(self.widget)
        self.chkFilterStage.setObjectName(_fromUtf8("chkFilterStage"))
        self.verticalLayout_4.addWidget(self.chkFilterStage)
        self.edtFilterStage = QtGui.QSpinBox(self.widget)
        self.edtFilterStage.setEnabled(False)
        self.edtFilterStage.setObjectName(_fromUtf8("edtFilterStage"))
        self.verticalLayout_4.addWidget(self.edtFilterStage)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.gridLayout_4.addLayout(self.horizontalLayout_4, 12, 0, 1, 3)
        self.chkFilterOrgStructure = QtGui.QCheckBox(self.widget)
        self.chkFilterOrgStructure.setObjectName(
            _fromUtf8("chkFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.chkFilterOrgStructure, 13, 0, 1, 3)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.widget)
        self.cmbFilterOrgStructure.setEnabled(False)
        self.cmbFilterOrgStructure.setObjectName(
            _fromUtf8("cmbFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbFilterOrgStructure, 14, 0, 1, 3)
        self.chkFilterContact = QtGui.QCheckBox(self.widget)
        self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact"))
        self.gridLayout_4.addWidget(self.chkFilterContact, 15, 0, 1, 3)
        self.edtFilterContact = QtGui.QLineEdit(self.widget)
        self.edtFilterContact.setEnabled(False)
        self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact"))
        self.gridLayout_4.addWidget(self.edtFilterContact, 16, 0, 1, 3)
        self.chkFilterIdentifier = QtGui.QCheckBox(self.widget)
        self.chkFilterIdentifier.setObjectName(
            _fromUtf8("chkFilterIdentifier"))
        self.gridLayout_4.addWidget(self.chkFilterIdentifier, 17, 0, 1, 3)
        self.edtFilterIdentifier = QtGui.QLineEdit(self.widget)
        self.edtFilterIdentifier.setEnabled(False)
        self.edtFilterIdentifier.setObjectName(
            _fromUtf8("edtFilterIdentifier"))
        self.gridLayout_4.addWidget(self.edtFilterIdentifier, 18, 0, 1, 3)
        self.chkFilterTicketNumber = QtGui.QCheckBox(self.widget)
        self.chkFilterTicketNumber.setObjectName(
            _fromUtf8("chkFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.chkFilterTicketNumber, 19, 0, 1, 3)
        self.edtFilterTicketNumber = QtGui.QLineEdit(self.widget)
        self.edtFilterTicketNumber.setEnabled(False)
        self.edtFilterTicketNumber.setObjectName(
            _fromUtf8("edtFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.edtFilterTicketNumber, 20, 0, 1, 3)
        self.chkFilterRequest = QtGui.QCheckBox(self.widget)
        self.chkFilterRequest.setObjectName(_fromUtf8("chkFilterRequest"))
        self.gridLayout_4.addWidget(self.chkFilterRequest, 21, 0, 1, 3)
        self.cmbFilterRequest = QtGui.QComboBox(self.widget)
        self.cmbFilterRequest.setEnabled(False)
        self.cmbFilterRequest.setObjectName(_fromUtf8("cmbFilterRequest"))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterRequest, 22, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem2, 23, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.buttonBox = CApplyResetDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_3.addWidget(self.buttonBox)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 24, 0, 1, 3)
        self.chkFilterBirthDay = QtGui.QCheckBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.chkFilterBirthDay.setSizePolicy(sizePolicy)
        self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay"))
        self.gridLayout_4.addWidget(self.chkFilterBirthDay, 7, 0, 1, 1)
        self.edtFilterBirthDay = CDateEdit(self.widget)
        self.edtFilterBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtFilterBirthDay.setCalendarPopup(True)
        self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay"))
        self.gridLayout_4.addWidget(self.edtFilterBirthDay, 7, 1, 1, 2)
        self.chkFilterClientQuotaKladr = QtGui.QCheckBox(self.widget)
        self.chkFilterClientQuotaKladr.setObjectName(
            _fromUtf8("chkFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.chkFilterClientQuotaKladr, 11, 0, 1,
                                    1)
        self.cmbFilterClientQuotaKladr = CMainRegionsKLADRComboBox(self.widget)
        self.cmbFilterClientQuotaKladr.setObjectName(
            _fromUtf8("cmbFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.cmbFilterClientQuotaKladr, 11, 1, 1,
                                    2)
        self.verticalLayout_5.addWidget(self.splitter_4)
        self.tabWidgetContent.addTab(self.tabList, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.splitter_3, 0, 0, 1, 1)

        self.retranslateUi(QuotingDialog)
        self.tabWidgetContent.setCurrentIndex(0)
        self.tabWidgetLimitation.setCurrentIndex(0)
        QtCore.QObject.connect(self.btnClose,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               QuotingDialog.close)
        QtCore.QObject.connect(self.chkFilterLastName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterLastName.setEnabled)
        QtCore.QObject.connect(self.chkFilterFirstName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterFirstName.setEnabled)
        QtCore.QObject.connect(self.chkFilterPatrName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterPatrName.setEnabled)
        QtCore.QObject.connect(self.chkFilterBirthDay,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterBirthDay.setEnabled)
        QtCore.QObject.connect(self.chkFilterSex,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterSex.setEnabled)
        QtCore.QObject.connect(self.chkFilterAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterBegAge.setEnabled)
        QtCore.QObject.connect(self.chkFilterAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterEndAge.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressCity.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressStreet.setEnabled)
        QtCore.QObject.connect(self.chkFilterStage,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterStage.setEnabled)
        QtCore.QObject.connect(self.chkFilterStatus,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterStatus.setEnabled)
        QtCore.QObject.connect(self.chkFilterOrgStructure,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkFilterContact,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterContact.setEnabled)
        QtCore.QObject.connect(self.chkFilterIdentifier,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterIdentifier.setEnabled)
        QtCore.QObject.connect(self.chkFilterTicketNumber,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterTicketNumber.setEnabled)
        QtCore.QObject.connect(self.chkFilterRequest,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterRequest.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressType.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(QuotingDialog)
        QuotingDialog.setTabOrder(self.tabWidgetContent, self.calendar)
        QuotingDialog.setTabOrder(self.calendar, self.treeQuotaType)
        QuotingDialog.setTabOrder(self.treeQuotaType, self.tblQuotaTypeLeaves)
        QuotingDialog.setTabOrder(self.tblQuotaTypeLeaves, self.btnEditQuota)
        QuotingDialog.setTabOrder(self.btnEditQuota, self.btnProlongateQuota)
        QuotingDialog.setTabOrder(self.btnProlongateQuota, self.btnNewQuota)
        QuotingDialog.setTabOrder(self.btnNewQuota, self.btnClose)
        QuotingDialog.setTabOrder(self.btnClose, self.tblQuoting)
        QuotingDialog.setTabOrder(self.tblQuoting, self.tabWidgetLimitation)
        QuotingDialog.setTabOrder(self.tabWidgetLimitation,
                                  self.tblQuoting_Region)
        QuotingDialog.setTabOrder(self.tblQuoting_Region, self.tblPeopleList)
        QuotingDialog.setTabOrder(self.tblPeopleList, self.btnPrint)
        QuotingDialog.setTabOrder(self.btnPrint, self.chkFilterLastName)
        QuotingDialog.setTabOrder(self.chkFilterLastName,
                                  self.edtFilterLastName)
        QuotingDialog.setTabOrder(self.edtFilterLastName,
                                  self.chkFilterFirstName)
        QuotingDialog.setTabOrder(self.chkFilterFirstName,
                                  self.edtFilterFirstName)
        QuotingDialog.setTabOrder(self.edtFilterFirstName,
                                  self.chkFilterPatrName)
        QuotingDialog.setTabOrder(self.chkFilterPatrName,
                                  self.edtFilterPatrName)
        QuotingDialog.setTabOrder(self.edtFilterPatrName, self.chkFilterSex)
        QuotingDialog.setTabOrder(self.chkFilterSex, self.cmbFilterSex)
        QuotingDialog.setTabOrder(self.cmbFilterSex, self.chkFilterAge)
        QuotingDialog.setTabOrder(self.chkFilterAge, self.edtFilterBegAge)
        QuotingDialog.setTabOrder(self.edtFilterBegAge, self.edtFilterEndAge)
        QuotingDialog.setTabOrder(self.edtFilterEndAge, self.chkFilterBirthDay)
        QuotingDialog.setTabOrder(self.chkFilterBirthDay,
                                  self.edtFilterBirthDay)
        QuotingDialog.setTabOrder(self.edtFilterBirthDay,
                                  self.chkFilterAddress)
        QuotingDialog.setTabOrder(self.chkFilterAddress,
                                  self.cmbFilterAddressType)
        QuotingDialog.setTabOrder(self.cmbFilterAddressType,
                                  self.cmbFilterAddressCity)
        QuotingDialog.setTabOrder(self.cmbFilterAddressCity,
                                  self.cmbFilterAddressStreet)
        QuotingDialog.setTabOrder(self.cmbFilterAddressStreet,
                                  self.chkFilterStatus)
        QuotingDialog.setTabOrder(self.chkFilterStatus, self.cmbFilterStatus)
        QuotingDialog.setTabOrder(self.cmbFilterStatus, self.chkFilterStage)
        QuotingDialog.setTabOrder(self.chkFilterStage, self.edtFilterStage)
        QuotingDialog.setTabOrder(self.edtFilterStage,
                                  self.chkFilterOrgStructure)
        QuotingDialog.setTabOrder(self.chkFilterOrgStructure,
                                  self.cmbFilterOrgStructure)
        QuotingDialog.setTabOrder(self.cmbFilterOrgStructure,
                                  self.chkFilterContact)
        QuotingDialog.setTabOrder(self.chkFilterContact, self.edtFilterContact)
        QuotingDialog.setTabOrder(self.edtFilterContact,
                                  self.chkFilterIdentifier)
        QuotingDialog.setTabOrder(self.chkFilterIdentifier,
                                  self.edtFilterIdentifier)
        QuotingDialog.setTabOrder(self.edtFilterIdentifier,
                                  self.chkFilterTicketNumber)
        QuotingDialog.setTabOrder(self.chkFilterTicketNumber,
                                  self.edtFilterTicketNumber)
        QuotingDialog.setTabOrder(self.edtFilterTicketNumber,
                                  self.chkFilterRequest)
        QuotingDialog.setTabOrder(self.chkFilterRequest, self.cmbFilterRequest)
        QuotingDialog.setTabOrder(self.cmbFilterRequest, self.buttonBox)

    def retranslateUi(self, QuotingDialog):
        QuotingDialog.setWindowTitle(
            QtGui.QApplication.translate("QuotingDialog", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEditQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Редактировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnProlongateQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Пролонгировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnNewQuota.setText(
            QtGui.QApplication.translate("QuotingDialog", "Добавить квоту",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("QuotingDialog", "Закрыть", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabRegion),
            QtGui.QApplication.translate("QuotingDialog", "Регион", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabInsurance),
            QtGui.QApplication.translate("QuotingDialog", "Страховка", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabFinanceSource),
            QtGui.QApplication.translate("QuotingDialog",
                                         "Источник финансирования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSocialStatus),
            QtGui.QApplication.translate("QuotingDialog", "Социальный статус",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSexAndAge),
            QtGui.QApplication.translate("QuotingDialog", "Пол/Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabLimits),
            QtGui.QApplication.translate("QuotingDialog", "Лимиты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnPrint.setText(
            QtGui.QApplication.translate("QuotingDialog", "Печать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPersonListCount.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Количество записей:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterLastName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Фамилия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterFirstName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Имя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterPatrName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Отчество", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterSex.setText(
            QtGui.QApplication.translate("QuotingDialog", "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAge.setText(
            QtGui.QApplication.translate("QuotingDialog", "Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAddress.setText(
            QtGui.QApplication.translate("QuotingDialog", "Адрес", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Регистрации", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Проживания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStatus.setText(
            QtGui.QApplication.translate("QuotingDialog", "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Активный талон",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            3,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Талон для заполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            4,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Заблокированный талон", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            5,
            QtGui.QApplication.translate("QuotingDialog", "Отказано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            6,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Необходимо согл-вать дату обсл.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            7,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания на соглас.", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            8,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания согласована", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            9,
            QtGui.QApplication.translate("QuotingDialog", "Пролечен", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            10,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Обслуживание отложено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            11,
            QtGui.QApplication.translate("QuotingDialog", "Отказ пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            12,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Импортировано из ВТМП", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStage.setText(
            QtGui.QApplication.translate("QuotingDialog", "Этап", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterOrgStructure.setText(
            QtGui.QApplication.translate("QuotingDialog", "Подразделение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterContact.setText(
            QtGui.QApplication.translate("QuotingDialog", "Контакт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterIdentifier.setText(
            QtGui.QApplication.translate("QuotingDialog", "Идентификатор",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterTicketNumber.setText(
            QtGui.QApplication.translate("QuotingDialog", "Номер талона", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterRequest.setText(
            QtGui.QApplication.translate("QuotingDialog", "Обращение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Первичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Вторичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterBirthDay.setText(
            QtGui.QApplication.translate("QuotingDialog", "Дата рождения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterClientQuotaKladr.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Прикрепление по квоте", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabList),
            QtGui.QApplication.translate("QuotingDialog", "Список", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #4
0
class Ui_JournalBeforeRecordDialog(object):
    def setupUi(self, JournalBeforeRecordDialog):
        JournalBeforeRecordDialog.setObjectName(_fromUtf8("JournalBeforeRecordDialog"))
        JournalBeforeRecordDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        JournalBeforeRecordDialog.resize(536, 354)
        JournalBeforeRecordDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(JournalBeforeRecordDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkIgnoreRehabilitation = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkIgnoreRehabilitation.setObjectName(_fromUtf8("chkIgnoreRehabilitation"))
        self.gridLayout.addWidget(self.chkIgnoreRehabilitation, 13, 0, 1, 1)
        self.chkDetailCallCentr = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkDetailCallCentr.setEnabled(True)
        self.chkDetailCallCentr.setObjectName(_fromUtf8("chkDetailCallCentr"))
        self.gridLayout.addWidget(self.chkDetailCallCentr, 10, 0, 1, 8)
        self.chkPeriodRecord = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkPeriodRecord.setChecked(True)
        self.chkPeriodRecord.setObjectName(_fromUtf8("chkPeriodRecord"))
        self.gridLayout.addWidget(self.chkPeriodRecord, 0, 0, 1, 3)
        self.lblUserProfile = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblUserProfile.setObjectName(_fromUtf8("lblUserProfile"))
        self.gridLayout.addWidget(self.lblUserProfile, 4, 0, 1, 3)
        self.cmbPerson = CPersonComboBoxEx(JournalBeforeRecordDialog)
        self.cmbPerson.setEnabled(False)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 7, 3, 1, 5)
        self.buttonBox = QtGui.QDialogButtonBox(JournalBeforeRecordDialog)
        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, 8)
        self.edtBegDateRecord = CDateEdit(JournalBeforeRecordDialog)
        self.edtBegDateRecord.setEnabled(False)
        self.edtBegDateRecord.setCalendarPopup(True)
        self.edtBegDateRecord.setObjectName(_fromUtf8("edtBegDateRecord"))
        self.gridLayout.addWidget(self.edtBegDateRecord, 1, 3, 1, 1)
        self.edtEndDate = CDateEdit(JournalBeforeRecordDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 0, 5, 1, 1)
        spacerItem = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 7, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 7, 1, 1)
        self.lblSpeciality = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 3)
        self.chkOrgStructure = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 5, 0, 1, 3)
        self.cmbQueueType = QtGui.QComboBox(JournalBeforeRecordDialog)
        self.cmbQueueType.setObjectName(_fromUtf8("cmbQueueType"))
        self.cmbQueueType.addItem(_fromUtf8(""))
        self.cmbQueueType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbQueueType, 9, 3, 1, 5)
        self.cmbUserId = CPersonComboBoxEx(JournalBeforeRecordDialog)
        self.cmbUserId.setEnabled(True)
        self.cmbUserId.setObjectName(_fromUtf8("cmbUserId"))
        self.gridLayout.addWidget(self.cmbUserId, 3, 3, 1, 5)
        self.cmbOrgStructure = COrgStructureComboBox(JournalBeforeRecordDialog)
        self.cmbOrgStructure.setEnabled(False)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 3, 1, 5)
        self.lblPerson = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 3)
        self.chkShowWithoutOverTime = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkShowWithoutOverTime.setObjectName(_fromUtf8("chkShowWithoutOverTime"))
        self.gridLayout.addWidget(self.chkShowWithoutOverTime, 12, 0, 1, 3)
        self.lblQueueType = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblQueueType.setObjectName(_fromUtf8("lblQueueType"))
        self.gridLayout.addWidget(self.lblQueueType, 9, 0, 1, 3)
        self.lblUserId = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblUserId.setObjectName(_fromUtf8("lblUserId"))
        self.gridLayout.addWidget(self.lblUserId, 3, 0, 1, 3)
        self.chkPeriodBeforeRecord = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkPeriodBeforeRecord.setObjectName(_fromUtf8("chkPeriodBeforeRecord"))
        self.gridLayout.addWidget(self.chkPeriodBeforeRecord, 1, 0, 1, 3)
        self.edtBegDate = CDateEdit(JournalBeforeRecordDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1)
        self.lblEndDate = QtGui.QLabel(JournalBeforeRecordDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 0, 4, 1, 1)
        self.label_2 = QtGui.QLabel(JournalBeforeRecordDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 4, 1, 1)
        self.edtEndDateRecord = CDateEdit(JournalBeforeRecordDialog)
        self.edtEndDateRecord.setEnabled(False)
        self.edtEndDateRecord.setCalendarPopup(True)
        self.edtEndDateRecord.setObjectName(_fromUtf8("edtEndDateRecord"))
        self.gridLayout.addWidget(self.edtEndDateRecord, 1, 5, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 15, 2, 1, 1)
        self.cmbUserProfile = CRBComboBox(JournalBeforeRecordDialog)
        self.cmbUserProfile.setObjectName(_fromUtf8("cmbUserProfile"))
        self.gridLayout.addWidget(self.cmbUserProfile, 4, 3, 1, 5)
        self.cmbSpeciality = CRBComboBox(JournalBeforeRecordDialog)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 3, 1, 5)
        self.chkShowNotes = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkShowNotes.setObjectName(_fromUtf8("chkShowNotes"))
        self.gridLayout.addWidget(self.chkShowNotes, 14, 0, 1, 1)
        self.chkDetailExternalIS = QtGui.QCheckBox(JournalBeforeRecordDialog)
        self.chkDetailExternalIS.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.chkDetailExternalIS.setObjectName(_fromUtf8("chkDetailExternalIS"))
        self.gridLayout.addWidget(self.chkDetailExternalIS, 11, 0, 1, 1)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(JournalBeforeRecordDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), JournalBeforeRecordDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), JournalBeforeRecordDialog.reject)
        QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setEnabled)
        QtCore.QObject.connect(self.chkPeriodRecord, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegDate.setEnabled)
        QtCore.QObject.connect(self.chkPeriodRecord, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndDate.setEnabled)
        QtCore.QObject.connect(self.chkPeriodBeforeRecord, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndDateRecord.setEnabled)
        QtCore.QObject.connect(self.chkPeriodBeforeRecord, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegDateRecord.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(JournalBeforeRecordDialog)
        JournalBeforeRecordDialog.setTabOrder(self.chkPeriodRecord, self.edtBegDate)
        JournalBeforeRecordDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        JournalBeforeRecordDialog.setTabOrder(self.edtEndDate, self.chkPeriodBeforeRecord)
        JournalBeforeRecordDialog.setTabOrder(self.chkPeriodBeforeRecord, self.edtBegDateRecord)
        JournalBeforeRecordDialog.setTabOrder(self.edtBegDateRecord, self.edtEndDateRecord)
        JournalBeforeRecordDialog.setTabOrder(self.edtEndDateRecord, self.cmbUserId)
        JournalBeforeRecordDialog.setTabOrder(self.cmbUserId, self.cmbUserProfile)
        JournalBeforeRecordDialog.setTabOrder(self.cmbUserProfile, self.chkOrgStructure)
        JournalBeforeRecordDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure)
        JournalBeforeRecordDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality)
        JournalBeforeRecordDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        JournalBeforeRecordDialog.setTabOrder(self.cmbPerson, self.cmbQueueType)
        JournalBeforeRecordDialog.setTabOrder(self.cmbQueueType, self.chkDetailCallCentr)
        JournalBeforeRecordDialog.setTabOrder(self.chkDetailCallCentr, self.chkDetailExternalIS)
        JournalBeforeRecordDialog.setTabOrder(self.chkDetailExternalIS, self.chkShowWithoutOverTime)
        JournalBeforeRecordDialog.setTabOrder(self.chkShowWithoutOverTime, self.chkIgnoreRehabilitation)
        JournalBeforeRecordDialog.setTabOrder(self.chkIgnoreRehabilitation, self.chkShowNotes)
        JournalBeforeRecordDialog.setTabOrder(self.chkShowNotes, self.buttonBox)

    def retranslateUi(self, JournalBeforeRecordDialog):
        JournalBeforeRecordDialog.setWindowTitle(_translate("JournalBeforeRecordDialog", "Журнал предварительной записи", None))
        self.chkIgnoreRehabilitation.setText(_translate("JournalBeforeRecordDialog", "Не учитывать реабилитационное отделение", None))
        self.chkDetailCallCentr.setText(_translate("JournalBeforeRecordDialog", "Детализировать Call-центр", None))
        self.chkPeriodRecord.setText(_translate("JournalBeforeRecordDialog", "Период постановки в очередь с", None))
        self.lblUserProfile.setText(_translate("JournalBeforeRecordDialog", "Профиль пользователя", None))
        self.lblSpeciality.setText(_translate("JournalBeforeRecordDialog", "&Специальность", None))
        self.chkOrgStructure.setText(_translate("JournalBeforeRecordDialog", "&Подразделение", None))
        self.cmbQueueType.setItemText(0, _translate("JournalBeforeRecordDialog", "Амбулаторный прием", None))
        self.cmbQueueType.setItemText(1, _translate("JournalBeforeRecordDialog", "Вызовы", None))
        self.lblPerson.setText(_translate("JournalBeforeRecordDialog", "&Врач", None))
        self.chkShowWithoutOverTime.setText(_translate("JournalBeforeRecordDialog", "Не выводить пациентов сверх очереди", None))
        self.lblQueueType.setText(_translate("JournalBeforeRecordDialog", "Учитывать", None))
        self.lblUserId.setText(_translate("JournalBeforeRecordDialog", "Пользователь", None))
        self.chkPeriodBeforeRecord.setText(_translate("JournalBeforeRecordDialog", "Период предварительной записи с", None))
        self.lblEndDate.setText(_translate("JournalBeforeRecordDialog", "по", None))
        self.label_2.setText(_translate("JournalBeforeRecordDialog", "по", None))
        self.cmbSpeciality.setWhatsThis(_translate("JournalBeforeRecordDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None))
        self.chkShowNotes.setText(_translate("JournalBeforeRecordDialog", "Выводить жалобы", None))
        self.chkDetailExternalIS.setToolTip(_translate("JournalBeforeRecordDialog", "<html><head/><body><p>В отчёт будут выведены только записи, выполненные через внешние ИС</p></body></html>", None))
        self.chkDetailExternalIS.setText(_translate("JournalBeforeRecordDialog", "Детализировать запись через внешние ИС", None))
class Ui_StatReportF131RaionSetupDialog(object):
    def setupUi(self, StatReportF131RaionSetupDialog):
        StatReportF131RaionSetupDialog.setObjectName(
            _fromUtf8("StatReportF131RaionSetupDialog"))
        StatReportF131RaionSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        StatReportF131RaionSetupDialog.resize(311, 253)
        StatReportF131RaionSetupDialog.setSizeGripEnabled(True)
        StatReportF131RaionSetupDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(StatReportF131RaionSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       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, 1)
        self.edtBegDate = CDateEdit(StatReportF131RaionSetupDialog)
        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.lblEndDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       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, 1)
        self.edtEndDate = CDateEdit(StatReportF131RaionSetupDialog)
        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.lblEventType = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.cmbEventType = CRBComboBox(StatReportF131RaionSetupDialog)
        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, 1, 1, 1)
        self.chkOnlyPayedEvents = QtGui.QCheckBox(
            StatReportF131RaionSetupDialog)
        self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyPayedEvents, 3, 1, 1, 1)
        self.lblBegPayDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegPayDate.sizePolicy().hasHeightForWidth())
        self.lblBegPayDate.setSizePolicy(sizePolicy)
        self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate"))
        self.gridLayout.addWidget(self.lblBegPayDate, 4, 0, 1, 1)
        self.edtBegPayDate = CDateEdit(StatReportF131RaionSetupDialog)
        self.edtBegPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegPayDate.sizePolicy().hasHeightForWidth())
        self.edtBegPayDate.setSizePolicy(sizePolicy)
        self.edtBegPayDate.setCalendarPopup(True)
        self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate"))
        self.gridLayout.addWidget(self.edtBegPayDate, 4, 1, 1, 1)
        self.lblEndPayDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndPayDate.sizePolicy().hasHeightForWidth())
        self.lblEndPayDate.setSizePolicy(sizePolicy)
        self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate"))
        self.gridLayout.addWidget(self.lblEndPayDate, 5, 0, 1, 1)
        self.edtEndPayDate = CDateEdit(StatReportF131RaionSetupDialog)
        self.edtEndPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndPayDate.sizePolicy().hasHeightForWidth())
        self.edtEndPayDate.setSizePolicy(sizePolicy)
        self.edtEndPayDate.setCalendarPopup(True)
        self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate"))
        self.gridLayout.addWidget(self.edtEndPayDate, 5, 1, 1, 1)
        self.label = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 1)
        self.cmbRaion = QtGui.QComboBox(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRaion.sizePolicy().hasHeightForWidth())
        self.cmbRaion.setSizePolicy(sizePolicy)
        self.cmbRaion.setObjectName(_fromUtf8("cmbRaion"))
        self.gridLayout.addWidget(self.cmbRaion, 6, 1, 1, 1)
        self.label_2 = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 7, 0, 1, 1)
        self.cmbPermanentAttach = QtGui.QComboBox(
            StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPermanentAttach.sizePolicy().hasHeightForWidth())
        self.cmbPermanentAttach.setSizePolicy(sizePolicy)
        self.cmbPermanentAttach.setObjectName(_fromUtf8("cmbPermanentAttach"))
        self.gridLayout.addWidget(self.cmbPermanentAttach, 7, 1, 1, 1)
        self.lblYearForDD = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblYearForDD.sizePolicy().hasHeightForWidth())
        self.lblYearForDD.setSizePolicy(sizePolicy)
        self.lblYearForDD.setObjectName(_fromUtf8("lblYearForDD"))
        self.gridLayout.addWidget(self.lblYearForDD, 8, 0, 1, 1)
        self.ledtYearForDD = QtGui.QLineEdit(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ledtYearForDD.sizePolicy().hasHeightForWidth())
        self.ledtYearForDD.setSizePolicy(sizePolicy)
        self.ledtYearForDD.setMaxLength(10)
        self.ledtYearForDD.setObjectName(_fromUtf8("ledtYearForDD"))
        self.gridLayout.addWidget(self.ledtYearForDD, 8, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StatReportF131RaionSetupDialog)
        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, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegPayDate.setBuddy(self.edtBegPayDate)
        self.lblEndPayDate.setBuddy(self.edtEndPayDate)

        self.retranslateUi(StatReportF131RaionSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StatReportF131RaionSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StatReportF131RaionSetupDialog.reject)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndPayDate.setEnabled)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegPayDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(StatReportF131RaionSetupDialog)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtBegDate,
                                                   self.edtEndDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtEndDate,
                                                   self.cmbEventType)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbEventType,
                                                   self.chkOnlyPayedEvents)
        StatReportF131RaionSetupDialog.setTabOrder(self.chkOnlyPayedEvents,
                                                   self.edtBegPayDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtBegPayDate,
                                                   self.edtEndPayDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtEndPayDate,
                                                   self.cmbRaion)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbRaion,
                                                   self.cmbPermanentAttach)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbPermanentAttach,
                                                   self.ledtYearForDD)
        StatReportF131RaionSetupDialog.setTabOrder(self.ledtYearForDD,
                                                   self.buttonBox)

    def retranslateUi(self, StatReportF131RaionSetupDialog):
        StatReportF131RaionSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyPayedEvents.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Только опла&ченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegPayDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Оплачено в период с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndPayDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Район", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Прикрепление к", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblYearForDD.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Префикс формы 131", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #6
0
class Ui_DublDialog(object):
    def setupUi(self, DublDialog):
        DublDialog.setObjectName(_fromUtf8("DublDialog"))
        DublDialog.resize(320, 218)
        self.gridLayout = QtGui.QGridLayout(DublDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.textBrowser = QtGui.QTextBrowser(DublDialog)
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.gridLayout.addWidget(self.textBrowser, 0, 0, 1, 3)
        self.chkStart = QtGui.QCheckBox(DublDialog)
        self.chkStart.setObjectName(_fromUtf8("chkStart"))
        self.gridLayout.addWidget(self.chkStart, 1, 0, 1, 1)
        self.edtStart = CDateEdit(DublDialog)
        self.edtStart.setEnabled(False)
        self.edtStart.setObjectName(_fromUtf8("edtStart"))
        self.gridLayout.addWidget(self.edtStart, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(134, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(DublDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.rbSingle = QtGui.QRadioButton(self.groupBox)
        self.rbSingle.setObjectName(_fromUtf8("rbSingle"))
        self.verticalLayout.addWidget(self.rbSingle)
        self.rbDual = QtGui.QRadioButton(self.groupBox)
        self.rbDual.setObjectName(_fromUtf8("rbDual"))
        self.verticalLayout.addWidget(self.rbDual)
        self.rbWeek = QtGui.QRadioButton(self.groupBox)
        self.rbWeek.setChecked(True)
        self.rbWeek.setObjectName(_fromUtf8("rbWeek"))
        self.verticalLayout.addWidget(self.rbWeek)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(DublDialog)
        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, 3, 0, 1, 3)

        self.retranslateUi(DublDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               DublDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               DublDialog.reject)
        QtCore.QObject.connect(self.chkStart,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtStart.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DublDialog)
        DublDialog.setTabOrder(self.textBrowser, self.chkStart)
        DublDialog.setTabOrder(self.chkStart, self.edtStart)
        DublDialog.setTabOrder(self.edtStart, self.rbSingle)
        DublDialog.setTabOrder(self.rbSingle, self.rbDual)
        DublDialog.setTabOrder(self.rbDual, self.rbWeek)
        DublDialog.setTabOrder(self.rbWeek, self.buttonBox)

    def retranslateUi(self, DublDialog):
        DublDialog.setWindowTitle(
            QtGui.QApplication.translate("DublDialog", "Дублирование графика",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser.setHtml(
            QtGui.QApplication.translate(
                "DublDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-size:9pt;\">Выберите режим копирования для выполнения дублирования графика</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.chkStart.setText(
            QtGui.QApplication.translate("DublDialog", "начинать с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("DublDialog", "режим копирования",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.rbSingle.setText(
            QtGui.QApplication.translate("DublDialog", "Один план", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rbDual.setText(
            QtGui.QApplication.translate("DublDialog", "Нечет/чёт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rbWeek.setText(
            QtGui.QApplication.translate("DublDialog", "Неделя", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_ReportAttachedClientSetup(object):
    def setupUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setObjectName(
            _fromUtf8("ReportAttachedClientSetup"))
        ReportAttachedClientSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAttachedClientSetup.resize(283, 163)
        ReportAttachedClientSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAttachedClientSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtBegDate = CDateEdit(ReportAttachedClientSetup)
        self.edtBegDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAttachedClientSetup)
        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)
        spacerItem1 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportAttachedClientSetup)
        self.edtEndDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblBegDae = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblBegDae.setObjectName(_fromUtf8("lblBegDae"))
        self.gridLayout.addWidget(self.lblBegDae, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAttachedClientSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        self.lblSubdivision = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblSubdivision.setObjectName(_fromUtf8("lblSubdivision"))
        self.gridLayout.addWidget(self.lblSubdivision, 3, 0, 1, 1)
        self.lblOrganisationAttachment = QtGui.QLabel(
            ReportAttachedClientSetup)
        self.lblOrganisationAttachment.setObjectName(
            _fromUtf8("lblOrganisationAttachment"))
        self.gridLayout.addWidget(self.lblOrganisationAttachment, 4, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAttachedClientSetup)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 1, 1, 2)
        self.cmbOrganisationAttachment = CPolyclinicComboBox(
            ReportAttachedClientSetup)
        self.cmbOrganisationAttachment.setObjectName(
            _fromUtf8("cmbOrganisationAttachment"))
        self.gridLayout.addWidget(self.cmbOrganisationAttachment, 4, 1, 1, 2)
        self.lblBegDae.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)

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

    def retranslateUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setWindowTitle(
            _translate("ReportAttachedClientSetup", "параметры отчёта", None))
        self.lblBegDae.setText(
            _translate("ReportAttachedClientSetup", "Дата начала", None))
        self.lblEndDate.setText(
            _translate("ReportAttachedClientSetup", "Дата окончания", None))
        self.lblSubdivision.setText(
            _translate("ReportAttachedClientSetup", "Подразделение", None))
        self.lblOrganisationAttachment.setText(
            _translate("ReportAttachedClientSetup", "ЛПУ прикрепления", None))
        self.lblEventType.setText(
            _translate("ReportAttachedClientSetup", "&Тип обращения", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportAttachedClientSetup",
                "<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))
Example #8
0
class Ui_PersonsListDialog(object):
    def setupUi(self, PersonsListDialog):
        PersonsListDialog.setObjectName(_fromUtf8("PersonsListDialog"))
        PersonsListDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PersonsListDialog.resize(908, 717)
        PersonsListDialog.setSizeGripEnabled(True)
        PersonsListDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(PersonsListDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblItems = CTableView(PersonsListDialog)
        self.tblItems.setTabKeyNavigation(False)
        self.tblItems.setAlternatingRowColors(True)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 30, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(PersonsListDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.chkOnlyOwn = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyOwn.setChecked(True)
        self.chkOnlyOwn.setObjectName(_fromUtf8("chkOnlyOwn"))
        self.hboxlayout.addWidget(self.chkOnlyOwn)
        self.chkOnlyWorking = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyWorking.setChecked(True)
        self.chkOnlyWorking.setObjectName(_fromUtf8("chkOnlyWorking"))
        self.hboxlayout.addWidget(self.chkOnlyWorking)
        self.chkOnlyResearcher = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyResearcher.setObjectName(_fromUtf8("chkOnlyResearcher"))
        self.hboxlayout.addWidget(self.chkOnlyResearcher)
        self.btnSync = QtGui.QPushButton(PersonsListDialog)
        self.btnSync.setObjectName(_fromUtf8("btnSync"))
        self.hboxlayout.addWidget(self.btnSync)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(PersonsListDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.hboxlayout.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.hboxlayout, 32, 0, 1, 2)
        self.tabWidget = QtGui.QTabWidget(PersonsListDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabWidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabCommon = QtGui.QWidget()
        self.tabCommon.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabCommon.setObjectName(_fromUtf8("tabCommon"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabCommon)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkSpec = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpec.sizePolicy().hasHeightForWidth())
        self.chkSpec.setSizePolicy(sizePolicy)
        self.chkSpec.setObjectName(_fromUtf8("chkSpec"))
        self.gridLayout_2.addWidget(self.chkSpec, 11, 0, 1, 1)
        self.chkUserRightsProfile = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkUserRightsProfile.sizePolicy().hasHeightForWidth())
        self.chkUserRightsProfile.setSizePolicy(sizePolicy)
        self.chkUserRightsProfile.setObjectName(
            _fromUtf8("chkUserRightsProfile"))
        self.gridLayout_2.addWidget(self.chkUserRightsProfile, 4, 2, 1, 1)
        self.chkLPU = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkLPU.sizePolicy().hasHeightForWidth())
        self.chkLPU.setSizePolicy(sizePolicy)
        self.chkLPU.setObjectName(_fromUtf8("chkLPU"))
        self.gridLayout_2.addWidget(self.chkLPU, 5, 2, 1, 1)
        self.chkAcademicDegree = QtGui.QCheckBox(self.tabCommon)
        self.chkAcademicDegree.setObjectName(_fromUtf8("chkAcademicDegree"))
        self.gridLayout_2.addWidget(self.chkAcademicDegree, 11, 2, 1, 1)
        self.edtFirstName = QtGui.QLineEdit(self.tabCommon)
        self.edtFirstName.setEnabled(False)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout_2.addWidget(self.edtFirstName, 5, 1, 1, 1)
        self.cmbAcademicDegree = CEnumComboBox(self.tabCommon)
        self.cmbAcademicDegree.setEnabled(False)
        self.cmbAcademicDegree.setObjectName(_fromUtf8("cmbAcademicDegree"))
        self.gridLayout_2.addWidget(self.cmbAcademicDegree, 11, 3, 1, 1)
        self.cmbOccupationType = CEnumComboBox(self.tabCommon)
        self.cmbOccupationType.setEnabled(False)
        self.cmbOccupationType.setObjectName(_fromUtf8("cmbOccupationType"))
        self.gridLayout_2.addWidget(self.cmbOccupationType, 1, 3, 1, 1)
        self.chkIsReservist = QtGui.QCheckBox(self.tabCommon)
        self.chkIsReservist.setObjectName(_fromUtf8("chkIsReservist"))
        self.gridLayout_2.addWidget(self.chkIsReservist, 7, 2, 1, 1)
        self.cmbActivity = CRBComboBox(self.tabCommon)
        self.cmbActivity.setEnabled(False)
        self.cmbActivity.setObjectName(_fromUtf8("cmbActivity"))
        self.gridLayout_2.addWidget(self.cmbActivity, 13, 1, 1, 1)
        self.chkFirstName = QtGui.QCheckBox(self.tabCommon)
        self.chkFirstName.setObjectName(_fromUtf8("chkFirstName"))
        self.gridLayout_2.addWidget(self.chkFirstName, 5, 0, 1, 1)
        self.cmbUserRightsProfile = CRBComboBox(self.tabCommon)
        self.cmbUserRightsProfile.setEnabled(False)
        self.cmbUserRightsProfile.setObjectName(
            _fromUtf8("cmbUserRightsProfile"))
        self.gridLayout_2.addWidget(self.cmbUserRightsProfile, 4, 3, 1, 1)
        self.chkOccupationType = QtGui.QCheckBox(self.tabCommon)
        self.chkOccupationType.setObjectName(_fromUtf8("chkOccupationType"))
        self.gridLayout_2.addWidget(self.chkOccupationType, 1, 2, 1, 1)
        self.chkActivity = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkActivity.sizePolicy().hasHeightForWidth())
        self.chkActivity.setSizePolicy(sizePolicy)
        self.chkActivity.setObjectName(_fromUtf8("chkActivity"))
        self.gridLayout_2.addWidget(self.chkActivity, 13, 0, 1, 1)
        self.chkLastName = QtGui.QCheckBox(self.tabCommon)
        self.chkLastName.setObjectName(_fromUtf8("chkLastName"))
        self.gridLayout_2.addWidget(self.chkLastName, 4, 0, 1, 1)
        self.cmbIsReservist = CEnumComboBox(self.tabCommon)
        self.cmbIsReservist.setEnabled(False)
        self.cmbIsReservist.setObjectName(_fromUtf8("cmbIsReservist"))
        self.gridLayout_2.addWidget(self.cmbIsReservist, 7, 3, 1, 1)
        self.edtLastName = QtGui.QLineEdit(self.tabCommon)
        self.edtLastName.setEnabled(False)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout_2.addWidget(self.edtLastName, 4, 1, 1, 1)
        self.boxStrPodr = COrgStructureComboBox(self.tabCommon)
        self.boxStrPodr.setEnabled(False)
        self.boxStrPodr.setObjectName(_fromUtf8("boxStrPodr"))
        self.gridLayout_2.addWidget(self.boxStrPodr, 9, 1, 1, 1)
        self.edtPatrName = QtGui.QLineEdit(self.tabCommon)
        self.edtPatrName.setEnabled(False)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout_2.addWidget(self.edtPatrName, 7, 1, 1, 1)
        self.cmbEmploymentType = CEnumComboBox(self.tabCommon)
        self.cmbEmploymentType.setEnabled(False)
        self.cmbEmploymentType.setObjectName(_fromUtf8("cmbEmploymentType"))
        self.gridLayout_2.addWidget(self.cmbEmploymentType, 9, 3, 1, 1)
        self.chkCode = QtGui.QCheckBox(self.tabCommon)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout_2.addWidget(self.chkCode, 1, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(self.tabCommon)
        self.edtCode.setEnabled(False)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout_2.addWidget(self.edtCode, 1, 1, 1, 1)
        self.edtFedCode = QtGui.QLineEdit(self.tabCommon)
        self.edtFedCode.setEnabled(False)
        self.edtFedCode.setObjectName(_fromUtf8("edtFedCode"))
        self.gridLayout_2.addWidget(self.edtFedCode, 13, 3, 1, 1)
        self.chkStrPodr = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStrPodr.sizePolicy().hasHeightForWidth())
        self.chkStrPodr.setSizePolicy(sizePolicy)
        self.chkStrPodr.setObjectName(_fromUtf8("chkStrPodr"))
        self.gridLayout_2.addWidget(self.chkStrPodr, 9, 0, 1, 1)
        self.chkEmploymentType = QtGui.QCheckBox(self.tabCommon)
        self.chkEmploymentType.setObjectName(_fromUtf8("chkEmploymentType"))
        self.gridLayout_2.addWidget(self.chkEmploymentType, 9, 2, 1, 1)
        self.chkFedCode = QtGui.QCheckBox(self.tabCommon)
        self.chkFedCode.setObjectName(_fromUtf8("chkFedCode"))
        self.gridLayout_2.addWidget(self.chkFedCode, 13, 2, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.tabCommon)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_2.addWidget(self.cmbSpeciality, 11, 1, 1, 1)
        self.chkPatrName = QtGui.QCheckBox(self.tabCommon)
        self.chkPatrName.setObjectName(_fromUtf8("chkPatrName"))
        self.gridLayout_2.addWidget(self.chkPatrName, 7, 0, 1, 1)
        self.cmbOrg = CPolyclinicExtendedComboBox(self.tabCommon)
        self.cmbOrg.setEnabled(False)
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_2.addWidget(self.cmbOrg, 5, 3, 1, 1)
        self.tabWidget.addTab(self.tabCommon, _fromUtf8(""))
        self.tabPrivateInform = QtGui.QWidget()
        self.tabPrivateInform.setObjectName(_fromUtf8("tabPrivateInform"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabPrivateInform)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.chkMaritalStatus = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkMaritalStatus.setObjectName(_fromUtf8("chkMaritalStatus"))
        self.gridLayout_5.addWidget(self.chkMaritalStatus, 1, 0, 1, 1)
        self.chkBirthDate = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate"))
        self.gridLayout_5.addWidget(self.chkBirthDate, 4, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabPrivateInform)
        self.edtBirthDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBirthDate.sizePolicy().hasHeightForWidth())
        self.edtBirthDate.setSizePolicy(sizePolicy)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout_5.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabPrivateInform)
        self.cmbSex.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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_5.addWidget(self.cmbSex, 3, 1, 1, 1)
        self.chkCitizenship = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkCitizenship.setObjectName(_fromUtf8("chkCitizenship"))
        self.gridLayout_5.addWidget(self.chkCitizenship, 2, 0, 1, 1)
        self.cmbRegistryType = CEnumComboBox(self.tabPrivateInform)
        self.cmbRegistryType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRegistryType.sizePolicy().hasHeightForWidth())
        self.cmbRegistryType.setSizePolicy(sizePolicy)
        self.cmbRegistryType.setObjectName(_fromUtf8("cmbRegistryType"))
        self.gridLayout_5.addWidget(self.cmbRegistryType, 0, 1, 1, 1)
        self.cmbCitizenship = CRBComboBox(self.tabPrivateInform)
        self.cmbCitizenship.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCitizenship.sizePolicy().hasHeightForWidth())
        self.cmbCitizenship.setSizePolicy(sizePolicy)
        self.cmbCitizenship.setObjectName(_fromUtf8("cmbCitizenship"))
        self.gridLayout_5.addWidget(self.cmbCitizenship, 2, 1, 1, 1)
        self.chkSex = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout_5.addWidget(self.chkSex, 3, 0, 1, 1)
        self.chkRegistryType = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkRegistryType.setObjectName(_fromUtf8("chkRegistryType"))
        self.gridLayout_5.addWidget(self.chkRegistryType, 0, 0, 1, 1)
        self.cmbMaritalStatus = CEnumComboBox(self.tabPrivateInform)
        self.cmbMaritalStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMaritalStatus.sizePolicy().hasHeightForWidth())
        self.cmbMaritalStatus.setSizePolicy(sizePolicy)
        self.cmbMaritalStatus.setObjectName(_fromUtf8("cmbMaritalStatus"))
        self.gridLayout_5.addWidget(self.cmbMaritalStatus, 1, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 2, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem3, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabPrivateInform, _fromUtf8(""))
        self.tabQualification = QtGui.QWidget()
        self.tabQualification.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabQualification.setObjectName(_fromUtf8("tabQualification"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabQualification)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.cmbCategory = CRBComboBox(self.tabQualification)
        self.cmbCategory.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCategory.sizePolicy().hasHeightForWidth())
        self.cmbCategory.setSizePolicy(sizePolicy)
        self.cmbCategory.setObjectName(_fromUtf8("cmbCategory"))
        self.gridLayout_3.addWidget(self.cmbCategory, 1, 1, 1, 1)
        self.cmbEducationType = CEnumComboBox(self.tabQualification)
        self.cmbEducationType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEducationType.sizePolicy().hasHeightForWidth())
        self.cmbEducationType.setSizePolicy(sizePolicy)
        self.cmbEducationType.setObjectName(_fromUtf8("cmbEducationType"))
        self.gridLayout_3.addWidget(self.cmbEducationType, 0, 1, 1, 1)
        self.chkCategory = QtGui.QCheckBox(self.tabQualification)
        self.chkCategory.setObjectName(_fromUtf8("chkCategory"))
        self.gridLayout_3.addWidget(self.chkCategory, 1, 0, 1, 1)
        self.chkEducationType = QtGui.QCheckBox(self.tabQualification)
        self.chkEducationType.setObjectName(_fromUtf8("chkEducationType"))
        self.gridLayout_3.addWidget(self.chkEducationType, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem5, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabQualification, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 3, 0, 1, 1)

        self.retranslateUi(PersonsListDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PersonsListDialog.close)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFedCode.setEnabled)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               self.edtFedCode.setFocus)
        QtCore.QObject.connect(self.chkStrPodr,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.boxStrPodr.setEnabled)
        QtCore.QObject.connect(self.chkSpec,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkPatrName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPatrName.setEnabled)
        QtCore.QObject.connect(self.chkActivity,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbActivity.setEnabled)
        QtCore.QObject.connect(self.chkFirstName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFirstName.setEnabled)
        QtCore.QObject.connect(self.chkLastName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtLastName.setEnabled)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtCode.setEnabled)
        QtCore.QObject.connect(self.chkOccupationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOccupationType.setEnabled)
        QtCore.QObject.connect(self.chkAcademicDegree,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAcademicDegree.setEnabled)
        QtCore.QObject.connect(self.chkEmploymentType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEmploymentType.setEnabled)
        QtCore.QObject.connect(self.chkIsReservist,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbIsReservist.setEnabled)
        QtCore.QObject.connect(self.chkLPU,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOrg.setEnabled)
        QtCore.QObject.connect(self.chkUserRightsProfile,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbUserRightsProfile.setEnabled)
        QtCore.QObject.connect(self.chkRegistryType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbRegistryType.setEnabled)
        QtCore.QObject.connect(self.chkMaritalStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMaritalStatus.setEnabled)
        QtCore.QObject.connect(self.chkCitizenship,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCitizenship.setEnabled)
        QtCore.QObject.connect(self.chkEducationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEducationType.setEnabled)
        QtCore.QObject.connect(self.chkCategory,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCategory.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkBirthDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBirthDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(PersonsListDialog)
        PersonsListDialog.setTabOrder(self.chkCode, self.edtCode)
        PersonsListDialog.setTabOrder(self.edtCode, self.chkLastName)
        PersonsListDialog.setTabOrder(self.chkLastName, self.edtLastName)
        PersonsListDialog.setTabOrder(self.edtLastName, self.chkFirstName)
        PersonsListDialog.setTabOrder(self.chkFirstName, self.edtFirstName)
        PersonsListDialog.setTabOrder(self.edtFirstName, self.chkPatrName)
        PersonsListDialog.setTabOrder(self.chkPatrName, self.edtPatrName)
        PersonsListDialog.setTabOrder(self.edtPatrName, self.chkStrPodr)
        PersonsListDialog.setTabOrder(self.chkStrPodr, self.boxStrPodr)
        PersonsListDialog.setTabOrder(self.boxStrPodr, self.chkSpec)
        PersonsListDialog.setTabOrder(self.chkSpec, self.cmbSpeciality)
        PersonsListDialog.setTabOrder(self.cmbSpeciality, self.chkActivity)
        PersonsListDialog.setTabOrder(self.chkActivity, self.cmbActivity)
        PersonsListDialog.setTabOrder(self.cmbActivity, self.chkOccupationType)
        PersonsListDialog.setTabOrder(self.chkOccupationType,
                                      self.cmbOccupationType)
        PersonsListDialog.setTabOrder(self.cmbOccupationType,
                                      self.chkUserRightsProfile)
        PersonsListDialog.setTabOrder(self.chkUserRightsProfile,
                                      self.cmbUserRightsProfile)
        PersonsListDialog.setTabOrder(self.cmbUserRightsProfile, self.chkLPU)
        PersonsListDialog.setTabOrder(self.chkLPU, self.cmbOrg)
        PersonsListDialog.setTabOrder(self.cmbOrg, self.chkIsReservist)
        PersonsListDialog.setTabOrder(self.chkIsReservist, self.cmbIsReservist)
        PersonsListDialog.setTabOrder(self.cmbIsReservist,
                                      self.chkEmploymentType)
        PersonsListDialog.setTabOrder(self.chkEmploymentType,
                                      self.cmbEmploymentType)
        PersonsListDialog.setTabOrder(self.cmbEmploymentType,
                                      self.chkAcademicDegree)
        PersonsListDialog.setTabOrder(self.chkAcademicDegree,
                                      self.cmbAcademicDegree)
        PersonsListDialog.setTabOrder(self.cmbAcademicDegree, self.chkFedCode)
        PersonsListDialog.setTabOrder(self.chkFedCode, self.edtFedCode)
        PersonsListDialog.setTabOrder(self.edtFedCode, self.tblItems)
        PersonsListDialog.setTabOrder(self.tblItems, self.chkOnlyOwn)
        PersonsListDialog.setTabOrder(self.chkOnlyOwn, self.chkOnlyWorking)
        PersonsListDialog.setTabOrder(self.chkOnlyWorking,
                                      self.chkOnlyResearcher)
        PersonsListDialog.setTabOrder(self.chkOnlyResearcher, self.btnSync)
        PersonsListDialog.setTabOrder(self.btnSync, self.buttonBox)
        PersonsListDialog.setTabOrder(self.buttonBox, self.chkRegistryType)
        PersonsListDialog.setTabOrder(self.chkRegistryType,
                                      self.cmbRegistryType)
        PersonsListDialog.setTabOrder(self.cmbRegistryType,
                                      self.chkMaritalStatus)
        PersonsListDialog.setTabOrder(self.chkMaritalStatus,
                                      self.cmbMaritalStatus)
        PersonsListDialog.setTabOrder(self.cmbMaritalStatus,
                                      self.chkCitizenship)
        PersonsListDialog.setTabOrder(self.chkCitizenship, self.cmbCitizenship)
        PersonsListDialog.setTabOrder(self.cmbCitizenship, self.chkSex)
        PersonsListDialog.setTabOrder(self.chkSex, self.cmbSex)
        PersonsListDialog.setTabOrder(self.cmbSex, self.chkBirthDate)
        PersonsListDialog.setTabOrder(self.chkBirthDate, self.edtBirthDate)
        PersonsListDialog.setTabOrder(self.edtBirthDate, self.chkEducationType)
        PersonsListDialog.setTabOrder(self.chkEducationType,
                                      self.cmbEducationType)
        PersonsListDialog.setTabOrder(self.cmbEducationType, self.chkCategory)
        PersonsListDialog.setTabOrder(self.chkCategory, self.cmbCategory)

    def retranslateUi(self, PersonsListDialog):
        PersonsListDialog.setWindowTitle(
            _translate("PersonsListDialog", "Список записей", None))
        self.tblItems.setWhatsThis(
            _translate("PersonsListDialog", "список записей", "ура!"))
        self.label.setText(_translate("PersonsListDialog", "всего: ", None))
        self.chkOnlyOwn.setText(
            _translate("PersonsListDialog", "Только свои", None))
        self.chkOnlyWorking.setText(
            _translate("PersonsListDialog", "Только работающие", None))
        self.chkOnlyResearcher.setText(
            _translate("PersonsListDialog", "Только главные исследователи",
                       None))
        self.btnSync.setText(
            _translate("PersonsListDialog", "Синхронизация", None))
        self.chkSpec.setText(
            _translate("PersonsListDialog", "Специальность", None))
        self.chkUserRightsProfile.setText(
            _translate("PersonsListDialog", "Профиль прав", None))
        self.chkLPU.setText(
            _translate("PersonsListDialog", "Внешнее ЛПУ", None))
        self.chkAcademicDegree.setText(
            _translate("PersonsListDialog", "Учёная степень", None))
        self.chkIsReservist.setText(
            _translate("PersonsListDialog", "Отношение к военной службе",
                       None))
        self.chkFirstName.setText(_translate("PersonsListDialog", "Имя", None))
        self.chkOccupationType.setText(
            _translate("PersonsListDialog", "Тип занятия должности", None))
        self.chkActivity.setText(
            _translate("PersonsListDialog", "Вид деятельности", None))
        self.chkLastName.setText(
            _translate("PersonsListDialog", "Фамилия", None))
        self.chkCode.setText(_translate("PersonsListDialog", "Код", None))
        self.chkStrPodr.setText(
            _translate("PersonsListDialog", "Структурное подразделение", None))
        self.chkEmploymentType.setText(
            _translate("PersonsListDialog", "Режим работы", None))
        self.chkFedCode.setText(
            _translate("PersonsListDialog", "Федеральный код", None))
        self.chkPatrName.setText(
            _translate("PersonsListDialog", "Отчество", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabCommon),
            _translate("PersonsListDialog", "Общее", None))
        self.chkMaritalStatus.setText(
            _translate("PersonsListDialog", "Семейное положение", None))
        self.chkBirthDate.setText(
            _translate("PersonsListDialog", "Дата рождения", None))
        self.cmbSex.setItemText(1, _translate("PersonsListDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("PersonsListDialog", "Ж", None))
        self.chkCitizenship.setText(
            _translate("PersonsListDialog", "Гражданство", None))
        self.chkSex.setText(_translate("PersonsListDialog", "Пол", None))
        self.chkRegistryType.setText(
            _translate("PersonsListDialog", "Тип регистрации", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabPrivateInform),
            _translate("PersonsListDialog", "Личное", None))
        self.chkCategory.setText(
            _translate("PersonsListDialog", "Категория", None))
        self.chkEducationType.setText(
            _translate("PersonsListDialog", "Тип образования", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabQualification),
            _translate("PersonsListDialog", "Квалификация", None))
Example #9
0
class Ui_EquipmentsListDialog(object):
    def setupUi(self, EquipmentsListDialog):
        EquipmentsListDialog.setObjectName(_fromUtf8("EquipmentsListDialog"))
        EquipmentsListDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        EquipmentsListDialog.resize(742, 585)
        EquipmentsListDialog.setSizeGripEnabled(True)
        EquipmentsListDialog.setModal(True)
        self.gridLayout_4 = QtGui.QGridLayout(EquipmentsListDialog)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.buttonBox = QtGui.QDialogButtonBox(EquipmentsListDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_4.addWidget(self.buttonBox, 1, 1, 1, 1)
        self.statusBar = QtGui.QStatusBar(EquipmentsListDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.gridLayout_4.addWidget(self.statusBar, 1, 0, 1, 1)
        self.splitter_2 = QtGui.QSplitter(EquipmentsListDialog)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.pnlFilter = QtGui.QWidget(self.splitter_2)
        self.pnlFilter.setObjectName(_fromUtf8("pnlFilter"))
        self.gridLayout_3 = QtGui.QGridLayout(self.pnlFilter)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.chkReleaseDate = QtGui.QCheckBox(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkReleaseDate.sizePolicy().hasHeightForWidth())
        self.chkReleaseDate.setSizePolicy(sizePolicy)
        self.chkReleaseDate.setObjectName(_fromUtf8("chkReleaseDate"))
        self.gridLayout_3.addWidget(self.chkReleaseDate, 0, 0, 1, 1)
        self.chkEquipmentType = QtGui.QCheckBox(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkEquipmentType.sizePolicy().hasHeightForWidth())
        self.chkEquipmentType.setSizePolicy(sizePolicy)
        self.chkEquipmentType.setObjectName(_fromUtf8("chkEquipmentType"))
        self.gridLayout_3.addWidget(self.chkEquipmentType, 2, 0, 1, 1)
        self.chkModel = QtGui.QCheckBox(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkModel.sizePolicy().hasHeightForWidth())
        self.chkModel.setSizePolicy(sizePolicy)
        self.chkModel.setObjectName(_fromUtf8("chkModel"))
        self.gridLayout_3.addWidget(self.chkModel, 6, 0, 1, 1)
        self.chkInventoryNumber = QtGui.QCheckBox(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkInventoryNumber.sizePolicy().hasHeightForWidth())
        self.chkInventoryNumber.setSizePolicy(sizePolicy)
        self.chkInventoryNumber.setObjectName(_fromUtf8("chkInventoryNumber"))
        self.gridLayout_3.addWidget(self.chkInventoryNumber, 8, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, 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_3.addWidget(self.chkStatus, 10, 0, 1, 1)
        self.widget = QtGui.QWidget(self.pnlFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblReleaseDateFrom = QtGui.QLabel(self.widget)
        self.lblReleaseDateFrom.setObjectName(_fromUtf8("lblReleaseDateFrom"))
        self.horizontalLayout.addWidget(self.lblReleaseDateFrom)
        self.edtReleaseDateFrom = CDateEdit(self.widget)
        self.edtReleaseDateFrom.setEnabled(False)
        self.edtReleaseDateFrom.setObjectName(_fromUtf8("edtReleaseDateFrom"))
        self.horizontalLayout.addWidget(self.edtReleaseDateFrom)
        self.lblReleaseDateTo = QtGui.QLabel(self.widget)
        self.lblReleaseDateTo.setObjectName(_fromUtf8("lblReleaseDateTo"))
        self.horizontalLayout.addWidget(self.lblReleaseDateTo)
        self.edtReleaseDateTo = CDateEdit(self.widget)
        self.edtReleaseDateTo.setEnabled(False)
        self.edtReleaseDateTo.setObjectName(_fromUtf8("edtReleaseDateTo"))
        self.horizontalLayout.addWidget(self.edtReleaseDateTo)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout_3.addWidget(self.widget, 1, 0, 1, 3)
        self.cmbEquipmentType = CRBComboBox(self.pnlFilter)
        self.cmbEquipmentType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEquipmentType.sizePolicy().hasHeightForWidth())
        self.cmbEquipmentType.setSizePolicy(sizePolicy)
        self.cmbEquipmentType.setObjectName(_fromUtf8("cmbEquipmentType"))
        self.gridLayout_3.addWidget(self.cmbEquipmentType, 3, 0, 1, 3)
        self.edtModel = QtGui.QLineEdit(self.pnlFilter)
        self.edtModel.setEnabled(False)
        self.edtModel.setObjectName(_fromUtf8("edtModel"))
        self.gridLayout_3.addWidget(self.edtModel, 7, 0, 1, 3)
        self.edtInventoryNumber = QtGui.QLineEdit(self.pnlFilter)
        self.edtInventoryNumber.setEnabled(False)
        self.edtInventoryNumber.setObjectName(_fromUtf8("edtInventoryNumber"))
        self.gridLayout_3.addWidget(self.edtInventoryNumber, 9, 0, 1, 3)
        self.cmbStatus = QtGui.QComboBox(self.pnlFilter)
        self.cmbStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbStatus.sizePolicy().hasHeightForWidth())
        self.cmbStatus.setSizePolicy(sizePolicy)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbStatus, 11, 0, 1, 3)
        self.filterButtonBox = QtGui.QDialogButtonBox(self.pnlFilter)
        self.filterButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Reset)
        self.filterButtonBox.setObjectName(_fromUtf8("filterButtonBox"))
        self.gridLayout_3.addWidget(self.filterButtonBox, 19, 0, 1, 3)
        self.chkOrgStructure = QtGui.QCheckBox(self.pnlFilter)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout_3.addWidget(self.chkOrgStructure, 4, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.pnlFilter)
        self.cmbOrgStructure.setEnabled(False)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_3.addWidget(self.cmbOrgStructure, 5, 0, 1, 3)
        self.chkMaintenance = QtGui.QCheckBox(self.pnlFilter)
        self.chkMaintenance.setObjectName(_fromUtf8("chkMaintenance"))
        self.gridLayout_3.addWidget(self.chkMaintenance, 12, 0, 1, 1)
        self.cmbMaintenance = QtGui.QComboBox(self.pnlFilter)
        self.cmbMaintenance.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbMaintenance.sizePolicy().hasHeightForWidth())
        self.cmbMaintenance.setSizePolicy(sizePolicy)
        self.cmbMaintenance.setObjectName(_fromUtf8("cmbMaintenance"))
        self.cmbMaintenance.addItem(_fromUtf8(""))
        self.cmbMaintenance.addItem(_fromUtf8(""))
        self.cmbMaintenance.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbMaintenance, 13, 0, 1, 1)
        self.edtMaintenanceTerm = QtGui.QSpinBox(self.pnlFilter)
        self.edtMaintenanceTerm.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMaintenanceTerm.sizePolicy().hasHeightForWidth())
        self.edtMaintenanceTerm.setSizePolicy(sizePolicy)
        self.edtMaintenanceTerm.setObjectName(_fromUtf8("edtMaintenanceTerm"))
        self.gridLayout_3.addWidget(self.edtMaintenanceTerm, 13, 1, 1, 1)
        self.cmbMaintenanceTermType = QtGui.QComboBox(self.pnlFilter)
        self.cmbMaintenanceTermType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbMaintenanceTermType.sizePolicy().hasHeightForWidth())
        self.cmbMaintenanceTermType.setSizePolicy(sizePolicy)
        self.cmbMaintenanceTermType.setObjectName(_fromUtf8("cmbMaintenanceTermType"))
        self.cmbMaintenanceTermType.addItem(_fromUtf8(""))
        self.cmbMaintenanceTermType.addItem(_fromUtf8(""))
        self.cmbMaintenanceTermType.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbMaintenanceTermType, 13, 2, 1, 1)
        self.chkWarranty = QtGui.QCheckBox(self.pnlFilter)
        self.chkWarranty.setEnabled(True)
        self.chkWarranty.setObjectName(_fromUtf8("chkWarranty"))
        self.gridLayout_3.addWidget(self.chkWarranty, 14, 0, 1, 1)
        self.cmbWarranty = QtGui.QComboBox(self.pnlFilter)
        self.cmbWarranty.setEnabled(False)
        self.cmbWarranty.setObjectName(_fromUtf8("cmbWarranty"))
        self.cmbWarranty.addItem(_fromUtf8(""))
        self.cmbWarranty.addItem(_fromUtf8(""))
        self.cmbWarranty.addItem(_fromUtf8(""))
        self.cmbWarranty.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbWarranty, 15, 0, 1, 1)
        self.edtWarrantyTerm = QtGui.QSpinBox(self.pnlFilter)
        self.edtWarrantyTerm.setEnabled(False)
        self.edtWarrantyTerm.setObjectName(_fromUtf8("edtWarrantyTerm"))
        self.gridLayout_3.addWidget(self.edtWarrantyTerm, 15, 1, 1, 1)
        self.cmbWarrantyTermType = QtGui.QComboBox(self.pnlFilter)
        self.cmbWarrantyTermType.setEnabled(False)
        self.cmbWarrantyTermType.setObjectName(_fromUtf8("cmbWarrantyTermType"))
        self.cmbWarrantyTermType.addItem(_fromUtf8(""))
        self.cmbWarrantyTermType.addItem(_fromUtf8(""))
        self.cmbWarrantyTermType.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbWarrantyTermType, 15, 2, 1, 1)
        self.chkEmploymentTerm = QtGui.QCheckBox(self.pnlFilter)
        self.chkEmploymentTerm.setEnabled(True)
        self.chkEmploymentTerm.setObjectName(_fromUtf8("chkEmploymentTerm"))
        self.gridLayout_3.addWidget(self.chkEmploymentTerm, 16, 0, 1, 1)
        self.edtEmploymentTerm = QtGui.QSpinBox(self.pnlFilter)
        self.edtEmploymentTerm.setEnabled(False)
        self.edtEmploymentTerm.setObjectName(_fromUtf8("edtEmploymentTerm"))
        self.gridLayout_3.addWidget(self.edtEmploymentTerm, 16, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 18, 0, 1, 1)
        self.splitter = QtGui.QSplitter(self.splitter_2)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.pnlItemsList = QtGui.QWidget(self.splitter)
        self.pnlItemsList.setObjectName(_fromUtf8("pnlItemsList"))
        self.gridLayout = QtGui.QGridLayout(self.pnlItemsList)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblItems = CTableView(self.pnlItemsList)
        self.tblItems.setTabKeyNavigation(False)
        self.tblItems.setAlternatingRowColors(True)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 0, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(self.pnlItemsList)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem2)
        self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 1)
        self.pnlMaintenanceJournal = QtGui.QWidget(self.splitter)
        self.pnlMaintenanceJournal.setObjectName(_fromUtf8("pnlMaintenanceJournal"))
        self.gridLayout_2 = QtGui.QGridLayout(self.pnlMaintenanceJournal)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setSpacing(0)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblMaintenanceJournal = CInDocTableView(self.pnlMaintenanceJournal)
        self.tblMaintenanceJournal.setObjectName(_fromUtf8("tblMaintenanceJournal"))
        self.gridLayout_2.addWidget(self.tblMaintenanceJournal, 0, 0, 1, 1)
        self.gridLayout_4.addWidget(self.splitter_2, 0, 0, 1, 2)

        self.retranslateUi(EquipmentsListDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), EquipmentsListDialog.close)
        QtCore.QObject.connect(self.chkReleaseDate, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtReleaseDateFrom.setEnabled)
        QtCore.QObject.connect(self.chkReleaseDate, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtReleaseDateTo.setEnabled)
        QtCore.QObject.connect(self.chkEquipmentType, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbEquipmentType.setEnabled)
        QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkModel, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtModel.setEnabled)
        QtCore.QObject.connect(self.chkInventoryNumber, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtInventoryNumber.setEnabled)
        QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbMaintenance.setEnabled)
        QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtMaintenanceTerm.setEnabled)
        QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbMaintenanceTermType.setEnabled)
        QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbWarranty.setEnabled)
        QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtWarrantyTerm.setEnabled)
        QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbWarrantyTermType.setEnabled)
        QtCore.QObject.connect(self.chkEmploymentTerm, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtEmploymentTerm.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EquipmentsListDialog)
        EquipmentsListDialog.setTabOrder(self.chkReleaseDate, self.edtReleaseDateFrom)
        EquipmentsListDialog.setTabOrder(self.edtReleaseDateFrom, self.edtReleaseDateTo)
        EquipmentsListDialog.setTabOrder(self.edtReleaseDateTo, self.chkEquipmentType)
        EquipmentsListDialog.setTabOrder(self.chkEquipmentType, self.cmbEquipmentType)
        EquipmentsListDialog.setTabOrder(self.cmbEquipmentType, self.chkOrgStructure)
        EquipmentsListDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure)
        EquipmentsListDialog.setTabOrder(self.cmbOrgStructure, self.chkModel)
        EquipmentsListDialog.setTabOrder(self.chkModel, self.edtModel)
        EquipmentsListDialog.setTabOrder(self.edtModel, self.chkInventoryNumber)
        EquipmentsListDialog.setTabOrder(self.chkInventoryNumber, self.edtInventoryNumber)
        EquipmentsListDialog.setTabOrder(self.edtInventoryNumber, self.chkStatus)
        EquipmentsListDialog.setTabOrder(self.chkStatus, self.cmbStatus)
        EquipmentsListDialog.setTabOrder(self.cmbStatus, self.chkMaintenance)
        EquipmentsListDialog.setTabOrder(self.chkMaintenance, self.cmbMaintenance)
        EquipmentsListDialog.setTabOrder(self.cmbMaintenance, self.edtMaintenanceTerm)
        EquipmentsListDialog.setTabOrder(self.edtMaintenanceTerm, self.cmbMaintenanceTermType)
        EquipmentsListDialog.setTabOrder(self.cmbMaintenanceTermType, self.chkWarranty)
        EquipmentsListDialog.setTabOrder(self.chkWarranty, self.cmbWarranty)
        EquipmentsListDialog.setTabOrder(self.cmbWarranty, self.edtWarrantyTerm)
        EquipmentsListDialog.setTabOrder(self.edtWarrantyTerm, self.cmbWarrantyTermType)
        EquipmentsListDialog.setTabOrder(self.cmbWarrantyTermType, self.chkEmploymentTerm)
        EquipmentsListDialog.setTabOrder(self.chkEmploymentTerm, self.edtEmploymentTerm)
        EquipmentsListDialog.setTabOrder(self.edtEmploymentTerm, self.filterButtonBox)
        EquipmentsListDialog.setTabOrder(self.filterButtonBox, self.tblItems)
        EquipmentsListDialog.setTabOrder(self.tblItems, self.tblMaintenanceJournal)
        EquipmentsListDialog.setTabOrder(self.tblMaintenanceJournal, self.buttonBox)

    def retranslateUi(self, EquipmentsListDialog):
        EquipmentsListDialog.setWindowTitle(QtGui.QApplication.translate("EquipmentsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8))
        self.statusBar.setToolTip(QtGui.QApplication.translate("EquipmentsListDialog", "A status bar", None, QtGui.QApplication.UnicodeUTF8))
        self.statusBar.setWhatsThis(QtGui.QApplication.translate("EquipmentsListDialog", "A status bar.", None, QtGui.QApplication.UnicodeUTF8))
        self.chkReleaseDate.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Период выпуска", None, QtGui.QApplication.UnicodeUTF8))
        self.chkEquipmentType.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Тип оборудования", None, QtGui.QApplication.UnicodeUTF8))
        self.chkModel.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Модель", None, QtGui.QApplication.UnicodeUTF8))
        self.chkInventoryNumber.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Инвент. номер", None, QtGui.QApplication.UnicodeUTF8))
        self.chkStatus.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Статус", None, QtGui.QApplication.UnicodeUTF8))
        self.lblReleaseDateFrom.setText(QtGui.QApplication.translate("EquipmentsListDialog", "С: ", None, QtGui.QApplication.UnicodeUTF8))
        self.lblReleaseDateTo.setText(QtGui.QApplication.translate("EquipmentsListDialog", "По: ", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbStatus.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не работает", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbStatus.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Работает", None, QtGui.QApplication.UnicodeUTF8))
        self.chkOrgStructure.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Подразделение", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMaintenance.setText(QtGui.QApplication.translate("EquipmentsListDialog", "ТО", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenance.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не определено", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenance.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Просрочено", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenance.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Осталось...", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenanceTermType.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Дней", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenanceTermType.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Месяцев", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbMaintenanceTermType.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Лет", None, QtGui.QApplication.UnicodeUTF8))
        self.chkWarranty.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Гарантия", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarranty.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не определено", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarranty.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "На гарантии", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarranty.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Без гарантии", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarranty.setItemText(3, QtGui.QApplication.translate("EquipmentsListDialog", "До истечения осталось...", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarrantyTermType.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Дней", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarrantyTermType.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Месяцев", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbWarrantyTermType.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Лет", None, QtGui.QApplication.UnicodeUTF8))
        self.chkEmploymentTerm.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Срок службы (лет)", None, QtGui.QApplication.UnicodeUTF8))
        self.tblItems.setWhatsThis(QtGui.QApplication.translate("EquipmentsListDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("EquipmentsListDialog", "всего: ", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(473, 300)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(Form)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabQuoting = QtGui.QWidget()
        self.tabQuoting.setObjectName(_fromUtf8("tabQuoting"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabQuoting)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblClientQuoting = CTableView(self.tabQuoting)
        self.tblClientQuoting.setObjectName(_fromUtf8("tblClientQuoting"))
        self.gridLayout_2.addWidget(self.tblClientQuoting, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabQuoting, _fromUtf8(""))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.pnlDates = QtGui.QWidget(self.tabFind)
        self.pnlDates.setObjectName(_fromUtf8("pnlDates"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.pnlDates)
        self.horizontalLayout.setSpacing(-1)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.chkBegDate = QtGui.QCheckBox(self.pnlDates)
        self.chkBegDate.setObjectName(_fromUtf8("chkBegDate"))
        self.horizontalLayout.addWidget(self.chkBegDate)
        self.edtBegDate = CDateEdit(self.pnlDates)
        self.edtBegDate.setEnabled(False)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout.addWidget(self.edtBegDate)
        self.lblEndDate = QtGui.QLabel(self.pnlDates)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.horizontalLayout.addWidget(self.lblEndDate)
        self.edtEndDate = CDateEdit(self.pnlDates)
        self.edtEndDate.setEnabled(False)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout.addWidget(self.edtEndDate)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout_3.addWidget(self.pnlDates, 1, 0, 1, 2)
        self.chkStatus = QtGui.QCheckBox(self.tabFind)
        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_3.addWidget(self.chkStatus, 3, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 5, 0, 1, 2)
        self.cmbStatus = QtGui.QComboBox(self.tabFind)
        self.cmbStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbStatus.sizePolicy().hasHeightForWidth())
        self.cmbStatus.setSizePolicy(sizePolicy)
        self.cmbStatus.setMaximumSize(QtCore.QSize(16777215, 16777215))
        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.cmbStatus.addItem(_fromUtf8(""))
        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_3.addWidget(self.cmbStatus, 3, 1, 1, 1)
        self.pnlButtonBox = QtGui.QWidget(self.tabFind)
        self.pnlButtonBox.setObjectName(_fromUtf8("pnlButtonBox"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.pnlButtonBox)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.buttonBox = QtGui.QDialogButtonBox(self.pnlButtonBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_2.addWidget(self.buttonBox)
        self.gridLayout_3.addWidget(self.pnlButtonBox, 6, 0, 1, 2)
        self.chkClass = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkClass.sizePolicy().hasHeightForWidth())
        self.chkClass.setSizePolicy(sizePolicy)
        self.chkClass.setChecked(True)
        self.chkClass.setObjectName(_fromUtf8("chkClass"))
        self.gridLayout_3.addWidget(self.chkClass, 0, 0, 1, 1)
        self.cmbClass = QtGui.QComboBox(self.tabFind)
        self.cmbClass.setObjectName(_fromUtf8("cmbClass"))
        self.gridLayout_3.addWidget(self.cmbClass, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tabFind, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(Form)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QObject.connect(self.chkClass,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbClass.setEnabled)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkBegDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBegDate.setEnabled)
        QtCore.QObject.connect(self.chkBegDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtEndDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Form)

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

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

    def retranslateUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setWindowTitle(_translate("ReportAcuteInfectionsSetupDialog", "параметры отчёта", None))
        self.lblSex.setText(_translate("ReportAcuteInfectionsSetupDialog", "По&л", None))
        self.cmbSex.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Ж", None))
        self.cmbPerson.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Врач", None))
        self.lblEventType.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Тип обращения", None))
        self.lblTemplate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Образец:", None))
        self.cmbCategory.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Дети", None))
        self.cmbCategory.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Дети до 1 года", None))
        self.cmbCategory.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Подростки", None))
        self.cmbCategory.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые", None))
        self.cmbCategory.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "Пожилые", None))
        self.cmbCategory.setItemText(5, _translate("ReportAcuteInfectionsSetupDialog", "Вкладыш-2008", None))
        self.cmbCategory.setItemText(6, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые 4000", None))
        self.label.setText(_translate("ReportAcuteInfectionsSetupDialog", "Возраст с", None))
        self.lblAgeTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
        self.chkOnlyChilds.setText(_translate("ReportAcuteInfectionsSetupDialog", "Только дети", None))
        self.cmbTemplate.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Старый", None))
        self.cmbTemplate.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "2013 года", None))
        self.cmbTemplate.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "2014 года", None))
        self.cmbTemplate.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "2015 года", None))
        self.cmbTemplate.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "2016 года", None))
        self.lblLocality.setText(_translate("ReportAcuteInfectionsSetupDialog", "Местность", None))
        self.chkVisitEmergency.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать посещения СМП", None))
        self.lblSocStatusClass.setText(_translate("ReportAcuteInfectionsSetupDialog", "Класс соц.статуса", None))
        self.chkArea.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать территорию подразделения:", None))
        self.lblSocStatusType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип соц.статуса", None))
        self.lblHurt.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип вредности", None))
        self.lblOrgStructure.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Подразделение", None))
        self.lblEventPurpose.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Назначение обращения", None))
        self.cmbLocality.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Не учитывать", None))
        self.cmbLocality.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Городские жители", None))
        self.cmbLocality.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Сельские жители", None))
        self.lblPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Врач", None))
        self.chkOnlyPermanentAttach.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать только прикрепленных к ЛПУ", None))
        self.lblSpecialityPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип специальности врача", None))
        self.lblCategory.setText(_translate("ReportAcuteInfectionsSetupDialog", "Категория:", None))
        self.groupBox.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Диагнозы", None))
        self.cmbMKBExFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.lblMKBEx.setText(_translate("ReportAcuteInfectionsSetupDialog", "В сочетании с", None))
        self.lblMKB.setText(_translate("ReportAcuteInfectionsSetupDialog", "Коды диагнозов по &МКБ", None))
        self.edtMKBFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.cmbMKBFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.cmbIsPrimary.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Первичный", None))
        self.cmbIsPrimary.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Повторный", None))
        self.chkNotNullTraumaType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип травмы указан", None))
        self.lblIsPrimary.setText(_translate("ReportAcuteInfectionsSetupDialog", "Признак первичности", None))
        self.chkOnlyFirstTime.setToolTip(_translate("ReportAcuteInfectionsSetupDialog", "Значение может отличаться от значения \"впервые\" ф.12", None))
        self.chkOnlyFirstTime.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период впервые", None))
        self.chkRegisteredInPeriod.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период", None))
        self.chkNotConsiderDigitsAfterDot.setText(_translate("ReportAcuteInfectionsSetupDialog", "Не учитывать знаки после точки в МКБ", None))
        self.chkAccountAccomp.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать сопутствующие", None))
        self.label_4.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.label_2.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период", None))
        self.chkCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период создания записи", None))
        self.lblCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.gbFilterAddress.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Адрес", None))
        self.lblFilterAddressHouse.setText(_translate("ReportAcuteInfectionsSetupDialog", "Дом", None))
        self.lblFilterAddressCorpus.setText(_translate("ReportAcuteInfectionsSetupDialog", "Корп", None))
        self.lblFilterAddressFlat.setText(_translate("ReportAcuteInfectionsSetupDialog", "Кв", None))
        self.cmbFilterAddressType.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Регистрации", None))
        self.cmbFilterAddressType.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Проживания", None))
        self.chkBirthYear.setText(_translate("ReportAcuteInfectionsSetupDialog", "Год рождения", None))
        self.lblAgeTo_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
Example #12
0
class Ui_DublicateWeekDialog(object):
    def setupUi(self, DublicateWeekDialog):
        DublicateWeekDialog.setObjectName(_fromUtf8("DublicateWeekDialog"))
        DublicateWeekDialog.resize(460, 390)
        self.gridLayout = QtGui.QGridLayout(DublicateWeekDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(DublicateWeekDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.edtStart = CDateEdit(DublicateWeekDialog)
        self.edtStart.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtStart.sizePolicy().hasHeightForWidth())
        self.edtStart.setSizePolicy(sizePolicy)
        self.edtStart.setObjectName(_fromUtf8("edtStart"))
        self.gridLayout.addWidget(self.edtStart, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(DublicateWeekDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.edtCountDays = QtGui.QSpinBox(DublicateWeekDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCountDays.sizePolicy().hasHeightForWidth())
        self.edtCountDays.setSizePolicy(sizePolicy)
        self.edtCountDays.setMinimum(1)
        self.edtCountDays.setMaximum(7)
        self.edtCountDays.setObjectName(_fromUtf8("edtCountDays"))
        self.gridLayout.addWidget(self.edtCountDays, 2, 1, 1, 1)
        self.label_3 = QtGui.QLabel(DublicateWeekDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 2, 1, 1)
        self.calendar = CCalendarWidget(DublicateWeekDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.calendar.sizePolicy().hasHeightForWidth())
        self.calendar.setSizePolicy(sizePolicy)
        self.calendar.setFirstDayOfWeek(QtCore.Qt.Monday)
        self.calendar.setGridVisible(False)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.gridLayout.addWidget(self.calendar, 5, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(DublicateWeekDialog)
        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, 1)
        self.groupBox = QtGui.QGroupBox(DublicateWeekDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_2.addWidget(self.label_4)
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_2.addWidget(self.label_6)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 1, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblGoodColor = QtGui.QLabel(self.groupBox)
        self.lblGoodColor.setObjectName(_fromUtf8("lblGoodColor"))
        self.horizontalLayout_3.addWidget(self.lblGoodColor)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_3.addWidget(self.label_5)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 6, 0, 1, 3)
        self.lblWarning = QtGui.QLabel(DublicateWeekDialog)
        self.lblWarning.setText(_fromUtf8(""))
        self.lblWarning.setObjectName(_fromUtf8("lblWarning"))
        self.gridLayout.addWidget(self.lblWarning, 4, 0, 1, 3)
        self.chkBusyDays = QtGui.QCheckBox(DublicateWeekDialog)
        self.chkBusyDays.setObjectName(_fromUtf8("chkBusyDays"))
        self.gridLayout.addWidget(self.chkBusyDays, 7, 0, 1, 1)

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

    def retranslateUi(self, DublicateWeekDialog):
        DublicateWeekDialog.setWindowTitle(_translate("DublicateWeekDialog", "Копировать за период", None))
        self.label.setText(_translate("DublicateWeekDialog", "Дата, с которой копируем", None))
        self.label_2.setText(_translate("DublicateWeekDialog", "Количество копируемых дней", None))
        self.label_3.setText(_translate("DublicateWeekDialog", "Выбирете день начала копирования:", None))
        self.groupBox.setTitle(_translate("DublicateWeekDialog", "Расшифровка цветов", None))
        self.label_4.setText(_translate("DublicateWeekDialog", "<html><head/><body><p><span style=\" color:#CD5555;background-color:#CD5555;\">Good</span></p></body></html>", None))
        self.label_6.setText(_translate("DublicateWeekDialog", "Дни с расписанием", None))
        self.lblGoodColor.setText(_translate("DublicateWeekDialog", "<html><head/><body><p><span style=\" color:#98fb98;background-color:#98fb98;\">Good</span></p></body></html>", None))
        self.label_5.setText(_translate("DublicateWeekDialog", "Свободные дни", None))
        self.chkBusyDays.setText(_translate("DublicateWeekDialog", "Перезаписать дни с расписанием", None))
class Ui_ReportActionsByServiceTypeSetupDialog(object):
    def setupUi(self, ReportActionsByServiceTypeSetupDialog):
        ReportActionsByServiceTypeSetupDialog.setObjectName(
            _fromUtf8("ReportActionsByServiceTypeSetupDialog"))
        ReportActionsByServiceTypeSetupDialog.resize(530, 288)
        self.gridLayout = QtGui.QGridLayout(
            ReportActionsByServiceTypeSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportActionsByServiceTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       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, 1)
        self.edtBegDate = CDateEdit(ReportActionsByServiceTypeSetupDialog)
        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(ReportActionsByServiceTypeSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportActionsByServiceTypeSetupDialog)
        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.lblOrgStructure = QtGui.QLabel(
            ReportActionsByServiceTypeSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportActionsByServiceTypeSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        self.lblFinance = QtGui.QLabel(ReportActionsByServiceTypeSetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 3, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportActionsByServiceTypeSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 3, 1, 1, 2)
        self.chkPodtver = QtGui.QCheckBox(
            ReportActionsByServiceTypeSetupDialog)
        self.chkPodtver.setObjectName(_fromUtf8("chkPodtver"))
        self.gridLayout.addWidget(self.chkPodtver, 4, 0, 1, 1)
        self.lblPodtver = QtGui.QLabel(ReportActionsByServiceTypeSetupDialog)
        self.lblPodtver.setEnabled(False)
        self.lblPodtver.setObjectName(_fromUtf8("lblPodtver"))
        self.gridLayout.addWidget(self.lblPodtver, 5, 0, 1, 1)
        self.cmbPodtver = QtGui.QComboBox(
            ReportActionsByServiceTypeSetupDialog)
        self.cmbPodtver.setEnabled(False)
        self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver"))
        self.cmbPodtver.addItem(_fromUtf8(""))
        self.cmbPodtver.addItem(_fromUtf8(""))
        self.cmbPodtver.addItem(_fromUtf8(""))
        self.cmbPodtver.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPodtver, 5, 1, 1, 2)
        self.lblBegDatePodtver = QtGui.QLabel(
            ReportActionsByServiceTypeSetupDialog)
        self.lblBegDatePodtver.setEnabled(False)
        self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver"))
        self.gridLayout.addWidget(self.lblBegDatePodtver, 6, 0, 1, 1)
        self.edtBegDatePodtver = CDateEdit(
            ReportActionsByServiceTypeSetupDialog)
        self.edtBegDatePodtver.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDatePodtver.sizePolicy().hasHeightForWidth())
        self.edtBegDatePodtver.setSizePolicy(sizePolicy)
        self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver"))
        self.gridLayout.addWidget(self.edtBegDatePodtver, 6, 1, 1, 1)
        self.lblEndDatePodtver = QtGui.QLabel(
            ReportActionsByServiceTypeSetupDialog)
        self.lblEndDatePodtver.setEnabled(False)
        self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver"))
        self.gridLayout.addWidget(self.lblEndDatePodtver, 7, 0, 1, 1)
        self.edtEndDatePodtver = CDateEdit(
            ReportActionsByServiceTypeSetupDialog)
        self.edtEndDatePodtver.setEnabled(False)
        self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver"))
        self.gridLayout.addWidget(self.edtEndDatePodtver, 7, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportActionsByServiceTypeSetupDialog)
        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.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(ReportActionsByServiceTypeSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportActionsByServiceTypeSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportActionsByServiceTypeSetupDialog.reject)
        QtCore.QObject.connect(self.chkPodtver,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPodtver.setEnabled)
        QtCore.QObject.connect(self.chkPodtver,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBegDatePodtver.setEnabled)
        QtCore.QObject.connect(self.chkPodtver,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtEndDatePodtver.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(
            ReportActionsByServiceTypeSetupDialog)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.edtBegDate, self.edtEndDate)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.edtEndDate, self.cmbOrgStructure)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.cmbOrgStructure, self.cmbFinance)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.cmbFinance, self.chkPodtver)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.chkPodtver, self.cmbPodtver)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.cmbPodtver, self.edtBegDatePodtver)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.edtBegDatePodtver, self.edtEndDatePodtver)
        ReportActionsByServiceTypeSetupDialog.setTabOrder(
            self.edtEndDatePodtver, self.buttonBox)

    def retranslateUi(self, ReportActionsByServiceTypeSetupDialog):
        ReportActionsByServiceTypeSetupDialog.setWindowTitle(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "Dialog", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog",
                "Дата &начала периода", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog",
                "Дата &окончания периода", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "&Подразделение",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblFinance.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "Тип финансирования",
                None, QtGui.QApplication.UnicodeUTF8))
        self.chkPodtver.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog",
                "Подтверждение оплаты", None, QtGui.QApplication.UnicodeUTF8))
        self.lblPodtver.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "Тип подтверждения:",
                None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPodtver.setItemText(
            0,
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "не выставлено", None,
                QtGui.QApplication.UnicodeUTF8))
        self.cmbPodtver.setItemText(
            1,
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "выставлено", None,
                QtGui.QApplication.UnicodeUTF8))
        self.cmbPodtver.setItemText(
            2,
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "оплачено", None,
                QtGui.QApplication.UnicodeUTF8))
        self.cmbPodtver.setItemText(
            3,
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog", "отказано", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblBegDatePodtver.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog",
                "Начало периода подтверждения:", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblEndDatePodtver.setText(
            QtGui.QApplication.translate(
                "ReportActionsByServiceTypeSetupDialog",
                "Окончание периода подтверждения:", None,
                QtGui.QApplication.UnicodeUTF8))
class Ui_ReportDDStudentsResultsSetupDialog(object):
    def setupUi(self, ReportDDStudentsResultsSetupDialog):
        ReportDDStudentsResultsSetupDialog.setObjectName(_fromUtf8("ReportDDStudentsResultsSetupDialog"))
        ReportDDStudentsResultsSetupDialog.resize(463, 302)
        self.edtBegDate = CDateEdit(ReportDDStudentsResultsSetupDialog)
        self.edtBegDate.setGeometry(QtCore.QRect(249, 10, 205, 27))
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.edtEndDate = CDateEdit(ReportDDStudentsResultsSetupDialog)
        self.edtEndDate.setGeometry(QtCore.QRect(249, 43, 205, 27))
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.lblEndDate = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblEndDate.setGeometry(QtCore.QRect(10, 43, 233, 27))
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.lblBegDate = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblBegDate.setGeometry(QtCore.QRect(10, 10, 233, 27))
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.lblPodtver = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblPodtver.setEnabled(False)
        self.lblPodtver.setGeometry(QtCore.QRect(10, 104, 143, 27))
        self.lblPodtver.setObjectName(_fromUtf8("lblPodtver"))
        self.lblBegDatePodtver = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblBegDatePodtver.setEnabled(False)
        self.lblBegDatePodtver.setGeometry(QtCore.QRect(10, 137, 233, 27))
        self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver"))
        self.cmbPodtver = QtGui.QComboBox(ReportDDStudentsResultsSetupDialog)
        self.cmbPodtver.setEnabled(False)
        self.cmbPodtver.setGeometry(QtCore.QRect(310, 104, 144, 27))
        self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver"))
        self.edtEndDatePodtver = CDateEdit(ReportDDStudentsResultsSetupDialog)
        self.edtEndDatePodtver.setEnabled(False)
        self.edtEndDatePodtver.setGeometry(QtCore.QRect(310, 170, 144, 27))
        self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver"))
        self.cmbRefuseType = CRBComboBox(ReportDDStudentsResultsSetupDialog)
        self.cmbRefuseType.setEnabled(False)
        self.cmbRefuseType.setGeometry(QtCore.QRect(310, 203, 144, 27))
        self.cmbRefuseType.setObjectName(_fromUtf8("cmbRefuseType"))
        self.lblRefuseType = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblRefuseType.setEnabled(False)
        self.lblRefuseType.setGeometry(QtCore.QRect(10, 203, 143, 27))
        self.lblRefuseType.setObjectName(_fromUtf8("lblRefuseType"))
        self.chkPodtver = QtGui.QCheckBox(ReportDDStudentsResultsSetupDialog)
        self.chkPodtver.setGeometry(QtCore.QRect(10, 76, 233, 22))
        self.chkPodtver.setObjectName(_fromUtf8("chkPodtver"))
        self.edtBegDatePodtver = CDateEdit(ReportDDStudentsResultsSetupDialog)
        self.edtBegDatePodtver.setEnabled(False)
        self.edtBegDatePodtver.setGeometry(QtCore.QRect(310, 137, 144, 27))
        self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver"))
        self.lblEndDatePodtver = QtGui.QLabel(ReportDDStudentsResultsSetupDialog)
        self.lblEndDatePodtver.setEnabled(False)
        self.lblEndDatePodtver.setGeometry(QtCore.QRect(10, 170, 294, 27))
        self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver"))
        self.buttonBox = QtGui.QDialogButtonBox(ReportDDStudentsResultsSetupDialog)
        self.buttonBox.setGeometry(QtCore.QRect(280, 260, 176, 27))
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblPodtver.setBuddy(self.cmbPodtver)
        self.lblBegDatePodtver.setBuddy(self.edtBegDatePodtver)
        self.lblRefuseType.setBuddy(self.cmbRefuseType)
        self.lblEndDatePodtver.setBuddy(self.edtEndDatePodtver)

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

    def retranslateUi(self, ReportDDStudentsResultsSetupDialog):
        ReportDDStudentsResultsSetupDialog.setWindowTitle(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Дата окончания периода", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Дата начала периода", None, QtGui.QApplication.UnicodeUTF8))
        self.lblPodtver.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Тип подтве&рждения:", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegDatePodtver.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Начало пер&иода подтверждения:", None, QtGui.QApplication.UnicodeUTF8))
        self.lblRefuseType.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "При&чина отказа:", None, QtGui.QApplication.UnicodeUTF8))
        self.chkPodtver.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Подтверждение оп&латы", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndDatePodtver.setText(QtGui.QApplication.translate("ReportDDStudentsResultsSetupDialog", "Окончание периода подтверждени&я:", None, QtGui.QApplication.UnicodeUTF8))
Example #15
0
class Ui_EquipmentPopup(object):
    def setupUi(self, EquipmentPopup):
        EquipmentPopup.setObjectName(_fromUtf8("EquipmentPopup"))
        EquipmentPopup.resize(710, 242)
        self.gridLayout_2 = QtGui.QGridLayout(EquipmentPopup)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tabWidget = QtGui.QTabWidget(EquipmentPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabEquipment = QtGui.QWidget()
        self.tabEquipment.setObjectName(_fromUtf8("tabEquipment"))
        self.gridLayout = QtGui.QGridLayout(self.tabEquipment)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblEquipment = CTableView(self.tabEquipment)
        self.tblEquipment.setObjectName(_fromUtf8("tblEquipment"))
        self.gridLayout.addWidget(self.tblEquipment, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabEquipment, _fromUtf8(""))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.buttonBox = QtGui.QDialogButtonBox(self.tabFind)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_3.addWidget(self.buttonBox, 7, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 6, 0, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem1, 7, 0, 1, 1)
        self.chkReleaseDate = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkReleaseDate.sizePolicy().hasHeightForWidth())
        self.chkReleaseDate.setSizePolicy(sizePolicy)
        self.chkReleaseDate.setObjectName(_fromUtf8("chkReleaseDate"))
        self.gridLayout_3.addWidget(self.chkReleaseDate, 1, 0, 1, 1)
        self.widget = QtGui.QWidget(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblReleaseDateFrom = QtGui.QLabel(self.widget)
        self.lblReleaseDateFrom.setObjectName(_fromUtf8("lblReleaseDateFrom"))
        self.horizontalLayout.addWidget(self.lblReleaseDateFrom)
        self.edtReleaseDateFrom = CDateEdit(self.widget)
        self.edtReleaseDateFrom.setEnabled(False)
        self.edtReleaseDateFrom.setObjectName(_fromUtf8("edtReleaseDateFrom"))
        self.horizontalLayout.addWidget(self.edtReleaseDateFrom)
        self.lblReleaseDateTo = QtGui.QLabel(self.widget)
        self.lblReleaseDateTo.setObjectName(_fromUtf8("lblReleaseDateTo"))
        self.horizontalLayout.addWidget(self.lblReleaseDateTo)
        self.edtReleaseDateTo = CDateEdit(self.widget)
        self.edtReleaseDateTo.setEnabled(False)
        self.edtReleaseDateTo.setObjectName(_fromUtf8("edtReleaseDateTo"))
        self.horizontalLayout.addWidget(self.edtReleaseDateTo)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_3.addWidget(self.widget, 1, 1, 1, 1)
        self.chkEquipmentType = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkEquipmentType.sizePolicy().hasHeightForWidth())
        self.chkEquipmentType.setSizePolicy(sizePolicy)
        self.chkEquipmentType.setObjectName(_fromUtf8("chkEquipmentType"))
        self.gridLayout_3.addWidget(self.chkEquipmentType, 2, 0, 1, 1)
        self.cmbEquipmentType = CRBComboBox(self.tabFind)
        self.cmbEquipmentType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEquipmentType.sizePolicy().hasHeightForWidth())
        self.cmbEquipmentType.setSizePolicy(sizePolicy)
        self.cmbEquipmentType.setObjectName(_fromUtf8("cmbEquipmentType"))
        self.gridLayout_3.addWidget(self.cmbEquipmentType, 2, 1, 1, 1)
        self.chkModel = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkModel.sizePolicy().hasHeightForWidth())
        self.chkModel.setSizePolicy(sizePolicy)
        self.chkModel.setObjectName(_fromUtf8("chkModel"))
        self.gridLayout_3.addWidget(self.chkModel, 3, 0, 1, 1)
        self.chkInventoryNumber = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkInventoryNumber.sizePolicy().hasHeightForWidth())
        self.chkInventoryNumber.setSizePolicy(sizePolicy)
        self.chkInventoryNumber.setObjectName(_fromUtf8("chkInventoryNumber"))
        self.gridLayout_3.addWidget(self.chkInventoryNumber, 4, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(self.tabFind)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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_3.addWidget(self.chkStatus, 5, 0, 1, 1)
        self.edtModel = QtGui.QLineEdit(self.tabFind)
        self.edtModel.setEnabled(False)
        self.edtModel.setObjectName(_fromUtf8("edtModel"))
        self.gridLayout_3.addWidget(self.edtModel, 3, 1, 1, 1)
        self.edtInventoryNumber = QtGui.QLineEdit(self.tabFind)
        self.edtInventoryNumber.setEnabled(False)
        self.edtInventoryNumber.setObjectName(_fromUtf8("edtInventoryNumber"))
        self.gridLayout_3.addWidget(self.edtInventoryNumber, 4, 1, 1, 1)
        self.cmbStatus = QtGui.QComboBox(self.tabFind)
        self.cmbStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbStatus.sizePolicy().hasHeightForWidth())
        self.cmbStatus.setSizePolicy(sizePolicy)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbStatus, 5, 1, 1, 1)
        self.chkName = QtGui.QCheckBox(self.tabFind)
        self.chkName.setObjectName(_fromUtf8("chkName"))
        self.gridLayout_3.addWidget(self.chkName, 0, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(self.tabFind)
        self.edtName.setEnabled(False)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout_3.addWidget(self.edtName, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tabFind, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(EquipmentPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkReleaseDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtReleaseDateFrom.setEnabled)
        QtCore.QObject.connect(self.chkReleaseDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtReleaseDateTo.setEnabled)
        QtCore.QObject.connect(self.chkEquipmentType,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEquipmentType.setEnabled)
        QtCore.QObject.connect(self.chkModel,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtModel.setEnabled)
        QtCore.QObject.connect(self.chkInventoryNumber,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtInventoryNumber.setEnabled)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtName.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EquipmentPopup)

    def retranslateUi(self, EquipmentPopup):
        EquipmentPopup.setWindowTitle(
            QtGui.QApplication.translate("EquipmentPopup", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabEquipment),
            QtGui.QApplication.translate("EquipmentPopup", "&Оборудование",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkReleaseDate.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Период выпуска",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblReleaseDateFrom.setText(
            QtGui.QApplication.translate("EquipmentPopup", "С: ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblReleaseDateTo.setText(
            QtGui.QApplication.translate("EquipmentPopup", "По: ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEquipmentType.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Тип оборудования",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkModel.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Модель", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkInventoryNumber.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Инвент. номер",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkStatus.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbStatus.setItemText(
            0,
            QtGui.QApplication.translate("EquipmentPopup", "Не работает", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbStatus.setItemText(
            1,
            QtGui.QApplication.translate("EquipmentPopup", "Работает", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkName.setText(
            QtGui.QApplication.translate("EquipmentPopup", "Наименование",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabFind),
            QtGui.QApplication.translate("EquipmentPopup", "&Поиск", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #16
0
class Ui_ReportSetupDialog(object):
    def setupUi(self, ReportSetupDialog):
        ReportSetupDialog.setObjectName(_fromUtf8("ReportSetupDialog"))
        ReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportSetupDialog.resize(572, 668)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportSetupDialog.sizePolicy().hasHeightForWidth())
        ReportSetupDialog.setSizePolicy(sizePolicy)
        ReportSetupDialog.setSizeGripEnabled(True)
        ReportSetupDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndPayDate = QtGui.QLabel(ReportSetupDialog)
        self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate"))
        self.gridLayout.addWidget(self.lblEndPayDate, 9, 4, 1, 1)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(
            _fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 5, 1, 1, 9)
        self.edtBegPayDate = CDateEdit(ReportSetupDialog)
        self.edtBegPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegPayDate.sizePolicy().hasHeightForWidth())
        self.edtBegPayDate.setSizePolicy(sizePolicy)
        self.edtBegPayDate.setCalendarPopup(True)
        self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate"))
        self.gridLayout.addWidget(self.edtBegPayDate, 9, 1, 1, 3)
        self.cmbMKBFilter = QtGui.QComboBox(ReportSetupDialog)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbMKBFilter, 27, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 24, 8, 1, 2)
        self.chkOnlyPayedEvents = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyPayedEvents, 7, 1, 1, 9)
        self.frmAge = QtGui.QFrame(ReportSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAgeTo.sizePolicy().hasHeightForWidth())
        self.lblAgeTo.setSizePolicy(sizePolicy)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        self.gridLayout.addWidget(self.frmAge, 21, 1, 1, 5)
        self.lblWorkOrganisation = QtGui.QLabel(ReportSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 19, 0, 1, 1)
        self.cmbActionType = CActionTypeComboBox(ReportSetupDialog)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.gridLayout.addWidget(self.cmbActionType, 24, 1, 1, 7)
        self.lblAge = QtGui.QLabel(ReportSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 21, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 13, 1, 1, 9)
        self.edtEndPayDate = CDateEdit(ReportSetupDialog)
        self.edtEndPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndPayDate.sizePolicy().hasHeightForWidth())
        self.edtEndPayDate.setSizePolicy(sizePolicy)
        self.edtEndPayDate.setCalendarPopup(True)
        self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate"))
        self.gridLayout.addWidget(self.edtEndPayDate, 9, 6, 1, 1)
        self.lblInsurer = QtGui.QLabel(ReportSetupDialog)
        self.lblInsurer.setObjectName(_fromUtf8("lblInsurer"))
        self.gridLayout.addWidget(self.lblInsurer, 12, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblActionTypeClass = QtGui.QLabel(ReportSetupDialog)
        self.lblActionTypeClass.setObjectName(_fromUtf8("lblActionTypeClass"))
        self.gridLayout.addWidget(self.lblActionTypeClass, 23, 0, 1, 1)
        self.cmbStage = CRBComboBox(ReportSetupDialog)
        self.cmbStage.setObjectName(_fromUtf8("cmbStage"))
        self.gridLayout.addWidget(self.cmbStage, 4, 1, 1, 9)
        self.chkDiagnosisType = QtGui.QCheckBox(ReportSetupDialog)
        self.chkDiagnosisType.setObjectName(_fromUtf8("chkDiagnosisType"))
        self.gridLayout.addWidget(self.chkDiagnosisType, 8, 1, 1, 9)
        self.lblSpeciality = QtGui.QLabel(ReportSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ReportSetupDialog)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 12, 1, 1, 9)
        spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 20, 2, 1, 8)
        self.lblWorkType = QtGui.QLabel(ReportSetupDialog)
        self.lblWorkType.setObjectName(_fromUtf8("lblWorkType"))
        self.gridLayout.addWidget(self.lblWorkType, 17, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 4, 1, 6)
        self.lblBegPayDate = QtGui.QLabel(ReportSetupDialog)
        self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate"))
        self.gridLayout.addWidget(self.lblBegPayDate, 9, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 31, 0, 1, 10)
        self.lblActionType = QtGui.QLabel(ReportSetupDialog)
        self.lblActionType.setObjectName(_fromUtf8("lblActionType"))
        self.gridLayout.addWidget(self.lblActionType, 24, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 30, 0, 1, 10)
        self.chkActionClass = QtGui.QCheckBox(ReportSetupDialog)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.gridLayout.addWidget(self.chkActionClass, 22, 0, 1, 10)
        self.lblOrgStructure = QtGui.QLabel(ReportSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 13, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 21, 6, 1, 4)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(ReportSetupDialog)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 19, 9, 1, 1)
        self.edtMKBTo = CICDCodeEdit(ReportSetupDialog)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 27, 5, 1, 2)
        self.lblFinance = QtGui.QLabel(ReportSetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 25, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 16, 1, 1, 9)
        self.cmbFinance = CRBComboBox(ReportSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 25, 1, 1, 7)
        self.lblStage = QtGui.QLabel(ReportSetupDialog)
        self.lblStage.setObjectName(_fromUtf8("lblStage"))
        self.gridLayout.addWidget(self.lblStage, 4, 0, 1, 1)
        self.lblSex = QtGui.QLabel(ReportSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 20, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 3)
        self.lblEventType = QtGui.QLabel(ReportSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 16, 0, 1, 1)
        self.lblOwnership = QtGui.QLabel(ReportSetupDialog)
        self.lblOwnership.setObjectName(_fromUtf8("lblOwnership"))
        self.gridLayout.addWidget(self.lblOwnership, 18, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 4, 1, 6)
        self.lblMKBFilter = QtGui.QLabel(ReportSetupDialog)
        self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter"))
        self.gridLayout.addWidget(self.lblMKBFilter, 27, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 9)
        self.edtMKBFrom = CICDCodeEdit(ReportSetupDialog)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 27, 3, 1, 2)
        self.cmbWorkType = QtGui.QComboBox(ReportSetupDialog)
        self.cmbWorkType.setObjectName(_fromUtf8("cmbWorkType"))
        self.gridLayout.addWidget(self.cmbWorkType, 17, 1, 1, 9)
        self.chkDetailPerson = QtGui.QCheckBox(ReportSetupDialog)
        self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson"))
        self.gridLayout.addWidget(self.chkDetailPerson, 15, 0, 1, 10)
        spacerItem6 = QtGui.QSpacerItem(117, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 27, 7, 1, 3)
        self.lblContract = QtGui.QLabel(ReportSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 26, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 26, 1, 1, 7)
        self.cmbActionTypeClass = QtGui.QComboBox(ReportSetupDialog)
        self.cmbActionTypeClass.setObjectName(_fromUtf8("cmbActionTypeClass"))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.cmbActionTypeClass.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbActionTypeClass, 23, 1, 1, 7)
        self.cmbSex = QtGui.QComboBox(ReportSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 20, 1, 1, 1)
        self.edtEndDate = CDateEdit(ReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 3)
        self.cmbOwnership = QtGui.QComboBox(ReportSetupDialog)
        self.cmbOwnership.setObjectName(_fromUtf8("cmbOwnership"))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.setItemText(0, _fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.cmbOwnership.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOwnership, 18, 1, 1, 9)
        spacerItem7 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem7, 23, 8, 1, 2)
        self.cmbSpeciality = CRBComboBox(ReportSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 9)
        self.cmbWorkOrganisation = COrgComboBox(ReportSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 19, 1, 1, 8)
        self.chkOnlyNotPayedEvents = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyNotPayedEvents.setObjectName(
            _fromUtf8("chkOnlyNotPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyNotPayedEvents, 8, 0, 1, 1)
        self.chkOnlyEmployee = QtGui.QCheckBox(ReportSetupDialog)
        self.chkOnlyEmployee.setObjectName(_fromUtf8("chkOnlyEmployee"))
        self.gridLayout.addWidget(self.chkOnlyEmployee, 5, 0, 1, 1)
        self.chkGroupByClients = QtGui.QCheckBox(ReportSetupDialog)
        self.chkGroupByClients.setObjectName(_fromUtf8("chkGroupByClients"))
        self.gridLayout.addWidget(self.chkGroupByClients, 7, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ReportSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 9)
        self.lblEventPurpose = QtGui.QLabel(ReportSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1)
        self.btnBrowseSourceDataFile = QtGui.QToolButton(ReportSetupDialog)
        self.btnBrowseSourceDataFile.setEnabled(False)
        self.btnBrowseSourceDataFile.setObjectName(
            _fromUtf8("btnBrowseSourceDataFile"))
        self.gridLayout.addWidget(self.btnBrowseSourceDataFile, 28, 9, 1, 1)
        self.edtSourceDataFileName = QtGui.QLineEdit(ReportSetupDialog)
        self.edtSourceDataFileName.setEnabled(False)
        self.edtSourceDataFileName.setObjectName(
            _fromUtf8("edtSourceDataFileName"))
        self.gridLayout.addWidget(self.edtSourceDataFileName, 28, 1, 1, 8)
        self.chkIsDataFromFile = QtGui.QCheckBox(ReportSetupDialog)
        self.chkIsDataFromFile.setObjectName(_fromUtf8("chkIsDataFromFile"))
        self.gridLayout.addWidget(self.chkIsDataFromFile, 28, 0, 1, 1)
        self.lblOrgStrucutreAttachType = QtGui.QLabel(ReportSetupDialog)
        self.lblOrgStrucutreAttachType.setObjectName(
            _fromUtf8("lblOrgStrucutreAttachType"))
        self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 29, 0, 1, 1)
        self.cmbOrgStructureAttachType = COrgStructureComboBox(
            ReportSetupDialog)
        self.cmbOrgStructureAttachType.setObjectName(
            _fromUtf8("cmbOrgStructureAttachType"))
        self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 29, 1, 1, 7)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndPayDate.setBuddy(self.edtEndPayDate)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblActionTypeClass.setBuddy(self.cmbActionTypeClass)
        self.lblWorkType.setBuddy(self.cmbWorkType)
        self.lblBegPayDate.setBuddy(self.edtBegPayDate)
        self.lblActionType.setBuddy(self.cmbActionType)
        self.lblStage.setBuddy(self.cmbStage)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOwnership.setBuddy(self.cmbOwnership)
        self.lblMKBFilter.setBuddy(self.cmbMKBFilter)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)

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

    def retranslateUi(self, ReportSetupDialog):
        ReportSetupDialog.setWindowTitle(
            _translate("ReportSetupDialog", "параметры отчёта", None))
        self.lblBegDate.setText(
            _translate("ReportSetupDialog", "Дата &начала периода", None))
        self.lblEndPayDate.setText(_translate("ReportSetupDialog", "по", None))
        self.chkOnlyPermanentAttach.setText(
            _translate("ReportSetupDialog", "&Прикреплённые к базовому ЛПУ",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportSetupDialog", "Интервал", None))
        self.chkOnlyPayedEvents.setText(
            _translate("ReportSetupDialog", "Только опла&ченные", None))
        self.lblAgeTo.setText(_translate("ReportSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("ReportSetupDialog", "лет", None))
        self.lblWorkOrganisation.setText(
            _translate("ReportSetupDialog", "Место работы", None))
        self.lblAge.setText(_translate("ReportSetupDialog", "Возраст с", None))
        self.lblInsurer.setText(_translate("ReportSetupDialog", "СМО", None))
        self.lblEndDate.setText(
            _translate("ReportSetupDialog", "Дата &окончания периода", None))
        self.lblActionTypeClass.setText(
            _translate("ReportSetupDialog", "Кла&сс", None))
        self.chkDiagnosisType.setText(
            _translate("ReportSetupDialog", "Учитывать сопуствующие диагнозы",
                       None))
        self.lblSpeciality.setText(
            _translate("ReportSetupDialog", "Специальность", None))
        self.lblWorkType.setText(
            _translate("ReportSetupDialog", "По ОКВЭД", None))
        self.lblBegPayDate.setText(
            _translate("ReportSetupDialog", "Оплачено в период с", None))
        self.lblActionType.setText(
            _translate("ReportSetupDialog", "&Мероприятие", None))
        self.chkActionClass.setText(
            _translate("ReportSetupDialog", "Не учитывать класс", None))
        self.lblOrgStructure.setText(
            _translate("ReportSetupDialog", "Подразделение", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("ReportSetupDialog", "...", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("ReportSetupDialog", "Z99.9", None))
        self.lblFinance.setText(
            _translate("ReportSetupDialog", "Тип финанисирования", None))
        self.lblStage.setText(_translate("ReportSetupDialog", "Стадия", None))
        self.lblSex.setText(_translate("ReportSetupDialog", "По&л", None))
        self.lblEventType.setText(
            _translate("ReportSetupDialog", "&Тип обращения", None))
        self.lblPerson.setText(_translate("ReportSetupDialog", "Врач", None))
        self.lblOwnership.setText(
            _translate("ReportSetupDialog", "Собственность", None))
        self.lblMKBFilter.setText(
            _translate("ReportSetupDialog", "Коды диагнозов по &МКБ", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportSetupDialog", "A.", None))
        self.chkDetailPerson.setText(
            _translate("ReportSetupDialog", "Детализировать по врачам", None))
        self.lblContract.setText(
            _translate("ReportSetupDialog", "Договор", None))
        self.cmbActionTypeClass.setItemText(
            0, _translate("ReportSetupDialog", "Статус", None))
        self.cmbActionTypeClass.setItemText(
            1, _translate("ReportSetupDialog", "Диагностика", None))
        self.cmbActionTypeClass.setItemText(
            2, _translate("ReportSetupDialog", "Лечение", None))
        self.cmbActionTypeClass.setItemText(
            3, _translate("ReportSetupDialog", "Прочие мероприятия", None))
        self.cmbSex.setItemText(1, _translate("ReportSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ReportSetupDialog", "Ж", None))
        self.cmbOwnership.setItemText(
            1, _translate("ReportSetupDialog", "Бюджетная", None))
        self.cmbOwnership.setItemText(
            2, _translate("ReportSetupDialog", "Частная", None))
        self.cmbOwnership.setItemText(
            3, _translate("ReportSetupDialog", "Смешенная", None))
        self.chkOnlyNotPayedEvents.setText(
            _translate("ReportSetupDialog", "Не оплаченные услуги", None))
        self.chkOnlyEmployee.setText(
            _translate("ReportSetupDialog", "Сотрудник", None))
        self.chkGroupByClients.setText(
            _translate("ReportSetupDialog", "Группировать по пациентам", None))
        self.lblEventPurpose.setText(
            _translate("ReportSetupDialog", "Назначение обращения", None))
        self.btnBrowseSourceDataFile.setText(
            _translate("ReportSetupDialog", "...", None))
        self.chkIsDataFromFile.setText(
            _translate("ReportSetupDialog", "Исходные данные из файла", None))
        self.lblOrgStrucutreAttachType.setText(
            _translate("ReportSetupDialog", "Подразделение прикрепления",
                       None))
class Ui_FinanceSummarySetupDialog(object):
    def setupUi(self, FinanceSummarySetupDialog):
        FinanceSummarySetupDialog.setObjectName(
            _fromUtf8("FinanceSummarySetupDialog"))
        FinanceSummarySetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        FinanceSummarySetupDialog.resize(578, 975)
        FinanceSummarySetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(FinanceSummarySetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkWithoutModernisation = QtGui.QCheckBox(
            FinanceSummarySetupDialog)
        self.chkWithoutModernisation.setObjectName(
            _fromUtf8("chkWithoutModernisation"))
        self.gridLayout.addWidget(self.chkWithoutModernisation, 23, 0, 1, 4)
        self.gbDateInterval = QtGui.QGroupBox(FinanceSummarySetupDialog)
        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.setObjectName(
            _fromUtf8("rbtnByActionEndDate"))
        self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 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(True)
        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.gridLayout.addWidget(self.gbDateInterval, 0, 0, 1, 4)
        self.lblGroupBy = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblGroupBy.setObjectName(_fromUtf8("lblGroupBy"))
        self.gridLayout.addWidget(self.lblGroupBy, 17, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(FinanceSummarySetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 9, 1, 1, 3)
        self.lblFinance = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 16, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 7, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        self.cmbPodtver = QtGui.QComboBox(FinanceSummarySetupDialog)
        self.cmbPodtver.setEnabled(False)
        self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver"))
        self.gridLayout.addWidget(self.cmbPodtver, 27, 2, 1, 1)
        self.cmbInsurerDoctors = CInsurerComboBox(FinanceSummarySetupDialog)
        self.cmbInsurerDoctors.setObjectName(_fromUtf8("cmbInsurerDoctors"))
        self.gridLayout.addWidget(self.cmbInsurerDoctors, 14, 1, 1, 3)
        self.chkFreeInputWork = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkFreeInputWork.setObjectName(_fromUtf8("chkFreeInputWork"))
        self.gridLayout.addWidget(self.chkFreeInputWork, 13, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 9, 0, 1, 1)
        self.lblAssistant = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblAssistant.setObjectName(_fromUtf8("lblAssistant"))
        self.gridLayout.addWidget(self.lblAssistant, 10, 0, 1, 1)
        self.chkGroupAssistant = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkGroupAssistant.setObjectName(_fromUtf8("chkGroupAssistant"))
        self.gridLayout.addWidget(self.chkGroupAssistant, 11, 1, 1, 3)
        self.cmbClientOrganisation = COrgComboBox(FinanceSummarySetupDialog)
        self.cmbClientOrganisation.setObjectName(
            _fromUtf8("cmbClientOrganisation"))
        self.gridLayout.addWidget(self.cmbClientOrganisation, 12, 1, 1, 3)
        self.chkPodtver = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkPodtver.setObjectName(_fromUtf8("chkPodtver"))
        self.gridLayout.addWidget(self.chkPodtver, 24, 1, 1, 3)
        self.cmbSpeciality = CRBComboBox(FinanceSummarySetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 7, 1, 1, 3)
        self.lblEventPurpose = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 1, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(FinanceSummarySetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 1, 1, 1, 3)
        self.lblClientOrganisation = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblClientOrganisation.setObjectName(
            _fromUtf8("lblClientOrganisation"))
        self.gridLayout.addWidget(self.lblClientOrganisation, 12, 0, 1, 1)
        self.edtFreeInputWork = QtGui.QLineEdit(FinanceSummarySetupDialog)
        self.edtFreeInputWork.setObjectName(_fromUtf8("edtFreeInputWork"))
        self.gridLayout.addWidget(self.edtFreeInputWork, 13, 1, 1, 3)
        self.cmbOrgStructure = COrgStructureComboBox(FinanceSummarySetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 31, 2, 1, 1)
        self.cmbEventType = CRBComboBox(FinanceSummarySetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 3)
        self.edtEndDatePodtver = CDateEdit(FinanceSummarySetupDialog)
        self.edtEndDatePodtver.setEnabled(False)
        self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver"))
        self.gridLayout.addWidget(self.edtEndDatePodtver, 29, 2, 1, 1)
        self.cmbAssistant = CPersonComboBoxEx(FinanceSummarySetupDialog)
        self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant"))
        self.gridLayout.addWidget(self.cmbAssistant, 10, 1, 1, 3)
        self.lblEndDatePodtver = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblEndDatePodtver.setEnabled(False)
        self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver"))
        self.gridLayout.addWidget(self.lblEndDatePodtver, 29, 0, 1, 1)
        self.chkDetailServiceTypes = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkDetailServiceTypes.setObjectName(
            _fromUtf8("chkDetailServiceTypes"))
        self.gridLayout.addWidget(self.chkDetailServiceTypes, 19, 0, 1, 1)
        self.cmbGroupBy = QtGui.QComboBox(FinanceSummarySetupDialog)
        self.cmbGroupBy.setObjectName(_fromUtf8("cmbGroupBy"))
        self.cmbGroupBy.addItem(_fromUtf8(""))
        self.cmbGroupBy.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbGroupBy, 17, 1, 1, 3)
        self.lblRefuseType = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblRefuseType.setEnabled(False)
        self.lblRefuseType.setObjectName(_fromUtf8("lblRefuseType"))
        self.gridLayout.addWidget(self.lblRefuseType, 30, 0, 1, 1)
        self.chkDetailService = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkDetailService.setObjectName(_fromUtf8("chkDetailService"))
        self.gridLayout.addWidget(self.chkDetailService, 24, 0, 1, 1)
        self.edtBegDatePodtver = CDateEdit(FinanceSummarySetupDialog)
        self.edtBegDatePodtver.setEnabled(False)
        self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver"))
        self.gridLayout.addWidget(self.edtBegDatePodtver, 28, 2, 1, 1)
        self.lstInsurerDoctors = QtGui.QListView(FinanceSummarySetupDialog)
        self.lstInsurerDoctors.setSelectionMode(
            QtGui.QAbstractItemView.MultiSelection)
        self.lstInsurerDoctors.setObjectName(_fromUtf8("lstInsurerDoctors"))
        self.gridLayout.addWidget(self.lstInsurerDoctors, 15, 0, 1, 3)
        self.cmbRefuseType = CRBComboBox(FinanceSummarySetupDialog)
        self.cmbRefuseType.setEnabled(False)
        self.cmbRefuseType.setObjectName(_fromUtf8("cmbRefuseType"))
        self.gridLayout.addWidget(self.cmbRefuseType, 30, 2, 1, 1)
        self.lblPodtver = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblPodtver.setEnabled(False)
        self.lblPodtver.setObjectName(_fromUtf8("lblPodtver"))
        self.gridLayout.addWidget(self.lblPodtver, 27, 0, 1, 1)
        self.chkWithoutDescendants = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkWithoutDescendants.setObjectName(
            _fromUtf8("chkWithoutDescendants"))
        self.gridLayout.addWidget(self.chkWithoutDescendants, 5, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(FinanceSummarySetupDialog)
        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, 0, 1, 4)
        self.cmbFinance = CRBComboBox(FinanceSummarySetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 16, 1, 1, 3)
        self.lblBegDatePodtver = QtGui.QLabel(FinanceSummarySetupDialog)
        self.lblBegDatePodtver.setEnabled(False)
        self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver"))
        self.gridLayout.addWidget(self.lblBegDatePodtver, 28, 0, 1, 1)
        self.chkInsurerDoctors = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkInsurerDoctors.setObjectName(_fromUtf8("chkInsurerDoctors"))
        self.gridLayout.addWidget(self.chkInsurerDoctors, 14, 0, 1, 1)
        self.chkByOrgStructAction = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkByOrgStructAction.setObjectName(
            _fromUtf8("chkByOrgStructAction"))
        self.gridLayout.addWidget(self.chkByOrgStructAction, 4, 0, 1, 1)
        self.chkDetailPatients = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkDetailPatients.setObjectName(_fromUtf8("chkDetailPatients"))
        self.gridLayout.addWidget(self.chkDetailPatients, 25, 0, 1, 1)
        self.chkExpandDoctorGroups = QtGui.QCheckBox(FinanceSummarySetupDialog)
        self.chkExpandDoctorGroups.setChecked(True)
        self.chkExpandDoctorGroups.setObjectName(
            _fromUtf8("chkExpandDoctorGroups"))
        self.gridLayout.addWidget(self.chkExpandDoctorGroups, 18, 0, 1, 3)
        self.lstServiceTypes = QtGui.QListView(FinanceSummarySetupDialog)
        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, 19, 2, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblAssistant.setBuddy(self.cmbAssistant)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblClientOrganisation.setBuddy(self.cmbClientOrganisation)
        self.lblEndDatePodtver.setBuddy(self.edtEndDatePodtver)
        self.lblRefuseType.setBuddy(self.cmbRefuseType)
        self.lblPodtver.setBuddy(self.cmbPodtver)
        self.lblBegDatePodtver.setBuddy(self.edtBegDatePodtver)

        self.retranslateUi(FinanceSummarySetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               FinanceSummarySetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               FinanceSummarySetupDialog.reject)
        QtCore.QObject.connect(self.chkPodtver,
                               QtCore.SIGNAL(_fromUtf8("stateChanged(int)")),
                               FinanceSummarySetupDialog.onStateChanged)
        QtCore.QMetaObject.connectSlotsByName(FinanceSummarySetupDialog)
        FinanceSummarySetupDialog.setTabOrder(self.cmbOrgStructure,
                                              self.cmbPerson)
        FinanceSummarySetupDialog.setTabOrder(self.cmbPerson,
                                              self.cmbInsurerDoctors)
        FinanceSummarySetupDialog.setTabOrder(self.cmbInsurerDoctors,
                                              self.chkDetailService)
        FinanceSummarySetupDialog.setTabOrder(self.chkDetailService,
                                              self.buttonBox)

    def retranslateUi(self, FinanceSummarySetupDialog):
        FinanceSummarySetupDialog.setWindowTitle(
            _translate("FinanceSummarySetupDialog", "параметры отчёта", None))
        self.chkWithoutModernisation.setText(
            _translate("FinanceSummarySetupDialog",
                       "Без модерни&зации (вычитать федеральный тариф)", None))
        self.gbDateInterval.setTitle(
            _translate("FinanceSummarySetupDialog", "Период", None))
        self.rbtnByActionEndDate.setText(
            _translate("FinanceSummarySetupDialog", "выполнения услуги", None))
        self.lblBegDate.setText(
            _translate("FinanceSummarySetupDialog", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("FinanceSummarySetupDialog", "Дата &окончания периода",
                       None))
        self.rbtnByFormingAccountDate.setText(
            _translate("FinanceSummarySetupDialog", "формирования счета",
                       None))
        self.lblGroupBy.setText(
            _translate("FinanceSummarySetupDialog", "Группировать по", None))
        self.lblEventType.setText(
            _translate("FinanceSummarySetupDialog", "Тип обращения", None))
        self.lblFinance.setText(
            _translate("FinanceSummarySetupDialog", "Тип финансирования",
                       None))
        self.lblSpeciality.setText(
            _translate("FinanceSummarySetupDialog", "Спе&циальность", None))
        self.lblOrgStructure.setText(
            _translate("FinanceSummarySetupDialog", "&Подразделение", None))
        self.chkFreeInputWork.setText(
            _translate("FinanceSummarySetupDialog", "место работы по названию",
                       None))
        self.lblPerson.setText(
            _translate("FinanceSummarySetupDialog", "&Врач", None))
        self.lblAssistant.setText(
            _translate("FinanceSummarySetupDialog", "&Ассистент в услуге",
                       None))
        self.chkGroupAssistant.setText(
            _translate("FinanceSummarySetupDialog",
                       "Группировать по ассистентам в услуге", None))
        self.chkPodtver.setText(
            _translate("FinanceSummarySetupDialog", "Подтверждение оп&латы",
                       None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "FinanceSummarySetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.lblEventPurpose.setText(
            _translate("FinanceSummarySetupDialog", "&Назначение обращения",
                       None))
        self.lblClientOrganisation.setText(
            _translate("FinanceSummarySetupDialog", "&Место работы", None))
        self.lblEndDatePodtver.setText(
            _translate("FinanceSummarySetupDialog",
                       "Окончание периода подтверждени&я:", None))
        self.chkDetailServiceTypes.setText(
            _translate("FinanceSummarySetupDialog",
                       "Детализировать виды услуг", None))
        self.cmbGroupBy.setItemText(
            0, _translate("FinanceSummarySetupDialog", "Специальности", None))
        self.cmbGroupBy.setItemText(
            1, _translate("FinanceSummarySetupDialog", "Отделениям", None))
        self.lblRefuseType.setText(
            _translate("FinanceSummarySetupDialog", "При&чина отказа:", None))
        self.chkDetailService.setText(
            _translate("FinanceSummarySetupDialog", "&Детализировать услуги",
                       None))
        self.lblPodtver.setText(
            _translate("FinanceSummarySetupDialog", "Тип подтве&рждения:",
                       None))
        self.chkWithoutDescendants.setText(
            _translate("FinanceSummarySetupDialog",
                       "Только выбранное подразделение", None))
        self.lblBegDatePodtver.setText(
            _translate("FinanceSummarySetupDialog",
                       "Начало пер&иода подтверждения:", None))
        self.chkInsurerDoctors.setText(
            _translate("FinanceSummarySetupDialog", "СМО", None))
        self.chkByOrgStructAction.setText(
            _translate("FinanceSummarySetupDialog", "По подразделению услуги",
                       None))
        self.chkDetailPatients.setText(
            _translate("FinanceSummarySetupDialog",
                       "Детализировать по пациентам", None))
        self.chkExpandDoctorGroups.setText(
            _translate("FinanceSummarySetupDialog", "Раскрывать группы", None))
Example #18
0
class Ui_ReportLeavedMovedDeadSetupDialog(object):
    def setupUi(self, ReportLeavedMovedDeadSetupDialog):
        ReportLeavedMovedDeadSetupDialog.setObjectName(
            _fromUtf8("ReportLeavedMovedDeadSetupDialog"))
        ReportLeavedMovedDeadSetupDialog.resize(640, 450)
        self.gridLayout_4 = QtGui.QGridLayout(ReportLeavedMovedDeadSetupDialog)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.rbByLeavedDate = QtGui.QRadioButton(
            ReportLeavedMovedDeadSetupDialog)
        self.rbByLeavedDate.setChecked(True)
        self.rbByLeavedDate.setObjectName(_fromUtf8("rbByLeavedDate"))
        self.gridLayout_4.addWidget(self.rbByLeavedDate, 0, 0, 1, 1)
        self.stkFilterDate = QtGui.QStackedWidget(
            ReportLeavedMovedDeadSetupDialog)
        self.stkFilterDate.setFrameShape(QtGui.QFrame.StyledPanel)
        self.stkFilterDate.setObjectName(_fromUtf8("stkFilterDate"))
        self.pgLeavedDate = QtGui.QWidget()
        self.pgLeavedDate.setObjectName(_fromUtf8("pgLeavedDate"))
        self.gridLayout_3 = QtGui.QGridLayout(self.pgLeavedDate)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtLeavedDate = CDateEdit(self.pgLeavedDate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeavedDate.sizePolicy().hasHeightForWidth())
        self.edtLeavedDate.setSizePolicy(sizePolicy)
        self.edtLeavedDate.setCalendarPopup(True)
        self.edtLeavedDate.setObjectName(_fromUtf8("edtLeavedDate"))
        self.gridLayout_3.addWidget(self.edtLeavedDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem1, 1, 1, 1, 1)
        self.label = QtGui.QLabel(self.pgLeavedDate)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
        self.stkFilterDate.addWidget(self.pgLeavedDate)
        self.pgPeriod = QtGui.QWidget()
        self.pgPeriod.setObjectName(_fromUtf8("pgPeriod"))
        self.gridLayout_2 = QtGui.QGridLayout(self.pgPeriod)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblLeavedEndDate = QtGui.QLabel(self.pgPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLeavedEndDate.sizePolicy().hasHeightForWidth())
        self.lblLeavedEndDate.setSizePolicy(sizePolicy)
        self.lblLeavedEndDate.setObjectName(_fromUtf8("lblLeavedEndDate"))
        self.gridLayout_2.addWidget(self.lblLeavedEndDate, 1, 3, 1, 1)
        self.chkByReceivedDate = QtGui.QCheckBox(self.pgPeriod)
        self.chkByReceivedDate.setObjectName(_fromUtf8("chkByReceivedDate"))
        self.gridLayout_2.addWidget(self.chkByReceivedDate, 0, 0, 1, 1)
        self.chkByLeavedDate = QtGui.QCheckBox(self.pgPeriod)
        self.chkByLeavedDate.setChecked(True)
        self.chkByLeavedDate.setObjectName(_fromUtf8("chkByLeavedDate"))
        self.gridLayout_2.addWidget(self.chkByLeavedDate, 1, 0, 1, 1)
        self.edtLeavedBegDate = CDateEdit(self.pgPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeavedBegDate.sizePolicy().hasHeightForWidth())
        self.edtLeavedBegDate.setSizePolicy(sizePolicy)
        self.edtLeavedBegDate.setCalendarPopup(True)
        self.edtLeavedBegDate.setObjectName(_fromUtf8("edtLeavedBegDate"))
        self.gridLayout_2.addWidget(self.edtLeavedBegDate, 1, 2, 1, 1)
        self.edtReceivedBegDate = CDateEdit(self.pgPeriod)
        self.edtReceivedBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtReceivedBegDate.sizePolicy().hasHeightForWidth())
        self.edtReceivedBegDate.setSizePolicy(sizePolicy)
        self.edtReceivedBegDate.setCalendarPopup(True)
        self.edtReceivedBegDate.setObjectName(_fromUtf8("edtReceivedBegDate"))
        self.gridLayout_2.addWidget(self.edtReceivedBegDate, 0, 2, 1, 1)
        self.edtReceivedEndDate = CDateEdit(self.pgPeriod)
        self.edtReceivedEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtReceivedEndDate.sizePolicy().hasHeightForWidth())
        self.edtReceivedEndDate.setSizePolicy(sizePolicy)
        self.edtReceivedEndDate.setCalendarPopup(True)
        self.edtReceivedEndDate.setObjectName(_fromUtf8("edtReceivedEndDate"))
        self.gridLayout_2.addWidget(self.edtReceivedEndDate, 0, 4, 1, 1)
        self.lblReceivedEndDate = QtGui.QLabel(self.pgPeriod)
        self.lblReceivedEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblReceivedEndDate.sizePolicy().hasHeightForWidth())
        self.lblReceivedEndDate.setSizePolicy(sizePolicy)
        self.lblReceivedEndDate.setObjectName(_fromUtf8("lblReceivedEndDate"))
        self.gridLayout_2.addWidget(self.lblReceivedEndDate, 0, 3, 1, 1)
        self.edtLeavedEndDate = CDateEdit(self.pgPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeavedEndDate.sizePolicy().hasHeightForWidth())
        self.edtLeavedEndDate.setSizePolicy(sizePolicy)
        self.edtLeavedEndDate.setCalendarPopup(True)
        self.edtLeavedEndDate.setObjectName(_fromUtf8("edtLeavedEndDate"))
        self.gridLayout_2.addWidget(self.edtLeavedEndDate, 1, 4, 1, 1)
        self.lblReceivedBegDate = QtGui.QLabel(self.pgPeriod)
        self.lblReceivedBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblReceivedBegDate.sizePolicy().hasHeightForWidth())
        self.lblReceivedBegDate.setSizePolicy(sizePolicy)
        self.lblReceivedBegDate.setObjectName(_fromUtf8("lblReceivedBegDate"))
        self.gridLayout_2.addWidget(self.lblReceivedBegDate, 0, 1, 1, 1)
        self.lblLeavedBegDate = QtGui.QLabel(self.pgPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLeavedBegDate.sizePolicy().hasHeightForWidth())
        self.lblLeavedBegDate.setSizePolicy(sizePolicy)
        self.lblLeavedBegDate.setObjectName(_fromUtf8("lblLeavedBegDate"))
        self.gridLayout_2.addWidget(self.lblLeavedBegDate, 1, 1, 1, 1)
        self.stkFilterDate.addWidget(self.pgPeriod)
        self.gridLayout_4.addWidget(self.stkFilterDate, 0, 1, 2, 2)
        self.rbByPeriod = QtGui.QRadioButton(ReportLeavedMovedDeadSetupDialog)
        self.rbByPeriod.setObjectName(_fromUtf8("rbByPeriod"))
        self.gridLayout_4.addWidget(self.rbByPeriod, 1, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportLeavedMovedDeadSetupDialog)
        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_4.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(ReportLeavedMovedDeadSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkDeliveredTime = QtGui.QCheckBox(self.groupBox)
        self.chkDeliveredTime.setObjectName(_fromUtf8("chkDeliveredTime"))
        self.gridLayout.addWidget(self.chkDeliveredTime, 1, 1, 1, 1)
        self.chkDiagnosis = QtGui.QCheckBox(self.groupBox)
        self.chkDiagnosis.setObjectName(_fromUtf8("chkDiagnosis"))
        self.gridLayout.addWidget(self.chkDiagnosis, 2, 2, 1, 1)
        self.chkOperations = QtGui.QCheckBox(self.groupBox)
        self.chkOperations.setObjectName(_fromUtf8("chkOperations"))
        self.gridLayout.addWidget(self.chkOperations, 7, 2, 1, 1)
        self.chkTrauma = QtGui.QCheckBox(self.groupBox)
        self.chkTrauma.setObjectName(_fromUtf8("chkTrauma"))
        self.gridLayout.addWidget(self.chkTrauma, 4, 2, 1, 1)
        self.chkStatus = QtGui.QCheckBox(self.groupBox)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout.addWidget(self.chkStatus, 1, 2, 1, 1)
        self.chkResult = QtGui.QCheckBox(self.groupBox)
        self.chkResult.setObjectName(_fromUtf8("chkResult"))
        self.gridLayout.addWidget(self.chkResult, 0, 2, 1, 1)
        self.chkExternalId = QtGui.QCheckBox(self.groupBox)
        self.chkExternalId.setChecked(True)
        self.chkExternalId.setObjectName(_fromUtf8("chkExternalId"))
        self.gridLayout.addWidget(self.chkExternalId, 0, 0, 1, 1)
        self.chkDeliveredBy = QtGui.QCheckBox(self.groupBox)
        self.chkDeliveredBy.setObjectName(_fromUtf8("chkDeliveredBy"))
        self.gridLayout.addWidget(self.chkDeliveredBy, 0, 1, 1, 1)
        self.chkBedDays = QtGui.QCheckBox(self.groupBox)
        self.chkBedDays.setObjectName(_fromUtf8("chkBedDays"))
        self.gridLayout.addWidget(self.chkBedDays, 6, 2, 1, 1)
        self.chkAutopsyDiagnosis = QtGui.QCheckBox(self.groupBox)
        self.chkAutopsyDiagnosis.setObjectName(
            _fromUtf8("chkAutopsyDiagnosis"))
        self.gridLayout.addWidget(self.chkAutopsyDiagnosis, 3, 2, 1, 1)
        self.chkName = QtGui.QCheckBox(self.groupBox)
        self.chkName.setChecked(True)
        self.chkName.setObjectName(_fromUtf8("chkName"))
        self.gridLayout.addWidget(self.chkName, 1, 0, 1, 1)
        self.chkEventOrder = QtGui.QCheckBox(self.groupBox)
        self.chkEventOrder.setObjectName(_fromUtf8("chkEventOrder"))
        self.gridLayout.addWidget(self.chkEventOrder, 2, 1, 1, 1)
        self.chkLeavedDate = QtGui.QCheckBox(self.groupBox)
        self.chkLeavedDate.setChecked(True)
        self.chkLeavedDate.setObjectName(_fromUtf8("chkLeavedDate"))
        self.gridLayout.addWidget(self.chkLeavedDate, 5, 2, 1, 1)
        self.chkBirthDate = QtGui.QCheckBox(self.groupBox)
        self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate"))
        self.gridLayout.addWidget(self.chkBirthDate, 2, 0, 1, 1)
        self.chkSex = QtGui.QCheckBox(self.groupBox)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 3, 0, 1, 1)
        self.chkSocStatus = QtGui.QCheckBox(self.groupBox)
        self.chkSocStatus.setObjectName(_fromUtf8("chkSocStatus"))
        self.gridLayout.addWidget(self.chkSocStatus, 4, 0, 1, 1)
        self.chkBenefits = QtGui.QCheckBox(self.groupBox)
        self.chkBenefits.setObjectName(_fromUtf8("chkBenefits"))
        self.gridLayout.addWidget(self.chkBenefits, 5, 0, 1, 1)
        self.chkRegAddress = QtGui.QCheckBox(self.groupBox)
        self.chkRegAddress.setObjectName(_fromUtf8("chkRegAddress"))
        self.gridLayout.addWidget(self.chkRegAddress, 6, 0, 1, 1)
        self.chkBegDate = QtGui.QCheckBox(self.groupBox)
        self.chkBegDate.setChecked(True)
        self.chkBegDate.setObjectName(_fromUtf8("chkBegDate"))
        self.gridLayout.addWidget(self.chkBegDate, 3, 1, 1, 1)
        self.chkPrimary = QtGui.QCheckBox(self.groupBox)
        self.chkPrimary.setObjectName(_fromUtf8("chkPrimary"))
        self.gridLayout.addWidget(self.chkPrimary, 4, 1, 1, 1)
        self.chkOrgStructure = QtGui.QCheckBox(self.groupBox)
        self.chkOrgStructure.setChecked(True)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 5, 1, 1, 1)
        self.gridLayout_4.addWidget(self.groupBox, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 38, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem2, 4, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportLeavedMovedDeadSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_4.addWidget(self.buttonBox, 5, 2, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportLeavedMovedDeadSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        self.label.setBuddy(self.edtLeavedDate)
        self.lblLeavedEndDate.setBuddy(self.edtLeavedEndDate)
        self.lblReceivedEndDate.setBuddy(self.edtReceivedEndDate)
        self.lblReceivedBegDate.setBuddy(self.edtReceivedBegDate)
        self.lblLeavedBegDate.setBuddy(self.edtLeavedBegDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(ReportLeavedMovedDeadSetupDialog)
        self.stkFilterDate.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportLeavedMovedDeadSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportLeavedMovedDeadSetupDialog.reject)
        QtCore.QObject.connect(self.chkByLeavedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblLeavedBegDate.setEnabled)
        QtCore.QObject.connect(self.chkByLeavedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtLeavedBegDate.setEnabled)
        QtCore.QObject.connect(self.chkByLeavedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblLeavedEndDate.setEnabled)
        QtCore.QObject.connect(self.chkByLeavedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtLeavedEndDate.setEnabled)
        QtCore.QObject.connect(self.chkByReceivedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblReceivedBegDate.setEnabled)
        QtCore.QObject.connect(self.chkByReceivedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtReceivedBegDate.setEnabled)
        QtCore.QObject.connect(self.chkByReceivedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblReceivedEndDate.setEnabled)
        QtCore.QObject.connect(self.chkByReceivedDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtReceivedEndDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ReportLeavedMovedDeadSetupDialog)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.rbByLeavedDate,
                                                     self.edtLeavedDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.edtLeavedDate,
                                                     self.rbByPeriod)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.rbByPeriod,
                                                     self.cmbOrgStructure)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.cmbOrgStructure,
                                                     self.chkExternalId)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkExternalId,
                                                     self.chkName)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkName,
                                                     self.chkBirthDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkBirthDate,
                                                     self.chkDeliveredBy)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkDeliveredBy,
                                                     self.chkDeliveredTime)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkDeliveredTime,
                                                     self.chkEventOrder)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkEventOrder,
                                                     self.chkResult)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkResult,
                                                     self.chkStatus)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkStatus,
                                                     self.chkDiagnosis)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkDiagnosis,
                                                     self.chkTrauma)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkTrauma,
                                                     self.chkLeavedDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkLeavedDate,
                                                     self.chkBedDays)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkBedDays,
                                                     self.chkOperations)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkOperations,
                                                     self.buttonBox)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.buttonBox,
                                                     self.edtReceivedEndDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.edtReceivedEndDate,
                                                     self.chkByReceivedDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkByReceivedDate,
                                                     self.edtLeavedEndDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.edtLeavedEndDate,
                                                     self.edtLeavedBegDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.edtLeavedBegDate,
                                                     self.chkByLeavedDate)
        ReportLeavedMovedDeadSetupDialog.setTabOrder(self.chkByLeavedDate,
                                                     self.edtReceivedBegDate)

    def retranslateUi(self, ReportLeavedMovedDeadSetupDialog):
        ReportLeavedMovedDeadSetupDialog.setWindowTitle(
            _translate("ReportLeavedMovedDeadSetupDialog", "Параметры отчёта",
                       None))
        self.rbByLeavedDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "По дате &выписки",
                       None))
        self.label.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Дата &выписки:",
                       None))
        self.lblLeavedEndDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "по", None))
        self.chkByReceivedDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Дата &поступления:", None))
        self.chkByLeavedDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Дата &выписки:",
                       None))
        self.lblReceivedEndDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "по", None))
        self.lblReceivedBegDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "с", None))
        self.lblLeavedBegDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "с", None))
        self.rbByPeriod.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "За &период", None))
        self.lblOrgStructure.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "&Отделение", None))
        self.groupBox.setTitle(
            _translate("ReportLeavedMovedDeadSetupDialog", "Выводить в отчёт",
                       None))
        self.chkDeliveredTime.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Срок", None))
        self.chkDiagnosis.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Диагноз клинический", None))
        self.chkOperations.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Операции", None))
        self.chkTrauma.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Травма, обстоятельства", None))
        self.chkStatus.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Состояние", None))
        self.chkResult.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Исход", None))
        self.chkExternalId.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "№ ИБ", None))
        self.chkDeliveredBy.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Направлен", None))
        self.chkBedDays.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Койко-дней", None))
        self.chkAutopsyDiagnosis.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Диагноз патологоанатомический", None))
        self.chkName.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "ФИО", None))
        self.chkEventOrder.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Вид поступления",
                       None))
        self.chkLeavedDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Дата выписки",
                       None))
        self.chkBirthDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Дата рождения",
                       None))
        self.chkSex.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Пол", None))
        self.chkSocStatus.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Социальный статус",
                       None))
        self.chkBenefits.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Категория", None))
        self.chkRegAddress.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Постоянная регистрация", None))
        self.chkBegDate.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Дата, время постпуления", None))
        self.chkPrimary.setText(
            _translate("ReportLeavedMovedDeadSetupDialog", "Повторно", None))
        self.chkOrgStructure.setText(
            _translate("ReportLeavedMovedDeadSetupDialog",
                       "Отделение поступления", None))
Example #19
0
class Ui_DublicateDialog(object):
    def setupUi(self, DublicateDialog):
        DublicateDialog.setObjectName(_fromUtf8("DublicateDialog"))
        DublicateDialog.resize(242, 275)
        self.gridLayout = QtGui.QGridLayout(DublicateDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkStart = QtGui.QCheckBox(DublicateDialog)
        self.chkStart.setObjectName(_fromUtf8("chkStart"))
        self.gridLayout.addWidget(self.chkStart, 1, 0, 1, 1)
        self.edtStart = CDateEdit(DublicateDialog)
        self.edtStart.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtStart.sizePolicy().hasHeightForWidth())
        self.edtStart.setSizePolicy(sizePolicy)
        self.edtStart.setObjectName(_fromUtf8("edtStart"))
        self.gridLayout.addWidget(self.edtStart, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(134, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(DublicateDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.rbSingle = QtGui.QRadioButton(self.groupBox)
        self.rbSingle.setObjectName(_fromUtf8("rbSingle"))
        self.verticalLayout.addWidget(self.rbSingle)
        self.rbDual = QtGui.QRadioButton(self.groupBox)
        self.rbDual.setObjectName(_fromUtf8("rbDual"))
        self.verticalLayout.addWidget(self.rbDual)
        self.rbWeek = QtGui.QRadioButton(self.groupBox)
        self.rbWeek.setChecked(True)
        self.rbWeek.setObjectName(_fromUtf8("rbWeek"))
        self.verticalLayout.addWidget(self.rbWeek)
        self.gridLayout.addWidget(self.groupBox, 2, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(DublicateDialog)
        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, 5, 0, 1, 3)
        self.lblMessage = QtGui.QLabel(DublicateDialog)
        self.lblMessage.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblMessage.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblMessage.setTextFormat(QtCore.Qt.PlainText)
        self.lblMessage.setWordWrap(True)
        self.lblMessage.setObjectName(_fromUtf8("lblMessage"))
        self.gridLayout.addWidget(self.lblMessage, 0, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 4, 0, 1, 1)
        self.chkFillRedDays = QtGui.QCheckBox(DublicateDialog)
        self.chkFillRedDays.setEnabled(False)
        self.chkFillRedDays.setObjectName(_fromUtf8("chkFillRedDays"))
        self.gridLayout.addWidget(self.chkFillRedDays, 3, 0, 1, 3)

        self.retranslateUi(DublicateDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               DublicateDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               DublicateDialog.reject)
        QtCore.QObject.connect(self.chkStart,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtStart.setEnabled)
        QtCore.QObject.connect(self.rbWeek,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkFillRedDays.setDisabled)
        QtCore.QObject.connect(self.rbSingle,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkFillRedDays.setEnabled)
        QtCore.QObject.connect(self.rbDual,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkFillRedDays.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DublicateDialog)
        DublicateDialog.setTabOrder(self.chkStart, self.edtStart)
        DublicateDialog.setTabOrder(self.edtStart, self.rbSingle)
        DublicateDialog.setTabOrder(self.rbSingle, self.rbDual)
        DublicateDialog.setTabOrder(self.rbDual, self.rbWeek)
        DublicateDialog.setTabOrder(self.rbWeek, self.chkFillRedDays)
        DublicateDialog.setTabOrder(self.chkFillRedDays, self.buttonBox)

    def retranslateUi(self, DublicateDialog):
        DublicateDialog.setWindowTitle(
            QtGui.QApplication.translate("DublicateDialog",
                                         "Дублирование графика", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkStart.setText(
            QtGui.QApplication.translate("DublicateDialog", "начинать с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("DublicateDialog",
                                         "режим копирования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rbSingle.setText(
            QtGui.QApplication.translate("DublicateDialog", "Один план", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rbDual.setText(
            QtGui.QApplication.translate("DublicateDialog", "Нечет/чёт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.rbWeek.setText(
            QtGui.QApplication.translate("DublicateDialog", "Неделя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMessage.setText(
            QtGui.QApplication.translate("DublicateDialog", "msg", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFillRedDays.setText(
            QtGui.QApplication.translate("DublicateDialog",
                                         "&Заполнять выходные дни", None,
                                         QtGui.QApplication.UnicodeUTF8))
Example #20
0
class Ui_ParamsContractDialog(object):
    def setupUi(self, ParamsContractDialog):
        ParamsContractDialog.setObjectName(_fromUtf8("ParamsContractDialog"))
        ParamsContractDialog.resize(351, 272)
        self.gridLayout = QtGui.QGridLayout(ParamsContractDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 10, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ParamsContractDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 0, 1, 4)
        self.chkBase = QtGui.QCheckBox(ParamsContractDialog)
        self.chkBase.setChecked(False)
        self.chkBase.setObjectName(_fromUtf8("chkBase"))
        self.gridLayout.addWidget(self.chkBase, 1, 0, 1, 2)
        self.chkNumber = QtGui.QCheckBox(ParamsContractDialog)
        self.chkNumber.setObjectName(_fromUtf8("chkNumber"))
        self.gridLayout.addWidget(self.chkNumber, 2, 0, 1, 2)
        self.edtNumber = QtGui.QLineEdit(ParamsContractDialog)
        self.edtNumber.setEnabled(False)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 2, 2, 1, 2)
        self.edtDate = CDateEdit(ParamsContractDialog)
        self.edtDate.setEnabled(False)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 3, 2, 1, 2)
        self.edtBase = QtGui.QLineEdit(ParamsContractDialog)
        self.edtBase.setEnabled(False)
        self.edtBase.setObjectName(_fromUtf8("edtBase"))
        self.gridLayout.addWidget(self.edtBase, 1, 2, 1, 2)
        self.chkDate = QtGui.QCheckBox(ParamsContractDialog)
        self.chkDate.setObjectName(_fromUtf8("chkDate"))
        self.gridLayout.addWidget(self.chkDate, 3, 0, 1, 2)
        self.chkBegDate = QtGui.QCheckBox(ParamsContractDialog)
        self.chkBegDate.setObjectName(_fromUtf8("chkBegDate"))
        self.gridLayout.addWidget(self.chkBegDate, 4, 0, 1, 2)
        self.chkEndDate = QtGui.QCheckBox(ParamsContractDialog)
        self.chkEndDate.setObjectName(_fromUtf8("chkEndDate"))
        self.gridLayout.addWidget(self.chkEndDate, 5, 0, 1, 2)
        self.chkCoefficient = QtGui.QCheckBox(ParamsContractDialog)
        self.chkCoefficient.setObjectName(_fromUtf8("chkCoefficient"))
        self.gridLayout.addWidget(self.chkCoefficient, 6, 0, 1, 2)
        self.chkCoefficientEx = QtGui.QCheckBox(ParamsContractDialog)
        self.chkCoefficientEx.setObjectName(_fromUtf8("chkCoefficientEx"))
        self.gridLayout.addWidget(self.chkCoefficientEx, 7, 0, 1, 2)
        self.edtCoefficientEx = QtGui.QDoubleSpinBox(ParamsContractDialog)
        self.edtCoefficientEx.setEnabled(False)
        self.edtCoefficientEx.setDecimals(4)
        self.edtCoefficientEx.setMinimum(-99.9999)
        self.edtCoefficientEx.setMaximum(99.9999)
        self.edtCoefficientEx.setSingleStep(0.01)
        self.edtCoefficientEx.setProperty("value", 1.0)
        self.edtCoefficientEx.setObjectName(_fromUtf8("edtCoefficientEx"))
        self.gridLayout.addWidget(self.edtCoefficientEx, 7, 2, 1, 2)
        self.edtCoefficient = QtGui.QDoubleSpinBox(ParamsContractDialog)
        self.edtCoefficient.setEnabled(False)
        self.edtCoefficient.setDecimals(4)
        self.edtCoefficient.setMinimum(-99.9999)
        self.edtCoefficient.setMaximum(99.9999)
        self.edtCoefficient.setSingleStep(0.01)
        self.edtCoefficient.setProperty("value", 1.0)
        self.edtCoefficient.setObjectName(_fromUtf8("edtCoefficient"))
        self.gridLayout.addWidget(self.edtCoefficient, 6, 2, 1, 2)
        self.edtBegDate = CDateEdit(ParamsContractDialog)
        self.edtBegDate.setEnabled(False)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 4, 2, 1, 2)
        self.edtEndDate = CDateEdit(ParamsContractDialog)
        self.edtEndDate.setEnabled(False)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 5, 2, 1, 2)
        self.chkContractGroup = QtGui.QCheckBox(ParamsContractDialog)
        self.chkContractGroup.setObjectName(_fromUtf8("chkContractGroup"))
        self.gridLayout.addWidget(self.chkContractGroup, 0, 0, 1, 2)
        self.edtContractGroup = QtGui.QLineEdit(ParamsContractDialog)
        self.edtContractGroup.setEnabled(False)
        self.edtContractGroup.setObjectName(_fromUtf8("edtContractGroup"))
        self.gridLayout.addWidget(self.edtContractGroup, 0, 2, 1, 2)
        self.chkCoefficientEx2 = QtGui.QCheckBox(ParamsContractDialog)
        self.chkCoefficientEx2.setObjectName(_fromUtf8("chkCoefficientEx2"))
        self.gridLayout.addWidget(self.chkCoefficientEx2, 9, 0, 1, 2)
        self.edtCoefficientEx2 = QtGui.QDoubleSpinBox(ParamsContractDialog)
        self.edtCoefficientEx2.setEnabled(False)
        self.edtCoefficientEx2.setDecimals(4)
        self.edtCoefficientEx2.setMinimum(-99.9999)
        self.edtCoefficientEx2.setMaximum(99.9999)
        self.edtCoefficientEx2.setSingleStep(0.01)
        self.edtCoefficientEx2.setProperty("value", 1.0)
        self.edtCoefficientEx2.setObjectName(_fromUtf8("edtCoefficientEx2"))
        self.gridLayout.addWidget(self.edtCoefficientEx2, 9, 2, 1, 2)

        self.retranslateUi(ParamsContractDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ParamsContractDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ParamsContractDialog.reject)
        QtCore.QObject.connect(self.chkBase,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBase.setEnabled)
        QtCore.QObject.connect(self.chkNumber,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtNumber.setEnabled)
        QtCore.QObject.connect(self.chkDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtDate.setEnabled)
        QtCore.QObject.connect(self.chkBegDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBegDate.setEnabled)
        QtCore.QObject.connect(self.chkEndDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtEndDate.setEnabled)
        QtCore.QObject.connect(self.chkCoefficient,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtCoefficient.setEnabled)
        QtCore.QObject.connect(self.chkCoefficientEx,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtCoefficientEx.setEnabled)
        QtCore.QObject.connect(self.chkCoefficientEx2,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtCoefficientEx2.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ParamsContractDialog)
        ParamsContractDialog.setTabOrder(self.chkContractGroup,
                                         self.edtContractGroup)
        ParamsContractDialog.setTabOrder(self.edtContractGroup, self.chkBase)
        ParamsContractDialog.setTabOrder(self.chkBase, self.edtBase)
        ParamsContractDialog.setTabOrder(self.edtBase, self.chkNumber)
        ParamsContractDialog.setTabOrder(self.chkNumber, self.edtNumber)
        ParamsContractDialog.setTabOrder(self.edtNumber, self.chkDate)
        ParamsContractDialog.setTabOrder(self.chkDate, self.edtDate)
        ParamsContractDialog.setTabOrder(self.edtDate, self.chkBegDate)
        ParamsContractDialog.setTabOrder(self.chkBegDate, self.edtBegDate)
        ParamsContractDialog.setTabOrder(self.edtBegDate, self.chkEndDate)
        ParamsContractDialog.setTabOrder(self.chkEndDate, self.edtEndDate)
        ParamsContractDialog.setTabOrder(self.edtEndDate, self.chkCoefficient)
        ParamsContractDialog.setTabOrder(self.chkCoefficient,
                                         self.edtCoefficient)
        ParamsContractDialog.setTabOrder(self.edtCoefficient,
                                         self.chkCoefficientEx)
        ParamsContractDialog.setTabOrder(self.chkCoefficientEx,
                                         self.edtCoefficientEx)
        ParamsContractDialog.setTabOrder(self.edtCoefficientEx,
                                         self.chkCoefficientEx2)
        ParamsContractDialog.setTabOrder(self.chkCoefficientEx2,
                                         self.edtCoefficientEx2)
        ParamsContractDialog.setTabOrder(self.edtCoefficientEx2,
                                         self.buttonBox)

    def retranslateUi(self, ParamsContractDialog):
        ParamsContractDialog.setWindowTitle(
            QtGui.QApplication.translate("ParamsContractDialog", "Параметры",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkBase.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Основание",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkNumber.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Номер", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkDate.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkBegDate.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Нач.дата",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkEndDate.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Кон.дата",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkCoefficient.setText(
            QtGui.QApplication.translate("ParamsContractDialog",
                                         "Коэффициент тарифа", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkCoefficientEx.setText(
            QtGui.QApplication.translate("ParamsContractDialog",
                                         "Коэффициент расшир. тарифа", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkContractGroup.setText(
            QtGui.QApplication.translate("ParamsContractDialog", "Группа",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkCoefficientEx2.setText(
            QtGui.QApplication.translate("ParamsContractDialog",
                                         "Коэффициент второго расшир. тарифа",
                                         None, QtGui.QApplication.UnicodeUTF8))
Example #21
0
class Ui_ItemFinderDialog(object):
    def setupUi(self, ItemFinderDialog):
        ItemFinderDialog.setObjectName(_fromUtf8("ItemFinderDialog"))
        ItemFinderDialog.resize(560, 370)
        ItemFinderDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ItemFinderDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtCode = QtGui.QLineEdit(ItemFinderDialog)
        self.edtCode.setEnabled(False)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 2)
        self.chkPrim = QtGui.QCheckBox(ItemFinderDialog)
        self.chkPrim.setEnabled(False)
        self.chkPrim.setObjectName(_fromUtf8("chkPrim"))
        self.gridLayout.addWidget(self.chkPrim, 0, 3, 1, 4)
        self.btnSelectService = QtGui.QToolButton(ItemFinderDialog)
        self.btnSelectService.setEnabled(False)
        self.btnSelectService.setObjectName(_fromUtf8("btnSelectService"))
        self.gridLayout.addWidget(self.btnSelectService, 8, 6, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbBegAgeUnit = QtGui.QComboBox(ItemFinderDialog)
        self.cmbBegAgeUnit.setEnabled(False)
        self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit"))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.setItemText(0, _fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.cmbBegAgeUnit)
        self.edtBegAgeCount = QtGui.QLineEdit(ItemFinderDialog)
        self.edtBegAgeCount.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegAgeCount.sizePolicy().hasHeightForWidth())
        self.edtBegAgeCount.setSizePolicy(sizePolicy)
        self.edtBegAgeCount.setMaxLength(3)
        self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount"))
        self.horizontalLayout.addWidget(self.edtBegAgeCount)
        self.lblAgeSep = QtGui.QLabel(ItemFinderDialog)
        self.lblAgeSep.setEnabled(False)
        self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep"))
        self.horizontalLayout.addWidget(self.lblAgeSep)
        self.cmbEndAgeUnit = QtGui.QComboBox(ItemFinderDialog)
        self.cmbEndAgeUnit.setEnabled(False)
        self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit"))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.setItemText(0, _fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.cmbEndAgeUnit)
        self.edtEndAgeCount = QtGui.QLineEdit(ItemFinderDialog)
        self.edtEndAgeCount.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndAgeCount.sizePolicy().hasHeightForWidth())
        self.edtEndAgeCount.setSizePolicy(sizePolicy)
        self.edtEndAgeCount.setMaxLength(3)
        self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount"))
        self.horizontalLayout.addWidget(self.edtEndAgeCount)
        self.gridLayout.addLayout(self.horizontalLayout, 7, 1, 1, 3)
        self.cmbService = CRBComboBox(ItemFinderDialog)
        self.cmbService.setEnabled(False)
        self.cmbService.setObjectName(_fromUtf8("cmbService"))
        self.gridLayout.addWidget(self.cmbService, 8, 1, 1, 5)
        spacerItem = QtGui.QSpacerItem(173, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 7, 5, 1, 2)
        self.cmbMKBSubclass = CRBComboBox(ItemFinderDialog)
        self.cmbMKBSubclass.setEnabled(False)
        self.cmbMKBSubclass.setObjectName(_fromUtf8("cmbMKBSubclass"))
        self.gridLayout.addWidget(self.cmbMKBSubclass, 3, 1, 1, 6)
        self.cmbCharacters = QtGui.QComboBox(ItemFinderDialog)
        self.cmbCharacters.setEnabled(False)
        self.cmbCharacters.setObjectName(_fromUtf8("cmbCharacters"))
        self.gridLayout.addWidget(self.cmbCharacters, 4, 1, 1, 6)
        self.edtDuration = QtGui.QSpinBox(ItemFinderDialog)
        self.edtDuration.setEnabled(False)
        self.edtDuration.setMaximum(999)
        self.edtDuration.setObjectName(_fromUtf8("edtDuration"))
        self.gridLayout.addWidget(self.edtDuration, 5, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(289, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 5, 2, 1, 5)
        self.cmbSex = QtGui.QComboBox(ItemFinderDialog)
        self.cmbSex.setEnabled(False)
        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, 6, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(289, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 6, 2, 1, 5)
        self.buttonBox = QtGui.QDialogButtonBox(ItemFinderDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 13, 0, 1, 7)
        self.edtEndDate = CDateEdit(ItemFinderDialog)
        self.edtEndDate.setEnabled(False)
        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.setDate(QtCore.QDate(2200, 1, 1))
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 9, 5, 1, 1)
        self.edtBegDate = CDateEdit(ItemFinderDialog)
        self.edtBegDate.setEnabled(False)
        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, 9, 1, 1, 1)
        self.chkSex = QtGui.QCheckBox(ItemFinderDialog)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 6, 0, 1, 1)
        self.chkMKBSubclass = QtGui.QCheckBox(ItemFinderDialog)
        self.chkMKBSubclass.setObjectName(_fromUtf8("chkMKBSubclass"))
        self.gridLayout.addWidget(self.chkMKBSubclass, 3, 0, 1, 1)
        self.chkCode = QtGui.QCheckBox(ItemFinderDialog)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout.addWidget(self.chkCode, 0, 0, 1, 1)
        self.chkName = QtGui.QCheckBox(ItemFinderDialog)
        self.chkName.setObjectName(_fromUtf8("chkName"))
        self.gridLayout.addWidget(self.chkName, 1, 0, 2, 1)
        self.chkCharacters = QtGui.QCheckBox(ItemFinderDialog)
        self.chkCharacters.setObjectName(_fromUtf8("chkCharacters"))
        self.gridLayout.addWidget(self.chkCharacters, 4, 0, 1, 1)
        self.chkDuration = QtGui.QCheckBox(ItemFinderDialog)
        self.chkDuration.setObjectName(_fromUtf8("chkDuration"))
        self.gridLayout.addWidget(self.chkDuration, 5, 0, 1, 1)
        self.chkService = QtGui.QCheckBox(ItemFinderDialog)
        self.chkService.setObjectName(_fromUtf8("chkService"))
        self.gridLayout.addWidget(self.chkService, 8, 0, 1, 1)
        self.chkEndDate = QtGui.QCheckBox(ItemFinderDialog)
        self.chkEndDate.setObjectName(_fromUtf8("chkEndDate"))
        self.gridLayout.addWidget(self.chkEndDate, 9, 4, 1, 1)
        self.chkAge = QtGui.QCheckBox(ItemFinderDialog)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 7, 0, 1, 1)
        self.edtName = QtGui.QTextEdit(ItemFinderDialog)
        self.edtName.setEnabled(False)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 1, 1, 1, 6)
        self.chkBegDate = QtGui.QCheckBox(ItemFinderDialog)
        self.chkBegDate.setObjectName(_fromUtf8("chkBegDate"))
        self.gridLayout.addWidget(self.chkBegDate, 9, 0, 1, 1)
        self.chkOMSMTR = QtGui.QCheckBox(ItemFinderDialog)
        self.chkOMSMTR.setObjectName(_fromUtf8("chkOMSMTR"))
        self.gridLayout.addWidget(self.chkOMSMTR, 10, 0, 1, 1)
        self.chkMTR = QtGui.QCheckBox(ItemFinderDialog)
        self.chkMTR.setEnabled(False)
        self.chkMTR.setObjectName(_fromUtf8("chkMTR"))
        self.gridLayout.addWidget(self.chkMTR, 10, 2, 1, 1)
        self.chkOMS = QtGui.QCheckBox(ItemFinderDialog)
        self.chkOMS.setEnabled(False)
        self.chkOMS.setObjectName(_fromUtf8("chkOMS"))
        self.gridLayout.addWidget(self.chkOMS, 10, 1, 1, 1)
        self.lblAgeSep.setBuddy(self.cmbEndAgeUnit)

        self.retranslateUi(ItemFinderDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ItemFinderDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ItemFinderDialog.reject)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtCode.setEnabled)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkPrim.setEnabled)
        QtCore.QObject.connect(self.chkMKBSubclass,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBSubclass.setEnabled)
        QtCore.QObject.connect(self.chkCharacters,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCharacters.setEnabled)
        QtCore.QObject.connect(self.chkDuration,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtDuration.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbBegAgeUnit.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegAgeCount.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblAgeSep.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEndAgeUnit.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndAgeCount.setEnabled)
        QtCore.QObject.connect(self.chkService,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbService.setEnabled)
        QtCore.QObject.connect(self.chkService,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.btnSelectService.setEnabled)
        QtCore.QObject.connect(self.chkBegDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegDate.setEnabled)
        QtCore.QObject.connect(self.chkEndDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndDate.setEnabled)
        QtCore.QObject.connect(self.chkName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtName.setEnabled)
        QtCore.QObject.connect(self.chkOMSMTR,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkOMS.setEnabled)
        QtCore.QObject.connect(self.chkOMSMTR,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkMTR.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ItemFinderDialog)
        ItemFinderDialog.setTabOrder(self.edtCode, self.chkPrim)
        ItemFinderDialog.setTabOrder(self.chkPrim, self.edtName)
        ItemFinderDialog.setTabOrder(self.edtName, self.cmbMKBSubclass)
        ItemFinderDialog.setTabOrder(self.cmbMKBSubclass, self.cmbCharacters)
        ItemFinderDialog.setTabOrder(self.cmbCharacters, self.edtDuration)
        ItemFinderDialog.setTabOrder(self.edtDuration, self.cmbSex)
        ItemFinderDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit)
        ItemFinderDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount)
        ItemFinderDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit)
        ItemFinderDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount)
        ItemFinderDialog.setTabOrder(self.edtEndAgeCount, self.cmbService)
        ItemFinderDialog.setTabOrder(self.cmbService, self.btnSelectService)
        ItemFinderDialog.setTabOrder(self.btnSelectService, self.buttonBox)

    def retranslateUi(self, ItemFinderDialog):
        ItemFinderDialog.setWindowTitle(
            _translate("ItemFinderDialog", "ChangeMe!", None))
        self.chkPrim.setWhatsThis(
            _translate("ItemFinderDialog",
                       "В справочнике МКБ обычно отмечается звёздочкой", None))
        self.chkPrim.setText(
            _translate("ItemFinderDialog", "уточняется в других рубриках",
                       None))
        self.btnSelectService.setText(
            _translate("ItemFinderDialog", "...", None))
        self.cmbBegAgeUnit.setItemText(
            1, _translate("ItemFinderDialog", "Д", None))
        self.cmbBegAgeUnit.setItemText(
            2, _translate("ItemFinderDialog", "Н", None))
        self.cmbBegAgeUnit.setItemText(
            3, _translate("ItemFinderDialog", "М", None))
        self.cmbBegAgeUnit.setItemText(
            4, _translate("ItemFinderDialog", "Г", None))
        self.edtBegAgeCount.setInputMask(
            _translate("ItemFinderDialog", "000; ", None))
        self.lblAgeSep.setText(_translate("ItemFinderDialog", "по", None))
        self.cmbEndAgeUnit.setItemText(
            1, _translate("ItemFinderDialog", "Д", None))
        self.cmbEndAgeUnit.setItemText(
            2, _translate("ItemFinderDialog", "Н", None))
        self.cmbEndAgeUnit.setItemText(
            3, _translate("ItemFinderDialog", "М", None))
        self.cmbEndAgeUnit.setItemText(
            4, _translate("ItemFinderDialog", "Г", None))
        self.edtEndAgeCount.setInputMask(
            _translate("ItemFinderDialog", "000; ", None))
        self.cmbMKBSubclass.setWhatsThis(
            _translate(
                "ItemFinderDialog",
                "Последующее уточнение кода диагноза, не предписанное справочником МКБ",
                None))
        self.cmbCharacters.setWhatsThis(
            _translate(
                "ItemFinderDialog",
                "Допустимый характер заболевания, применяется для контроля ввода",
                None))
        self.cmbSex.setItemText(1, _translate("ItemFinderDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ItemFinderDialog", "Ж", None))
        self.chkSex.setText(_translate("ItemFinderDialog", "&Пол", None))
        self.chkMKBSubclass.setText(
            _translate("ItemFinderDialog", "Cу&бклассификация\n"
                       "МКБ по 5 знаку", None))
        self.chkCode.setText(_translate("ItemFinderDialog", "Код", None))
        self.chkName.setText(
            _translate("ItemFinderDialog", "Наименование", None))
        self.chkCharacters.setText(
            _translate("ItemFinderDialog", "&Характер", None))
        self.chkDuration.setText(
            _translate("ItemFinderDialog", "&Длительность", None))
        self.chkService.setText(_translate("ItemFinderDialog", "&Услуга",
                                           None))
        self.chkEndDate.setText(
            _translate("ItemFinderDialog", "Дата окончания:", None))
        self.chkAge.setText(_translate("ItemFinderDialog", "&Возраст", None))
        self.chkBegDate.setText(
            _translate("ItemFinderDialog", "Дата начала:", None))
        self.chkOMSMTR.setText(
            _translate("ItemFinderDialog", "Краевой/Инокрай", None))
        self.chkMTR.setText(_translate("ItemFinderDialog", "Инокраевой", None))
        self.chkOMS.setText(_translate("ItemFinderDialog", "Краевой", None))
Example #22
0
class Ui_DailyJournalBeforeRecordSetup(object):
    def setupUi(self, DailyJournalBeforeRecordSetup):
        DailyJournalBeforeRecordSetup.setObjectName(_fromUtf8("DailyJournalBeforeRecordSetup"))
        DailyJournalBeforeRecordSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        DailyJournalBeforeRecordSetup.resize(605, 392)
        DailyJournalBeforeRecordSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(DailyJournalBeforeRecordSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbAccountingSystem = CRBComboBox(DailyJournalBeforeRecordSetup)
        self.cmbAccountingSystem.setObjectName(_fromUtf8("cmbAccountingSystem"))
        self.gridLayout.addWidget(self.cmbAccountingSystem, 5, 2, 1, 3)
        self.cmbOrderSorting = QtGui.QComboBox(DailyJournalBeforeRecordSetup)
        self.cmbOrderSorting.setObjectName(_fromUtf8("cmbOrderSorting"))
        self.cmbOrderSorting.addItem(_fromUtf8(""))
        self.cmbOrderSorting.addItem(_fromUtf8(""))
        self.cmbOrderSorting.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrderSorting, 6, 2, 1, 3)
        self.lblOrgStructure = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        self.chkFreeTimes = QtGui.QCheckBox(DailyJournalBeforeRecordSetup)
        self.chkFreeTimes.setObjectName(_fromUtf8("chkFreeTimes"))
        self.gridLayout.addWidget(self.chkFreeTimes, 8, 2, 1, 2)
        self.chkNoTimeLinePerson = QtGui.QCheckBox(DailyJournalBeforeRecordSetup)
        self.chkNoTimeLinePerson.setObjectName(_fromUtf8("chkNoTimeLinePerson"))
        self.gridLayout.addWidget(self.chkNoTimeLinePerson, 10, 2, 1, 2)
        self.lblBegDate = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.lblOrderSorting = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblOrderSorting.setObjectName(_fromUtf8("lblOrderSorting"))
        self.gridLayout.addWidget(self.lblOrderSorting, 6, 0, 1, 1)
        self.lblUserProfile = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblUserProfile.setObjectName(_fromUtf8("lblUserProfile"))
        self.gridLayout.addWidget(self.lblUserProfile, 5, 0, 1, 1)
        self.edtBegDate = CDateEdit(DailyJournalBeforeRecordSetup)
        self.edtBegDate.setEnabled(True)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(DailyJournalBeforeRecordSetup)
        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, 4)
        self.lblIsPrimary = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblIsPrimary.setObjectName(_fromUtf8("lblIsPrimary"))
        self.gridLayout.addWidget(self.lblIsPrimary, 7, 0, 1, 2)
        self.chkPegeFormat = QtGui.QCheckBox(DailyJournalBeforeRecordSetup)
        self.chkPegeFormat.setChecked(True)
        self.chkPegeFormat.setObjectName(_fromUtf8("chkPegeFormat"))
        self.gridLayout.addWidget(self.chkPegeFormat, 9, 2, 1, 2)
        self.lblPerson = QtGui.QLabel(DailyJournalBeforeRecordSetup)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.chkViewBirthDate = QtGui.QCheckBox(DailyJournalBeforeRecordSetup)
        self.chkViewBirthDate.setObjectName(_fromUtf8("chkViewBirthDate"))
        self.gridLayout.addWidget(self.chkViewBirthDate, 11, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 13, 1, 1, 1)
        self.chkViewRegAdress = QtGui.QCheckBox(DailyJournalBeforeRecordSetup)
        self.chkViewRegAdress.setObjectName(_fromUtf8("chkViewRegAdress"))
        self.gridLayout.addWidget(self.chkViewRegAdress, 12, 2, 1, 1)
        self.cmbIsPrimary = QtGui.QComboBox(DailyJournalBeforeRecordSetup)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsPrimary, 7, 2, 1, 3)
        self.cmbPerson = CPersonComboBoxEx(DailyJournalBeforeRecordSetup)
        self.cmbPerson.setEnabled(True)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 4, 2, 1, 3)
        self.cmbOrgStructure = COrgStructureComboBox(DailyJournalBeforeRecordSetup)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 2, 1, 2)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblPerson.setBuddy(self.cmbPerson)

        self.retranslateUi(DailyJournalBeforeRecordSetup)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DailyJournalBeforeRecordSetup.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DailyJournalBeforeRecordSetup.reject)
        QtCore.QMetaObject.connectSlotsByName(DailyJournalBeforeRecordSetup)
        DailyJournalBeforeRecordSetup.setTabOrder(self.edtBegDate, self.cmbOrgStructure)
        DailyJournalBeforeRecordSetup.setTabOrder(self.cmbOrgStructure, self.cmbPerson)
        DailyJournalBeforeRecordSetup.setTabOrder(self.cmbPerson, self.cmbAccountingSystem)
        DailyJournalBeforeRecordSetup.setTabOrder(self.cmbAccountingSystem, self.cmbOrderSorting)
        DailyJournalBeforeRecordSetup.setTabOrder(self.cmbOrderSorting, self.cmbIsPrimary)
        DailyJournalBeforeRecordSetup.setTabOrder(self.cmbIsPrimary, self.chkFreeTimes)
        DailyJournalBeforeRecordSetup.setTabOrder(self.chkFreeTimes, self.chkPegeFormat)
        DailyJournalBeforeRecordSetup.setTabOrder(self.chkPegeFormat, self.chkNoTimeLinePerson)
        DailyJournalBeforeRecordSetup.setTabOrder(self.chkNoTimeLinePerson, self.buttonBox)

    def retranslateUi(self, DailyJournalBeforeRecordSetup):
        DailyJournalBeforeRecordSetup.setWindowTitle(_translate("DailyJournalBeforeRecordSetup", "Суточный журнал предварительной записи", None))
        self.cmbOrderSorting.setItemText(0, _translate("DailyJournalBeforeRecordSetup", "по идентификатору", None))
        self.cmbOrderSorting.setItemText(1, _translate("DailyJournalBeforeRecordSetup", "по времени", None))
        self.cmbOrderSorting.setItemText(2, _translate("DailyJournalBeforeRecordSetup", "по ФИО", None))
        self.lblOrgStructure.setText(_translate("DailyJournalBeforeRecordSetup", "Подразделение", None))
        self.chkFreeTimes.setText(_translate("DailyJournalBeforeRecordSetup", "Выводить свободное время", None))
        self.chkNoTimeLinePerson.setText(_translate("DailyJournalBeforeRecordSetup", "Выводить пустые графики", None))
        self.lblBegDate.setText(_translate("DailyJournalBeforeRecordSetup", "Дата", None))
        self.lblOrderSorting.setText(_translate("DailyJournalBeforeRecordSetup", "Порядок сортировки", None))
        self.lblUserProfile.setText(_translate("DailyJournalBeforeRecordSetup", "Тип идентификатора пациента", None))
        self.lblIsPrimary.setText(_translate("DailyJournalBeforeRecordSetup", "Первичные", None))
        self.chkPegeFormat.setText(_translate("DailyJournalBeforeRecordSetup", "Выводить с начала листа", None))
        self.lblPerson.setText(_translate("DailyJournalBeforeRecordSetup", "&Врач", None))
        self.chkViewBirthDate.setText(_translate("DailyJournalBeforeRecordSetup", "Выводить дату рождения вместо возраста", None))
        self.chkViewRegAdress.setText(_translate("DailyJournalBeforeRecordSetup", "Выводить адрес регистрации вместо прикрекления", None))
        self.cmbIsPrimary.setItemText(0, _translate("DailyJournalBeforeRecordSetup", "Нет", None))
        self.cmbIsPrimary.setItemText(1, _translate("DailyJournalBeforeRecordSetup", "Да", None))
Example #23
0
class Ui_JobsOperatingDialog(object):
    def setupUi(self, JobsOperatingDialog):
        JobsOperatingDialog.setObjectName(_fromUtf8("JobsOperatingDialog"))
        JobsOperatingDialog.setWindowModality(QtCore.Qt.NonModal)
        JobsOperatingDialog.resize(1159, 743)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(JobsOperatingDialog.sizePolicy().hasHeightForWidth())
        JobsOperatingDialog.setSizePolicy(sizePolicy)
        JobsOperatingDialog.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.verticalLayout_3 = QtGui.QVBoxLayout(JobsOperatingDialog)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.splitter_2 = QtGui.QSplitter(JobsOperatingDialog)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.pnlFilter = QtGui.QWidget(self.splitter_2)
        self.pnlFilter.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pnlFilter.sizePolicy().hasHeightForWidth())
        self.pnlFilter.setSizePolicy(sizePolicy)
        self.pnlFilter.setObjectName(_fromUtf8("pnlFilter"))
        self.verticalLayout = QtGui.QVBoxLayout(self.pnlFilter)
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.pnlSmartFilter = QtGui.QWidget(self.pnlFilter)
        self.pnlSmartFilter.setObjectName(_fromUtf8("pnlSmartFilter"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.pnlSmartFilter)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.splitter = QtGui.QSplitter(self.pnlSmartFilter)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.treeOrgStructure = QtGui.QTreeView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(10)
        sizePolicy.setHeightForWidth(self.treeOrgStructure.sizePolicy().hasHeightForWidth())
        self.treeOrgStructure.setSizePolicy(sizePolicy)
        self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure"))
        self.tabDateClientFilter = QtGui.QTabWidget(self.splitter)
        self.tabDateClientFilter.setObjectName(_fromUtf8("tabDateClientFilter"))
        self.tabDateFilter = QtGui.QWidget()
        self.tabDateFilter.setObjectName(_fromUtf8("tabDateFilter"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabDateFilter)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.calendar = CCalendarWidget(self.tabDateFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.calendar.sizePolicy().hasHeightForWidth())
        self.calendar.setSizePolicy(sizePolicy)
        self.calendar.setFirstDayOfWeek(QtCore.Qt.Monday)
        self.calendar.setGridVisible(False)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.gridLayout_2.addWidget(self.calendar, 1, 1, 1, 1)
        self.pnlDateRange = QtGui.QWidget(self.tabDateFilter)
        self.pnlDateRange.setEnabled(False)
        self.pnlDateRange.setObjectName(_fromUtf8("pnlDateRange"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.pnlDateRange)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblDateRangeFrom = QtGui.QLabel(self.pnlDateRange)
        self.lblDateRangeFrom.setEnabled(False)
        self.lblDateRangeFrom.setObjectName(_fromUtf8("lblDateRangeFrom"))
        self.horizontalLayout.addWidget(self.lblDateRangeFrom)
        self.edtDateRangeFrom = CDateEdit(self.pnlDateRange)
        self.edtDateRangeFrom.setEnabled(False)
        self.edtDateRangeFrom.setObjectName(_fromUtf8("edtDateRangeFrom"))
        self.horizontalLayout.addWidget(self.edtDateRangeFrom)
        self.lblDateRangeTo = QtGui.QLabel(self.pnlDateRange)
        self.lblDateRangeTo.setEnabled(False)
        self.lblDateRangeTo.setObjectName(_fromUtf8("lblDateRangeTo"))
        self.horizontalLayout.addWidget(self.lblDateRangeTo)
        self.edtDateRangeTo = CDateEdit(self.pnlDateRange)
        self.edtDateRangeTo.setEnabled(False)
        self.edtDateRangeTo.setObjectName(_fromUtf8("edtDateRangeTo"))
        self.horizontalLayout.addWidget(self.edtDateRangeTo)
        self.gridLayout_2.addWidget(self.pnlDateRange, 2, 1, 1, 1)
        self.btnCalendarDate = QtGui.QRadioButton(self.tabDateFilter)
        self.btnCalendarDate.setText(_fromUtf8(""))
        self.btnCalendarDate.setCheckable(True)
        self.btnCalendarDate.setChecked(True)
        self.btnCalendarDate.setObjectName(_fromUtf8("btnCalendarDate"))
        self.gridLayout_2.addWidget(self.btnCalendarDate, 1, 0, 1, 1)
        self.btnDateRange = QtGui.QRadioButton(self.tabDateFilter)
        self.btnDateRange.setText(_fromUtf8(""))
        self.btnDateRange.setObjectName(_fromUtf8("btnDateRange"))
        self.gridLayout_2.addWidget(self.btnDateRange, 2, 0, 1, 1)
        self.tabDateClientFilter.addTab(self.tabDateFilter, _fromUtf8(""))
        self.tblJobTypes = CTableView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(10)
        sizePolicy.setHeightForWidth(self.tblJobTypes.sizePolicy().hasHeightForWidth())
        self.tblJobTypes.setSizePolicy(sizePolicy)
        self.tblJobTypes.setObjectName(_fromUtf8("tblJobTypes"))
        self.verticalLayout_4.addWidget(self.splitter)
        self.verticalLayout_2.addWidget(self.pnlSmartFilter)
        self.verticalLayout.addLayout(self.verticalLayout_2)
        self.pnlJobTickets = QtGui.QWidget(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(10)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pnlJobTickets.sizePolicy().hasHeightForWidth())
        self.pnlJobTickets.setSizePolicy(sizePolicy)
        self.pnlJobTickets.setObjectName(_fromUtf8("pnlJobTickets"))
        self.gridLayout_4 = QtGui.QGridLayout(self.pnlJobTickets)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.lblSuperviseInfo = QtGui.QLabel(self.pnlJobTickets)
        self.lblSuperviseInfo.setObjectName(_fromUtf8("lblSuperviseInfo"))
        self.gridLayout_4.addWidget(self.lblSuperviseInfo, 4, 2, 1, 1)
        self.tblJobTickets = CJobTicketsView(self.pnlJobTickets)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblJobTickets.sizePolicy().hasHeightForWidth())
        self.tblJobTickets.setSizePolicy(sizePolicy)
        self.tblJobTickets.setObjectName(_fromUtf8("tblJobTickets"))
        self.gridLayout_4.addWidget(self.tblJobTickets, 0, 1, 1, 2)
        self.lblTicketsCount = QtGui.QLabel(self.pnlJobTickets)
        self.lblTicketsCount.setObjectName(_fromUtf8("lblTicketsCount"))
        self.gridLayout_4.addWidget(self.lblTicketsCount, 4, 1, 1, 1)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setContentsMargins(-1, -1, 0, -1)
        self.gridLayout_3.setHorizontalSpacing(1)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblCurrentTablePage = QtGui.QLabel(self.pnlJobTickets)
        self.lblCurrentTablePage.setEnabled(False)
        self.lblCurrentTablePage.setMinimumSize(QtCore.QSize(100, 0))
        self.lblCurrentTablePage.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCurrentTablePage.setObjectName(_fromUtf8("lblCurrentTablePage"))
        self.gridLayout_3.addWidget(self.lblCurrentTablePage, 0, 2, 1, 1)
        self.btnNextTablePage = QtGui.QPushButton(self.pnlJobTickets)
        self.btnNextTablePage.setEnabled(False)
        self.btnNextTablePage.setObjectName(_fromUtf8("btnNextTablePage"))
        self.gridLayout_3.addWidget(self.btnNextTablePage, 0, 3, 1, 1)
        self.btnPrevTablePage = QtGui.QPushButton(self.pnlJobTickets)
        self.btnPrevTablePage.setEnabled(False)
        self.btnPrevTablePage.setObjectName(_fromUtf8("btnPrevTablePage"))
        self.gridLayout_3.addWidget(self.btnPrevTablePage, 0, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 3, 2, 1, 1)
        self.lblMaxTablePagesCount = QtGui.QLabel(self.pnlJobTickets)
        self.lblMaxTablePagesCount.setEnabled(False)
        self.lblMaxTablePagesCount.setObjectName(_fromUtf8("lblMaxTablePagesCount"))
        self.gridLayout_4.addWidget(self.lblMaxTablePagesCount, 3, 1, 1, 1)
        self.verticalLayout_3.addWidget(self.splitter_2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnEnableStaticFilter = QtGui.QToolButton(JobsOperatingDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnEnableStaticFilter.sizePolicy().hasHeightForWidth())
        self.btnEnableStaticFilter.setSizePolicy(sizePolicy)
        self.btnEnableStaticFilter.setCheckable(True)
        self.btnEnableStaticFilter.setChecked(True)
        self.btnEnableStaticFilter.setAutoExclusive(False)
        self.btnEnableStaticFilter.setObjectName(_fromUtf8("btnEnableStaticFilter"))
        self.horizontalLayout_2.addWidget(self.btnEnableStaticFilter)
        self.btnEnableEQueue = QtGui.QToolButton(JobsOperatingDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnEnableEQueue.sizePolicy().hasHeightForWidth())
        self.btnEnableEQueue.setSizePolicy(sizePolicy)
        self.btnEnableEQueue.setCheckable(True)
        self.btnEnableEQueue.setAutoExclusive(False)
        self.btnEnableEQueue.setObjectName(_fromUtf8("btnEnableEQueue"))
        self.horizontalLayout_2.addWidget(self.btnEnableEQueue)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.grpStaticFilter = QtGui.QStackedWidget(JobsOperatingDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpStaticFilter.sizePolicy().hasHeightForWidth())
        self.grpStaticFilter.setSizePolicy(sizePolicy)
        self.grpStaticFilter.setMinimumSize(QtCore.QSize(0, 0))
        self.grpStaticFilter.setObjectName(_fromUtf8("grpStaticFilter"))
        self.grpStaticFilterPage1 = QtGui.QWidget()
        self.grpStaticFilterPage1.setObjectName(_fromUtf8("grpStaticFilterPage1"))
        self.gridLayout = QtGui.QGridLayout(self.grpStaticFilterPage1)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grpPersonFilter = QtGui.QGroupBox(self.grpStaticFilterPage1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpPersonFilter.sizePolicy().hasHeightForWidth())
        self.grpPersonFilter.setSizePolicy(sizePolicy)
        self.grpPersonFilter.setObjectName(_fromUtf8("grpPersonFilter"))
        self.gridLayout_8 = QtGui.QGridLayout(self.grpPersonFilter)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.lblOrgStructure = QtGui.QLabel(self.grpPersonFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, 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_8.addWidget(self.lblOrgStructure, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.grpPersonFilter)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_8.addWidget(self.cmbOrgStructure, 0, 1, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.grpPersonFilter)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_8.addWidget(self.lblSpeciality, 1, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.grpPersonFilter)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_8.addWidget(self.cmbSpeciality, 1, 1, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpPersonFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPerson.sizePolicy().hasHeightForWidth())
        self.lblPerson.setSizePolicy(sizePolicy)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_8.addWidget(self.lblPerson, 2, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.grpPersonFilter)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_8.addWidget(self.cmbPerson, 2, 1, 1, 1)
        self.chkFilterListLength = QtGui.QCheckBox(self.grpPersonFilter)
        self.chkFilterListLength.setEnabled(True)
        self.chkFilterListLength.setChecked(True)
        self.chkFilterListLength.setObjectName(_fromUtf8("chkFilterListLength"))
        self.gridLayout_8.addWidget(self.chkFilterListLength, 3, 1, 1, 1)
        self.edtFilterListLength = QtGui.QSpinBox(self.grpPersonFilter)
        self.edtFilterListLength.setMaximum(1000000000)
        self.edtFilterListLength.setProperty("value", 250)
        self.edtFilterListLength.setObjectName(_fromUtf8("edtFilterListLength"))
        self.gridLayout_8.addWidget(self.edtFilterListLength, 4, 1, 1, 1)
        self.buttonBoxFilter = QtGui.QDialogButtonBox(self.grpPersonFilter)
        self.buttonBoxFilter.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBoxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Reset)
        self.buttonBoxFilter.setObjectName(_fromUtf8("buttonBoxFilter"))
        self.gridLayout_8.addWidget(self.buttonBoxFilter, 5, 0, 1, 2)
        self.gridLayout.addWidget(self.grpPersonFilter, 10, 2, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.grpStaticFilterPage1)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_6 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.chkClientLastName = QtGui.QCheckBox(self.groupBox_2)
        self.chkClientLastName.setObjectName(_fromUtf8("chkClientLastName"))
        self.gridLayout_6.addWidget(self.chkClientLastName, 0, 0, 1, 2)
        self.edtClientLastName = QtGui.QLineEdit(self.groupBox_2)
        self.edtClientLastName.setEnabled(False)
        self.edtClientLastName.setObjectName(_fromUtf8("edtClientLastName"))
        self.gridLayout_6.addWidget(self.edtClientLastName, 0, 2, 1, 4)
        self.chkClientFirstName = QtGui.QCheckBox(self.groupBox_2)
        self.chkClientFirstName.setObjectName(_fromUtf8("chkClientFirstName"))
        self.gridLayout_6.addWidget(self.chkClientFirstName, 1, 0, 1, 2)
        self.edtClientFirstName = QtGui.QLineEdit(self.groupBox_2)
        self.edtClientFirstName.setEnabled(False)
        self.edtClientFirstName.setObjectName(_fromUtf8("edtClientFirstName"))
        self.gridLayout_6.addWidget(self.edtClientFirstName, 1, 2, 1, 4)
        self.chkClientPatrName = QtGui.QCheckBox(self.groupBox_2)
        self.chkClientPatrName.setObjectName(_fromUtf8("chkClientPatrName"))
        self.gridLayout_6.addWidget(self.chkClientPatrName, 2, 0, 1, 2)
        self.edtClientPatrName = QtGui.QLineEdit(self.groupBox_2)
        self.edtClientPatrName.setEnabled(False)
        self.edtClientPatrName.setObjectName(_fromUtf8("edtClientPatrName"))
        self.gridLayout_6.addWidget(self.edtClientPatrName, 2, 2, 1, 4)
        self.lblSex = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblSex.sizePolicy().hasHeightForWidth())
        self.lblSex.setSizePolicy(sizePolicy)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout_6.addWidget(self.lblSex, 3, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.groupBox_2)
        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_6.addWidget(self.cmbSex, 3, 1, 1, 2)
        self.lblAge = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAge.sizePolicy().hasHeightForWidth())
        self.lblAge.setSizePolicy(sizePolicy)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout_6.addWidget(self.lblAge, 4, 0, 1, 1)
        self.edtAgeFrom = QtGui.QSpinBox(self.groupBox_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.gridLayout_6.addWidget(self.edtAgeFrom, 4, 1, 1, 2)
        self.lblAgeTo = QtGui.QLabel(self.groupBox_2)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.gridLayout_6.addWidget(self.lblAgeTo, 4, 3, 1, 1)
        self.edtAgeTo = QtGui.QSpinBox(self.groupBox_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.gridLayout_6.addWidget(self.edtAgeTo, 4, 4, 1, 1)
        self.lblAgeYears = QtGui.QLabel(self.groupBox_2)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.gridLayout_6.addWidget(self.lblAgeYears, 4, 5, 1, 1)
        self.gridLayout.addWidget(self.groupBox_2, 10, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.grpStaticFilterPage1)
        self.groupBox_3.setTitle(_fromUtf8(""))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_7 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.chkClientId = QtGui.QCheckBox(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkClientId.sizePolicy().hasHeightForWidth())
        self.chkClientId.setSizePolicy(sizePolicy)
        self.chkClientId.setObjectName(_fromUtf8("chkClientId"))
        self.gridLayout_7.addWidget(self.chkClientId, 0, 0, 1, 1)
        self.cmbClientAccountingSystem = CRBComboBox(self.groupBox_3)
        self.cmbClientAccountingSystem.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbClientAccountingSystem.sizePolicy().hasHeightForWidth())
        self.cmbClientAccountingSystem.setSizePolicy(sizePolicy)
        self.cmbClientAccountingSystem.setObjectName(_fromUtf8("cmbClientAccountingSystem"))
        self.gridLayout_7.addWidget(self.cmbClientAccountingSystem, 0, 1, 1, 3)
        self.edtClientId = QtGui.QLineEdit(self.groupBox_3)
        self.edtClientId.setEnabled(False)
        self.edtClientId.setInputMask(_fromUtf8(""))
        self.edtClientId.setMaxLength(32767)
        self.edtClientId.setObjectName(_fromUtf8("edtClientId"))
        self.gridLayout_7.addWidget(self.edtClientId, 1, 0, 1, 4)
        self.chkJobTicketId = QtGui.QCheckBox(self.groupBox_3)
        self.chkJobTicketId.setObjectName(_fromUtf8("chkJobTicketId"))
        self.gridLayout_7.addWidget(self.chkJobTicketId, 2, 0, 1, 2)
        self.edtJobTicketId = QtGui.QLineEdit(self.groupBox_3)
        self.edtJobTicketId.setEnabled(False)
        self.edtJobTicketId.setObjectName(_fromUtf8("edtJobTicketId"))
        self.gridLayout_7.addWidget(self.edtJobTicketId, 2, 2, 1, 2)
        self.lblTissueType = QtGui.QLabel(self.groupBox_3)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_7.addWidget(self.lblTissueType, 3, 0, 1, 2)
        self.line = QtGui.QFrame(self.groupBox_3)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_7.addWidget(self.line, 3, 2, 4, 1)
        self.chkAwaiting = QtGui.QCheckBox(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAwaiting.sizePolicy().hasHeightForWidth())
        self.chkAwaiting.setSizePolicy(sizePolicy)
        self.chkAwaiting.setChecked(True)
        self.chkAwaiting.setObjectName(_fromUtf8("chkAwaiting"))
        self.gridLayout_7.addWidget(self.chkAwaiting, 3, 3, 1, 1)
        self.cmbTissueType = CRBComboBox(self.groupBox_3)
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_7.addWidget(self.cmbTissueType, 4, 0, 1, 2)
        self.chkInProgress = QtGui.QCheckBox(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkInProgress.sizePolicy().hasHeightForWidth())
        self.chkInProgress.setSizePolicy(sizePolicy)
        self.chkInProgress.setAutoFillBackground(False)
        self.chkInProgress.setObjectName(_fromUtf8("chkInProgress"))
        self.gridLayout_7.addWidget(self.chkInProgress, 4, 3, 1, 1)
        self.lblTakenTissueType = QtGui.QLabel(self.groupBox_3)
        self.lblTakenTissueType.setObjectName(_fromUtf8("lblTakenTissueType"))
        self.gridLayout_7.addWidget(self.lblTakenTissueType, 5, 0, 1, 2)
        self.chkDone = QtGui.QCheckBox(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkDone.sizePolicy().hasHeightForWidth())
        self.chkDone.setSizePolicy(sizePolicy)
        self.chkDone.setObjectName(_fromUtf8("chkDone"))
        self.gridLayout_7.addWidget(self.chkDone, 5, 3, 1, 1)
        self.cmbTakenTissueType = CRBComboBox(self.groupBox_3)
        self.cmbTakenTissueType.setObjectName(_fromUtf8("cmbTakenTissueType"))
        self.gridLayout_7.addWidget(self.cmbTakenTissueType, 6, 0, 1, 2)
        self.chkOnlyUrgent = QtGui.QCheckBox(self.groupBox_3)
        self.chkOnlyUrgent.setObjectName(_fromUtf8("chkOnlyUrgent"))
        self.gridLayout_7.addWidget(self.chkOnlyUrgent, 6, 3, 1, 1)
        self.gridLayout.addWidget(self.groupBox_3, 10, 1, 1, 1)
        self.grpStaticFilter.addWidget(self.grpStaticFilterPage1)
        self.grbEQueueControlWidget = QtGui.QWidget()
        self.grbEQueueControlWidget.setObjectName(_fromUtf8("grbEQueueControlWidget"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grbEQueueControlWidget)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.eqControlWidget = CEQControlWidget(self.grbEQueueControlWidget)
        self.eqControlWidget.setObjectName(_fromUtf8("eqControlWidget"))
        self.gridLayout_5.addWidget(self.eqControlWidget, 0, 0, 1, 1)
        self.grpStaticFilter.addWidget(self.grbEQueueControlWidget)
        self.verticalLayout_3.addWidget(self.grpStaticFilter)
        self.buttonBox = QtGui.QDialogButtonBox(JobsOperatingDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(JobsOperatingDialog)
        self.tabDateClientFilter.setCurrentIndex(0)
        self.grpStaticFilter.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), JobsOperatingDialog.reject)
        QtCore.QObject.connect(self.btnCalendarDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.calendar.setEnabled)
        QtCore.QObject.connect(self.btnCalendarDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.pnlDateRange.setDisabled)
        QtCore.QObject.connect(self.btnDateRange, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lblDateRangeFrom.setEnabled)
        QtCore.QObject.connect(self.btnDateRange, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lblDateRangeTo.setEnabled)
        QtCore.QObject.connect(self.btnDateRange, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtDateRangeFrom.setEnabled)
        QtCore.QObject.connect(self.btnDateRange, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtDateRangeTo.setEnabled)
        QtCore.QObject.connect(self.chkClientFirstName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtClientFirstName.setEnabled)
        QtCore.QObject.connect(self.chkClientLastName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtClientLastName.setEnabled)
        QtCore.QObject.connect(self.chkClientPatrName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtClientPatrName.setEnabled)
        QtCore.QObject.connect(self.chkClientId, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbClientAccountingSystem.setEnabled)
        QtCore.QObject.connect(self.chkClientId, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtClientId.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(JobsOperatingDialog)
        JobsOperatingDialog.setTabOrder(self.btnCalendarDate, self.btnDateRange)
        JobsOperatingDialog.setTabOrder(self.btnDateRange, self.edtDateRangeFrom)
        JobsOperatingDialog.setTabOrder(self.edtDateRangeFrom, self.edtDateRangeTo)
        JobsOperatingDialog.setTabOrder(self.edtDateRangeTo, self.chkClientLastName)
        JobsOperatingDialog.setTabOrder(self.chkClientLastName, self.edtClientLastName)
        JobsOperatingDialog.setTabOrder(self.edtClientLastName, self.chkClientFirstName)
        JobsOperatingDialog.setTabOrder(self.chkClientFirstName, self.edtClientFirstName)
        JobsOperatingDialog.setTabOrder(self.edtClientFirstName, self.chkClientPatrName)
        JobsOperatingDialog.setTabOrder(self.chkClientPatrName, self.edtClientPatrName)
        JobsOperatingDialog.setTabOrder(self.edtClientPatrName, self.cmbSex)
        JobsOperatingDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        JobsOperatingDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        JobsOperatingDialog.setTabOrder(self.edtAgeTo, self.chkClientId)
        JobsOperatingDialog.setTabOrder(self.chkClientId, self.cmbClientAccountingSystem)
        JobsOperatingDialog.setTabOrder(self.cmbClientAccountingSystem, self.edtClientId)
        JobsOperatingDialog.setTabOrder(self.edtClientId, self.chkJobTicketId)
        JobsOperatingDialog.setTabOrder(self.chkJobTicketId, self.edtJobTicketId)
        JobsOperatingDialog.setTabOrder(self.edtJobTicketId, self.cmbTissueType)
        JobsOperatingDialog.setTabOrder(self.cmbTissueType, self.cmbTakenTissueType)
        JobsOperatingDialog.setTabOrder(self.cmbTakenTissueType, self.chkAwaiting)
        JobsOperatingDialog.setTabOrder(self.chkAwaiting, self.chkInProgress)
        JobsOperatingDialog.setTabOrder(self.chkInProgress, self.chkDone)
        JobsOperatingDialog.setTabOrder(self.chkDone, self.chkOnlyUrgent)
        JobsOperatingDialog.setTabOrder(self.chkOnlyUrgent, self.cmbOrgStructure)
        JobsOperatingDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality)
        JobsOperatingDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        JobsOperatingDialog.setTabOrder(self.cmbPerson, self.chkFilterListLength)
        JobsOperatingDialog.setTabOrder(self.chkFilterListLength, self.edtFilterListLength)
        JobsOperatingDialog.setTabOrder(self.edtFilterListLength, self.buttonBoxFilter)
        JobsOperatingDialog.setTabOrder(self.buttonBoxFilter, self.btnEnableEQueue)
        JobsOperatingDialog.setTabOrder(self.btnEnableEQueue, self.buttonBox)
        JobsOperatingDialog.setTabOrder(self.buttonBox, self.treeOrgStructure)
        JobsOperatingDialog.setTabOrder(self.treeOrgStructure, self.calendar)
        JobsOperatingDialog.setTabOrder(self.calendar, self.tblJobTickets)
        JobsOperatingDialog.setTabOrder(self.tblJobTickets, self.tabDateClientFilter)
        JobsOperatingDialog.setTabOrder(self.tabDateClientFilter, self.tblJobTypes)

    def retranslateUi(self, JobsOperatingDialog):
        JobsOperatingDialog.setWindowTitle(_translate("JobsOperatingDialog", "Выполнение работ", None))
        self.lblDateRangeFrom.setText(_translate("JobsOperatingDialog", "С", None))
        self.lblDateRangeTo.setText(_translate("JobsOperatingDialog", "По", None))
        self.tabDateClientFilter.setTabText(self.tabDateClientFilter.indexOf(self.tabDateFilter), _translate("JobsOperatingDialog", "&Дата", None))
        self.lblSuperviseInfo.setText(_translate("JobsOperatingDialog", "Не выбрана работа", None))
        self.lblTicketsCount.setText(_translate("JobsOperatingDialog", "Список пуст", None))
        self.lblCurrentTablePage.setText(_translate("JobsOperatingDialog", "Страница 1", None))
        self.btnNextTablePage.setText(_translate("JobsOperatingDialog", ">", None))
        self.btnPrevTablePage.setText(_translate("JobsOperatingDialog", "<", None))
        self.lblMaxTablePagesCount.setText(_translate("JobsOperatingDialog", "Всего страниц: ", None))
        self.btnEnableStaticFilter.setText(_translate("JobsOperatingDialog", "Фильтр", None))
        self.btnEnableEQueue.setText(_translate("JobsOperatingDialog", "Электронная очередь", None))
        self.grpPersonFilter.setTitle(_translate("JobsOperatingDialog", "Фильтр по назначившему", None))
        self.lblOrgStructure.setText(_translate("JobsOperatingDialog", "Подразделение", None))
        self.lblSpeciality.setText(_translate("JobsOperatingDialog", "Специальность", None))
        self.cmbSpeciality.setWhatsThis(_translate("JobsOperatingDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None))
        self.lblPerson.setText(_translate("JobsOperatingDialog", "Врач", None))
        self.cmbPerson.setItemText(0, _translate("JobsOperatingDialog", "Врач", None))
        self.chkFilterListLength.setText(_translate("JobsOperatingDialog", "Вывести на экран постранично, количество строк:", None))
        self.chkClientLastName.setText(_translate("JobsOperatingDialog", "Фамилия", None))
        self.chkClientFirstName.setText(_translate("JobsOperatingDialog", "Имя", None))
        self.chkClientPatrName.setText(_translate("JobsOperatingDialog", "Отчество", None))
        self.lblSex.setText(_translate("JobsOperatingDialog", "Пол", None))
        self.cmbSex.setItemText(1, _translate("JobsOperatingDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("JobsOperatingDialog", "Ж", None))
        self.lblAge.setText(_translate("JobsOperatingDialog", "Возраст с", None))
        self.lblAgeTo.setText(_translate("JobsOperatingDialog", "по", None))
        self.lblAgeYears.setText(_translate("JobsOperatingDialog", "лет", None))
        self.chkClientId.setText(_translate("JobsOperatingDialog", "Код", None))
        self.chkJobTicketId.setText(_translate("JobsOperatingDialog", "Идентификатор", None))
        self.lblTissueType.setText(_translate("JobsOperatingDialog", "Биоматериал", None))
        self.chkAwaiting.setText(_translate("JobsOperatingDialog", "&Ожидающие", None))
        self.chkInProgress.setText(_translate("JobsOperatingDialog", "&Выполняемые", None))
        self.lblTakenTissueType.setText(_translate("JobsOperatingDialog", "Забранный биоматериал", None))
        self.chkDone.setText(_translate("JobsOperatingDialog", "&Законченные", None))
        self.chkOnlyUrgent.setText(_translate("JobsOperatingDialog", "Только &срочные", None))
Example #24
0
class Ui_ProbeWorkListWidget(object):
    def setupUi(self, ProbeWorkListWidget):
        ProbeWorkListWidget.setObjectName(_fromUtf8("ProbeWorkListWidget"))
        ProbeWorkListWidget.resize(857, 887)
        self.gridLayout_4 = QtGui.QGridLayout(ProbeWorkListWidget)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.splitter_2 = QtGui.QSplitter(ProbeWorkListWidget)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.grpFilter = QtGui.QGroupBox(self.splitter_2)
        self.grpFilter.setObjectName(_fromUtf8("grpFilter"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpFilter)
        self.gridLayout_2.setMargin(2)
        self.gridLayout_2.setSpacing(2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.cmbPWLEquipment = CRBComboBox(self.grpFilter)
        self.cmbPWLEquipment.setObjectName(_fromUtf8("cmbPWLEquipment"))
        self.gridLayout_2.addWidget(self.cmbPWLEquipment, 6, 0, 1, 2)
        self.lblPWLTestGroup = QtGui.QLabel(self.grpFilter)
        self.lblPWLTestGroup.setObjectName(_fromUtf8("lblPWLTestGroup"))
        self.gridLayout_2.addWidget(self.lblPWLTestGroup, 9, 0, 1, 2)
        self.buttonBoxPWL = CApplyResetDialogButtonBox(self.grpFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.buttonBoxPWL.sizePolicy().hasHeightForWidth())
        self.buttonBoxPWL.setSizePolicy(sizePolicy)
        self.buttonBoxPWL.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                             | QtGui.QDialogButtonBox.Reset)
        self.buttonBoxPWL.setObjectName(_fromUtf8("buttonBoxPWL"))
        self.gridLayout_2.addWidget(self.buttonBoxPWL, 30, 1, 1, 1)
        self.cmbPWLTestGroup = CRBComboBox(self.grpFilter)
        self.cmbPWLTestGroup.setObjectName(_fromUtf8("cmbPWLTestGroup"))
        self.gridLayout_2.addWidget(self.cmbPWLTestGroup, 10, 0, 1, 2)
        self.pnlDates = QtGui.QWidget(self.grpFilter)
        self.pnlDates.setObjectName(_fromUtf8("pnlDates"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.pnlDates)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblDateFrom = QtGui.QLabel(self.pnlDates)
        self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom"))
        self.horizontalLayout.addWidget(self.lblDateFrom)
        self.edtPWLDateFrom = CDateEdit(self.pnlDates)
        self.edtPWLDateFrom.setObjectName(_fromUtf8("edtPWLDateFrom"))
        self.horizontalLayout.addWidget(self.edtPWLDateFrom)
        self.lblDateTo = QtGui.QLabel(self.pnlDates)
        self.lblDateTo.setObjectName(_fromUtf8("lblDateTo"))
        self.horizontalLayout.addWidget(self.lblDateTo)
        self.edtPWLDateTo = CDateEdit(self.pnlDates)
        self.edtPWLDateTo.setObjectName(_fromUtf8("edtPWLDateTo"))
        self.horizontalLayout.addWidget(self.edtPWLDateTo)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout_2.addWidget(self.pnlDates, 27, 0, 1, 2)
        self.cmbPWLStatus = QtGui.QComboBox(self.grpFilter)
        self.cmbPWLStatus.setObjectName(_fromUtf8("cmbPWLStatus"))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.cmbPWLStatus.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPWLStatus, 14, 0, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 29, 0, 1, 2)
        self.grpClient = QtGui.QGroupBox(self.grpFilter)
        self.grpClient.setCheckable(True)
        self.grpClient.setChecked(False)
        self.grpClient.setObjectName(_fromUtf8("grpClient"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grpClient)
        self.gridLayout_5.setMargin(2)
        self.gridLayout_5.setSpacing(2)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.chkPWLId = QtGui.QCheckBox(self.grpClient)
        self.chkPWLId.setObjectName(_fromUtf8("chkPWLId"))
        self.gridLayout_5.addWidget(self.chkPWLId, 0, 0, 1, 1)
        self.cmbPWLAccountingSystem = CRBComboBox(self.grpClient)
        self.cmbPWLAccountingSystem.setEnabled(False)
        self.cmbPWLAccountingSystem.setObjectName(
            _fromUtf8("cmbPWLAccountingSystem"))
        self.gridLayout_5.addWidget(self.cmbPWLAccountingSystem, 0, 1, 1, 2)
        self.edtPWLId = QtGui.QLineEdit(self.grpClient)
        self.edtPWLId.setEnabled(False)
        self.edtPWLId.setInputMask(_fromUtf8(""))
        self.edtPWLId.setMaxLength(32767)
        self.edtPWLId.setObjectName(_fromUtf8("edtPWLId"))
        self.gridLayout_5.addWidget(self.edtPWLId, 1, 0, 1, 3)
        self.chkPWLLastName = QtGui.QCheckBox(self.grpClient)
        self.chkPWLLastName.setObjectName(_fromUtf8("chkPWLLastName"))
        self.gridLayout_5.addWidget(self.chkPWLLastName, 2, 0, 1, 1)
        self.edtPWLLastName = QtGui.QLineEdit(self.grpClient)
        self.edtPWLLastName.setEnabled(False)
        self.edtPWLLastName.setObjectName(_fromUtf8("edtPWLLastName"))
        self.gridLayout_5.addWidget(self.edtPWLLastName, 2, 1, 1, 2)
        self.chkPWLFirstName = QtGui.QCheckBox(self.grpClient)
        self.chkPWLFirstName.setObjectName(_fromUtf8("chkPWLFirstName"))
        self.gridLayout_5.addWidget(self.chkPWLFirstName, 3, 0, 1, 1)
        self.edtPWLFirstName = QtGui.QLineEdit(self.grpClient)
        self.edtPWLFirstName.setEnabled(False)
        self.edtPWLFirstName.setObjectName(_fromUtf8("edtPWLFirstName"))
        self.gridLayout_5.addWidget(self.edtPWLFirstName, 3, 1, 1, 2)
        self.chkPWLPatrName = QtGui.QCheckBox(self.grpClient)
        self.chkPWLPatrName.setObjectName(_fromUtf8("chkPWLPatrName"))
        self.gridLayout_5.addWidget(self.chkPWLPatrName, 4, 0, 1, 1)
        self.edtPWLPatrName = QtGui.QLineEdit(self.grpClient)
        self.edtPWLPatrName.setEnabled(False)
        self.edtPWLPatrName.setObjectName(_fromUtf8("edtPWLPatrName"))
        self.gridLayout_5.addWidget(self.edtPWLPatrName, 4, 1, 1, 2)
        self.chkPWLBirthDay = QtGui.QCheckBox(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkPWLBirthDay.sizePolicy().hasHeightForWidth())
        self.chkPWLBirthDay.setSizePolicy(sizePolicy)
        self.chkPWLBirthDay.setObjectName(_fromUtf8("chkPWLBirthDay"))
        self.gridLayout_5.addWidget(self.chkPWLBirthDay, 5, 0, 1, 1)
        self.edtPWLBirthDay = CDateEdit(self.grpClient)
        self.edtPWLBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPWLBirthDay.sizePolicy().hasHeightForWidth())
        self.edtPWLBirthDay.setSizePolicy(sizePolicy)
        self.edtPWLBirthDay.setCalendarPopup(True)
        self.edtPWLBirthDay.setObjectName(_fromUtf8("edtPWLBirthDay"))
        self.gridLayout_5.addWidget(self.edtPWLBirthDay, 5, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(86, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 5, 2, 1, 1)
        self.gridLayout_2.addWidget(self.grpClient, 28, 0, 1, 2)
        self.lblPWLContainerType = QtGui.QLabel(self.grpFilter)
        self.lblPWLContainerType.setObjectName(
            _fromUtf8("lblPWLContainerType"))
        self.gridLayout_2.addWidget(self.lblPWLContainerType, 17, 0, 1, 2)
        self.cmbPWLContainerType = CRBComboBox(self.grpFilter)
        self.cmbPWLContainerType.setObjectName(
            _fromUtf8("cmbPWLContainerType"))
        self.gridLayout_2.addWidget(self.cmbPWLContainerType, 18, 0, 1, 2)
        self.cmbPWLPerson = CPersonComboBoxEx(self.grpFilter)
        self.cmbPWLPerson.setObjectName(_fromUtf8("cmbPWLPerson"))
        self.gridLayout_2.addWidget(self.cmbPWLPerson, 20, 0, 1, 2)
        self.cmbPWLTest = CRBComboBox(self.grpFilter)
        self.cmbPWLTest.setObjectName(_fromUtf8("cmbPWLTest"))
        self.gridLayout_2.addWidget(self.cmbPWLTest, 12, 0, 1, 2)
        self.lblPWLTissueType = QtGui.QLabel(self.grpFilter)
        self.lblPWLTissueType.setObjectName(_fromUtf8("lblPWLTissueType"))
        self.gridLayout_2.addWidget(self.lblPWLTissueType, 15, 0, 1, 2)
        self.cmbPWLTissueType = CRBComboBox(self.grpFilter)
        self.cmbPWLTissueType.setObjectName(_fromUtf8("cmbPWLTissueType"))
        self.gridLayout_2.addWidget(self.cmbPWLTissueType, 16, 0, 1, 2)
        self.cmbPWLRelegateOrg = COrgComboBox(self.grpFilter)
        self.cmbPWLRelegateOrg.setEnabled(False)
        self.cmbPWLRelegateOrg.setObjectName(_fromUtf8("cmbPWLRelegateOrg"))
        self.gridLayout_2.addWidget(self.cmbPWLRelegateOrg, 4, 0, 1, 2)
        self.chkPWLRelegateOrg = QtGui.QCheckBox(self.grpFilter)
        self.chkPWLRelegateOrg.setObjectName(_fromUtf8("chkPWLRelegateOrg"))
        self.gridLayout_2.addWidget(self.chkPWLRelegateOrg, 2, 0, 1, 2)
        self.lblPWLProbeIdentifier = QtGui.QLabel(self.grpFilter)
        self.lblPWLProbeIdentifier.setObjectName(
            _fromUtf8("lblPWLProbeIdentifier"))
        self.gridLayout_2.addWidget(self.lblPWLProbeIdentifier, 23, 0, 1, 2)
        self.edtPWLProbeIdentifier = QtGui.QLineEdit(self.grpFilter)
        self.edtPWLProbeIdentifier.setObjectName(
            _fromUtf8("edtPWLProbeIdentifier"))
        self.gridLayout_2.addWidget(self.edtPWLProbeIdentifier, 24, 0, 1, 2)
        self.lblPWLIbm = QtGui.QLabel(self.grpFilter)
        self.lblPWLIbm.setObjectName(_fromUtf8("lblPWLIbm"))
        self.gridLayout_2.addWidget(self.lblPWLIbm, 21, 0, 1, 2)
        self.lblPWLPerson = QtGui.QLabel(self.grpFilter)
        self.lblPWLPerson.setObjectName(_fromUtf8("lblPWLPerson"))
        self.gridLayout_2.addWidget(self.lblPWLPerson, 19, 0, 1, 2)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem3, 30, 0, 1, 1)
        self.lblPWLTripod = QtGui.QLabel(self.grpFilter)
        self.lblPWLTripod.setObjectName(_fromUtf8("lblPWLTripod"))
        self.gridLayout_2.addWidget(self.lblPWLTripod, 7, 0, 1, 2)
        self.edtPWLTripodNumber = QtGui.QLineEdit(self.grpFilter)
        self.edtPWLTripodNumber.setObjectName(_fromUtf8("edtPWLTripodNumber"))
        self.gridLayout_2.addWidget(self.edtPWLTripodNumber, 8, 0, 1, 2)
        self.lblPWLOrganisation = QtGui.QLabel(self.grpFilter)
        self.lblPWLOrganisation.setObjectName(_fromUtf8("lblPWLOrganisation"))
        self.gridLayout_2.addWidget(self.lblPWLOrganisation, 0, 0, 1, 2)
        self.lblPWLEquipment = QtGui.QLabel(self.grpFilter)
        self.lblPWLEquipment.setObjectName(_fromUtf8("lblPWLEquipment"))
        self.gridLayout_2.addWidget(self.lblPWLEquipment, 5, 0, 1, 2)
        self.lblPWLStatus = QtGui.QLabel(self.grpFilter)
        self.lblPWLStatus.setObjectName(_fromUtf8("lblPWLStatus"))
        self.gridLayout_2.addWidget(self.lblPWLStatus, 13, 0, 1, 2)
        self.lblPWLTest = QtGui.QLabel(self.grpFilter)
        self.lblPWLTest.setObjectName(_fromUtf8("lblPWLTest"))
        self.gridLayout_2.addWidget(self.lblPWLTest, 11, 0, 1, 2)
        self.edtPWLIbm = QtGui.QLineEdit(self.grpFilter)
        self.edtPWLIbm.setObjectName(_fromUtf8("edtPWLIbm"))
        self.gridLayout_2.addWidget(self.edtPWLIbm, 22, 0, 1, 2)
        self.chkPWLIsUrgent = QtGui.QCheckBox(self.grpFilter)
        self.chkPWLIsUrgent.setObjectName(_fromUtf8("chkPWLIsUrgent"))
        self.gridLayout_2.addWidget(self.chkPWLIsUrgent, 25, 0, 1, 2)
        self.cmbPWLOrgStructure = COrgStructureComboBox(self.grpFilter)
        self.cmbPWLOrgStructure.setObjectName(_fromUtf8("cmbPWLOrgStructure"))
        self.gridLayout_2.addWidget(self.cmbPWLOrgStructure, 1, 0, 1, 2)
        self.pnlPWLProbes = QtGui.QWidget(self.splitter_2)
        self.pnlPWLProbes.setObjectName(_fromUtf8("pnlPWLProbes"))
        self.gridLayout_3 = QtGui.QGridLayout(self.pnlPWLProbes)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.tabWidgetPWL = QtGui.QTabWidget(self.pnlPWLProbes)
        self.tabWidgetPWL.setObjectName(_fromUtf8("tabWidgetPWL"))
        self.tabPWLProbes = QtGui.QWidget()
        self.tabPWLProbes.setObjectName(_fromUtf8("tabPWLProbes"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabPWLProbes)
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setMargin(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.splitter = QtGui.QSplitter(self.tabPWLProbes)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.pnlPWLOnlyProbes = QtGui.QWidget(self.splitter)
        self.pnlPWLOnlyProbes.setObjectName(_fromUtf8("pnlPWLOnlyProbes"))
        self.verticalLayout = QtGui.QVBoxLayout(self.pnlPWLOnlyProbes)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblPWLOnlyProbes = CTableView(self.pnlPWLOnlyProbes)
        self.tblPWLOnlyProbes.setObjectName(_fromUtf8("tblPWLOnlyProbes"))
        self.verticalLayout.addWidget(self.tblPWLOnlyProbes)
        self.lblOnlyProbesCount = QtGui.QLabel(self.pnlPWLOnlyProbes)
        self.lblOnlyProbesCount.setObjectName(_fromUtf8("lblOnlyProbesCount"))
        self.verticalLayout.addWidget(self.lblOnlyProbesCount)
        self.pnlPWLOnlyTests = QtGui.QWidget(self.splitter)
        self.pnlPWLOnlyTests.setObjectName(_fromUtf8("pnlPWLOnlyTests"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlPWLOnlyTests)
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tblPWLOnlyTests = CSamplePreparationView(self.pnlPWLOnlyTests)
        self.tblPWLOnlyTests.setObjectName(_fromUtf8("tblPWLOnlyTests"))
        self.verticalLayout_2.addWidget(self.tblPWLOnlyTests)
        self.lblOnlyTestsCount = QtGui.QLabel(self.pnlPWLOnlyTests)
        self.lblOnlyTestsCount.setObjectName(_fromUtf8("lblOnlyTestsCount"))
        self.verticalLayout_2.addWidget(self.lblOnlyTestsCount)
        self.verticalLayout_3.addWidget(self.splitter)
        self.tabWidgetPWL.addTab(self.tabPWLProbes, _fromUtf8(""))
        self.tabPWLTests = QtGui.QWidget()
        self.tabPWLTests.setObjectName(_fromUtf8("tabPWLTests"))
        self.gridLayout = QtGui.QGridLayout(self.tabPWLTests)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblPWLProbe = CSamplePreparationView(self.tabPWLTests)
        self.tblPWLProbe.setObjectName(_fromUtf8("tblPWLProbe"))
        self.gridLayout.addWidget(self.tblPWLProbe, 0, 0, 1, 1)
        self.lblProbeCount = QtGui.QLabel(self.tabPWLTests)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblProbeCount.sizePolicy().hasHeightForWidth())
        self.lblProbeCount.setSizePolicy(sizePolicy)
        self.lblProbeCount.setObjectName(_fromUtf8("lblProbeCount"))
        self.gridLayout.addWidget(self.lblProbeCount, 1, 0, 1, 1)
        self.tabWidgetPWL.addTab(self.tabPWLTests, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.tabWidgetPWL, 0, 0, 1, 6)
        self.btnPWLExport = QtGui.QPushButton(self.pnlPWLProbes)
        self.btnPWLExport.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnPWLExport.sizePolicy().hasHeightForWidth())
        self.btnPWLExport.setSizePolicy(sizePolicy)
        self.btnPWLExport.setObjectName(_fromUtf8("btnPWLExport"))
        self.gridLayout_3.addWidget(self.btnPWLExport, 2, 2, 1, 1)
        self.btnPWLImport = QtGui.QPushButton(self.pnlPWLProbes)
        self.btnPWLImport.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnPWLImport.sizePolicy().hasHeightForWidth())
        self.btnPWLImport.setSizePolicy(sizePolicy)
        self.btnPWLImport.setObjectName(_fromUtf8("btnPWLImport"))
        self.gridLayout_3.addWidget(self.btnPWLImport, 2, 3, 1, 1)
        self.btnPWLPrint = QtGui.QPushButton(self.pnlPWLProbes)
        self.btnPWLPrint.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnPWLPrint.sizePolicy().hasHeightForWidth())
        self.btnPWLPrint.setSizePolicy(sizePolicy)
        self.btnPWLPrint.setObjectName(_fromUtf8("btnPWLPrint"))
        self.gridLayout_3.addWidget(self.btnPWLPrint, 2, 4, 1, 1)
        self.btnRegistration = QtGui.QPushButton(self.pnlPWLProbes)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnRegistration.sizePolicy().hasHeightForWidth())
        self.btnRegistration.setSizePolicy(sizePolicy)
        self.btnRegistration.setObjectName(_fromUtf8("btnRegistration"))
        self.gridLayout_3.addWidget(self.btnRegistration, 2, 5, 1, 1)
        self.btnPWLTripod = QtGui.QPushButton(self.pnlPWLProbes)
        self.btnPWLTripod.setObjectName(_fromUtf8("btnPWLTripod"))
        self.gridLayout_3.addWidget(self.btnPWLTripod, 2, 1, 1, 1)
        self.gridLayout_4.addWidget(self.splitter_2, 0, 0, 1, 1)

        self.retranslateUi(ProbeWorkListWidget)
        self.tabWidgetPWL.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkPWLRelegateOrg,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPWLRelegateOrg.setEnabled)
        QtCore.QObject.connect(self.chkPWLId,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPWLAccountingSystem.setEnabled)
        QtCore.QObject.connect(self.chkPWLId,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPWLId.setEnabled)
        QtCore.QObject.connect(self.chkPWLLastName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPWLLastName.setEnabled)
        QtCore.QObject.connect(self.chkPWLFirstName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPWLFirstName.setEnabled)
        QtCore.QObject.connect(self.chkPWLPatrName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPWLPatrName.setEnabled)
        QtCore.QObject.connect(self.chkPWLBirthDay,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPWLBirthDay.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ProbeWorkListWidget)
        ProbeWorkListWidget.setTabOrder(self.chkPWLRelegateOrg,
                                        self.cmbPWLRelegateOrg)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLRelegateOrg,
                                        self.cmbPWLEquipment)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLEquipment,
                                        self.edtPWLTripodNumber)
        ProbeWorkListWidget.setTabOrder(self.edtPWLTripodNumber,
                                        self.cmbPWLTestGroup)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLTestGroup, self.cmbPWLTest)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLTest, self.cmbPWLStatus)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLStatus,
                                        self.cmbPWLTissueType)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLTissueType,
                                        self.cmbPWLContainerType)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLContainerType,
                                        self.cmbPWLPerson)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLPerson, self.edtPWLIbm)
        ProbeWorkListWidget.setTabOrder(self.edtPWLIbm,
                                        self.edtPWLProbeIdentifier)
        ProbeWorkListWidget.setTabOrder(self.edtPWLProbeIdentifier,
                                        self.chkPWLIsUrgent)
        ProbeWorkListWidget.setTabOrder(self.chkPWLIsUrgent,
                                        self.edtPWLDateFrom)
        ProbeWorkListWidget.setTabOrder(self.edtPWLDateFrom, self.edtPWLDateTo)
        ProbeWorkListWidget.setTabOrder(self.edtPWLDateTo, self.grpClient)
        ProbeWorkListWidget.setTabOrder(self.grpClient, self.chkPWLId)
        ProbeWorkListWidget.setTabOrder(self.chkPWLId,
                                        self.cmbPWLAccountingSystem)
        ProbeWorkListWidget.setTabOrder(self.cmbPWLAccountingSystem,
                                        self.edtPWLId)
        ProbeWorkListWidget.setTabOrder(self.edtPWLId, self.chkPWLLastName)
        ProbeWorkListWidget.setTabOrder(self.chkPWLLastName,
                                        self.edtPWLLastName)
        ProbeWorkListWidget.setTabOrder(self.edtPWLLastName,
                                        self.chkPWLFirstName)
        ProbeWorkListWidget.setTabOrder(self.chkPWLFirstName,
                                        self.edtPWLFirstName)
        ProbeWorkListWidget.setTabOrder(self.edtPWLFirstName,
                                        self.chkPWLPatrName)
        ProbeWorkListWidget.setTabOrder(self.chkPWLPatrName,
                                        self.edtPWLPatrName)
        ProbeWorkListWidget.setTabOrder(self.edtPWLPatrName,
                                        self.chkPWLBirthDay)
        ProbeWorkListWidget.setTabOrder(self.chkPWLBirthDay,
                                        self.edtPWLBirthDay)
        ProbeWorkListWidget.setTabOrder(self.edtPWLBirthDay, self.buttonBoxPWL)
        ProbeWorkListWidget.setTabOrder(self.buttonBoxPWL, self.tabWidgetPWL)
        ProbeWorkListWidget.setTabOrder(self.tabWidgetPWL,
                                        self.tblPWLOnlyProbes)
        ProbeWorkListWidget.setTabOrder(self.tblPWLOnlyProbes,
                                        self.tblPWLOnlyTests)
        ProbeWorkListWidget.setTabOrder(self.tblPWLOnlyTests, self.tblPWLProbe)
        ProbeWorkListWidget.setTabOrder(self.tblPWLProbe, self.btnPWLTripod)
        ProbeWorkListWidget.setTabOrder(self.btnPWLTripod, self.btnPWLExport)
        ProbeWorkListWidget.setTabOrder(self.btnPWLExport, self.btnPWLImport)
        ProbeWorkListWidget.setTabOrder(self.btnPWLImport, self.btnPWLPrint)
        ProbeWorkListWidget.setTabOrder(self.btnPWLPrint, self.btnRegistration)

    def retranslateUi(self, ProbeWorkListWidget):
        ProbeWorkListWidget.setWindowTitle(
            _translate("ProbeWorkListWidget", "Form", None))
        self.grpFilter.setTitle(
            _translate("ProbeWorkListWidget", "Фильтр", None))
        self.lblPWLTestGroup.setText(
            _translate("ProbeWorkListWidget", "Группа", None))
        self.lblDateFrom.setText(_translate("ProbeWorkListWidget", "C", None))
        self.lblDateTo.setText(_translate("ProbeWorkListWidget", "по", None))
        self.cmbPWLStatus.setItemText(
            0, _translate("ProbeWorkListWidget", "-", None))
        self.cmbPWLStatus.setItemText(
            1, _translate("ProbeWorkListWidget", "Без пробы", None))
        self.cmbPWLStatus.setItemText(
            2, _translate("ProbeWorkListWidget", "Ожидание", None))
        self.cmbPWLStatus.setItemText(
            3, _translate("ProbeWorkListWidget", "В работе", None))
        self.cmbPWLStatus.setItemText(
            4, _translate("ProbeWorkListWidget", "Закончено", None))
        self.cmbPWLStatus.setItemText(
            5, _translate("ProbeWorkListWidget", "Без результата", None))
        self.cmbPWLStatus.setItemText(
            6, _translate("ProbeWorkListWidget", "Назначено", None))
        self.grpClient.setTitle(
            _translate("ProbeWorkListWidget", "Пациент", None))
        self.chkPWLId.setText(_translate("ProbeWorkListWidget", "Код", None))
        self.chkPWLLastName.setText(
            _translate("ProbeWorkListWidget", "Фамилия", None))
        self.chkPWLFirstName.setText(
            _translate("ProbeWorkListWidget", "Имя", None))
        self.chkPWLPatrName.setText(
            _translate("ProbeWorkListWidget", "Отчество", None))
        self.chkPWLBirthDay.setText(
            _translate("ProbeWorkListWidget", "Дата рождения", None))
        self.lblPWLContainerType.setText(
            _translate("ProbeWorkListWidget", "Тип контейнера", None))
        self.lblPWLTissueType.setText(
            _translate("ProbeWorkListWidget", "Биоматериал", None))
        self.chkPWLRelegateOrg.setText(
            _translate("ProbeWorkListWidget", "Направитель", None))
        self.lblPWLProbeIdentifier.setText(
            _translate("ProbeWorkListWidget", "Идентификатор пробы", None))
        self.lblPWLIbm.setText(_translate("ProbeWorkListWidget", "ИБМ", None))
        self.lblPWLPerson.setText(
            _translate("ProbeWorkListWidget", "Исполнитель", None))
        self.lblPWLTripod.setText(
            _translate("ProbeWorkListWidget", "Штатив", None))
        self.lblPWLOrganisation.setText(
            _translate("ProbeWorkListWidget", "ЛПУ", None))
        self.lblPWLEquipment.setText(
            _translate("ProbeWorkListWidget", "Оборудование", None))
        self.lblPWLStatus.setText(
            _translate("ProbeWorkListWidget", "Статус", None))
        self.lblPWLTest.setText(_translate("ProbeWorkListWidget", "Тест",
                                           None))
        self.chkPWLIsUrgent.setText(
            _translate("ProbeWorkListWidget", "Срочный", None))
        self.lblOnlyProbesCount.setText(
            _translate("ProbeWorkListWidget", "Количество: 0", None))
        self.lblOnlyTestsCount.setText(
            _translate("ProbeWorkListWidget", "Количество: 0", None))
        self.tabWidgetPWL.setTabText(
            self.tabWidgetPWL.indexOf(self.tabPWLProbes),
            _translate("ProbeWorkListWidget", "&Пробы", None))
        self.lblProbeCount.setText(
            _translate("ProbeWorkListWidget", "Количество проб", None))
        self.tabWidgetPWL.setTabText(
            self.tabWidgetPWL.indexOf(self.tabPWLTests),
            _translate("ProbeWorkListWidget", "&Тесты", None))
        self.btnPWLExport.setText(
            _translate("ProbeWorkListWidget", "Экспорт", None))
        self.btnPWLImport.setText(
            _translate("ProbeWorkListWidget", "Импорт", None))
        self.btnPWLPrint.setText(
            _translate("ProbeWorkListWidget", "Печать", None))
        self.btnRegistration.setText(
            _translate("ProbeWorkListWidget", "Регистрация", None))
        self.btnPWLTripod.setText(
            _translate("ProbeWorkListWidget", "Штатив", None))
class Ui_ParamsForExternalDialog(object):
    def setupUi(self, ParamsForExternalDialog):
        ParamsForExternalDialog.setObjectName(
            _fromUtf8("ParamsForExternalDialog"))
        ParamsForExternalDialog.resize(265, 109)
        self.gridLayout = QtGui.QGridLayout(ParamsForExternalDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ParamsForExternalDialog)
        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, 3, 0, 1, 4)
        self.lblLastAccessibleTimelineDate = QtGui.QLabel(
            ParamsForExternalDialog)
        self.lblLastAccessibleTimelineDate.setWordWrap(False)
        self.lblLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("lblLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.lblLastAccessibleTimelineDate, 0, 0, 1,
                                  1)
        self.edtLastAccessibleTimelineDate = CDateEdit(ParamsForExternalDialog)
        self.edtLastAccessibleTimelineDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtLastAccessibleTimelineDate.
                                     sizePolicy().hasHeightForWidth())
        self.edtLastAccessibleTimelineDate.setSizePolicy(sizePolicy)
        self.edtLastAccessibleTimelineDate.setCalendarPopup(True)
        self.edtLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("edtLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.edtLastAccessibleTimelineDate, 0, 1, 1,
                                  2)
        self.lblTimelineAccessibilityDays = QtGui.QLabel(
            ParamsForExternalDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTimelineAccessibilityDays.sizePolicy().hasHeightForWidth())
        self.lblTimelineAccessibilityDays.setSizePolicy(sizePolicy)
        self.lblTimelineAccessibilityDays.setWordWrap(False)
        self.lblTimelineAccessibilityDays.setObjectName(
            _fromUtf8("lblTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.lblTimelineAccessibilityDays, 1, 0, 1,
                                  1)
        self.edtTimelineAccessibilityDays = QtGui.QSpinBox(
            ParamsForExternalDialog)
        self.edtTimelineAccessibilityDays.setEnabled(False)
        self.edtTimelineAccessibilityDays.setMaximumSize(
            QtCore.QSize(50, 16777215))
        self.edtTimelineAccessibilityDays.setMaximum(999)
        self.edtTimelineAccessibilityDays.setObjectName(
            _fromUtf8("edtTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.edtTimelineAccessibilityDays, 1, 1, 1,
                                  1)
        self.lblTimelineAccessibilityDaysSuffix = QtGui.QLabel(
            ParamsForExternalDialog)
        self.lblTimelineAccessibilityDaysSuffix.setObjectName(
            _fromUtf8("lblTimelineAccessibilityDaysSuffix"))
        self.gridLayout.addWidget(self.lblTimelineAccessibilityDaysSuffix, 1,
                                  2, 1, 1)
        self.chkTimelineAccessibilityDays = QtGui.QCheckBox(
            ParamsForExternalDialog)
        self.chkTimelineAccessibilityDays.setText(_fromUtf8(""))
        self.chkTimelineAccessibilityDays.setObjectName(
            _fromUtf8("chkTimelineAccessibilityDays"))
        self.gridLayout.addWidget(self.chkTimelineAccessibilityDays, 1, 3, 1,
                                  1)
        spacerItem1 = QtGui.QSpacerItem(80, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(80, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 4, 1, 1)
        self.chkLastAccessibleTimelineDate = QtGui.QCheckBox(
            ParamsForExternalDialog)
        self.chkLastAccessibleTimelineDate.setText(_fromUtf8(""))
        self.chkLastAccessibleTimelineDate.setChecked(False)
        self.chkLastAccessibleTimelineDate.setObjectName(
            _fromUtf8("chkLastAccessibleTimelineDate"))
        self.gridLayout.addWidget(self.chkLastAccessibleTimelineDate, 0, 3, 1,
                                  1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 4, 1, 1)

        self.retranslateUi(ParamsForExternalDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ParamsForExternalDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ParamsForExternalDialog.reject)
        QtCore.QObject.connect(self.chkLastAccessibleTimelineDate,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLastAccessibleTimelineDate.setEnabled)
        QtCore.QObject.connect(self.chkTimelineAccessibilityDays,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtTimelineAccessibilityDays.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ParamsForExternalDialog)
        ParamsForExternalDialog.setTabOrder(self.edtLastAccessibleTimelineDate,
                                            self.edtTimelineAccessibilityDays)
        ParamsForExternalDialog.setTabOrder(self.edtTimelineAccessibilityDays,
                                            self.buttonBox)

    def retranslateUi(self, ParamsForExternalDialog):
        ParamsForExternalDialog.setWindowTitle(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog",
                "Изменить параметры доступа к расписанию", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblLastAccessibleTimelineDate.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog",
                                         "Расписание видимо до", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtLastAccessibleTimelineDate.setToolTip(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog", "Если это поле заполнено,\n"
                "то указанная дата используется как предельная дата до которой видно расписание.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblTimelineAccessibilityDays.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog",
                                         "Расписание видимо на", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtTimelineAccessibilityDays.setToolTip(
            QtGui.QApplication.translate(
                "ParamsForExternalDialog", "Если это поле заполнено (не 0),\n"
                "то указанная значение используется как количество дней начиная с текущего на которые видно расписание.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblTimelineAccessibilityDaysSuffix.setText(
            QtGui.QApplication.translate("ParamsForExternalDialog", "дней",
                                         None, QtGui.QApplication.UnicodeUTF8))
Example #26
0
class Ui_ExecutionPlanDialog(object):
    def setupUi(self, ExecutionPlanDialog):
        ExecutionPlanDialog.setObjectName(_fromUtf8("ExecutionPlanDialog"))
        ExecutionPlanDialog.resize(635, 679)
        self.gridLayout = QtGui.QGridLayout(ExecutionPlanDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(43, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 7, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(ExecutionPlanDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.btnEdit = QtGui.QPushButton(ExecutionPlanDialog)
        self.btnEdit.setDefault(True)
        self.btnEdit.setObjectName(_fromUtf8("btnEdit"))
        self.hboxlayout.addWidget(self.btnEdit)
        self.btnPrint = QtGui.QPushButton(ExecutionPlanDialog)
        self.btnPrint.setObjectName(_fromUtf8("btnPrint"))
        self.hboxlayout.addWidget(self.btnPrint)
        self.btnCancel = QtGui.QPushButton(ExecutionPlanDialog)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.hboxlayout.addWidget(self.btnCancel)
        self.gridLayout.addLayout(self.hboxlayout, 3, 0, 1, 8)
        self.lblAPDirectionDate = QtGui.QLabel(ExecutionPlanDialog)
        self.lblAPDirectionDate.setObjectName(_fromUtf8("lblAPDirectionDate"))
        self.gridLayout.addWidget(self.lblAPDirectionDate, 0, 0, 1, 1)
        self.edtDirectionDate = CDateEdit(ExecutionPlanDialog)
        self.edtDirectionDate.setEnabled(False)
        self.edtDirectionDate.setCalendarPopup(True)
        self.edtDirectionDate.setObjectName(_fromUtf8("edtDirectionDate"))
        self.gridLayout.addWidget(self.edtDirectionDate, 0, 1, 1, 1)
        self.edtDirectionTime = QtGui.QTimeEdit(ExecutionPlanDialog)
        self.edtDirectionTime.setEnabled(False)
        self.edtDirectionTime.setButtonSymbols(
            QtGui.QAbstractSpinBox.NoButtons)
        self.edtDirectionTime.setObjectName(_fromUtf8("edtDirectionTime"))
        self.gridLayout.addWidget(self.edtDirectionTime, 0, 2, 1, 1)
        self.lblAPSetPerson = QtGui.QLabel(ExecutionPlanDialog)
        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.addWidget(self.lblAPSetPerson, 0, 3, 1, 1)
        self.cmbSetPerson = CPersonComboBoxEx(ExecutionPlanDialog)
        self.cmbSetPerson.setEnabled(False)
        self.cmbSetPerson.setObjectName(_fromUtf8("cmbSetPerson"))
        self.cmbSetPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSetPerson, 0, 4, 1, 4)
        self.lblAPBegDate = QtGui.QLabel(ExecutionPlanDialog)
        self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate"))
        self.gridLayout.addWidget(self.lblAPBegDate, 1, 0, 1, 1)
        self.edtBegDate = CDateEdit(ExecutionPlanDialog)
        self.edtBegDate.setEnabled(False)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 1)
        self.lblAPEndDate = QtGui.QLabel(ExecutionPlanDialog)
        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.addWidget(self.lblAPEndDate, 1, 3, 1, 1)
        self.edtEndDate = CDateEdit(ExecutionPlanDialog)
        self.edtEndDate.setEnabled(False)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 4, 1, 1)
        self.lblAPDuration = QtGui.QLabel(ExecutionPlanDialog)
        self.lblAPDuration.setObjectName(_fromUtf8("lblAPDuration"))
        self.gridLayout.addWidget(self.lblAPDuration, 1, 5, 1, 1)
        self.edtDuration = QtGui.QSpinBox(ExecutionPlanDialog)
        self.edtDuration.setEnabled(False)
        self.edtDuration.setObjectName(_fromUtf8("edtDuration"))
        self.gridLayout.addWidget(self.edtDuration, 1, 6, 1, 1)
        self.tblExecutionPlan = CExecutionPlanTableView(ExecutionPlanDialog)
        self.tblExecutionPlan.setObjectName(_fromUtf8("tblExecutionPlan"))
        self.gridLayout.addWidget(self.tblExecutionPlan, 2, 0, 1, 8)
        self.lblAPDirectionDate.setBuddy(self.edtDirectionDate)
        self.lblAPSetPerson.setBuddy(self.cmbSetPerson)
        self.lblAPBegDate.setBuddy(self.edtBegDate)
        self.lblAPEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ExecutionPlanDialog)
        QtCore.QMetaObject.connectSlotsByName(ExecutionPlanDialog)
        ExecutionPlanDialog.setTabOrder(self.edtDirectionDate,
                                        self.edtDirectionTime)
        ExecutionPlanDialog.setTabOrder(self.edtDirectionTime,
                                        self.cmbSetPerson)
        ExecutionPlanDialog.setTabOrder(self.cmbSetPerson, self.edtBegDate)
        ExecutionPlanDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        ExecutionPlanDialog.setTabOrder(self.edtEndDate, self.edtDuration)
        ExecutionPlanDialog.setTabOrder(self.edtDuration,
                                        self.tblExecutionPlan)
        ExecutionPlanDialog.setTabOrder(self.tblExecutionPlan, self.btnEdit)
        ExecutionPlanDialog.setTabOrder(self.btnEdit, self.btnPrint)
        ExecutionPlanDialog.setTabOrder(self.btnPrint, self.btnCancel)

    def retranslateUi(self, ExecutionPlanDialog):
        ExecutionPlanDialog.setWindowTitle(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "всего: ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnEdit.setWhatsThis(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "изменить текущую запись", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEdit.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Просмотр",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnEdit.setShortcut(
            QtGui.QApplication.translate("ExecutionPlanDialog", "F4", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnPrint.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Печать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnCancel.setWhatsThis(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "выйти из списка без выбора", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnCancel.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Закрыть",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAPDirectionDate.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Назначено",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtDirectionDate.setWhatsThis(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "дата начала осмотра", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtDirectionTime.setDisplayFormat(
            QtGui.QApplication.translate("ExecutionPlanDialog", "HH:mm", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAPSetPerson.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Назначил",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSetPerson.setItemText(
            0,
            QtGui.QApplication.translate("ExecutionPlanDialog", "Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAPBegDate.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Начать с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setWhatsThis(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "дата окончания осмотра", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAPEndDate.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Закончить",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAPDuration.setToolTip(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "Длительность курса лечения в днях.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblAPDuration.setText(
            QtGui.QApplication.translate("ExecutionPlanDialog", "Длительность",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtDuration.setToolTip(
            QtGui.QApplication.translate("ExecutionPlanDialog",
                                         "Длительность курса лечения в днях.",
                                         None, QtGui.QApplication.UnicodeUTF8))
Example #27
0
class Ui_DeferredQueueWidget(object):
    def setupUi(self, DeferredQueueWidget):
        DeferredQueueWidget.setObjectName(_fromUtf8("DeferredQueueWidget"))
        DeferredQueueWidget.resize(1234, 892)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(DeferredQueueWidget.sizePolicy().hasHeightForWidth())
        DeferredQueueWidget.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(DeferredQueueWidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.splitter = QtGui.QSplitter(DeferredQueueWidget)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblDeferredQueue = CTableView(self.layoutWidget)
        self.tblDeferredQueue.setObjectName(_fromUtf8("tblDeferredQueue"))
        self.gridLayout_2.addWidget(self.tblDeferredQueue, 0, 0, 2, 2)
        self.btnPrintTable = QtGui.QPushButton(self.layoutWidget)
        self.btnPrintTable.setObjectName(_fromUtf8("btnPrintTable"))
        self.gridLayout_2.addWidget(self.btnPrintTable, 5, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 5, 0, 1, 1)
        self.tabBeforeRecord = QtGui.QTabWidget(self.splitter)
        self.tabBeforeRecord.setAutoFillBackground(True)
        self.tabBeforeRecord.setObjectName(_fromUtf8("tabBeforeRecord"))
        self.tabDeferredQueue = QtGui.QWidget()
        self.tabDeferredQueue.setAutoFillBackground(True)
        self.tabDeferredQueue.setObjectName(_fromUtf8("tabDeferredQueue"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabDeferredQueue)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.scrollArea = QtGui.QScrollArea(self.tabDeferredQueue)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents_3 = QtGui.QWidget()
        self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 960, 470))
        self.scrollAreaWidgetContents_3.setObjectName(_fromUtf8("scrollAreaWidgetContents_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.scrollAreaWidgetContents_3)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.deferredQueueDetails = QtGui.QFrame(self.scrollAreaWidgetContents_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.deferredQueueDetails.sizePolicy().hasHeightForWidth())
        self.deferredQueueDetails.setSizePolicy(sizePolicy)
        self.deferredQueueDetails.setFrameShape(QtGui.QFrame.StyledPanel)
        self.deferredQueueDetails.setFrameShadow(QtGui.QFrame.Raised)
        self.deferredQueueDetails.setObjectName(_fromUtf8("deferredQueueDetails"))
        self.gridLayout_5 = QtGui.QGridLayout(self.deferredQueueDetails)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_7 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_5.addWidget(self.label_7, 0, 0, 1, 1)
        self.lblCreateDate = QtGui.QLabel(self.deferredQueueDetails)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCreateDate.sizePolicy().hasHeightForWidth())
        self.lblCreateDate.setSizePolicy(sizePolicy)
        self.lblCreateDate.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblCreateDate.setText(_fromUtf8(""))
        self.lblCreateDate.setObjectName(_fromUtf8("lblCreateDate"))
        self.gridLayout_5.addWidget(self.lblCreateDate, 0, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_5.addWidget(self.label_8, 1, 0, 1, 1)
        self.lblCreatePerson = QtGui.QLabel(self.deferredQueueDetails)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCreatePerson.sizePolicy().hasHeightForWidth())
        self.lblCreatePerson.setSizePolicy(sizePolicy)
        self.lblCreatePerson.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblCreatePerson.setText(_fromUtf8(""))
        self.lblCreatePerson.setObjectName(_fromUtf8("lblCreatePerson"))
        self.gridLayout_5.addWidget(self.lblCreatePerson, 1, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_5.addWidget(self.label_9, 2, 0, 1, 1)
        self.lblModifyDate = QtGui.QLabel(self.deferredQueueDetails)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblModifyDate.sizePolicy().hasHeightForWidth())
        self.lblModifyDate.setSizePolicy(sizePolicy)
        self.lblModifyDate.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblModifyDate.setText(_fromUtf8(""))
        self.lblModifyDate.setObjectName(_fromUtf8("lblModifyDate"))
        self.gridLayout_5.addWidget(self.lblModifyDate, 2, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_5.addWidget(self.label_10, 3, 0, 1, 1)
        self.lblModifyPerson = QtGui.QLabel(self.deferredQueueDetails)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblModifyPerson.sizePolicy().hasHeightForWidth())
        self.lblModifyPerson.setSizePolicy(sizePolicy)
        self.lblModifyPerson.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblModifyPerson.setText(_fromUtf8(""))
        self.lblModifyPerson.setObjectName(_fromUtf8("lblModifyPerson"))
        self.gridLayout_5.addWidget(self.lblModifyPerson, 3, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_5.addWidget(self.label_11, 4, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.cmbStatus = CRBComboBox(self.deferredQueueDetails)
        self.cmbStatus.setMinimumSize(QtCore.QSize(78, 0))
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.horizontalLayout_2.addWidget(self.cmbStatus)
        self.gridLayout_5.addLayout(self.horizontalLayout_2, 4, 1, 1, 1)
        self.lblAction_id_lbl = QtGui.QLabel(self.deferredQueueDetails)
        self.lblAction_id_lbl.setObjectName(_fromUtf8("lblAction_id_lbl"))
        self.gridLayout_5.addWidget(self.lblAction_id_lbl, 5, 0, 1, 1)
        self.edtAction = QtGui.QLineEdit(self.deferredQueueDetails)
        self.edtAction.setEnabled(False)
        self.edtAction.setReadOnly(False)
        self.edtAction.setObjectName(_fromUtf8("edtAction"))
        self.gridLayout_5.addWidget(self.edtAction, 5, 1, 1, 1)
        self.label_12 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_5.addWidget(self.label_12, 6, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtClient = QtGui.QLineEdit(self.deferredQueueDetails)
        self.edtClient.setEnabled(True)
        self.edtClient.setReadOnly(True)
        self.edtClient.setObjectName(_fromUtf8("edtClient"))
        self.horizontalLayout_3.addWidget(self.edtClient)
        self.horizontalLayout_4.addLayout(self.horizontalLayout_3)
        self.label_17 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.horizontalLayout_4.addWidget(self.label_17)
        self.edtMaxDate = CDateEdit(self.deferredQueueDetails)
        self.edtMaxDate.setObjectName(_fromUtf8("edtMaxDate"))
        self.horizontalLayout_4.addWidget(self.edtMaxDate)
        self.gridLayout_5.addLayout(self.horizontalLayout_4, 6, 1, 1, 1)
        self.label_13 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_5.addWidget(self.label_13, 7, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.deferredQueueDetails)
        self.lblSpeciality.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblSpeciality.setText(_fromUtf8(""))
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_5.addWidget(self.lblSpeciality, 7, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_5.addWidget(self.label_14, 8, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(self.deferredQueueDetails)
        self.lblPerson.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblPerson.setText(_fromUtf8(""))
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_5.addWidget(self.lblPerson, 8, 1, 1, 1)
        self.label_16 = QtGui.QLabel(self.deferredQueueDetails)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.gridLayout_5.addWidget(self.label_16, 9, 0, 1, 1)
        self.tblComments = CKeyValueTableView(self.deferredQueueDetails)
        self.tblComments.setObjectName(_fromUtf8("tblComments"))
        self.gridLayout_5.addWidget(self.tblComments, 9, 1, 1, 1)
        self.horizontalLayout_14 = QtGui.QHBoxLayout()
        self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14"))
        self.lblContacts_2 = QtGui.QLabel(self.deferredQueueDetails)
        self.lblContacts_2.setMaximumSize(QtCore.QSize(125, 16777215))
        self.lblContacts_2.setObjectName(_fromUtf8("lblContacts_2"))
        self.horizontalLayout_14.addWidget(self.lblContacts_2)
        self.lblContacts = QtGui.QLabel(self.deferredQueueDetails)
        self.lblContacts.setText(_fromUtf8(""))
        self.lblContacts.setObjectName(_fromUtf8("lblContacts"))
        self.horizontalLayout_14.addWidget(self.lblContacts)
        self.gridLayout_5.addLayout(self.horizontalLayout_14, 10, 1, 1, 1)
        self.horizontalLayout_15 = QtGui.QHBoxLayout()
        self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15"))
        self.lblLocAddress_3 = QtGui.QLabel(self.deferredQueueDetails)
        self.lblLocAddress_3.setMaximumSize(QtCore.QSize(125, 16777215))
        self.lblLocAddress_3.setObjectName(_fromUtf8("lblLocAddress_3"))
        self.horizontalLayout_15.addWidget(self.lblLocAddress_3)
        self.lblLocAddress = QtGui.QLabel(self.deferredQueueDetails)
        self.lblLocAddress.setText(_fromUtf8(""))
        self.lblLocAddress.setObjectName(_fromUtf8("lblLocAddress"))
        self.horizontalLayout_15.addWidget(self.lblLocAddress)
        self.gridLayout_5.addLayout(self.horizontalLayout_15, 11, 1, 1, 1)
        self.horizontalLayout_16 = QtGui.QHBoxLayout()
        self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16"))
        self.lblRegAddress_2 = QtGui.QLabel(self.deferredQueueDetails)
        self.lblRegAddress_2.setMaximumSize(QtCore.QSize(125, 16777215))
        self.lblRegAddress_2.setObjectName(_fromUtf8("lblRegAddress_2"))
        self.horizontalLayout_16.addWidget(self.lblRegAddress_2)
        self.lblRegAddress = QtGui.QLabel(self.deferredQueueDetails)
        self.lblRegAddress.setText(_fromUtf8(""))
        self.lblRegAddress.setObjectName(_fromUtf8("lblRegAddress"))
        self.horizontalLayout_16.addWidget(self.lblRegAddress)
        self.gridLayout_5.addLayout(self.horizontalLayout_16, 12, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_5.addItem(spacerItem1, 13, 1, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.btnResetRecord = QtGui.QPushButton(self.deferredQueueDetails)
        self.btnResetRecord.setObjectName(_fromUtf8("btnResetRecord"))
        self.horizontalLayout_5.addWidget(self.btnResetRecord)
        self.btnSaveRecord = QtGui.QPushButton(self.deferredQueueDetails)
        self.btnSaveRecord.setObjectName(_fromUtf8("btnSaveRecord"))
        self.horizontalLayout_5.addWidget(self.btnSaveRecord)
        self.gridLayout_5.addLayout(self.horizontalLayout_5, 14, 1, 1, 1)
        self.splitter_10 = QtGui.QSplitter(self.deferredQueueDetails)
        self.splitter_10.setOrientation(QtCore.Qt.Vertical)
        self.splitter_10.setObjectName(_fromUtf8("splitter_10"))
        self.gridLayout_5.addWidget(self.splitter_10, 16, 1, 1, 1)
        self.gridLayout_3.addWidget(self.deferredQueueDetails, 0, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents_3)
        self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabBeforeRecord.addTab(self.tabDeferredQueue, _fromUtf8(""))
        self.tabBeforeRecordClient = QtGui.QWidget()
        self.tabBeforeRecordClient.setAutoFillBackground(True)
        self.tabBeforeRecordClient.setObjectName(_fromUtf8("tabBeforeRecordClient"))
        self.gridLayout_23 = QtGui.QGridLayout(self.tabBeforeRecordClient)
        self.gridLayout_23.setMargin(4)
        self.gridLayout_23.setSpacing(4)
        self.gridLayout_23.setObjectName(_fromUtf8("gridLayout_23"))
        self.tblQueue = CTableView(self.tabBeforeRecordClient)
        self.tblQueue.setObjectName(_fromUtf8("tblQueue"))
        self.gridLayout_23.addWidget(self.tblQueue, 0, 0, 1, 1)
        self.tabBeforeRecord.addTab(self.tabBeforeRecordClient, _fromUtf8(""))
        self.tabVisitBeforeRecordClient = QtGui.QWidget()
        self.tabVisitBeforeRecordClient.setAutoFillBackground(True)
        self.tabVisitBeforeRecordClient.setObjectName(_fromUtf8("tabVisitBeforeRecordClient"))
        self.gridLayout_24 = QtGui.QGridLayout(self.tabVisitBeforeRecordClient)
        self.gridLayout_24.setMargin(4)
        self.gridLayout_24.setSpacing(4)
        self.gridLayout_24.setObjectName(_fromUtf8("gridLayout_24"))
        self.tblVisitByQueue = CTableView(self.tabVisitBeforeRecordClient)
        self.tblVisitByQueue.setObjectName(_fromUtf8("tblVisitByQueue"))
        self.gridLayout_24.addWidget(self.tblVisitByQueue, 0, 0, 1, 1)
        self.tabBeforeRecord.addTab(self.tabVisitBeforeRecordClient, _fromUtf8(""))
        self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(DeferredQueueWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.chkFilterStatus = QtGui.QCheckBox(self.groupBox)
        self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus"))
        self.verticalLayout.addWidget(self.chkFilterStatus)
        self.cmbFilterStatus = CRBComboBox(self.groupBox)
        self.cmbFilterStatus.setEnabled(False)
        self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus"))
        self.verticalLayout.addWidget(self.cmbFilterStatus)
        self.chkFilterClient = QtGui.QCheckBox(self.groupBox)
        self.chkFilterClient.setObjectName(_fromUtf8("chkFilterClient"))
        self.verticalLayout.addWidget(self.chkFilterClient)
        self.horizontalLayout_17 = QtGui.QHBoxLayout()
        self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17"))
        self.edtFilterClient = QtGui.QLineEdit(self.groupBox)
        self.edtFilterClient.setEnabled(False)
        self.edtFilterClient.setObjectName(_fromUtf8("edtFilterClient"))
        self.horizontalLayout_17.addWidget(self.edtFilterClient)
        self.btnFilterClient = QtGui.QToolButton(self.groupBox)
        self.btnFilterClient.setEnabled(False)
        self.btnFilterClient.setObjectName(_fromUtf8("btnFilterClient"))
        self.horizontalLayout_17.addWidget(self.btnFilterClient)
        self.verticalLayout.addLayout(self.horizontalLayout_17)
        self.chkFilterSpeciality = QtGui.QCheckBox(self.groupBox)
        self.chkFilterSpeciality.setObjectName(_fromUtf8("chkFilterSpeciality"))
        self.verticalLayout.addWidget(self.chkFilterSpeciality)
        self.cmbFilterSpeciality = CRBComboBox(self.groupBox)
        self.cmbFilterSpeciality.setEnabled(False)
        self.cmbFilterSpeciality.setObjectName(_fromUtf8("cmbFilterSpeciality"))
        self.verticalLayout.addWidget(self.cmbFilterSpeciality)
        self.chkFilterPersonOrgStructure = QtGui.QCheckBox(self.groupBox)
        self.chkFilterPersonOrgStructure.setObjectName(_fromUtf8("chkFilterPersonOrgStructure"))
        self.verticalLayout.addWidget(self.chkFilterPersonOrgStructure)
        self.cmbFilterPersonOrgStructure = COrgStructureComboBox(self.groupBox)
        self.cmbFilterPersonOrgStructure.setEnabled(False)
        self.cmbFilterPersonOrgStructure.setObjectName(_fromUtf8("cmbFilterPersonOrgStructure"))
        self.verticalLayout.addWidget(self.cmbFilterPersonOrgStructure)
        self.chkFilterPerson = QtGui.QCheckBox(self.groupBox)
        self.chkFilterPerson.setObjectName(_fromUtf8("chkFilterPerson"))
        self.verticalLayout.addWidget(self.chkFilterPerson)
        self.cmbFilterPerson = CPersonComboBoxEx(self.groupBox)
        self.cmbFilterPerson.setEnabled(False)
        self.cmbFilterPerson.setObjectName(_fromUtf8("cmbFilterPerson"))
        self.verticalLayout.addWidget(self.cmbFilterPerson)
        self.chkFilterAge = QtGui.QCheckBox(self.groupBox)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.verticalLayout.addWidget(self.chkFilterAge)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtFilterAgeFrom = QtGui.QSpinBox(self.groupBox)
        self.edtFilterAgeFrom.setEnabled(False)
        self.edtFilterAgeFrom.setMaximum(150)
        self.edtFilterAgeFrom.setObjectName(_fromUtf8("edtFilterAgeFrom"))
        self.horizontalLayout.addWidget(self.edtFilterAgeFrom)
        self.lblFilterAge1 = QtGui.QLabel(self.groupBox)
        self.lblFilterAge1.setEnabled(False)
        self.lblFilterAge1.setAlignment(QtCore.Qt.AlignCenter)
        self.lblFilterAge1.setObjectName(_fromUtf8("lblFilterAge1"))
        self.horizontalLayout.addWidget(self.lblFilterAge1)
        self.edtFilterAgeTo = QtGui.QSpinBox(self.groupBox)
        self.edtFilterAgeTo.setEnabled(False)
        self.edtFilterAgeTo.setMaximum(150)
        self.edtFilterAgeTo.setProperty("value", 150)
        self.edtFilterAgeTo.setObjectName(_fromUtf8("edtFilterAgeTo"))
        self.horizontalLayout.addWidget(self.edtFilterAgeTo)
        self.lblFilterAge2 = QtGui.QLabel(self.groupBox)
        self.lblFilterAge2.setEnabled(False)
        self.lblFilterAge2.setObjectName(_fromUtf8("lblFilterAge2"))
        self.horizontalLayout.addWidget(self.lblFilterAge2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.chkFilterMaxDate = QtGui.QCheckBox(self.groupBox)
        self.chkFilterMaxDate.setObjectName(_fromUtf8("chkFilterMaxDate"))
        self.verticalLayout.addWidget(self.chkFilterMaxDate)
        self.horizontalLayout_12 = QtGui.QHBoxLayout()
        self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setEnabled(False)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_12.addWidget(self.label)
        self.edtFilterBegMaxDate = CDateEdit(self.groupBox)
        self.edtFilterBegMaxDate.setEnabled(False)
        self.edtFilterBegMaxDate.setObjectName(_fromUtf8("edtFilterBegMaxDate"))
        self.horizontalLayout_12.addWidget(self.edtFilterBegMaxDate)
        self.verticalLayout.addLayout(self.horizontalLayout_12)
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setEnabled(False)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_11.addWidget(self.label_2)
        self.edtFilterEndMaxDate = CDateEdit(self.groupBox)
        self.edtFilterEndMaxDate.setEnabled(False)
        self.edtFilterEndMaxDate.setObjectName(_fromUtf8("edtFilterEndMaxDate"))
        self.horizontalLayout_11.addWidget(self.edtFilterEndMaxDate)
        self.verticalLayout.addLayout(self.horizontalLayout_11)
        self.chkFilterCreateDate = QtGui.QCheckBox(self.groupBox)
        self.chkFilterCreateDate.setObjectName(_fromUtf8("chkFilterCreateDate"))
        self.verticalLayout.addWidget(self.chkFilterCreateDate)
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setEnabled(False)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_10.addWidget(self.label_3)
        self.edtFilterBegCreateDate = CDateEdit(self.groupBox)
        self.edtFilterBegCreateDate.setEnabled(False)
        self.edtFilterBegCreateDate.setObjectName(_fromUtf8("edtFilterBegCreateDate"))
        self.horizontalLayout_10.addWidget(self.edtFilterBegCreateDate)
        self.verticalLayout.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setEnabled(False)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_9.addWidget(self.label_4)
        self.edtFilterEndCreateDate = CDateEdit(self.groupBox)
        self.edtFilterEndCreateDate.setEnabled(False)
        self.edtFilterEndCreateDate.setObjectName(_fromUtf8("edtFilterEndCreateDate"))
        self.horizontalLayout_9.addWidget(self.edtFilterEndCreateDate)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.chkFilterCreatePerson = QtGui.QCheckBox(self.groupBox)
        self.chkFilterCreatePerson.setObjectName(_fromUtf8("chkFilterCreatePerson"))
        self.verticalLayout.addWidget(self.chkFilterCreatePerson)
        self.cmbFilterCreatePerson = CCompletableComboBox(self.groupBox)
        self.cmbFilterCreatePerson.setEnabled(False)
        self.cmbFilterCreatePerson.setObjectName(_fromUtf8("cmbFilterCreatePerson"))
        self.verticalLayout.addWidget(self.cmbFilterCreatePerson)
        self.chkFilterModifyDate = QtGui.QCheckBox(self.groupBox)
        self.chkFilterModifyDate.setObjectName(_fromUtf8("chkFilterModifyDate"))
        self.verticalLayout.addWidget(self.chkFilterModifyDate)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setEnabled(False)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout_7.addWidget(self.label_5)
        self.edtFilterBegModifyDate = CDateEdit(self.groupBox)
        self.edtFilterBegModifyDate.setEnabled(False)
        self.edtFilterBegModifyDate.setObjectName(_fromUtf8("edtFilterBegModifyDate"))
        self.horizontalLayout_7.addWidget(self.edtFilterBegModifyDate)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setEnabled(False)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout_8.addWidget(self.label_6)
        self.edtFilterEndModifyDate = CDateEdit(self.groupBox)
        self.edtFilterEndModifyDate.setEnabled(False)
        self.edtFilterEndModifyDate.setObjectName(_fromUtf8("edtFilterEndModifyDate"))
        self.horizontalLayout_8.addWidget(self.edtFilterEndModifyDate)
        self.verticalLayout.addLayout(self.horizontalLayout_8)
        self.chkFilterModifyPerson = QtGui.QCheckBox(self.groupBox)
        self.chkFilterModifyPerson.setObjectName(_fromUtf8("chkFilterModifyPerson"))
        self.verticalLayout.addWidget(self.chkFilterModifyPerson)
        self.cmbFilterModifyPerson = CPersonComboBoxEx(self.groupBox)
        self.cmbFilterModifyPerson.setEnabled(False)
        self.cmbFilterModifyPerson.setObjectName(_fromUtf8("cmbFilterModifyPerson"))
        self.verticalLayout.addWidget(self.cmbFilterModifyPerson)
        self.chkFilterOrgStructure = QtGui.QCheckBox(self.groupBox)
        self.chkFilterOrgStructure.setObjectName(_fromUtf8("chkFilterOrgStructure"))
        self.verticalLayout.addWidget(self.chkFilterOrgStructure)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.groupBox)
        self.cmbFilterOrgStructure.setEnabled(False)
        self.cmbFilterOrgStructure.setObjectName(_fromUtf8("cmbFilterOrgStructure"))
        self.verticalLayout.addWidget(self.cmbFilterOrgStructure)
        self.chkFilterListLength = QtGui.QCheckBox(self.groupBox)
        self.chkFilterListLength.setEnabled(True)
        self.chkFilterListLength.setChecked(True)
        self.chkFilterListLength.setObjectName(_fromUtf8("chkFilterListLength"))
        self.verticalLayout.addWidget(self.chkFilterListLength)
        self.horizontalLayout_25 = QtGui.QHBoxLayout()
        self.horizontalLayout_25.setObjectName(_fromUtf8("horizontalLayout_25"))
        self.edtFilterListLength = QtGui.QSpinBox(self.groupBox)
        self.edtFilterListLength.setMaximum(1000000000)
        self.edtFilterListLength.setProperty("value", 250)
        self.edtFilterListLength.setObjectName(_fromUtf8("edtFilterListLength"))
        self.horizontalLayout_25.addWidget(self.edtFilterListLength)
        self.lblFilterListLength = QtGui.QLabel(self.groupBox)
        self.lblFilterListLength.setObjectName(_fromUtf8("lblFilterListLength"))
        self.horizontalLayout_25.addWidget(self.lblFilterListLength)
        self.verticalLayout.addLayout(self.horizontalLayout_25)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem4)
        self.btnResetFilter = QtGui.QPushButton(self.groupBox)
        self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter"))
        self.horizontalLayout_6.addWidget(self.btnResetFilter)
        self.btnApplyFilter = QtGui.QPushButton(self.groupBox)
        self.btnApplyFilter.setObjectName(_fromUtf8("btnApplyFilter"))
        self.horizontalLayout_6.addWidget(self.btnApplyFilter)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.gridLayout.addWidget(self.groupBox, 0, 1, 1, 1)
        self.horizontalLayout_13 = QtGui.QHBoxLayout()
        self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13"))
        self.btnCheckRecord = QtGui.QPushButton(DeferredQueueWidget)
        self.btnCheckRecord.setObjectName(_fromUtf8("btnCheckRecord"))
        self.horizontalLayout_13.addWidget(self.btnCheckRecord)
        self.btnCheckAll = QtGui.QPushButton(DeferredQueueWidget)
        self.btnCheckAll.setObjectName(_fromUtf8("btnCheckAll"))
        self.horizontalLayout_13.addWidget(self.btnCheckAll)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem5)
        self.btnAddRecord = QtGui.QPushButton(DeferredQueueWidget)
        self.btnAddRecord.setObjectName(_fromUtf8("btnAddRecord"))
        self.horizontalLayout_13.addWidget(self.btnAddRecord)
        self.gridLayout.addLayout(self.horizontalLayout_13, 1, 0, 1, 1)
        self.label_11.setBuddy(self.cmbStatus)
        self.label_12.setBuddy(self.edtClient)
        self.label_17.setBuddy(self.edtMaxDate)

        self.retranslateUi(DeferredQueueWidget)
        self.tabBeforeRecord.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(DeferredQueueWidget)
        DeferredQueueWidget.setTabOrder(self.tblDeferredQueue, self.cmbStatus)
        DeferredQueueWidget.setTabOrder(self.cmbStatus, self.edtMaxDate)
        DeferredQueueWidget.setTabOrder(self.edtMaxDate, self.btnResetRecord)
        DeferredQueueWidget.setTabOrder(self.btnResetRecord, self.btnCheckRecord)
        DeferredQueueWidget.setTabOrder(self.btnCheckRecord, self.btnCheckAll)
        DeferredQueueWidget.setTabOrder(self.btnCheckAll, self.btnAddRecord)

    def retranslateUi(self, DeferredQueueWidget):
        DeferredQueueWidget.setWindowTitle(_translate("DeferredQueueWidget", "Журнал отложенного спроса", None))
        self.btnPrintTable.setText(_translate("DeferredQueueWidget", "Печать", None))
        self.label_7.setText(_translate("DeferredQueueWidget", "Дата и время создания записи", None))
        self.label_8.setText(_translate("DeferredQueueWidget", "Автор записи", None))
        self.label_9.setText(_translate("DeferredQueueWidget", "Дата и время изменения данных", None))
        self.label_10.setText(_translate("DeferredQueueWidget", "Автор последнего изменения", None))
        self.label_11.setText(_translate("DeferredQueueWidget", "Статус", None))
        self.lblAction_id_lbl.setText(_translate("DeferredQueueWidget", "Идентификатор номерка", None))
        self.label_12.setText(_translate("DeferredQueueWidget", "Пациент", None))
        self.label_17.setText(_translate("DeferredQueueWidget", "Крайняя дата", None))
        self.label_13.setText(_translate("DeferredQueueWidget", "Специальность", None))
        self.label_14.setText(_translate("DeferredQueueWidget", "Врач", None))
        self.label_16.setText(_translate("DeferredQueueWidget", "Комментарий", None))
        self.lblContacts_2.setText(_translate("DeferredQueueWidget", "Контакты:", None))
        self.lblLocAddress_3.setText(_translate("DeferredQueueWidget", "Адрес проживания:", None))
        self.lblRegAddress_2.setText(_translate("DeferredQueueWidget", "Адрес регистрации:", None))
        self.btnResetRecord.setText(_translate("DeferredQueueWidget", "Сбросить", None))
        self.btnSaveRecord.setText(_translate("DeferredQueueWidget", "Применить", None))
        self.tabBeforeRecord.setTabText(self.tabBeforeRecord.indexOf(self.tabDeferredQueue), _translate("DeferredQueueWidget", "Отложенная очередь", None))
        self.tabBeforeRecord.setTabText(self.tabBeforeRecord.indexOf(self.tabBeforeRecordClient), _translate("DeferredQueueWidget", "Предварительная запись", None))
        self.tabBeforeRecord.setTabText(self.tabBeforeRecord.indexOf(self.tabVisitBeforeRecordClient), _translate("DeferredQueueWidget", "Выполнение записи", None))
        self.groupBox.setTitle(_translate("DeferredQueueWidget", "Фильтр", None))
        self.chkFilterStatus.setText(_translate("DeferredQueueWidget", "Статус", None))
        self.chkFilterClient.setText(_translate("DeferredQueueWidget", "Пациент", None))
        self.btnFilterClient.setText(_translate("DeferredQueueWidget", "...", None))
        self.chkFilterSpeciality.setText(_translate("DeferredQueueWidget", "Специальность", None))
        self.chkFilterPersonOrgStructure.setText(_translate("DeferredQueueWidget", "Подразделение", None))
        self.chkFilterPerson.setText(_translate("DeferredQueueWidget", "Врач", None))
        self.chkFilterAge.setText(_translate("DeferredQueueWidget", "Возраст", None))
        self.lblFilterAge1.setText(_translate("DeferredQueueWidget", "-", None))
        self.lblFilterAge2.setText(_translate("DeferredQueueWidget", "лет", None))
        self.chkFilterMaxDate.setText(_translate("DeferredQueueWidget", "Крайняя дата", None))
        self.label.setText(_translate("DeferredQueueWidget", "От", None))
        self.label_2.setText(_translate("DeferredQueueWidget", "До", None))
        self.chkFilterCreateDate.setText(_translate("DeferredQueueWidget", "Дата создания", None))
        self.label_3.setText(_translate("DeferredQueueWidget", "От", None))
        self.label_4.setText(_translate("DeferredQueueWidget", "До", None))
        self.chkFilterCreatePerson.setText(_translate("DeferredQueueWidget", "ID автора", None))
        self.chkFilterModifyDate.setText(_translate("DeferredQueueWidget", "Дата изменения", None))
        self.label_5.setText(_translate("DeferredQueueWidget", "От", None))
        self.label_6.setText(_translate("DeferredQueueWidget", "До", None))
        self.chkFilterModifyPerson.setText(_translate("DeferredQueueWidget", "Автор последнего изменения", None))
        self.chkFilterOrgStructure.setText(_translate("DeferredQueueWidget", "Участок прикрепления", None))
        self.chkFilterListLength.setText(_translate("DeferredQueueWidget", "Ограничить длину списка", None))
        self.lblFilterListLength.setText(_translate("DeferredQueueWidget", "записями", None))
        self.btnResetFilter.setText(_translate("DeferredQueueWidget", "Сбросить", None))
        self.btnApplyFilter.setText(_translate("DeferredQueueWidget", "Применить", None))
        self.btnCheckRecord.setText(_translate("DeferredQueueWidget", "Проверить запись", None))
        self.btnCheckAll.setText(_translate("DeferredQueueWidget", "Проверить все записи", None))
        self.btnAddRecord.setText(_translate("DeferredQueueWidget", "Добавить", None))
class Ui_ExportActionResult_Wizard_1(object):
    def setupUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setObjectName(
            _fromUtf8("ExportActionResult_Wizard_1"))
        ExportActionResult_Wizard_1.resize(640, 504)
        self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1)
        self.treeContracts.setObjectName(_fromUtf8("treeContracts"))
        self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabEvent = QtGui.QWidget()
        self.tabEvent.setObjectName(_fromUtf8("tabEvent"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent)
        self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose"))
        self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1)
        self.chkEventType = QtGui.QCheckBox(self.tabEvent)
        self.chkEventType.setObjectName(_fromUtf8("chkEventType"))
        self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(self.tabEvent)
        self.cmbEventPurpose.setEnabled(False)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1)
        self.cmbEventType = CRBComboBox(self.tabEvent)
        self.cmbEventType.setEnabled(False)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtEventExecBegDate = CDateEdit(self.tabEvent)
        self.edtEventExecBegDate.setEnabled(False)
        self.edtEventExecBegDate.setObjectName(
            _fromUtf8("edtEventExecBegDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecBegDate)
        self.edtEventExecEndDate = CDateEdit(self.tabEvent)
        self.edtEventExecEndDate.setEnabled(False)
        self.edtEventExecEndDate.setObjectName(
            _fromUtf8("edtEventExecEndDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate"))
        self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1)
        self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate"))
        self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEventSetBegDate = CDateEdit(self.tabEvent)
        self.edtEventSetBegDate.setEnabled(False)
        self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetBegDate)
        self.edtEventSetEndDate = CDateEdit(self.tabEvent)
        self.edtEventSetEndDate.setEnabled(False)
        self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
        self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent)
        self.cmbEventLPU.setEnabled(False)
        self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU"))
        self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1)
        self.chkEventLPU = QtGui.QCheckBox(self.tabEvent)
        self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU"))
        self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1)
        self.tabFilter.addTab(self.tabEvent, _fromUtf8(""))
        self.tabAction = QtGui.QWidget()
        self.tabAction.setObjectName(_fromUtf8("tabAction"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkActionDate = QtGui.QCheckBox(self.tabAction)
        self.chkActionDate.setObjectName(_fromUtf8("chkActionDate"))
        self.verticalLayout_3.addWidget(self.chkActionDate)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtActionBegDate = CDateEdit(self.tabAction)
        self.edtActionBegDate.setEnabled(False)
        self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate"))
        self.horizontalLayout_2.addWidget(self.edtActionBegDate)
        self.edtActionEndDate = CDateEdit(self.tabAction)
        self.edtActionEndDate.setEnabled(False)
        self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate"))
        self.horizontalLayout_2.addWidget(self.edtActionEndDate)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.chkActionStatus = QtGui.QCheckBox(self.tabAction)
        self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus"))
        self.verticalLayout_3.addWidget(self.chkActionStatus)
        self.cmbActionStatus = QtGui.QComboBox(self.tabAction)
        self.cmbActionStatus.setEnabled(False)
        self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus"))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionStatus)
        self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction)
        self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson"))
        self.verticalLayout_3.addWidget(self.chkActionSetPerson)
        self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction)
        self.cmbActionSetPerson.setEnabled(False)
        self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson"))
        self.verticalLayout_3.addWidget(self.cmbActionSetPerson)
        self.chkActionClass = QtGui.QCheckBox(self.tabAction)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.verticalLayout_3.addWidget(self.chkActionClass)
        self.cmbActionClass = QtGui.QComboBox(self.tabAction)
        self.cmbActionClass.setEnabled(False)
        self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass"))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionClass)
        self.chkActionType = QtGui.QCheckBox(self.tabAction)
        self.chkActionType.setObjectName(_fromUtf8("chkActionType"))
        self.verticalLayout_3.addWidget(self.chkActionType)
        self.cmbActionType = CActionTypeComboBox(self.tabAction)
        self.cmbActionType.setEnabled(False)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.verticalLayout_3.addWidget(self.cmbActionType)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.tabFilter.addTab(self.tabAction, _fromUtf8(""))
        self.tabAdditional = QtGui.QWidget()
        self.tabAdditional.setObjectName(_fromUtf8("tabAdditional"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.tabAdditional)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientEventInfo.setObjectName(
            _fromUtf8("chkIncludeClientEventInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo)
        self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientWorkInfo.setObjectName(
            _fromUtf8("chkIncludeClientWorkInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo)
        self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientAddressInfo.setObjectName(
            _fromUtf8("chkIncludeClientAddressInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo)
        self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientDocumentInfo.setObjectName(
            _fromUtf8("chkIncludeClientDocumentInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo)
        self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientContactInfo.setObjectName(
            _fromUtf8("chkIncludeClientContactInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.tabFilter.addTab(self.tabAdditional, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabFilter)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.btnResetFilter = QtGui.QPushButton(self.groupBox)
        self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter"))
        self.horizontalLayout.addWidget(self.btnResetFilter)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.groupBox)
        self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1)

        self.retranslateUi(ExportActionResult_Wizard_1)
        self.tabFilter.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ExportActionResult_Wizard_1)
        ExportActionResult_Wizard_1.setTabOrder(self.treeContracts,
                                                self.tabFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.tabFilter,
                                                self.chkEventExecDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventExecDate,
                                                self.edtEventExecBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecBegDate,
                                                self.edtEventExecEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecEndDate,
                                                self.chkEventSetDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventSetDate,
                                                self.edtEventSetBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetBegDate,
                                                self.edtEventSetEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetEndDate,
                                                self.chkEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventPurpose,
                                                self.cmbEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventPurpose,
                                                self.chkEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventType,
                                                self.cmbEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventType,
                                                self.chkEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventLPU,
                                                self.cmbEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventLPU,
                                                self.btnResetFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.btnResetFilter,
                                                self.chkActionDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionDate,
                                                self.edtActionBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionBegDate,
                                                self.edtActionEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionEndDate,
                                                self.chkActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionStatus,
                                                self.cmbActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionStatus,
                                                self.chkActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionSetPerson,
                                                self.cmbActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionSetPerson,
                                                self.chkActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionClass,
                                                self.cmbActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionClass,
                                                self.chkActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionType,
                                                self.cmbActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionType,
                                                self.chkIncludeClientEventInfo)
        ExportActionResult_Wizard_1.setTabOrder(self.chkIncludeClientEventInfo,
                                                self.chkIncludeClientWorkInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientWorkInfo, self.chkIncludeClientAddressInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientAddressInfo,
            self.chkIncludeClientDocumentInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientDocumentInfo,
            self.chkIncludeClientContactInfo)

    def retranslateUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setWindowTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Экспорт результатов действий", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventPurpose.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventExecDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период выполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventSetDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период назначения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventLPU.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabEvent),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionStatus.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Состояние", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Начато", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Закончено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionSetPerson.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначил", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionClass.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Класс действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Диагностика", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Лечение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Прочие мероприятия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAction),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Действие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Для пациента выгружать данные о:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientEventInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событии", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientWorkInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Занятости", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientAddressInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Адресе", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientDocumentInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Документе удост. личность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientContactInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Контактах", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAdditional),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Дополнительно", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnResetFilter.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Сброс", None,
                                         QtGui.QApplication.UnicodeUTF8))
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))
class Ui_PreRecordSpecialityDialog(object):
    def setupUi(self, PreRecordSpecialityDialog):
        PreRecordSpecialityDialog.setObjectName(_fromUtf8("PreRecordSpecialityDialog"))
        PreRecordSpecialityDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PreRecordSpecialityDialog.resize(504, 308)
        PreRecordSpecialityDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(PreRecordSpecialityDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(PreRecordSpecialityDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        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, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(PreRecordSpecialityDialog)
        self.edtEndDate.setEnabled(False)
        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, 0, 3, 1, 1)
        spacerItem = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
        self.lblPerson = QtGui.QLabel(PreRecordSpecialityDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(PreRecordSpecialityDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 4)
        self.edtEndDateRecord = CDateEdit(PreRecordSpecialityDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDateRecord.sizePolicy().hasHeightForWidth())
        self.edtEndDateRecord.setSizePolicy(sizePolicy)
        self.edtEndDateRecord.setCalendarPopup(True)
        self.edtEndDateRecord.setObjectName(_fromUtf8("edtEndDateRecord"))
        self.gridLayout.addWidget(self.edtEndDateRecord, 1, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 4, 1, 1)
        self.lblSpeciality = QtGui.QLabel(PreRecordSpecialityDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 3, 0, 1, 1)
        self.edtBegDate = CDateEdit(PreRecordSpecialityDialog)
        self.edtBegDate.setEnabled(False)
        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.lblDetail = QtGui.QLabel(PreRecordSpecialityDialog)
        self.lblDetail.setObjectName(_fromUtf8("lblDetail"))
        self.gridLayout.addWidget(self.lblDetail, 5, 0, 1, 1)
        self.cmbAcceptanceType = QtGui.QComboBox(PreRecordSpecialityDialog)
        self.cmbAcceptanceType.setObjectName(_fromUtf8("cmbAcceptanceType"))
        self.cmbAcceptanceType.addItem(_fromUtf8(""))
        self.cmbAcceptanceType.addItem(_fromUtf8(""))
        self.cmbAcceptanceType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbAcceptanceType, 7, 1, 1, 4)
        self.cmbSpeciality = CRBComboBox(PreRecordSpecialityDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 3, 1, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(PreRecordSpecialityDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(PreRecordSpecialityDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 4, 1, 1, 4)
        self.chkShowWithoutOverTime = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkShowWithoutOverTime.setObjectName(_fromUtf8("chkShowWithoutOverTime"))
        self.gridLayout.addWidget(self.chkShowWithoutOverTime, 8, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 10, 0, 1, 1)
        self.edtBegDateRecord = CDateEdit(PreRecordSpecialityDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDateRecord.sizePolicy().hasHeightForWidth())
        self.edtBegDateRecord.setSizePolicy(sizePolicy)
        self.edtBegDateRecord.setCalendarPopup(True)
        self.edtBegDateRecord.setObjectName(_fromUtf8("edtBegDateRecord"))
        self.gridLayout.addWidget(self.edtBegDateRecord, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PreRecordSpecialityDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 0, 1, 5)
        self.chkPeriodBeforeRecord = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkPeriodBeforeRecord.setChecked(True)
        self.chkPeriodBeforeRecord.setObjectName(_fromUtf8("chkPeriodBeforeRecord"))
        self.gridLayout.addWidget(self.chkPeriodBeforeRecord, 1, 0, 1, 1)
        self.label_2 = QtGui.QLabel(PreRecordSpecialityDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 2, 1, 1)
        self.chkPeriodRecord = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkPeriodRecord.setObjectName(_fromUtf8("chkPeriodRecord"))
        self.gridLayout.addWidget(self.chkPeriodRecord, 0, 0, 1, 1)
        self.chkDetailOnPerson = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkDetailOnPerson.setObjectName(_fromUtf8("chkDetailOnPerson"))
        self.gridLayout.addWidget(self.chkDetailOnPerson, 6, 1, 1, 4)
        self.chkDetailOnOrgStructure = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkDetailOnOrgStructure.setObjectName(_fromUtf8("chkDetailOnOrgStructure"))
        self.gridLayout.addWidget(self.chkDetailOnOrgStructure, 5, 1, 1, 4)
        self.chkIgnoreRehabilitation = QtGui.QCheckBox(PreRecordSpecialityDialog)
        self.chkIgnoreRehabilitation.setObjectName(_fromUtf8("chkIgnoreRehabilitation"))
        self.gridLayout.addWidget(self.chkIgnoreRehabilitation, 9, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(PreRecordSpecialityDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), PreRecordSpecialityDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), PreRecordSpecialityDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreRecordSpecialityDialog)
        PreRecordSpecialityDialog.setTabOrder(self.chkPeriodRecord, self.edtBegDate)
        PreRecordSpecialityDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        PreRecordSpecialityDialog.setTabOrder(self.edtEndDate, self.chkPeriodBeforeRecord)
        PreRecordSpecialityDialog.setTabOrder(self.chkPeriodBeforeRecord, self.edtBegDateRecord)
        PreRecordSpecialityDialog.setTabOrder(self.edtBegDateRecord, self.edtEndDateRecord)
        PreRecordSpecialityDialog.setTabOrder(self.edtEndDateRecord, self.cmbOrgStructure)
        PreRecordSpecialityDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality)
        PreRecordSpecialityDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        PreRecordSpecialityDialog.setTabOrder(self.cmbPerson, self.chkDetailOnOrgStructure)
        PreRecordSpecialityDialog.setTabOrder(self.chkDetailOnOrgStructure, self.chkDetailOnPerson)
        PreRecordSpecialityDialog.setTabOrder(self.chkDetailOnPerson, self.buttonBox)

    def retranslateUi(self, PreRecordSpecialityDialog):
        PreRecordSpecialityDialog.setWindowTitle(QtGui.QApplication.translate("PreRecordSpecialityDialog", "параметры отчёта", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "по", None, QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "&Специальность", None, QtGui.QApplication.UnicodeUTF8))
        self.lblDetail.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "Детализировать", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbAcceptanceType.setItemText(0, QtGui.QApplication.translate("PreRecordSpecialityDialog", "все", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbAcceptanceType.setItemText(1, QtGui.QApplication.translate("PreRecordSpecialityDialog", "амбулаторно", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbAcceptanceType.setItemText(2, QtGui.QApplication.translate("PreRecordSpecialityDialog", "на дому", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(QtGui.QApplication.translate("PreRecordSpecialityDialog", "<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.lblOrgStructure.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "&Подразделение", None, QtGui.QApplication.UnicodeUTF8))
        self.chkShowWithoutOverTime.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "Не выводить пациентов сверх очереди", None, QtGui.QApplication.UnicodeUTF8))
        self.chkPeriodBeforeRecord.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "Период предварительной записи с", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "по", None, QtGui.QApplication.UnicodeUTF8))
        self.chkPeriodRecord.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "Период постановки в очередь с", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDetailOnPerson.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "по врачам", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDetailOnOrgStructure.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "по подразделениям", None, QtGui.QApplication.UnicodeUTF8))
        self.chkIgnoreRehabilitation.setText(QtGui.QApplication.translate("PreRecordSpecialityDialog", "Не учитывать реабилитационное отделение", None, QtGui.QApplication.UnicodeUTF8))