class Ui_ExposedServicesReportsSetupDialog(object):
    def setupUi(self, ExposedServicesReportsSetupDialog):
        ExposedServicesReportsSetupDialog.setObjectName(_fromUtf8("ExposedServicesReportsSetupDialog"))
        ExposedServicesReportsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ExposedServicesReportsSetupDialog.resize(397, 218)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ExposedServicesReportsSetupDialog.sizePolicy().hasHeightForWidth())
        ExposedServicesReportsSetupDialog.setSizePolicy(sizePolicy)
        ExposedServicesReportsSetupDialog.setMinimumSize(QtCore.QSize(397, 218))
        ExposedServicesReportsSetupDialog.setMaximumSize(QtCore.QSize(397, 218))
        ExposedServicesReportsSetupDialog.setSizeGripEnabled(False)
        self.gridLayout = QtGui.QGridLayout(ExposedServicesReportsSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grbPeriod = QtGui.QGroupBox(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grbPeriod.sizePolicy().hasHeightForWidth())
        self.grbPeriod.setSizePolicy(sizePolicy)
        self.grbPeriod.setMaximumSize(QtCore.QSize(16777215, 70))
        self.grbPeriod.setObjectName(_fromUtf8("grbPeriod"))
        self.edtBegDate = CDateEdit(self.grbPeriod)
        self.edtBegDate.setGeometry(QtCore.QRect(143, 18, 121, 20))
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.lblEndDate = QtGui.QLabel(self.grbPeriod)
        self.lblEndDate.setGeometry(QtCore.QRect(10, 42, 129, 20))
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.edtEndDate = CDateEdit(self.grbPeriod)
        self.edtEndDate.setGeometry(QtCore.QRect(143, 42, 121, 20))
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.lblBegDate = QtGui.QLabel(self.grbPeriod)
        self.lblBegDate.setGeometry(QtCore.QRect(10, 18, 129, 20))
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.grbPeriod, 0, 1, 1, 1)
        self.wgtCommon = QtGui.QWidget(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wgtCommon.sizePolicy().hasHeightForWidth())
        self.wgtCommon.setSizePolicy(sizePolicy)
        self.wgtCommon.setMaximumSize(QtCore.QSize(400, 100))
        self.wgtCommon.setObjectName(_fromUtf8("wgtCommon"))
        self.gridLayoutWidget_2 = QtGui.QWidget(self.wgtCommon)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(10, 0, 371, 100))
        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblContract = QtGui.QLabel(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblContract.sizePolicy().hasHeightForWidth())
        self.lblContract.setSizePolicy(sizePolicy)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout_3.addWidget(self.lblContract, 2, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.gridLayoutWidget_2)
        self.lblOrgStructure.setEnabled(True)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_3.addWidget(self.lblOrgStructure, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.gridLayoutWidget_2)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_3.addWidget(self.cmbOrgStructure, 0, 1, 1, 1)
        self.cmbContract = CContractComboBox(self.gridLayoutWidget_2)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout_3.addWidget(self.cmbContract, 2, 1, 1, 1)
        self.lblFinance = QtGui.QLabel(self.gridLayoutWidget_2)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout_3.addWidget(self.lblFinance, 1, 0, 1, 1)
        self.cmbFinance = CRBComboBox(self.gridLayoutWidget_2)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout_3.addWidget(self.cmbFinance, 1, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setMinimumSize(QtCore.QSize(0, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_3.addWidget(self.cmbEventType, 3, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.gridLayoutWidget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout_3.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.gridLayout.addWidget(self.wgtCommon, 5, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ExposedServicesReportsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 7, 1, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, ExposedServicesReportsSetupDialog):
        ExposedServicesReportsSetupDialog.setWindowTitle(_translate("ExposedServicesReportsSetupDialog", "Параметры отчёта", None))
        self.grbPeriod.setTitle(_translate("ExposedServicesReportsSetupDialog", "Период", None))
        self.lblEndDate.setText(_translate("ExposedServicesReportsSetupDialog", "Дата &окончания периода", None))
        self.lblBegDate.setText(_translate("ExposedServicesReportsSetupDialog", "Дата &начала периода", None))
        self.lblContract.setText(_translate("ExposedServicesReportsSetupDialog", "Договор", None))
        self.lblOrgStructure.setText(_translate("ExposedServicesReportsSetupDialog", "Подразделение", None))
        self.lblFinance.setText(_translate("ExposedServicesReportsSetupDialog", "Тип финансирования", None))
        self.lblEventType.setText(_translate("ExposedServicesReportsSetupDialog", "Тип события", None))
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))
Exemple #3
0
class Ui_ItemEditorDialog(object):
    def setupUi(self, ItemEditorDialog):
        ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog"))
        ItemEditorDialog.resize(619, 481)
        ItemEditorDialog.setSizeGripEnabled(True)
        self.gridLayout_2 = QtGui.QGridLayout(ItemEditorDialog)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.edtCode = QtGui.QLineEdit(ItemEditorDialog)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout_2.addWidget(self.edtCode, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog)
        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, 4, 0, 1, 2)
        self.cmbServiceGroup = CRBComboBox(ItemEditorDialog)
        self.cmbServiceGroup.setObjectName(_fromUtf8("cmbServiceGroup"))
        self.gridLayout_2.addWidget(self.cmbServiceGroup, 0, 1, 1, 1)
        self.lblCode = QtGui.QLabel(ItemEditorDialog)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout_2.addWidget(self.lblCode, 1, 0, 1, 1)
        self.edtName = QtGui.QTextEdit(ItemEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtName.sizePolicy().hasHeightForWidth())
        self.edtName.setSizePolicy(sizePolicy)
        self.edtName.setSizeIncrement(QtCore.QSize(0, 1))
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout_2.addWidget(self.edtName, 2, 1, 1, 1)
        self.lblName = QtGui.QLabel(ItemEditorDialog)
        self.lblName.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignTop)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout_2.addWidget(self.lblName, 2, 0, 1, 1)
        self.lblServiceGroup = QtGui.QLabel(ItemEditorDialog)
        self.lblServiceGroup.setObjectName(_fromUtf8("lblServiceGroup"))
        self.gridLayout_2.addWidget(self.lblServiceGroup, 0, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(ItemEditorDialog)
        self.tabWidget.setSizeIncrement(QtCore.QSize(0, 2))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabInfo = QtGui.QWidget()
        self.tabInfo.setObjectName(_fromUtf8("tabInfo"))
        self.gridLayout = QtGui.QGridLayout(self.tabInfo)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtUetAdultDoctor = QtGui.QDoubleSpinBox(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtUetAdultDoctor.sizePolicy().hasHeightForWidth())
        self.edtUetAdultDoctor.setSizePolicy(sizePolicy)
        self.edtUetAdultDoctor.setDecimals(3)
        self.edtUetAdultDoctor.setObjectName(_fromUtf8("edtUetAdultDoctor"))
        self.gridLayout.addWidget(self.edtUetAdultDoctor, 10, 1, 1, 1)
        self.edtSuperviseComplexityFactor = QtGui.QDoubleSpinBox(self.tabInfo)
        self.edtSuperviseComplexityFactor.setDecimals(2)
        self.edtSuperviseComplexityFactor.setMaximum(9999.99)
        self.edtSuperviseComplexityFactor.setObjectName(
            _fromUtf8("edtSuperviseComplexityFactor"))
        self.gridLayout.addWidget(self.edtSuperviseComplexityFactor, 8, 1, 1,
                                  1)
        self.edtQualityLevel = QtGui.QDoubleSpinBox(self.tabInfo)
        self.edtQualityLevel.setDecimals(3)
        self.edtQualityLevel.setMaximum(999999.999)
        self.edtQualityLevel.setObjectName(_fromUtf8("edtQualityLevel"))
        self.gridLayout.addWidget(self.edtQualityLevel, 7, 1, 1, 1)
        self.lblQualityLevel = QtGui.QLabel(self.tabInfo)
        self.lblQualityLevel.setObjectName(_fromUtf8("lblQualityLevel"))
        self.gridLayout.addWidget(self.lblQualityLevel, 7, 0, 1, 1)
        self.lblUetAvarageMedWorker = QtGui.QLabel(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblUetAvarageMedWorker.sizePolicy().hasHeightForWidth())
        self.lblUetAvarageMedWorker.setSizePolicy(sizePolicy)
        self.lblUetAvarageMedWorker.setAlignment(QtCore.Qt.AlignLeading
                                                 | QtCore.Qt.AlignLeft
                                                 | QtCore.Qt.AlignTop)
        self.lblUetAvarageMedWorker.setWordWrap(True)
        self.lblUetAvarageMedWorker.setObjectName(
            _fromUtf8("lblUetAvarageMedWorker"))
        self.gridLayout.addWidget(self.lblUetAvarageMedWorker, 9, 2, 1, 3)
        self.lblUetDoctor = QtGui.QLabel(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblUetDoctor.sizePolicy().hasHeightForWidth())
        self.lblUetDoctor.setSizePolicy(sizePolicy)
        self.lblUetDoctor.setAlignment(QtCore.Qt.AlignLeading
                                       | QtCore.Qt.AlignLeft
                                       | QtCore.Qt.AlignTop)
        self.lblUetDoctor.setObjectName(_fromUtf8("lblUetDoctor"))
        self.gridLayout.addWidget(self.lblUetDoctor, 9, 0, 1, 2)
        self.edtUetChildAvarageMedWorker = QtGui.QDoubleSpinBox(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtUetChildAvarageMedWorker.sizePolicy().hasHeightForWidth())
        self.edtUetChildAvarageMedWorker.setSizePolicy(sizePolicy)
        self.edtUetChildAvarageMedWorker.setDecimals(3)
        self.edtUetChildAvarageMedWorker.setObjectName(
            _fromUtf8("edtUetChildAvarageMedWorker"))
        self.gridLayout.addWidget(self.edtUetChildAvarageMedWorker, 11, 3, 1,
                                  1)
        self.cmbLicense = QtGui.QComboBox(self.tabInfo)
        self.cmbLicense.setObjectName(_fromUtf8("cmbLicense"))
        self.cmbLicense.addItem(_fromUtf8(""))
        self.cmbLicense.addItem(_fromUtf8(""))
        self.cmbLicense.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLicense, 5, 1, 1, 4)
        self.lblUetAdultAvarageMedWorker = QtGui.QLabel(self.tabInfo)
        self.lblUetAdultAvarageMedWorker.setObjectName(
            _fromUtf8("lblUetAdultAvarageMedWorker"))
        self.gridLayout.addWidget(self.lblUetAdultAvarageMedWorker, 10, 2, 1,
                                  1)
        self.lblBegDate = QtGui.QLabel(self.tabInfo)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = QtGui.QDateEdit(self.tabInfo)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(131, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
        self.lblEndDate = QtGui.QLabel(self.tabInfo)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = QtGui.QDateEdit(self.tabInfo)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(131, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 4, 1, 1)
        self.chkeisLegacy = QtGui.QCheckBox(self.tabInfo)
        self.chkeisLegacy.setObjectName(_fromUtf8("chkeisLegacy"))
        self.gridLayout.addWidget(self.chkeisLegacy, 3, 1, 1, 4)
        self.lblLicense = QtGui.QLabel(self.tabInfo)
        self.lblLicense.setObjectName(_fromUtf8("lblLicense"))
        self.gridLayout.addWidget(self.lblLicense, 5, 0, 1, 1)
        self.lblInfis = QtGui.QLabel(self.tabInfo)
        self.lblInfis.setObjectName(_fromUtf8("lblInfis"))
        self.gridLayout.addWidget(self.lblInfis, 6, 0, 1, 1)
        self.edtInfis = QtGui.QLineEdit(self.tabInfo)
        self.edtInfis.setObjectName(_fromUtf8("edtInfis"))
        self.gridLayout.addWidget(self.edtInfis, 6, 1, 1, 4)
        spacerItem2 = QtGui.QSpacerItem(20, 48, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 13, 0, 1, 1)
        self.lblUetAdultDoctor = QtGui.QLabel(self.tabInfo)
        self.lblUetAdultDoctor.setObjectName(_fromUtf8("lblUetAdultDoctor"))
        self.gridLayout.addWidget(self.lblUetAdultDoctor, 10, 0, 1, 1)
        self.lblUetChildDoctor = QtGui.QLabel(self.tabInfo)
        self.lblUetChildDoctor.setObjectName(_fromUtf8("lblUetChildDoctor"))
        self.gridLayout.addWidget(self.lblUetChildDoctor, 11, 0, 1, 1)
        self.lblUetChildAvarageMedWorker = QtGui.QLabel(self.tabInfo)
        self.lblUetChildAvarageMedWorker.setObjectName(
            _fromUtf8("lblUetChildAvarageMedWorker"))
        self.gridLayout.addWidget(self.lblUetChildAvarageMedWorker, 11, 2, 1,
                                  1)
        self.edtUetChildDoctor = QtGui.QDoubleSpinBox(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtUetChildDoctor.sizePolicy().hasHeightForWidth())
        self.edtUetChildDoctor.setSizePolicy(sizePolicy)
        self.edtUetChildDoctor.setDecimals(3)
        self.edtUetChildDoctor.setObjectName(_fromUtf8("edtUetChildDoctor"))
        self.gridLayout.addWidget(self.edtUetChildDoctor, 11, 1, 1, 1)
        self.edtUetAdultAvarageMedWorker = QtGui.QDoubleSpinBox(self.tabInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtUetAdultAvarageMedWorker.sizePolicy().hasHeightForWidth())
        self.edtUetAdultAvarageMedWorker.setSizePolicy(sizePolicy)
        self.edtUetAdultAvarageMedWorker.setDecimals(3)
        self.edtUetAdultAvarageMedWorker.setObjectName(
            _fromUtf8("edtUetAdultAvarageMedWorker"))
        self.gridLayout.addWidget(self.edtUetAdultAvarageMedWorker, 10, 3, 1,
                                  1)
        self.lblSuperviseComplexityFactor = QtGui.QLabel(self.tabInfo)
        self.lblSuperviseComplexityFactor.setObjectName(
            _fromUtf8("lblSuperviseComplexityFactor"))
        self.gridLayout.addWidget(self.lblSuperviseComplexityFactor, 8, 0, 1,
                                  1)
        self.chkNomenclatureLegacy = QtGui.QCheckBox(self.tabInfo)
        self.chkNomenclatureLegacy.setObjectName(
            _fromUtf8("chkNomenclatureLegacy"))
        self.gridLayout.addWidget(self.chkNomenclatureLegacy, 4, 1, 1, 4)
        self.lblServiceCategory = QtGui.QLabel(self.tabInfo)
        self.lblServiceCategory.setObjectName(_fromUtf8("lblServiceCategory"))
        self.gridLayout.addWidget(self.lblServiceCategory, 12, 0, 1, 1)
        self.cmbServiceCategory = CRBComboBox(self.tabInfo)
        self.cmbServiceCategory.setObjectName(_fromUtf8("cmbServiceCategory"))
        self.gridLayout.addWidget(self.cmbServiceCategory, 12, 1, 1, 4)
        self.tabWidget.addTab(self.tabInfo, _fromUtf8(""))
        self.tabContent = QtGui.QWidget()
        self.tabContent.setObjectName(_fromUtf8("tabContent"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabContent)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblServices = CInDocTableView(self.tabContent)
        self.tblServices.setObjectName(_fromUtf8("tblServices"))
        self.verticalLayout.addWidget(self.tblServices)
        self.tabWidget.addTab(self.tabContent, _fromUtf8(""))
        self.tabMedicalAidProfiles = QtGui.QWidget()
        self.tabMedicalAidProfiles.setObjectName(
            _fromUtf8("tabMedicalAidProfiles"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabMedicalAidProfiles)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblProfiles = QtGui.QLabel(self.tabMedicalAidProfiles)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblProfiles.sizePolicy().hasHeightForWidth())
        self.lblProfiles.setSizePolicy(sizePolicy)
        self.lblProfiles.setObjectName(_fromUtf8("lblProfiles"))
        self.gridLayout_3.addWidget(self.lblProfiles, 0, 0, 1, 1)
        self.cmbMedicalAidProfile = CRBComboBox(self.tabMedicalAidProfiles)
        self.cmbMedicalAidProfile.setObjectName(
            _fromUtf8("cmbMedicalAidProfile"))
        self.gridLayout_3.addWidget(self.cmbMedicalAidProfile, 0, 1, 1, 1)
        self.tblMedicalAidProfiles = CInDocTableView(
            self.tabMedicalAidProfiles)
        self.tblMedicalAidProfiles.setObjectName(
            _fromUtf8("tblMedicalAidProfiles"))
        self.gridLayout_3.addWidget(self.tblMedicalAidProfiles, 3, 0, 1, 2)
        self.lblMedicalAidProfile = QtGui.QLabel(self.tabMedicalAidProfiles)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMedicalAidProfile.sizePolicy().hasHeightForWidth())
        self.lblMedicalAidProfile.setSizePolicy(sizePolicy)
        self.lblMedicalAidProfile.setObjectName(
            _fromUtf8("lblMedicalAidProfile"))
        self.gridLayout_3.addWidget(self.lblMedicalAidProfile, 2, 0, 1, 1)
        self.cmbMedicalAidType = CRBComboBox(self.tabMedicalAidProfiles)
        self.cmbMedicalAidType.setObjectName(_fromUtf8("cmbMedicalAidType"))
        self.gridLayout_3.addWidget(self.cmbMedicalAidType, 2, 1, 1, 1)
        self.cmbMedicalAidKind = CRBComboBox(self.tabMedicalAidProfiles)
        self.cmbMedicalAidKind.setObjectName(_fromUtf8("cmbMedicalAidKind"))
        self.gridLayout_3.addWidget(self.cmbMedicalAidKind, 1, 1, 1, 1)
        self.lblMedicalAidKind = QtGui.QLabel(self.tabMedicalAidProfiles)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMedicalAidKind.sizePolicy().hasHeightForWidth())
        self.lblMedicalAidKind.setSizePolicy(sizePolicy)
        self.lblMedicalAidKind.setObjectName(_fromUtf8("lblMedicalAidKind"))
        self.gridLayout_3.addWidget(self.lblMedicalAidKind, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabMedicalAidProfiles, _fromUtf8(""))
        self.tabPurpose = QtGui.QWidget()
        self.tabPurpose.setObjectName(_fromUtf8("tabPurpose"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabPurpose)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(self.tabPurpose)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.tblGoals = CInDocTableView(self.tabPurpose)
        self.tblGoals.setObjectName(_fromUtf8("tblGoals"))
        self.verticalLayout_2.addWidget(self.tblGoals)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.cmbCaseCast = CRBComboBox(self.tabPurpose)
        self.cmbCaseCast.setMinimumSize(QtCore.QSize(448, 0))
        self.cmbCaseCast.setObjectName(_fromUtf8("cmbCaseCast"))
        self.gridLayout_5.addWidget(self.cmbCaseCast, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.tabPurpose)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_5.addWidget(self.label, 0, 0, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_5)
        self.tabWidget.addTab(self.tabPurpose, _fromUtf8(""))
        self.tabMKB = QtGui.QWidget()
        self.tabMKB.setObjectName(_fromUtf8("tabMKB"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabMKB)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.tblMKB = CInDocTableView(self.tabMKB)
        self.tblMKB.setObjectName(_fromUtf8("tblMKB"))
        self.verticalLayout_3.addWidget(self.tblMKB)
        self.tabWidget.addTab(self.tabMKB, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 3, 0, 1, 2)
        self.lblCode.setBuddy(self.edtCode)
        self.lblName.setBuddy(self.edtName)
        self.lblServiceGroup.setBuddy(self.cmbServiceGroup)
        self.lblQualityLevel.setBuddy(self.edtQualityLevel)
        self.lblUetAdultAvarageMedWorker.setBuddy(
            self.edtUetAdultAvarageMedWorker)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblLicense.setBuddy(self.cmbLicense)
        self.lblInfis.setBuddy(self.edtInfis)
        self.lblUetAdultDoctor.setBuddy(self.edtUetAdultDoctor)
        self.lblUetChildDoctor.setBuddy(self.edtUetChildDoctor)
        self.lblUetChildAvarageMedWorker.setBuddy(
            self.edtUetChildAvarageMedWorker)
        self.lblSuperviseComplexityFactor.setBuddy(
            self.edtSuperviseComplexityFactor)
        self.lblProfiles.setBuddy(self.cmbMedicalAidProfile)
        self.lblMedicalAidProfile.setBuddy(self.cmbMedicalAidType)
        self.lblMedicalAidKind.setBuddy(self.cmbMedicalAidKind)

        self.retranslateUi(ItemEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ItemEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ItemEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog)
        ItemEditorDialog.setTabOrder(self.cmbServiceGroup, self.edtCode)
        ItemEditorDialog.setTabOrder(self.edtCode, self.edtName)
        ItemEditorDialog.setTabOrder(self.edtName, self.tabWidget)
        ItemEditorDialog.setTabOrder(self.tabWidget, self.edtBegDate)
        ItemEditorDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        ItemEditorDialog.setTabOrder(self.edtEndDate, self.chkeisLegacy)
        ItemEditorDialog.setTabOrder(self.chkeisLegacy, self.cmbLicense)
        ItemEditorDialog.setTabOrder(self.cmbLicense, self.edtInfis)
        ItemEditorDialog.setTabOrder(self.edtInfis, self.edtQualityLevel)
        ItemEditorDialog.setTabOrder(self.edtQualityLevel,
                                     self.edtSuperviseComplexityFactor)
        ItemEditorDialog.setTabOrder(self.edtSuperviseComplexityFactor,
                                     self.edtUetAdultDoctor)
        ItemEditorDialog.setTabOrder(self.edtUetAdultDoctor,
                                     self.edtUetChildDoctor)
        ItemEditorDialog.setTabOrder(self.edtUetChildDoctor,
                                     self.edtUetAdultAvarageMedWorker)
        ItemEditorDialog.setTabOrder(self.edtUetAdultAvarageMedWorker,
                                     self.edtUetChildAvarageMedWorker)
        ItemEditorDialog.setTabOrder(self.edtUetChildAvarageMedWorker,
                                     self.tblServices)
        ItemEditorDialog.setTabOrder(self.tblServices,
                                     self.cmbMedicalAidProfile)
        ItemEditorDialog.setTabOrder(self.cmbMedicalAidProfile,
                                     self.cmbMedicalAidKind)
        ItemEditorDialog.setTabOrder(self.cmbMedicalAidKind,
                                     self.cmbMedicalAidType)
        ItemEditorDialog.setTabOrder(self.cmbMedicalAidType,
                                     self.tblMedicalAidProfiles)
        ItemEditorDialog.setTabOrder(self.tblMedicalAidProfiles,
                                     self.buttonBox)

    def retranslateUi(self, ItemEditorDialog):
        ItemEditorDialog.setWindowTitle(
            _translate("ItemEditorDialog", "ChangeMe!", None))
        self.lblCode.setText(_translate("ItemEditorDialog", "&Код", None))
        self.lblName.setText(
            _translate("ItemEditorDialog", "&Наименование", None))
        self.lblServiceGroup.setText(
            _translate("ItemEditorDialog", "&Группа", None))
        self.lblQualityLevel.setText(
            _translate("ItemEditorDialog", "Уровень качества лечения", None))
        self.lblUetAvarageMedWorker.setText(
            _translate("ItemEditorDialog",
                       "УЕТ для среднего медицинского персонала", None))
        self.lblUetDoctor.setText(
            _translate("ItemEditorDialog", "УЕТ для врача", None))
        self.cmbLicense.setItemText(
            0, _translate("ItemEditorDialog", "не требуется", None))
        self.cmbLicense.setItemText(
            1, _translate("ItemEditorDialog", "требуется лицензия", None))
        self.cmbLicense.setItemText(
            2,
            _translate("ItemEditorDialog", "требуется персональный сертификат",
                       None))
        self.lblUetAdultAvarageMedWorker.setText(
            _translate("ItemEditorDialog", "Взрослый", None))
        self.lblBegDate.setText(
            _translate("ItemEditorDialog", "Начальная дата", None))
        self.lblEndDate.setText(
            _translate("ItemEditorDialog", "Конечная дата", None))
        self.chkeisLegacy.setText(
            _translate("ItemEditorDialog", "&Унаследовано из ЕИС", None))
        self.lblLicense.setText(
            _translate("ItemEditorDialog", "&Лицензирование", None))
        self.lblInfis.setText(
            _translate("ItemEditorDialog", "Код &ИНФИС", None))
        self.lblUetAdultDoctor.setText(
            _translate("ItemEditorDialog", "Взрослый", None))
        self.lblUetChildDoctor.setText(
            _translate("ItemEditorDialog", "Детский", None))
        self.lblUetChildAvarageMedWorker.setText(
            _translate("ItemEditorDialog", "Детский", None))
        self.lblSuperviseComplexityFactor.setText(
            _translate("ItemEditorDialog", "Коэффициент сложности курации",
                       None))
        self.chkNomenclatureLegacy.setText(
            _translate("ItemEditorDialog",
                       "&Унаследовано из номенклатуры Минздрава", None))
        self.lblServiceCategory.setText(
            _translate("ItemEditorDialog", "Категория", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabInfo),
            _translate("ItemEditorDialog", "Основная информация", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabContent),
            _translate("ItemEditorDialog", "Состав", None))
        self.lblProfiles.setText(
            _translate("ItemEditorDialog", "Профиль по умолчанию", None))
        self.lblMedicalAidProfile.setText(
            _translate("ItemEditorDialog", "Тип по умолчанию", None))
        self.lblMedicalAidKind.setText(
            _translate("ItemEditorDialog", "Вид по умолчанию", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabMedicalAidProfiles),
            _translate("ItemEditorDialog", "Профили, виды и типы помощи",
                       None))
        self.label_2.setText(
            _translate("ItemEditorDialog", "Цели случая лечения", None))
        self.label.setText(
            _translate("ItemEditorDialog", "Типы случая лечения", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabPurpose),
            _translate("ItemEditorDialog", "Типы и цели случая лечения", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMKB),
                                  _translate("ItemEditorDialog", "МКБ", None))
Exemple #4
0
class Ui_PreCreateEventDialog(object):
    def setupUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setObjectName(_fromUtf8("PreCreateEventDialog"))
        PreCreateEventDialog.resize(713, 800)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            PreCreateEventDialog.sizePolicy().hasHeightForWidth())
        PreCreateEventDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(PreCreateEventDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(PreCreateEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabStandart = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabStandart.sizePolicy().hasHeightForWidth())
        self.tabStandart.setSizePolicy(sizePolicy)
        self.tabStandart.setObjectName(_fromUtf8("tabStandart"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabStandart)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.grpReferral = QtGui.QGroupBox(self.tabStandart)
        self.grpReferral.setFlat(True)
        self.grpReferral.setCheckable(True)
        self.grpReferral.setChecked(False)
        self.grpReferral.setObjectName(_fromUtf8("grpReferral"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grpReferral)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtFreeInput = QtGui.QLineEdit(self.grpReferral)
        self.edtFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFreeInput.sizePolicy().hasHeightForWidth())
        self.edtFreeInput.setSizePolicy(sizePolicy)
        self.edtFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.gridLayout_5.addWidget(self.edtFreeInput, 5, 1, 1, 2)
        self.lblDate = QtGui.QLabel(self.grpReferral)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout_5.addWidget(self.lblDate, 2, 0, 1, 1)
        self.lblReferralType = QtGui.QLabel(self.grpReferral)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout_5.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.edtDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout_5.addWidget(self.edtDate, 2, 1, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpReferral)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_5.addWidget(self.lblNumber, 1, 0, 1, 1)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpReferral)
        self.cmbRelegateOrg.setMinimumSize(QtCore.QSize(367, 0))
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_5.addWidget(self.cmbRelegateOrg, 4, 1, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpReferral)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_5.addWidget(self.lblRelegateOrg, 4, 0, 1, 1)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpReferral)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_5.addWidget(self.btnSelectRelegateOrg, 4, 3, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.grpReferral)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout_5.addWidget(self.lblPlannedDate, 3, 0, 1, 1)
        self.edtPlannedDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setToolTip(_fromUtf8(""))
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout_5.addWidget(self.edtPlannedDate, 3, 1, 1, 1)
        self.chkFreeInput = QtGui.QCheckBox(self.grpReferral)
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.gridLayout_5.addWidget(self.chkFreeInput, 5, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpReferral)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_5.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.edtPerson = QtGui.QLineEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPerson.sizePolicy().hasHeightForWidth())
        self.edtPerson.setSizePolicy(sizePolicy)
        self.edtPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout_5.addWidget(self.edtPerson, 6, 1, 1, 3)
        self.lblSpeciality = QtGui.QLabel(self.grpReferral)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_5.addWidget(self.lblSpeciality, 7, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_5.addWidget(self.cmbSpeciality, 7, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.grpReferral)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout_5.addWidget(self.lblDiagnosis, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_5.addWidget(self.cmbMKB, 8, 1, 1, 3)
        self.cmbReferralType = CRBComboBox(self.grpReferral)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout_5.addWidget(self.cmbReferralType, 0, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.grpReferral)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_5.addWidget(self.edtNumber, 1, 1, 1, 3)
        self.gridLayout_2.addWidget(self.grpReferral, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 5, 1, 1, 1)
        self.chkSelectPreviousActions = QtGui.QCheckBox(self.tabStandart)
        self.chkSelectPreviousActions.setEnabled(True)
        self.chkSelectPreviousActions.setObjectName(
            _fromUtf8("chkSelectPreviousActions"))
        self.gridLayout_2.addWidget(self.chkSelectPreviousActions, 5, 2, 1, 1)
        self.btnAppointment = QtGui.QPushButton(self.tabStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnAppointment.sizePolicy().hasHeightForWidth())
        self.btnAppointment.setSizePolicy(sizePolicy)
        self.btnAppointment.setObjectName(_fromUtf8("btnAppointment"))
        self.gridLayout_2.addWidget(self.btnAppointment, 5, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 1, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.tabStandart)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbOrg = CPolyclinicComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrg.sizePolicy().hasHeightForWidth())
        self.cmbOrg.setSizePolicy(sizePolicy)
        self.cmbOrg.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_4.addWidget(self.cmbOrg, 0, 2, 1, 9)
        self.lblExternalId = QtGui.QLabel(self.groupBox)
        self.lblExternalId.setObjectName(_fromUtf8("lblExternalId"))
        self.gridLayout_4.addWidget(self.lblExternalId, 8, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.groupBox)
        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.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_4.addWidget(self.cmbPerson, 2, 2, 1, 9)
        self.lblPersonal = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout_4.addWidget(self.lblPersonal, 2, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.groupBox)
        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_4.addWidget(self.lblEventType, 1, 1, 1, 1)
        self.chkIncludeRedDays = QtGui.QCheckBox(self.groupBox)
        self.chkIncludeRedDays.setObjectName(_fromUtf8("chkIncludeRedDays"))
        self.gridLayout_4.addWidget(self.chkIncludeRedDays, 5, 1, 1, 1)
        self.chkAddVisits = QtGui.QCheckBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAddVisits.sizePolicy().hasHeightForWidth())
        self.chkAddVisits.setSizePolicy(sizePolicy)
        self.chkAddVisits.setObjectName(_fromUtf8("chkAddVisits"))
        self.gridLayout_4.addWidget(self.chkAddVisits, 5, 2, 1, 9)
        self.edtDays = QtGui.QSpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDays.sizePolicy().hasHeightForWidth())
        self.edtDays.setSizePolicy(sizePolicy)
        self.edtDays.setObjectName(_fromUtf8("edtDays"))
        self.gridLayout_4.addWidget(self.edtDays, 7, 2, 1, 1)
        self.lblOrg = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrg.sizePolicy().hasHeightForWidth())
        self.lblOrg.setSizePolicy(sizePolicy)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self.gridLayout_4.addWidget(self.lblOrg, 0, 1, 1, 1)
        self.lblCuratorId = QtGui.QLabel(self.groupBox)
        self.lblCuratorId.setObjectName(_fromUtf8("lblCuratorId"))
        self.gridLayout_4.addWidget(self.lblCuratorId, 10, 1, 1, 1)
        self.cmbCuratorId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCuratorId.sizePolicy().hasHeightForWidth())
        self.cmbCuratorId.setSizePolicy(sizePolicy)
        self.cmbCuratorId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbCuratorId.setObjectName(_fromUtf8("cmbCuratorId"))
        self.gridLayout_4.addWidget(self.cmbCuratorId, 10, 2, 1, 9)
        self.lblAssistantId = QtGui.QLabel(self.groupBox)
        self.lblAssistantId.setObjectName(_fromUtf8("lblAssistantId"))
        self.gridLayout_4.addWidget(self.lblAssistantId, 9, 1, 1, 1)
        self.edtExternalId = QtGui.QLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtExternalId.sizePolicy().hasHeightForWidth())
        self.edtExternalId.setSizePolicy(sizePolicy)
        self.edtExternalId.setMinimumSize(QtCore.QSize(401, 0))
        self.edtExternalId.setObjectName(_fromUtf8("edtExternalId"))
        self.gridLayout_4.addWidget(self.edtExternalId, 8, 2, 1, 9)
        self.lblDays = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDays.sizePolicy().hasHeightForWidth())
        self.lblDays.setSizePolicy(sizePolicy)
        self.lblDays.setObjectName(_fromUtf8("lblDays"))
        self.gridLayout_4.addWidget(self.lblDays, 7, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_4.addWidget(self.cmbEventType, 1, 2, 1, 9)
        self.cmbTissueType = CRBComboBox(self.groupBox)
        self.cmbTissueType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setMinimumSize(QtCore.QSize(401, 25))
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_4.addWidget(self.cmbTissueType, 11, 2, 1, 9)
        self.cmbAssistantId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAssistantId.sizePolicy().hasHeightForWidth())
        self.cmbAssistantId.setSizePolicy(sizePolicy)
        self.cmbAssistantId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbAssistantId.setObjectName(_fromUtf8("cmbAssistantId"))
        self.gridLayout_4.addWidget(self.cmbAssistantId, 9, 2, 1, 9)
        self.lblTissueType = QtGui.QLabel(self.groupBox)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_4.addWidget(self.lblTissueType, 11, 1, 1, 1)
        self.lblEventSetDate = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventSetDate.sizePolicy().hasHeightForWidth())
        self.lblEventSetDate.setSizePolicy(sizePolicy)
        self.lblEventSetDate.setObjectName(_fromUtf8("lblEventSetDate"))
        self.gridLayout_4.addWidget(self.lblEventSetDate, 4, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.groupBox)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_4.addWidget(self.lblOrgStructure, 3, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbOrgStructure, 3, 2, 1, 9)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblEventDateFrom = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateFrom.sizePolicy().hasHeightForWidth())
        self.lblEventDateFrom.setSizePolicy(sizePolicy)
        self.lblEventDateFrom.setObjectName(_fromUtf8("lblEventDateFrom"))
        self.horizontalLayout.addWidget(self.lblEventDateFrom)
        self.edtEventSetDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetDate.sizePolicy().hasHeightForWidth())
        self.edtEventSetDate.setSizePolicy(sizePolicy)
        self.edtEventSetDate.setCalendarPopup(True)
        self.edtEventSetDate.setObjectName(_fromUtf8("edtEventSetDate"))
        self.horizontalLayout.addWidget(self.edtEventSetDate)
        self.edtEventSetTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetTime.sizePolicy().hasHeightForWidth())
        self.edtEventSetTime.setSizePolicy(sizePolicy)
        self.edtEventSetTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventSetTime.setCurrentSectionIndex(0)
        self.edtEventSetTime.setObjectName(_fromUtf8("edtEventSetTime"))
        self.horizontalLayout.addWidget(self.edtEventSetTime)
        self.lblEventDateTo = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateTo.sizePolicy().hasHeightForWidth())
        self.lblEventDateTo.setSizePolicy(sizePolicy)
        self.lblEventDateTo.setObjectName(_fromUtf8("lblEventDateTo"))
        self.horizontalLayout.addWidget(self.lblEventDateTo)
        self.edtEventDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventDate.sizePolicy().hasHeightForWidth())
        self.edtEventDate.setSizePolicy(sizePolicy)
        self.edtEventDate.setCalendarPopup(True)
        self.edtEventDate.setObjectName(_fromUtf8("edtEventDate"))
        self.horizontalLayout.addWidget(self.edtEventDate)
        self.edtEventTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventTime.sizePolicy().hasHeightForWidth())
        self.edtEventTime.setSizePolicy(sizePolicy)
        self.edtEventTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventTime.setCurrentSectionIndex(0)
        self.edtEventTime.setObjectName(_fromUtf8("edtEventTime"))
        self.horizontalLayout.addWidget(self.edtEventTime)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_4.addLayout(self.horizontalLayout, 4, 2, 1, 9)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 3)
        self.btnAppointment.raise_()
        self.chkSelectPreviousActions.raise_()
        self.groupBox.raise_()
        self.grpReferral.raise_()
        self.tabWidget.addTab(self.tabStandart, _fromUtf8(""))
        self.tabNosology = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabNosology.sizePolicy().hasHeightForWidth())
        self.tabNosology.setSizePolicy(sizePolicy)
        self.tabNosology.setObjectName(_fromUtf8("tabNosology"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabNosology)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtNosologyDiagnosis = CICDCodeComboBoxEx(self.tabNosology)
        self.edtNosologyDiagnosis.setObjectName(
            _fromUtf8("edtNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.edtNosologyDiagnosis, 0, 1, 1, 1)
        self.lblNosologyDiagnosis = QtGui.QLabel(self.tabNosology)
        self.lblNosologyDiagnosis.setObjectName(
            _fromUtf8("lblNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.lblNosologyDiagnosis, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.tabWidget.addTab(self.tabNosology, _fromUtf8(""))
        self.tabArmyReferral = QtGui.QWidget()
        self.tabArmyReferral.setObjectName(_fromUtf8("tabArmyReferral"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabArmyReferral)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.grpArmyRefferel = QtGui.QGroupBox(self.tabArmyReferral)
        self.grpArmyRefferel.setCheckable(True)
        self.grpArmyRefferel.setChecked(False)
        self.grpArmyRefferel.setObjectName(_fromUtf8("grpArmyRefferel"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpArmyRefferel)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.edtArmyDate = CDateEdit(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout_6.addWidget(self.edtArmyDate, 1, 1, 1, 2)
        self.lblArmyDate = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout_6.addWidget(self.lblArmyDate, 1, 0, 1, 1)
        self.cmbArmyOrg = CArmyOrgComboBox(self.grpArmyRefferel)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.gridLayout_6.addWidget(self.cmbArmyOrg, 2, 1, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout_6.addWidget(self.cmbArmyNumber, 0, 1, 1, 2)
        self.lblArmyFreeInput = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout_6.addWidget(self.lblArmyFreeInput, 2, 0, 1, 1)
        self.lblArmyNumber = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout_6.addWidget(self.lblArmyNumber, 0, 0, 1, 1)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.grpArmyRefferel)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.gridLayout_6.addWidget(self.btnSelectArmyOrg, 2, 2, 1, 1)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.grpArmyRefferel)
        self.edtArmyFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyFreeInput.sizePolicy().hasHeightForWidth())
        self.edtArmyFreeInput.setSizePolicy(sizePolicy)
        self.edtArmyFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.gridLayout_6.addWidget(self.edtArmyFreeInput, 3, 1, 1, 2)
        self.chkArmyFreeInput = QtGui.QCheckBox(self.grpArmyRefferel)
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.gridLayout_6.addWidget(self.chkArmyFreeInput, 3, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem5, 4, 1, 1, 1)
        self.lblArmyNumber.raise_()
        self.cmbArmyNumber.raise_()
        self.lblArmyDate.raise_()
        self.edtArmyDate.raise_()
        self.lblArmyFreeInput.raise_()
        self.cmbArmyOrg.raise_()
        self.btnSelectArmyOrg.raise_()
        self.chkArmyFreeInput.raise_()
        self.edtArmyFreeInput.raise_()
        self.verticalLayout.addWidget(self.grpArmyRefferel)
        self.tabWidget.addTab(self.tabArmyReferral, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PreCreateEventDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblPerson.setBuddy(self.edtPerson)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblExternalId.setBuddy(self.edtExternalId)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrg.setBuddy(self.cmbOrg)
        self.lblCuratorId.setBuddy(self.cmbCuratorId)
        self.lblAssistantId.setBuddy(self.cmbAssistantId)
        self.lblDays.setBuddy(self.edtDays)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblEventSetDate.setBuddy(self.edtEventSetDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventDateTo.setBuddy(self.edtEventDate)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)

        self.retranslateUi(PreCreateEventDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PreCreateEventDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PreCreateEventDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreCreateEventDialog)
        PreCreateEventDialog.setTabOrder(self.tabWidget, self.cmbOrg)
        PreCreateEventDialog.setTabOrder(self.cmbOrg, self.cmbEventType)
        PreCreateEventDialog.setTabOrder(self.cmbEventType, self.cmbPerson)
        PreCreateEventDialog.setTabOrder(self.cmbPerson, self.cmbOrgStructure)
        PreCreateEventDialog.setTabOrder(self.cmbOrgStructure,
                                         self.edtEventSetDate)
        PreCreateEventDialog.setTabOrder(self.edtEventSetDate,
                                         self.edtEventSetTime)
        PreCreateEventDialog.setTabOrder(self.edtEventSetTime,
                                         self.edtEventDate)
        PreCreateEventDialog.setTabOrder(self.edtEventDate, self.edtEventTime)
        PreCreateEventDialog.setTabOrder(self.edtEventTime,
                                         self.chkIncludeRedDays)
        PreCreateEventDialog.setTabOrder(self.chkIncludeRedDays,
                                         self.chkAddVisits)
        PreCreateEventDialog.setTabOrder(self.chkAddVisits, self.edtDays)
        PreCreateEventDialog.setTabOrder(self.edtDays, self.edtExternalId)
        PreCreateEventDialog.setTabOrder(self.edtExternalId,
                                         self.cmbAssistantId)
        PreCreateEventDialog.setTabOrder(self.cmbAssistantId,
                                         self.cmbCuratorId)
        PreCreateEventDialog.setTabOrder(self.cmbCuratorId, self.cmbTissueType)
        PreCreateEventDialog.setTabOrder(self.cmbTissueType, self.grpReferral)
        PreCreateEventDialog.setTabOrder(self.grpReferral,
                                         self.cmbReferralType)
        PreCreateEventDialog.setTabOrder(self.cmbReferralType, self.edtNumber)
        PreCreateEventDialog.setTabOrder(self.edtNumber, self.edtDate)
        PreCreateEventDialog.setTabOrder(self.edtDate, self.edtPlannedDate)
        PreCreateEventDialog.setTabOrder(self.edtPlannedDate,
                                         self.cmbRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.cmbRelegateOrg,
                                         self.btnSelectRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectRelegateOrg,
                                         self.chkFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        PreCreateEventDialog.setTabOrder(self.edtFreeInput, self.edtPerson)
        PreCreateEventDialog.setTabOrder(self.edtPerson, self.cmbSpeciality)
        PreCreateEventDialog.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        PreCreateEventDialog.setTabOrder(self.cmbMKB, self.btnAppointment)
        PreCreateEventDialog.setTabOrder(self.btnAppointment,
                                         self.chkSelectPreviousActions)
        PreCreateEventDialog.setTabOrder(self.chkSelectPreviousActions,
                                         self.buttonBox)
        PreCreateEventDialog.setTabOrder(self.buttonBox,
                                         self.edtNosologyDiagnosis)
        PreCreateEventDialog.setTabOrder(self.edtNosologyDiagnosis,
                                         self.grpArmyRefferel)
        PreCreateEventDialog.setTabOrder(self.grpArmyRefferel,
                                         self.cmbArmyNumber)
        PreCreateEventDialog.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        PreCreateEventDialog.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        PreCreateEventDialog.setTabOrder(self.cmbArmyOrg,
                                         self.btnSelectArmyOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectArmyOrg,
                                         self.chkArmyFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkArmyFreeInput,
                                         self.edtArmyFreeInput)

    def retranslateUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setWindowTitle(
            _translate("PreCreateEventDialog", "Новое обращение", None))
        self.grpReferral.setTitle(
            _translate("PreCreateEventDialog", "Добавить направление из ЛПУ",
                       None))
        self.lblDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblReferralType.setText(
            _translate("PreCreateEventDialog", "Тип направления", None))
        self.lblNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.lblRelegateOrg.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.btnSelectRelegateOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.lblPlannedDate.setToolTip(
            _translate("PreCreateEventDialog",
                       "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(
            _translate("PreCreateEventDialog",
                       "Дата планируемой госпитализации", None))
        self.chkFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.lblPerson.setText(_translate("PreCreateEventDialog", "Врач",
                                          None))
        self.lblSpeciality.setText(
            _translate("PreCreateEventDialog", "Специальность", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "PreCreateEventDialog",
                "<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.lblDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.chkSelectPreviousActions.setText(
            _translate("PreCreateEventDialog",
                       "Отметить действия добавленные в прошлый раз", None))
        self.btnAppointment.setText(
            _translate("PreCreateEventDialog", "Запись на прием в другое ЛПУ",
                       None))
        self.lblExternalId.setText(
            _translate("PreCreateEventDialog", "Внешний идентификатор", None))
        self.lblPersonal.setText(
            _translate("PreCreateEventDialog", "&Врач", None))
        self.lblEventType.setText(
            _translate("PreCreateEventDialog", "&Цель", None))
        self.chkIncludeRedDays.setText(
            _translate("PreCreateEventDialog", "включая выходные", None))
        self.chkAddVisits.setText(
            _translate("PreCreateEventDialog",
                       "Добавить визиты по длительности", None))
        self.lblOrg.setText(_translate("PreCreateEventDialog", "&ЛПУ", None))
        self.lblCuratorId.setText(
            _translate("PreCreateEventDialog", "Куратор", None))
        self.lblAssistantId.setText(
            _translate("PreCreateEventDialog", "Ассистент", None))
        self.lblDays.setText(_translate("PreCreateEventDialog", "Дней", None))
        self.lblTissueType.setText(
            _translate("PreCreateEventDialog", "Тип биоматериала", None))
        self.lblEventSetDate.setText(
            _translate("PreCreateEventDialog", "&Дата", None))
        self.lblOrgStructure.setText(
            _translate("PreCreateEventDialog", "&Подразделение", None))
        self.lblEventDateFrom.setText(
            _translate("PreCreateEventDialog", "с", None))
        self.edtEventSetTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.lblEventDateTo.setText(
            _translate("PreCreateEventDialog", "по", None))
        self.edtEventTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabStandart),
            _translate("PreCreateEventDialog", "Стандартное", None))
        self.lblNosologyDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabNosology),
            _translate("PreCreateEventDialog", "Нозология (ф.30)", None))
        self.grpArmyRefferel.setTitle(
            _translate("PreCreateEventDialog",
                       "Добавить направление из военкомата", None))
        self.lblArmyDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.lblArmyNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.btnSelectArmyOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.chkArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabArmyReferral),
            _translate("PreCreateEventDialog", "Направление из военкомата",
                       None))
Exemple #5
0
class Ui_ItemEditorDialog(object):
    def setupUi(self, ItemEditorDialog):
        ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog"))
        ItemEditorDialog.resize(434, 451)
        self.gridLayout = QtGui.QGridLayout(ItemEditorDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(20, 25, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 1)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.lblPaymentType = QtGui.QLabel(ItemEditorDialog)
        self.lblPaymentType.setObjectName(_fromUtf8("lblPaymentType"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblPaymentType)
        self.cmbPaymentType = QtGui.QComboBox(ItemEditorDialog)
        self.cmbPaymentType.setMinimumSize(QtCore.QSize(234, 0))
        self.cmbPaymentType.setObjectName(_fromUtf8("cmbPaymentType"))
        self.cmbPaymentType.addItem(_fromUtf8(""))
        self.cmbPaymentType.addItem(_fromUtf8(""))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.cmbPaymentType)
        self.lblCodePart = QtGui.QLabel(ItemEditorDialog)
        self.lblCodePart.setObjectName(_fromUtf8("lblCodePart"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblCodePart)
        self.cmbCodePart = QtGui.QComboBox(ItemEditorDialog)
        self.cmbCodePart.setMinimumSize(QtCore.QSize(234, 0))
        self.cmbCodePart.setObjectName(_fromUtf8("cmbCodePart"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.cmbCodePart)
        self.lblOKPF = QtGui.QLabel(ItemEditorDialog)
        self.lblOKPF.setObjectName(_fromUtf8("lblOKPF"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lblOKPF)
        self.cmbOKPF = CRBComboBox(ItemEditorDialog)
        self.cmbOKPF.setMinimumSize(QtCore.QSize(234, 0))
        self.cmbOKPF.setObjectName(_fromUtf8("cmbOKPF"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbOKPF)
        self.lblOrgName = QtGui.QLabel(ItemEditorDialog)
        self.lblOrgName.setObjectName(_fromUtf8("lblOrgName"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lblOrgName)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbOrgId = COrgComboBox(ItemEditorDialog)
        self.cmbOrgId.setEnabled(True)
        self.cmbOrgId.setMinimumSize(QtCore.QSize(200, 25))
        self.cmbOrgId.setObjectName(_fromUtf8("cmbOrgId"))
        self.horizontalLayout.addWidget(self.cmbOrgId)
        self.btnSelectOrgName = QtGui.QToolButton(ItemEditorDialog)
        self.btnSelectOrgName.setEnabled(True)
        self.btnSelectOrgName.setObjectName(_fromUtf8("btnSelectOrgName"))
        self.horizontalLayout.addWidget(self.btnSelectOrgName)
        self.formLayout.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.lblContractNumber = QtGui.QLabel(ItemEditorDialog)
        self.lblContractNumber.setObjectName(_fromUtf8("lblContractNumber"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.lblContractNumber)
        self.edtContractNumber = QtGui.QLineEdit(ItemEditorDialog)
        self.edtContractNumber.setMinimumSize(QtCore.QSize(234, 0))
        self.edtContractNumber.setObjectName(_fromUtf8("edtContractNumber"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.edtContractNumber)
        self.lblDate = QtGui.QLabel(ItemEditorDialog)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.lblDate)
        self.edtDate = CDateEdit(ItemEditorDialog)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.edtDate)
        self.lblEndDate = QtGui.QLabel(ItemEditorDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.lblEndDate)
        self.edtEndDate = CDateEdit(ItemEditorDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.edtEndDate)
        self.lblContractSum = QtGui.QLabel(ItemEditorDialog)
        self.lblContractSum.setObjectName(_fromUtf8("lblContractSum"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.lblContractSum)
        self.edtContractSum = QtGui.QLineEdit(ItemEditorDialog)
        self.edtContractSum.setMinimumSize(QtCore.QSize(234, 0))
        self.edtContractSum.setObjectName(_fromUtf8("edtContractSum"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.edtContractSum)
        self.lblContragent = QtGui.QLabel(ItemEditorDialog)
        self.lblContragent.setObjectName(_fromUtf8("lblContragent"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.lblContragent)
        self.edtContragent = QtGui.QLineEdit(ItemEditorDialog)
        self.edtContragent.setObjectName(_fromUtf8("edtContragent"))
        self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.edtContragent)
        self.lblProtocolNumber = QtGui.QLabel(ItemEditorDialog)
        self.lblProtocolNumber.setObjectName(_fromUtf8("lblProtocolNumber"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.lblProtocolNumber)
        self.edtProtocolNum = QtGui.QLineEdit(ItemEditorDialog)
        self.edtProtocolNum.setObjectName(_fromUtf8("edtProtocolNum"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.edtProtocolNum)
        self.lblProtocolPhase = QtGui.QLabel(ItemEditorDialog)
        self.lblProtocolPhase.setObjectName(_fromUtf8("lblProtocolPhase"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.lblProtocolPhase)
        self.edtProtocolPhase = QtGui.QLineEdit(ItemEditorDialog)
        self.edtProtocolPhase.setObjectName(_fromUtf8("edtProtocolPhase"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.edtProtocolPhase)
        self.lblProtocolName = QtGui.QLabel(ItemEditorDialog)
        self.lblProtocolName.setObjectName(_fromUtf8("lblProtocolName"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.lblProtocolName)
        self.edtProtocolName = QtGui.QLineEdit(ItemEditorDialog)
        self.edtProtocolName.setObjectName(_fromUtf8("edtProtocolName"))
        self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.edtProtocolName)
        self.lblRecPatients = QtGui.QLabel(ItemEditorDialog)
        self.lblRecPatients.setObjectName(_fromUtf8("lblRecPatients"))
        self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.lblRecPatients)
        self.cmbRecPatients = QtGui.QComboBox(ItemEditorDialog)
        self.cmbRecPatients.setObjectName(_fromUtf8("cmbRecPatients"))
        self.cmbRecPatients.addItem(_fromUtf8(""))
        self.cmbRecPatients.addItem(_fromUtf8(""))
        self.formLayout.setWidget(12, QtGui.QFormLayout.FieldRole, self.cmbRecPatients)
        self.lblContractItem = QtGui.QLabel(ItemEditorDialog)
        self.lblContractItem.setObjectName(_fromUtf8("lblContractItem"))
        self.formLayout.setWidget(13, QtGui.QFormLayout.LabelRole, self.lblContractItem)
        self.edtContractItem = QtGui.QLineEdit(ItemEditorDialog)
        self.edtContractItem.setObjectName(_fromUtf8("edtContractItem"))
        self.formLayout.setWidget(13, QtGui.QFormLayout.FieldRole, self.edtContractItem)
        self.lblAddress = QtGui.QLabel(ItemEditorDialog)
        self.lblAddress.setObjectName(_fromUtf8("lblAddress"))
        self.formLayout.setWidget(14, QtGui.QFormLayout.LabelRole, self.lblAddress)
        self.edtAddress = QtGui.QLineEdit(ItemEditorDialog)
        self.edtAddress.setObjectName(_fromUtf8("edtAddress"))
        self.formLayout.setWidget(14, QtGui.QFormLayout.FieldRole, self.edtAddress)
        self.gridLayout.addLayout(self.formLayout, 1, 0, 1, 1)
        self.lblPaymentType.setBuddy(self.cmbPaymentType)
        self.lblCodePart.setBuddy(self.cmbCodePart)
        self.lblOKPF.setBuddy(self.cmbOKPF)
        self.lblOrgName.setBuddy(self.cmbOrgId)
        self.lblContractNumber.setBuddy(self.edtContractNumber)
        self.lblDate.setBuddy(self.edtDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblContractSum.setBuddy(self.edtContractSum)

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

    def retranslateUi(self, ItemEditorDialog):
        ItemEditorDialog.setWindowTitle(_translate("ItemEditorDialog", "Dialog", None))
        self.lblPaymentType.setText(_translate("ItemEditorDialog", "Тип оплаты", None))
        self.cmbPaymentType.setItemText(0, _translate("ItemEditorDialog", "По безналу", None))
        self.cmbPaymentType.setItemText(1, _translate("ItemEditorDialog", "По протоколу", None))
        self.lblCodePart.setText(_translate("ItemEditorDialog", "Часть кода", None))
        self.lblOKPF.setText(_translate("ItemEditorDialog", "Организационная форма", None))
        self.lblOrgName.setText(_translate("ItemEditorDialog", "Наименование организации", None))
        self.btnSelectOrgName.setText(_translate("ItemEditorDialog", "...", None))
        self.lblContractNumber.setText(_translate("ItemEditorDialog", "Номер договора", None))
        self.lblDate.setText(_translate("ItemEditorDialog", "Дата заключения договора", None))
        self.lblEndDate.setText(_translate("ItemEditorDialog", "Дата окончания договора", None))
        self.lblContractSum.setText(_translate("ItemEditorDialog", "Сумма договора", None))
        self.lblContragent.setText(_translate("ItemEditorDialog", "Контрагент", None))
        self.lblProtocolNumber.setText(_translate("ItemEditorDialog", "Номер протокола", None))
        self.lblProtocolPhase.setText(_translate("ItemEditorDialog", "Фаза протокола", None))
        self.lblProtocolName.setText(_translate("ItemEditorDialog", "Наименование протокола", None))
        self.lblRecPatients.setText(_translate("ItemEditorDialog", "Набор пациентов", None))
        self.cmbRecPatients.setItemText(0, _translate("ItemEditorDialog", "Набор открыт", None))
        self.cmbRecPatients.setItemText(1, _translate("ItemEditorDialog", "Набор закрыт", None))
        self.lblContractItem.setText(_translate("ItemEditorDialog", "Предмет договора", None))
        self.lblAddress.setText(_translate("ItemEditorDialog", "Почтовый адрес", None))
Exemple #6
0
class Ui_EventNotesPageWidget(object):
    def setupUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setObjectName(_fromUtf8("EventNotesPageWidget"))
        EventNotesPageWidget.resize(732, 659)
        self.verticalLayout = QtGui.QVBoxLayout(EventNotesPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(EventNotesPageWidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMain)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabMain)
        self.scrollArea.setMinimumSize(QtCore.QSize(700, 0))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 680, 1010))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbCureType = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureType.sizePolicy().hasHeightForWidth())
        self.cmbCureType.setSizePolicy(sizePolicy)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout.addWidget(self.cmbCureType, 28, 1, 1, 3)
        self.edtPlannedDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout.addWidget(self.edtPlannedDate, 10, 1, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.scrollAreaWidgetContents)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 15, 1, 1, 3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbRelegateOrg = CPolyclinicComboBox(self.scrollAreaWidgetContents)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.horizontalLayout.addWidget(self.cmbRelegateOrg)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectRelegateOrg.setObjectName(_fromUtf8("btnSelectRelegateOrg"))
        self.horizontalLayout.addWidget(self.btnSelectRelegateOrg)
        self.gridLayout.addLayout(self.horizontalLayout, 11, 1, 1, 3)
        self.lblRelegateOrg = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout.addWidget(self.lblRelegateOrg, 11, 0, 1, 1)
        self.cmbCureMethod = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureMethod.sizePolicy().hasHeightForWidth())
        self.cmbCureMethod.setSizePolicy(sizePolicy)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout.addWidget(self.cmbCureMethod, 29, 1, 1, 3)
        self.lblEventCreateDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreateDateTime.setObjectName(_fromUtf8("lblEventCreateDateTime"))
        self.gridLayout.addWidget(self.lblEventCreateDateTime, 23, 0, 1, 1)
        self.lblArmyDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout.addWidget(self.lblArmyDate, 18, 0, 1, 1)
        self.lblEventCuratorIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCuratorIdValue.setObjectName(_fromUtf8("lblEventCuratorIdValue"))
        self.gridLayout.addWidget(self.lblEventCuratorIdValue, 22, 0, 1, 1)
        self.lblEventCreatePersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreatePersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreatePersonValue.setSizePolicy(sizePolicy)
        self.lblEventCreatePersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreatePersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreatePersonValue.setText(_fromUtf8(""))
        self.lblEventCreatePersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreatePersonValue.setObjectName(_fromUtf8("lblEventCreatePersonValue"))
        self.gridLayout.addWidget(self.lblEventCreatePersonValue, 24, 1, 1, 3)
        self.chkLock = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLock.setEnabled(False)
        self.chkLock.setText(_fromUtf8(""))
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridLayout.addWidget(self.chkLock, 32, 1, 1, 3)
        self.edtPerson = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPerson.setMinimumSize(QtCore.QSize(347, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout.addWidget(self.edtPerson, 13, 1, 1, 3)
        self.chkArmyReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyReferral.setObjectName(_fromUtf8("chkArmyReferral"))
        self.gridLayout.addWidget(self.chkArmyReferral, 16, 0, 1, 4)
        self.edtPrevEventInfo = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPrevEventInfo.setEnabled(False)
        self.edtPrevEventInfo.setObjectName(_fromUtf8("edtPrevEventInfo"))
        self.gridLayout.addWidget(self.edtPrevEventInfo, 2, 1, 1, 3)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventAssistantIdValue.setObjectName(_fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout.addWidget(self.lblEventAssistantIdValue, 21, 0, 1, 1)
        self.lblEventCreatePerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreatePerson.setObjectName(_fromUtf8("lblEventCreatePerson"))
        self.gridLayout.addWidget(self.lblEventCreatePerson, 24, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbClientPolicy = CClientPolicyComboBox(self.scrollAreaWidgetContents)
        self.cmbClientPolicy.setObjectName(_fromUtf8("cmbClientPolicy"))
        self.gridLayout.addWidget(self.cmbClientPolicy, 4, 1, 1, 3)
        self.lblArmyNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout.addWidget(self.lblArmyNumber, 17, 0, 1, 1)
        self.lblNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 8, 0, 1, 1)
        self.cmbEventCurator = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventCurator.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventCurator.sizePolicy().hasHeightForWidth())
        self.cmbEventCurator.setSizePolicy(sizePolicy)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout.addWidget(self.cmbEventCurator, 22, 1, 1, 3)
        self.lblCureType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout.addWidget(self.lblCureType, 28, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(321, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 3)
        self.lblClientPolicy = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblClientPolicy.setObjectName(_fromUtf8("lblClientPolicy"))
        self.gridLayout.addWidget(self.lblClientPolicy, 4, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.cmbArmyOrg = CArmyOrgComboBox(self.scrollAreaWidgetContents)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.horizontalLayout_4.addWidget(self.cmbArmyOrg)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.horizontalLayout_4.addWidget(self.btnSelectArmyOrg)
        self.gridLayout.addLayout(self.horizontalLayout_4, 19, 1, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.chkArmyFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyFreeInput.setText(_fromUtf8(""))
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.chkArmyFreeInput)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtArmyFreeInput.setEnabled(False)
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.edtArmyFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_3, 20, 1, 1, 3)
        self.cmbEventAssistant = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventAssistant.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventAssistant.sizePolicy().hasHeightForWidth())
        self.cmbEventAssistant.setSizePolicy(sizePolicy)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout.addWidget(self.cmbEventAssistant, 21, 1, 1, 3)
        self.lblPrevEvent = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPrevEvent.setObjectName(_fromUtf8("lblPrevEvent"))
        self.gridLayout.addWidget(self.lblPrevEvent, 2, 0, 1, 1)
        self.cmbPatientModel = CModelPatientComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPatientModel.sizePolicy().hasHeightForWidth())
        self.cmbPatientModel.setSizePolicy(sizePolicy)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout.addWidget(self.cmbPatientModel, 27, 1, 1, 3)
        self.edtDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 9, 1, 1, 3)
        self.btnExternalIdupd = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnExternalIdupd.setVisible(False)
        self.btnExternalIdupd.setObjectName(_fromUtf8("btnExternalIdupd"))
        self.gridLayout.addWidget(self.btnExternalIdupd, 3, 1, 1, 1)
        self.lblEventExternalId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventExternalId.setObjectName(_fromUtf8("lblEventExternalId"))
        self.gridLayout.addWidget(self.lblEventExternalId, 1, 0, 1, 1)
        self.lblEventNote = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventNote.sizePolicy().hasHeightForWidth())
        self.lblEventNote.setSizePolicy(sizePolicy)
        self.lblEventNote.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblEventNote.setObjectName(_fromUtf8("lblEventNote"))
        self.gridLayout.addWidget(self.lblEventNote, 31, 0, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout.addWidget(self.lblPlannedDate, 10, 0, 1, 1)
        self.lblEventModifyPersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyPersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyPersonValue.setSizePolicy(sizePolicy)
        self.lblEventModifyPersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyPersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyPersonValue.setText(_fromUtf8(""))
        self.lblEventModifyPersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyPersonValue.setObjectName(_fromUtf8("lblEventModifyPersonValue"))
        self.gridLayout.addWidget(self.lblEventModifyPersonValue, 26, 1, 1, 3)
        self.lblCureMethod = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout.addWidget(self.lblCureMethod, 29, 0, 1, 1)
        self.chkLPUReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLPUReferral.setObjectName(_fromUtf8("chkLPUReferral"))
        self.gridLayout.addWidget(self.chkLPUReferral, 6, 0, 1, 4)
        self.edtEventNote = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.edtEventNote.setObjectName(_fromUtf8("edtEventNote"))
        self.gridLayout.addWidget(self.edtEventNote, 31, 1, 1, 3)
        self.lblDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 9, 0, 1, 1)
        self.edtEventExternalIdValue = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtEventExternalIdValue.setEnabled(False)
        self.edtEventExternalIdValue.setObjectName(_fromUtf8("edtEventExternalIdValue"))
        self.gridLayout.addWidget(self.edtEventExternalIdValue, 1, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 15, 0, 1, 1)
        self.lblEventModifyDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyDateTime.setObjectName(_fromUtf8("lblEventModifyDateTime"))
        self.gridLayout.addWidget(self.lblEventModifyDateTime, 25, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout.addWidget(self.lblPatientModel, 27, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkFreeInput.setText(_fromUtf8(""))
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.horizontalLayout_2.addWidget(self.chkFreeInput)
        self.edtFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtFreeInput.setEnabled(False)
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.horizontalLayout_2.addWidget(self.edtFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_2, 12, 1, 1, 3)
        self.lblEventCreateDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreateDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreateDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventCreateDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreateDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreateDateTimeValue.setText(_fromUtf8(""))
        self.lblEventCreateDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreateDateTimeValue.setObjectName(_fromUtf8("lblEventCreateDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventCreateDateTimeValue, 23, 1, 1, 3)
        self.lblArmyFreeInput = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout.addWidget(self.lblArmyFreeInput, 19, 0, 1, 1)
        self.lblEventId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout.addWidget(self.lblEventId, 0, 0, 1, 1)
        self.lblEventIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventIdValue.sizePolicy().hasHeightForWidth())
        self.lblEventIdValue.setSizePolicy(sizePolicy)
        self.lblEventIdValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventIdValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventIdValue.setText(_fromUtf8(""))
        self.lblEventIdValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventIdValue.setObjectName(_fromUtf8("lblEventIdValue"))
        self.gridLayout.addWidget(self.lblEventIdValue, 0, 1, 1, 3)
        self.lblLock = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblLock.setEnabled(False)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridLayout.addWidget(self.lblLock, 32, 0, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout.addWidget(self.cmbArmyNumber, 17, 1, 1, 3)
        self.lblEventModifyDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventModifyDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyDateTimeValue.setText(_fromUtf8(""))
        self.lblEventModifyDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyDateTimeValue.setObjectName(_fromUtf8("lblEventModifyDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventModifyDateTimeValue, 25, 1, 1, 3)
        self.lblEventModifyPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyPerson.setObjectName(_fromUtf8("lblEventModifyPerson"))
        self.gridLayout.addWidget(self.lblEventModifyPerson, 26, 0, 1, 1)
        self.edtArmyDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout.addWidget(self.edtArmyDate, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 13, 0, 1, 1)
        self.lblRefType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRefType.setObjectName(_fromUtf8("lblRefType"))
        self.gridLayout.addWidget(self.lblRefType, 7, 0, 1, 1)
        self.cmbReferralType = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 7, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 8, 1, 1, 3)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_2.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabIEMK = QtGui.QWidget()
        self.tabIEMK.setObjectName(_fromUtf8("tabIEMK"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabIEMK)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.txtBrowserIEMKHistoryLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKHistoryLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKHistoryLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKHistoryLog.setObjectName(_fromUtf8("txtBrowserIEMKHistoryLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKHistoryLog, 1, 0, 1, 4)
        self.btnSendCase = QtGui.QPushButton(self.tabIEMK)
        self.btnSendCase.setObjectName(_fromUtf8("btnSendCase"))
        self.gridLayout_3.addWidget(self.btnSendCase, 9, 2, 1, 2)
        self.btnSendClient = QtGui.QPushButton(self.tabIEMK)
        self.btnSendClient.setObjectName(_fromUtf8("btnSendClient"))
        self.gridLayout_3.addWidget(self.btnSendClient, 9, 0, 1, 2)
        self.label = QtGui.QLabel(self.tabIEMK)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 4)
        self.chkWebEpicrisis = QtGui.QCheckBox(self.tabIEMK)
        self.chkWebEpicrisis.setObjectName(_fromUtf8("chkWebEpicrisis"))
        self.gridLayout_3.addWidget(self.chkWebEpicrisis, 8, 0, 1, 4)
        self.txtBrowserIEMKCurrentLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKCurrentLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKCurrentLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKCurrentLog.setObjectName(_fromUtf8("txtBrowserIEMKCurrentLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKCurrentLog, 3, 0, 1, 4)
        self.label_3 = QtGui.QLabel(self.tabIEMK)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 4, 0, 1, 1)
        self.edtCaseURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtCaseURL.setObjectName(_fromUtf8("edtCaseURL"))
        self.gridLayout_3.addWidget(self.edtCaseURL, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(self.tabIEMK)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 2, 0, 1, 4)
        self.edtPixURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtPixURL.setObjectName(_fromUtf8("edtPixURL"))
        self.gridLayout_3.addWidget(self.edtPixURL, 5, 1, 1, 3)
        self.label_4 = QtGui.QLabel(self.tabIEMK)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 5, 0, 1, 1)
        self.btnCreateService = QtGui.QPushButton(self.tabIEMK)
        self.btnCreateService.setObjectName(_fromUtf8("btnCreateService"))
        self.gridLayout_3.addWidget(self.btnCreateService, 7, 0, 1, 4)
        self.label_5 = QtGui.QLabel(self.tabIEMK)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 6, 0, 1, 1)
        self.edtGUID = QtGui.QLineEdit(self.tabIEMK)
        self.edtGUID.setObjectName(_fromUtf8("edtGUID"))
        self.gridLayout_3.addWidget(self.edtGUID, 6, 1, 1, 3)
        self.tabWidget.addTab(self.tabIEMK, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblEventCuratorIdValue.setBuddy(self.cmbEventCurator)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblEventExternalId.setBuddy(self.edtEventExternalIdValue)
        self.lblEventNote.setBuddy(self.edtEventNote)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblDate.setBuddy(self.edtDate)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblLock.setBuddy(self.chkLock)
        self.lblPerson.setBuddy(self.edtPerson)

        self.retranslateUi(EventNotesPageWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(EventNotesPageWidget)
        EventNotesPageWidget.setTabOrder(self.edtEventExternalIdValue, self.edtPrevEventInfo)
        EventNotesPageWidget.setTabOrder(self.edtPrevEventInfo, self.cmbClientPolicy)
        EventNotesPageWidget.setTabOrder(self.cmbClientPolicy, self.chkLPUReferral)
        EventNotesPageWidget.setTabOrder(self.chkLPUReferral, self.cmbReferralType)
        EventNotesPageWidget.setTabOrder(self.cmbReferralType, self.edtNumber)
        EventNotesPageWidget.setTabOrder(self.edtNumber, self.edtDate)
        EventNotesPageWidget.setTabOrder(self.edtDate, self.edtPlannedDate)
        EventNotesPageWidget.setTabOrder(self.edtPlannedDate, self.cmbRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectRelegateOrg, self.chkFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtFreeInput, self.edtPerson)
        EventNotesPageWidget.setTabOrder(self.edtPerson, self.cmbSpeciality)
        EventNotesPageWidget.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        EventNotesPageWidget.setTabOrder(self.cmbMKB, self.chkArmyReferral)
        EventNotesPageWidget.setTabOrder(self.chkArmyReferral, self.cmbArmyNumber)
        EventNotesPageWidget.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        EventNotesPageWidget.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        EventNotesPageWidget.setTabOrder(self.cmbArmyOrg, self.btnSelectArmyOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectArmyOrg, self.chkArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkArmyFreeInput, self.edtArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtArmyFreeInput, self.cmbEventAssistant)
        EventNotesPageWidget.setTabOrder(self.cmbEventAssistant, self.cmbEventCurator)
        EventNotesPageWidget.setTabOrder(self.cmbEventCurator, self.chkLock)
        EventNotesPageWidget.setTabOrder(self.chkLock, self.cmbCureType)
        EventNotesPageWidget.setTabOrder(self.cmbCureType, self.cmbPatientModel)
        EventNotesPageWidget.setTabOrder(self.cmbPatientModel, self.cmbCureMethod)
        EventNotesPageWidget.setTabOrder(self.cmbCureMethod, self.edtEventNote)

    def retranslateUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setWindowTitle(_translate("EventNotesPageWidget", "Form", None))
        self.edtPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.btnSelectRelegateOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblRelegateOrg.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventCreateDateTime.setText(_translate("EventNotesPageWidget", "Дата и время создания", None))
        self.lblArmyDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblEventCuratorIdValue.setText(_translate("EventNotesPageWidget", "Куратор", None))
        self.chkArmyReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из военкомата", None))
        self.lblEventAssistantIdValue.setText(_translate("EventNotesPageWidget", "Ассистент", None))
        self.lblEventCreatePerson.setText(_translate("EventNotesPageWidget", "Автор", None))
        self.lblSpeciality.setText(_translate("EventNotesPageWidget", "Специальность", None))
        self.lblArmyNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblCureType.setText(_translate("EventNotesPageWidget", "Вид лечения", None))
        self.cmbSpeciality.setWhatsThis(_translate("EventNotesPageWidget", "<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.lblClientPolicy.setText(_translate("EventNotesPageWidget", "Полис пациента", None))
        self.btnSelectArmyOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblPrevEvent.setText(_translate("EventNotesPageWidget", "Предыдущее событие", None))
        self.btnExternalIdupd.setText(_translate("EventNotesPageWidget", "Обновить внешний индентификатор записи", None))
        self.lblEventExternalId.setText(_translate("EventNotesPageWidget", "Внешний идентификатор записи", None))
        self.lblEventNote.setText(_translate("EventNotesPageWidget", "Примечания", None))
        self.lblPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(_translate("EventNotesPageWidget", "Дата планируемой госпитализации", None))
        self.lblCureMethod.setText(_translate("EventNotesPageWidget", "Метод лечения", None))
        self.chkLPUReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из ЛПУ", None))
        self.lblDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblDiagnosis.setText(_translate("EventNotesPageWidget", "Диагноз", None))
        self.lblEventModifyDateTime.setText(_translate("EventNotesPageWidget", "Дата и время последнего изменения", None))
        self.lblPatientModel.setText(_translate("EventNotesPageWidget", "Модель пациента", None))
        self.lblArmyFreeInput.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventId.setText(_translate("EventNotesPageWidget", "Идентификатор записи", None))
        self.lblLock.setText(_translate("EventNotesPageWidget", "Заблокировать обращение", None))
        self.lblEventModifyPerson.setText(_translate("EventNotesPageWidget", "Автор последнего изменения", None))
        self.lblPerson.setText(_translate("EventNotesPageWidget", "Врач", None))
        self.lblRefType.setText(_translate("EventNotesPageWidget", "Тип направления", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMain), _translate("EventNotesPageWidget", "Основное", None))
        self.btnSendCase.setText(_translate("EventNotesPageWidget", "Отправить случай", None))
        self.btnSendClient.setText(_translate("EventNotesPageWidget", "Отправить человека", None))
        self.label.setText(_translate("EventNotesPageWidget", "История посылок", None))
        self.chkWebEpicrisis.setText(_translate("EventNotesPageWidget", "Посылать веб эпикризы", None))
        self.label_3.setText(_translate("EventNotesPageWidget", "Адрес сервиса случаев", None))
        self.label_2.setText(_translate("EventNotesPageWidget", "Лог текущей посылки", None))
        self.label_4.setText(_translate("EventNotesPageWidget", "Адрес сервиса пациентов", None))
        self.btnCreateService.setText(_translate("EventNotesPageWidget", "Использовать адреса", None))
        self.label_5.setText(_translate("EventNotesPageWidget", "GUID", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabIEMK), _translate("EventNotesPageWidget", "ЭМК", None))
Exemple #7
0
class Ui_FindClientDialog(object):
    def setupUi(self, FindClientDialog):
        FindClientDialog.setObjectName(_fromUtf8("FindClientDialog"))
        FindClientDialog.resize(902, 883)
        self.horizontalLayout_2 = QtGui.QHBoxLayout(FindClientDialog)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.tblClients = CTableView(FindClientDialog)
        self.tblClients.setObjectName(_fromUtf8("tblClients"))
        self.horizontalLayout_2.addWidget(self.tblClients)
        self.groupBox = QtGui.QGroupBox(FindClientDialog)
        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.setMinimumSize(QtCore.QSize(321, 0))
        self.groupBox.setMaximumSize(QtCore.QSize(321, 16777215))
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setMargin(2)
        self.gridlayout.setSpacing(2)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.buttonBoxClient = CApplyResetDialogButtonBox(self.groupBox)
        self.buttonBoxClient.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBoxClient.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                                | QtGui.QDialogButtonBox.Reset)
        self.buttonBoxClient.setObjectName(_fromUtf8("buttonBoxClient"))
        self.gridlayout.addWidget(self.buttonBoxClient, 2, 0, 1, 1)
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setTabPosition(QtGui.QTabWidget.North)
        self.tabFilter.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_18 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_18.setMargin(1)
        self.gridLayout_18.setSpacing(1)
        self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18"))
        self.chkFilterContact = QtGui.QCheckBox(self.tabFind)
        self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact"))
        self.gridLayout_18.addWidget(self.chkFilterContact, 11, 0, 1, 3)
        self.cmbFilterDocumentType = CRBComboBox(self.tabFind)
        self.cmbFilterDocumentType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterDocumentType.sizePolicy().hasHeightForWidth())
        self.cmbFilterDocumentType.setSizePolicy(sizePolicy)
        self.cmbFilterDocumentType.setMinimumSize(QtCore.QSize(100, 0))
        self.cmbFilterDocumentType.setObjectName(
            _fromUtf8("cmbFilterDocumentType"))
        self.gridLayout_18.addWidget(self.cmbFilterDocumentType, 15, 3, 1, 4)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setSpacing(2)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.lblFilterAddressHouse = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressHouse.setEnabled(False)
        self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading
                                                | QtCore.Qt.AlignLeft
                                                | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressHouse.setObjectName(
            _fromUtf8("lblFilterAddressHouse"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressHouse)
        self.edtFilterAddressHouse = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressHouse.setEnabled(False)
        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_5.addWidget(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressCorpus.setEnabled(False)
        self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight
                                                 | QtCore.Qt.AlignTrailing
                                                 | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressCorpus.setObjectName(
            _fromUtf8("lblFilterAddressCorpus"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressCorpus)
        self.edtFilterAddressCorpus = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressCorpus.setEnabled(False)
        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_5.addWidget(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat = QtGui.QLabel(self.tabFind)
        self.lblFilterAddressFlat.setEnabled(False)
        self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight
                                               | QtCore.Qt.AlignTrailing
                                               | QtCore.Qt.AlignVCenter)
        self.lblFilterAddressFlat.setObjectName(
            _fromUtf8("lblFilterAddressFlat"))
        self.horizontalLayout_5.addWidget(self.lblFilterAddressFlat)
        self.edtFilterAddressFlat = QtGui.QLineEdit(self.tabFind)
        self.edtFilterAddressFlat.setEnabled(False)
        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_5.addWidget(self.edtFilterAddressFlat)
        self.gridLayout_18.addLayout(self.horizontalLayout_5, 24, 0, 1, 7)
        self.cmbWorkOrganisation = COrgComboBox(self.tabFind)
        self.cmbWorkOrganisation.setEnabled(False)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout_18.addWidget(self.cmbWorkOrganisation, 26, 0, 1, 6)
        self.chkFilterPolicy = QtGui.QCheckBox(self.tabFind)
        self.chkFilterPolicy.setObjectName(_fromUtf8("chkFilterPolicy"))
        self.gridLayout_18.addWidget(self.chkFilterPolicy, 17, 0, 1, 7)
        self.chkFilterWorkOrganisation = QtGui.QCheckBox(self.tabFind)
        self.chkFilterWorkOrganisation.setObjectName(
            _fromUtf8("chkFilterWorkOrganisation"))
        self.gridLayout_18.addWidget(self.chkFilterWorkOrganisation, 25, 0, 1,
                                     6)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_18.addItem(spacerItem, 33, 0, 1, 1)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(self.tabFind)
        self.btnSelectWorkOrganisation.setEnabled(False)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout_18.addWidget(self.btnSelectWorkOrganisation, 26, 6, 1,
                                     1)
        self.edtFilterSNILS = QtGui.QLineEdit(self.tabFind)
        self.edtFilterSNILS.setEnabled(False)
        self.edtFilterSNILS.setObjectName(_fromUtf8("edtFilterSNILS"))
        self.gridLayout_18.addWidget(self.edtFilterSNILS, 12, 3, 1, 4)
        self.cmbFilterAccountingSystem = CRBComboBox(self.tabFind)
        self.cmbFilterAccountingSystem.setEnabled(False)
        self.cmbFilterAccountingSystem.setObjectName(
            _fromUtf8("cmbFilterAccountingSystem"))
        self.gridLayout_18.addWidget(self.cmbFilterAccountingSystem, 0, 2, 1,
                                     5)
        self.edtFilterContact = QtGui.QLineEdit(self.tabFind)
        self.edtFilterContact.setEnabled(False)
        self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact"))
        self.gridLayout_18.addWidget(self.edtFilterContact, 11, 3, 1, 4)
        self.cmbFilterPolicyType = CRBComboBox(self.tabFind)
        self.cmbFilterPolicyType.setEnabled(False)
        self.cmbFilterPolicyType.setObjectName(
            _fromUtf8("cmbFilterPolicyType"))
        self.gridLayout_18.addWidget(self.cmbFilterPolicyType, 18, 0, 1, 7)
        self.chkFilterLocationCardType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterLocationCardType.setObjectName(
            _fromUtf8("chkFilterLocationCardType"))
        self.gridLayout_18.addWidget(self.chkFilterLocationCardType, 28, 0, 1,
                                     2)
        self.cmbFilterLocationCardType = CRBComboBox(self.tabFind)
        self.cmbFilterLocationCardType.setEnabled(False)
        self.cmbFilterLocationCardType.setObjectName(
            _fromUtf8("cmbFilterLocationCardType"))
        self.gridLayout_18.addWidget(self.cmbFilterLocationCardType, 28, 2, 1,
                                     5)
        self.chkFilterStatusObservationType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterStatusObservationType.setObjectName(
            _fromUtf8("chkFilterStatusObservationType"))
        self.gridLayout_18.addWidget(self.chkFilterStatusObservationType, 29,
                                     0, 1, 2)
        self.edtFilterBirthDay = CDateEdit(self.tabFind)
        self.edtFilterBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       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_18.addWidget(self.edtFilterBirthDay, 9, 3, 1, 4)
        self.cmbFilterStatusObservationType = CRBComboBox(self.tabFind)
        self.cmbFilterStatusObservationType.setEnabled(False)
        self.cmbFilterStatusObservationType.setObjectName(
            _fromUtf8("cmbFilterStatusObservationType"))
        self.gridLayout_18.addWidget(self.cmbFilterStatusObservationType, 29,
                                     2, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_18.addItem(spacerItem1, 10, 5, 1, 2)
        self.chkFilterSNILS = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSNILS.setObjectName(_fromUtf8("chkFilterSNILS"))
        self.gridLayout_18.addWidget(self.chkFilterSNILS, 12, 0, 1, 3)
        self.chkFilterSex = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex"))
        self.gridLayout_18.addWidget(self.chkFilterSex, 10, 0, 1, 3)
        self.cmbFilterSex = QtGui.QComboBox(self.tabFind)
        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.gridLayout_18.addWidget(self.cmbFilterSex, 10, 3, 1, 2)
        self.chkFilterDocument = QtGui.QCheckBox(self.tabFind)
        self.chkFilterDocument.setObjectName(_fromUtf8("chkFilterDocument"))
        self.gridLayout_18.addWidget(self.chkFilterDocument, 15, 0, 1, 3)
        self.edtFilterDocumentSerial = QtGui.QLineEdit(self.tabFind)
        self.edtFilterDocumentSerial.setEnabled(False)
        self.edtFilterDocumentSerial.setObjectName(
            _fromUtf8("edtFilterDocumentSerial"))
        self.gridLayout_18.addWidget(self.edtFilterDocumentSerial, 16, 0, 1, 3)
        self.edtFilterDocumentNumber = QtGui.QLineEdit(self.tabFind)
        self.edtFilterDocumentNumber.setEnabled(False)
        self.edtFilterDocumentNumber.setObjectName(
            _fromUtf8("edtFilterDocumentNumber"))
        self.gridLayout_18.addWidget(self.edtFilterDocumentNumber, 16, 3, 1, 4)
        self.cmbFilterPolicyInsurer = CInsurerComboBox(self.tabFind)
        self.cmbFilterPolicyInsurer.setEnabled(False)
        self.cmbFilterPolicyInsurer.setObjectName(
            _fromUtf8("cmbFilterPolicyInsurer"))
        self.gridLayout_18.addWidget(self.cmbFilterPolicyInsurer, 19, 0, 1, 7)
        self.edtFilterPolicySerial = CPolicySerialEdit(self.tabFind)
        self.edtFilterPolicySerial.setEnabled(False)
        self.edtFilterPolicySerial.setObjectName(
            _fromUtf8("edtFilterPolicySerial"))
        self.gridLayout_18.addWidget(self.edtFilterPolicySerial, 20, 0, 1, 3)
        self.edtFilterPolicyNumber = QtGui.QLineEdit(self.tabFind)
        self.edtFilterPolicyNumber.setEnabled(False)
        self.edtFilterPolicyNumber.setObjectName(
            _fromUtf8("edtFilterPolicyNumber"))
        self.gridLayout_18.addWidget(self.edtFilterPolicyNumber, 20, 3, 1, 4)
        self.chkFilterAddress = QtGui.QCheckBox(self.tabFind)
        self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress"))
        self.gridLayout_18.addWidget(self.chkFilterAddress, 21, 0, 1, 3)
        self.cmbFilterAddressStreet = CStreetComboBox(self.tabFind)
        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_18.addWidget(self.cmbFilterAddressStreet, 23, 0, 1, 7)
        self.cmbFilterAddressType = QtGui.QComboBox(self.tabFind)
        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_18.addWidget(self.cmbFilterAddressType, 21, 3, 1, 4)
        self.cmbFilterAddressCity = CKLADRComboBox(self.tabFind)
        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_18.addWidget(self.cmbFilterAddressCity, 22, 0, 1, 7)
        self.chkFilterId = QtGui.QCheckBox(self.tabFind)
        self.chkFilterId.setObjectName(_fromUtf8("chkFilterId"))
        self.gridLayout_18.addWidget(self.chkFilterId, 0, 0, 1, 2)
        self.chkFilterLastName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName"))
        self.gridLayout_18.addWidget(self.chkFilterLastName, 3, 0, 1, 7)
        self.edtFilterId = QtGui.QLineEdit(self.tabFind)
        self.edtFilterId.setEnabled(False)
        self.edtFilterId.setMaxLength(16)
        self.edtFilterId.setObjectName(_fromUtf8("edtFilterId"))
        self.gridLayout_18.addWidget(self.edtFilterId, 2, 0, 1, 7)
        self.chkFilterFirstName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName"))
        self.gridLayout_18.addWidget(self.chkFilterFirstName, 5, 0, 1, 7)
        self.edtFilterLastName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterLastName.setEnabled(False)
        self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName"))
        self.gridLayout_18.addWidget(self.edtFilterLastName, 4, 0, 1, 7)
        self.edtFilterFirstName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterFirstName.setEnabled(False)
        self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName"))
        self.gridLayout_18.addWidget(self.edtFilterFirstName, 6, 0, 1, 7)
        self.chkFilterPatrName = QtGui.QCheckBox(self.tabFind)
        self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName"))
        self.gridLayout_18.addWidget(self.chkFilterPatrName, 7, 0, 1, 7)
        self.edtFilterPatrName = QtGui.QLineEdit(self.tabFind)
        self.edtFilterPatrName.setEnabled(False)
        self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName"))
        self.gridLayout_18.addWidget(self.edtFilterPatrName, 8, 0, 1, 7)
        self.chkFilterBirthDay = QtGui.QCheckBox(self.tabFind)
        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_18.addWidget(self.chkFilterBirthDay, 9, 0, 1, 3)
        self.chkFilterSocStatuses = QtGui.QCheckBox(self.tabFind)
        self.chkFilterSocStatuses.setObjectName(
            _fromUtf8("chkFilterSocStatuses"))
        self.gridLayout_18.addWidget(self.chkFilterSocStatuses, 30, 0, 1, 5)
        self.cmbFilterSocStatClass = CSocStatusComboBox(self.tabFind)
        self.cmbFilterSocStatClass.setEnabled(False)
        self.cmbFilterSocStatClass.setObjectName(
            _fromUtf8("cmbFilterSocStatClass"))
        self.gridLayout_18.addWidget(self.cmbFilterSocStatClass, 31, 0, 1, 7)
        self.cmbFilterSocStatType = CRBComboBox(self.tabFind)
        self.cmbFilterSocStatType.setEnabled(False)
        self.cmbFilterSocStatType.setObjectName(
            _fromUtf8("cmbFilterSocStatType"))
        self.gridLayout_18.addWidget(self.cmbFilterSocStatType, 32, 0, 1, 7)
        self.chkFilterHurtType = QtGui.QCheckBox(self.tabFind)
        self.chkFilterHurtType.setObjectName(_fromUtf8("chkFilterHurtType"))
        self.gridLayout_18.addWidget(self.chkFilterHurtType, 27, 0, 1, 2)
        self.cmbFilterHurtType = CRBComboBox(self.tabFind)
        self.cmbFilterHurtType.setEnabled(False)
        self.cmbFilterHurtType.setObjectName(_fromUtf8("cmbFilterHurtType"))
        self.gridLayout_18.addWidget(self.cmbFilterHurtType, 27, 2, 1, 5)
        self.tabFilter.addTab(self.tabFind, _fromUtf8(""))
        self.tabFindEx = QtGui.QWidget()
        self.tabFindEx.setObjectName(_fromUtf8("tabFindEx"))
        self.gridLayout_17 = QtGui.QGridLayout(self.tabFindEx)
        self.gridLayout_17.setMargin(1)
        self.gridLayout_17.setSpacing(1)
        self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17"))
        self.chkFilterCreatePerson = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterCreatePerson.setObjectName(
            _fromUtf8("chkFilterCreatePerson"))
        self.gridLayout_17.addWidget(self.chkFilterCreatePerson, 0, 0, 1, 4)
        self.cmbFilterCreatePerson = CPersonComboBoxEx(self.tabFindEx)
        self.cmbFilterCreatePerson.setEnabled(False)
        self.cmbFilterCreatePerson.setObjectName(
            _fromUtf8("cmbFilterCreatePerson"))
        self.gridLayout_17.addWidget(self.cmbFilterCreatePerson, 1, 0, 1, 4)
        self.chkFilterCreateDate = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterCreateDate.setObjectName(
            _fromUtf8("chkFilterCreateDate"))
        self.gridLayout_17.addWidget(self.chkFilterCreateDate, 2, 0, 1, 4)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(2)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtFilterBegCreateDate = CDateEdit(self.tabFindEx)
        self.edtFilterBegCreateDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegCreateDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegCreateDate.setSizePolicy(sizePolicy)
        self.edtFilterBegCreateDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegCreateDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegCreateDate.setCalendarPopup(True)
        self.edtFilterBegCreateDate.setObjectName(
            _fromUtf8("edtFilterBegCreateDate"))
        self.horizontalLayout_3.addWidget(self.edtFilterBegCreateDate)
        self.edtFilterEndCreateDate = CDateEdit(self.tabFindEx)
        self.edtFilterEndCreateDate.setEnabled(False)
        self.edtFilterEndCreateDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndCreateDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndCreateDate.setCalendarPopup(True)
        self.edtFilterEndCreateDate.setObjectName(
            _fromUtf8("edtFilterEndCreateDate"))
        self.horizontalLayout_3.addWidget(self.edtFilterEndCreateDate)
        self.gridLayout_17.addLayout(self.horizontalLayout_3, 3, 0, 1, 4)
        self.chkFilterModifyPerson = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterModifyPerson.setObjectName(
            _fromUtf8("chkFilterModifyPerson"))
        self.gridLayout_17.addWidget(self.chkFilterModifyPerson, 4, 0, 1, 4)
        self.cmbFilterModifyPerson = CPersonComboBoxEx(self.tabFindEx)
        self.cmbFilterModifyPerson.setEnabled(False)
        self.cmbFilterModifyPerson.setObjectName(
            _fromUtf8("cmbFilterModifyPerson"))
        self.gridLayout_17.addWidget(self.cmbFilterModifyPerson, 5, 0, 1, 4)
        self.chkFilterModifyDate = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterModifyDate.setObjectName(
            _fromUtf8("chkFilterModifyDate"))
        self.gridLayout_17.addWidget(self.chkFilterModifyDate, 6, 0, 1, 4)
        self.horizontalLayoutStaff = QtGui.QHBoxLayout()
        self.horizontalLayoutStaff.setSpacing(2)
        self.horizontalLayoutStaff.setObjectName(
            _fromUtf8("horizontalLayoutStaff"))
        self.edtFilterBegModifyDate = CDateEdit(self.tabFindEx)
        self.edtFilterBegModifyDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegModifyDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegModifyDate.setSizePolicy(sizePolicy)
        self.edtFilterBegModifyDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegModifyDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegModifyDate.setCalendarPopup(True)
        self.edtFilterBegModifyDate.setObjectName(
            _fromUtf8("edtFilterBegModifyDate"))
        self.horizontalLayoutStaff.addWidget(self.edtFilterBegModifyDate)
        self.edtFilterEndModifyDate = CDateEdit(self.tabFindEx)
        self.edtFilterEndModifyDate.setEnabled(False)
        self.edtFilterEndModifyDate.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndModifyDate.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndModifyDate.setCalendarPopup(True)
        self.edtFilterEndModifyDate.setObjectName(
            _fromUtf8("edtFilterEndModifyDate"))
        self.horizontalLayoutStaff.addWidget(self.edtFilterEndModifyDate)
        self.gridLayout_17.addLayout(self.horizontalLayoutStaff, 7, 0, 1, 4)
        self.chkFilterAge = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.gridLayout_17.addWidget(self.chkFilterAge, 10, 0, 1, 1)
        self.edtFilterBegAge = QtGui.QSpinBox(self.tabFindEx)
        self.edtFilterBegAge.setEnabled(False)
        self.edtFilterBegAge.setMaximum(150)
        self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge"))
        self.gridLayout_17.addWidget(self.edtFilterBegAge, 10, 1, 1, 2)
        self.cmbFilterBegAge = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterBegAge.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterBegAge.sizePolicy().hasHeightForWidth())
        self.cmbFilterBegAge.setSizePolicy(sizePolicy)
        self.cmbFilterBegAge.setObjectName(_fromUtf8("cmbFilterBegAge"))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.cmbFilterBegAge.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterBegAge, 10, 3, 1, 1)
        self.edtFilterEndAge = QtGui.QSpinBox(self.tabFindEx)
        self.edtFilterEndAge.setEnabled(False)
        self.edtFilterEndAge.setMaximum(150)
        self.edtFilterEndAge.setProperty("value", 150)
        self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge"))
        self.gridLayout_17.addWidget(self.edtFilterEndAge, 11, 1, 1, 2)
        self.cmbFilterEndAge = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterEndAge.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEndAge.sizePolicy().hasHeightForWidth())
        self.cmbFilterEndAge.setSizePolicy(sizePolicy)
        self.cmbFilterEndAge.setObjectName(_fromUtf8("cmbFilterEndAge"))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.cmbFilterEndAge.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterEndAge, 11, 3, 1, 1)
        self.chkFilterAddressOrgStructure = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAddressOrgStructure.setObjectName(
            _fromUtf8("chkFilterAddressOrgStructure"))
        self.gridLayout_17.addWidget(self.chkFilterAddressOrgStructure, 12, 0,
                                     1, 2)
        self.cmbFilterAddressOrgStructure = COrgStructureComboBox(
            self.tabFindEx)
        self.cmbFilterAddressOrgStructure.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressOrgStructure.setSizePolicy(sizePolicy)
        self.cmbFilterAddressOrgStructure.setObjectName(
            _fromUtf8("cmbFilterAddressOrgStructure"))
        self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructure, 14, 0,
                                     1, 4)
        self.chkFilterAddressIsEmpty = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAddressIsEmpty.setObjectName(
            _fromUtf8("chkFilterAddressIsEmpty"))
        self.gridLayout_17.addWidget(self.chkFilterAddressIsEmpty, 18, 0, 1, 4)
        self.chkFilterAttach = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttach.setObjectName(_fromUtf8("chkFilterAttach"))
        self.gridLayout_17.addWidget(self.chkFilterAttach, 21, 0, 1, 4)
        self.cmbFilterAttachOrganisation = CPolyclinicComboBox(self.tabFindEx)
        self.cmbFilterAttachOrganisation.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAttachOrganisation.sizePolicy().hasHeightForWidth())
        self.cmbFilterAttachOrganisation.setSizePolicy(sizePolicy)
        self.cmbFilterAttachOrganisation.setObjectName(
            _fromUtf8("cmbFilterAttachOrganisation"))
        self.gridLayout_17.addWidget(self.cmbFilterAttachOrganisation, 22, 0,
                                     1, 4)
        self.chkFilterAttachNonBase = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttachNonBase.setObjectName(
            _fromUtf8("chkFilterAttachNonBase"))
        self.gridLayout_17.addWidget(self.chkFilterAttachNonBase, 23, 0, 1, 4)
        self.chkFilterTempInvalid = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterTempInvalid.setObjectName(
            _fromUtf8("chkFilterTempInvalid"))
        self.gridLayout_17.addWidget(self.chkFilterTempInvalid, 24, 0, 1, 4)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(2)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtFilterBegTempInvalid = CDateEdit(self.tabFindEx)
        self.edtFilterBegTempInvalid.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegTempInvalid.sizePolicy().hasHeightForWidth())
        self.edtFilterBegTempInvalid.setSizePolicy(sizePolicy)
        self.edtFilterBegTempInvalid.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegTempInvalid.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegTempInvalid.setCalendarPopup(True)
        self.edtFilterBegTempInvalid.setObjectName(
            _fromUtf8("edtFilterBegTempInvalid"))
        self.horizontalLayout_4.addWidget(self.edtFilterBegTempInvalid)
        self.edtFilterEndTempInvalid = CDateEdit(self.tabFindEx)
        self.edtFilterEndTempInvalid.setEnabled(False)
        self.edtFilterEndTempInvalid.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndTempInvalid.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndTempInvalid.setCalendarPopup(True)
        self.edtFilterEndTempInvalid.setObjectName(
            _fromUtf8("edtFilterEndTempInvalid"))
        self.horizontalLayout_4.addWidget(self.edtFilterEndTempInvalid)
        self.gridLayout_17.addLayout(self.horizontalLayout_4, 25, 0, 1, 4)
        self.chkFilterRPFUnconfirmed = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterRPFUnconfirmed.setObjectName(
            _fromUtf8("chkFilterRPFUnconfirmed"))
        self.gridLayout_17.addWidget(self.chkFilterRPFUnconfirmed, 26, 0, 1, 4)
        self.chkFilterRPFConfirmed = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterRPFConfirmed.setObjectName(
            _fromUtf8("chkFilterRPFConfirmed"))
        self.gridLayout_17.addWidget(self.chkFilterRPFConfirmed, 27, 0, 1, 4)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtFilterBegRPFConfirmed = CDateEdit(self.tabFindEx)
        self.edtFilterBegRPFConfirmed.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegRPFConfirmed.sizePolicy().hasHeightForWidth())
        self.edtFilterBegRPFConfirmed.setSizePolicy(sizePolicy)
        self.edtFilterBegRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterBegRPFConfirmed.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterBegRPFConfirmed.setCalendarPopup(True)
        self.edtFilterBegRPFConfirmed.setObjectName(
            _fromUtf8("edtFilterBegRPFConfirmed"))
        self.horizontalLayout.addWidget(self.edtFilterBegRPFConfirmed)
        self.edtFilterEndRPFConfirmed = CDateEdit(self.tabFindEx)
        self.edtFilterEndRPFConfirmed.setEnabled(False)
        self.edtFilterEndRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0))
        self.edtFilterEndRPFConfirmed.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.edtFilterEndRPFConfirmed.setCalendarPopup(True)
        self.edtFilterEndRPFConfirmed.setObjectName(
            _fromUtf8("edtFilterEndRPFConfirmed"))
        self.horizontalLayout.addWidget(self.edtFilterEndRPFConfirmed)
        self.gridLayout_17.addLayout(self.horizontalLayout, 28, 0, 1, 4)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_17.addItem(spacerItem2, 29, 0, 1, 1)
        self.cmbFilterAddressOrgStructureType = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterAddressOrgStructureType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressOrgStructureType.
                                     sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressOrgStructureType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressOrgStructureType.setObjectName(
            _fromUtf8("cmbFilterAddressOrgStructureType"))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructureType, 13,
                                     0, 1, 4)
        self.cmbFilterStatusBeds = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterStatusBeds.setEnabled(False)
        self.cmbFilterStatusBeds.setObjectName(
            _fromUtf8("cmbFilterStatusBeds"))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.cmbFilterStatusBeds.addItem(_fromUtf8(""))
        self.gridLayout_17.addWidget(self.cmbFilterStatusBeds, 16, 0, 1, 4)
        self.cmbFilterOrgStructureBeds = COrgStructureComboBox(self.tabFindEx)
        self.cmbFilterOrgStructureBeds.setEnabled(False)
        self.cmbFilterOrgStructureBeds.setObjectName(
            _fromUtf8("cmbFilterOrgStructureBeds"))
        self.gridLayout_17.addWidget(self.cmbFilterOrgStructureBeds, 17, 0, 1,
                                     4)
        self.chkFilterBeds = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterBeds.setObjectName(_fromUtf8("chkFilterBeds"))
        self.gridLayout_17.addWidget(self.chkFilterBeds, 15, 0, 1, 4)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.chkFilterAttachType = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterAttachType.setObjectName(
            _fromUtf8("chkFilterAttachType"))
        self.horizontalLayout_6.addWidget(self.chkFilterAttachType)
        self.cmbFilterAttachCategory = QtGui.QComboBox(self.tabFindEx)
        self.cmbFilterAttachCategory.setEnabled(False)
        self.cmbFilterAttachCategory.setObjectName(
            _fromUtf8("cmbFilterAttachCategory"))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.cmbFilterAttachCategory.addItem(_fromUtf8(""))
        self.horizontalLayout_6.addWidget(self.cmbFilterAttachCategory)
        self.gridLayout_17.addLayout(self.horizontalLayout_6, 19, 0, 1, 4)
        self.cmbFilterAttachType = CRBComboBox(self.tabFindEx)
        self.cmbFilterAttachType.setEnabled(False)
        self.cmbFilterAttachType.setObjectName(
            _fromUtf8("cmbFilterAttachType"))
        self.gridLayout_17.addWidget(self.cmbFilterAttachType, 20, 0, 1, 4)
        self.edtFilterEventBegDate = CDateEdit(self.tabFindEx)
        self.edtFilterEventBegDate.setEnabled(False)
        self.edtFilterEventBegDate.setCalendarPopup(True)
        self.edtFilterEventBegDate.setObjectName(
            _fromUtf8("edtFilterEventBegDate"))
        self.gridLayout_17.addWidget(self.edtFilterEventBegDate, 9, 0, 1, 2)
        self.edtFilterEventEndDate = CDateEdit(self.tabFindEx)
        self.edtFilterEventEndDate.setEnabled(False)
        self.edtFilterEventEndDate.setCalendarPopup(True)
        self.edtFilterEventEndDate.setObjectName(
            _fromUtf8("edtFilterEventEndDate"))
        self.gridLayout_17.addWidget(self.edtFilterEventEndDate, 9, 2, 1, 2)
        self.chkFilterEvent = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterEvent.setObjectName(_fromUtf8("chkFilterEvent"))
        self.gridLayout_17.addWidget(self.chkFilterEvent, 8, 0, 1, 2)
        self.chkFilterFirstEvent = QtGui.QCheckBox(self.tabFindEx)
        self.chkFilterFirstEvent.setEnabled(False)
        self.chkFilterFirstEvent.setObjectName(
            _fromUtf8("chkFilterFirstEvent"))
        self.gridLayout_17.addWidget(self.chkFilterFirstEvent, 8, 2, 1, 2)
        self.tabFilter.addTab(self.tabFindEx, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabFilter, 1, 0, 1, 1)
        self.chkShowStaffOnly = QtGui.QCheckBox(self.groupBox)
        self.chkShowStaffOnly.setObjectName(_fromUtf8("chkShowStaffOnly"))
        self.gridlayout.addWidget(self.chkShowStaffOnly, 0, 0, 1, 1)
        self.horizontalLayout_2.addWidget(self.groupBox)
        self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat)

        self.retranslateUi(FindClientDialog)
        self.tabFilter.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(FindClientDialog)

    def retranslateUi(self, FindClientDialog):
        FindClientDialog.setWindowTitle(
            _translate("FindClientDialog", "Dialog", None))
        self.groupBox.setTitle(_translate("FindClientDialog", "Фильтр", None))
        self.chkFilterContact.setText(
            _translate("FindClientDialog", "Контакт", None))
        self.lblFilterAddressHouse.setText(
            _translate("FindClientDialog", "Дом", None))
        self.lblFilterAddressCorpus.setText(
            _translate("FindClientDialog", "Корп", None))
        self.lblFilterAddressFlat.setText(
            _translate("FindClientDialog", "Кв", None))
        self.chkFilterPolicy.setText(
            _translate("FindClientDialog", "Полис", None))
        self.chkFilterWorkOrganisation.setText(
            _translate("FindClientDialog", "Занятость", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("FindClientDialog", "...", None))
        self.edtFilterSNILS.setInputMask(
            _translate("FindClientDialog", "999-999-999 99; ", None))
        self.chkFilterLocationCardType.setToolTip(
            _translate("FindClientDialog",
                       "Место нахождения амбулаторной карты", None))
        self.chkFilterLocationCardType.setText(
            _translate("FindClientDialog", "К", None))
        self.chkFilterStatusObservationType.setToolTip(
            _translate("FindClientDialog", "Статус наблюдения пациента", None))
        self.chkFilterStatusObservationType.setText(
            _translate("FindClientDialog", "С", None))
        self.chkFilterSNILS.setText(
            _translate("FindClientDialog", "СНИЛС", None))
        self.chkFilterSex.setText(_translate("FindClientDialog", "Пол", None))
        self.cmbFilterSex.setItemText(
            1, _translate("FindClientDialog", "М", None))
        self.cmbFilterSex.setItemText(
            2, _translate("FindClientDialog", "Ж", None))
        self.chkFilterDocument.setText(
            _translate("FindClientDialog", "Документ", None))
        self.chkFilterAddress.setText(
            _translate("FindClientDialog", "Адрес", None))
        self.cmbFilterAddressType.setItemText(
            0, _translate("FindClientDialog", "Регистрации", None))
        self.cmbFilterAddressType.setItemText(
            1, _translate("FindClientDialog", "Проживания", None))
        self.chkFilterId.setText(_translate("FindClientDialog", "Код", None))
        self.chkFilterLastName.setText(
            _translate("FindClientDialog", "Фамилия", None))
        self.chkFilterFirstName.setText(
            _translate("FindClientDialog", "Имя", None))
        self.chkFilterPatrName.setText(
            _translate("FindClientDialog", "Отчество", None))
        self.chkFilterBirthDay.setText(
            _translate("FindClientDialog", "Дата рожд", None))
        self.chkFilterSocStatuses.setText(
            _translate("FindClientDialog", "Соц. статус", None))
        self.chkFilterHurtType.setText(
            _translate("FindClientDialog", "Вр", None))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabFind),
            _translate("FindClientDialog", "&Поиск", None))
        self.chkFilterCreatePerson.setText(
            _translate("FindClientDialog", "Автор", None))
        self.chkFilterCreateDate.setText(
            _translate("FindClientDialog", "Дата создания", None))
        self.chkFilterModifyPerson.setText(
            _translate("FindClientDialog", "Автор последнего изменения", None))
        self.chkFilterModifyDate.setText(
            _translate("FindClientDialog", "Дата последнего изменения", None))
        self.chkFilterAge.setText(
            _translate("FindClientDialog", "Возраст", None))
        self.cmbFilterBegAge.setItemText(
            0, _translate("FindClientDialog", "Лет", None))
        self.cmbFilterBegAge.setItemText(
            1, _translate("FindClientDialog", "Мес", None))
        self.cmbFilterBegAge.setItemText(
            2, _translate("FindClientDialog", "Нед", None))
        self.cmbFilterBegAge.setItemText(
            3, _translate("FindClientDialog", "Дней", None))
        self.cmbFilterEndAge.setItemText(
            0, _translate("FindClientDialog", "Лет", None))
        self.cmbFilterEndAge.setItemText(
            1, _translate("FindClientDialog", "Мес", None))
        self.cmbFilterEndAge.setItemText(
            2, _translate("FindClientDialog", "Нед", None))
        self.cmbFilterEndAge.setItemText(
            3, _translate("FindClientDialog", "Дней", None))
        self.chkFilterAddressOrgStructure.setText(
            _translate("FindClientDialog", "По участку", None))
        self.chkFilterAddressIsEmpty.setText(
            _translate("FindClientDialog", "Адрес пуст", None))
        self.chkFilterAttach.setText(
            _translate("FindClientDialog", "Прикрепление к ЛПУ", None))
        self.chkFilterAttachNonBase.setText(
            _translate("FindClientDialog", "Любое ЛПУ кроме базового", None))
        self.chkFilterTempInvalid.setText(
            _translate("FindClientDialog", "Период ВУТ", None))
        self.chkFilterRPFUnconfirmed.setText(
            _translate("FindClientDialog", "Неподтверждённые РПФ", None))
        self.chkFilterRPFConfirmed.setText(
            _translate("FindClientDialog", "Период подтверждения РПФ", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            0, _translate("FindClientDialog", "Регистрация", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            1, _translate("FindClientDialog", "Проживание", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            2,
            _translate("FindClientDialog", "Регистрация или проживание", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            3, _translate("FindClientDialog", "Прикрепление", None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            4,
            _translate("FindClientDialog", "Регистрация или прикрепление",
                       None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            5,
            _translate("FindClientDialog", "Проживание или прикрепление",
                       None))
        self.cmbFilterAddressOrgStructureType.setItemText(
            6,
            _translate("FindClientDialog",
                       "Регистрация, проживание или прикрепление", None))
        self.cmbFilterStatusBeds.setItemText(
            0, _translate("FindClientDialog", "не задано", None))
        self.cmbFilterStatusBeds.setItemText(
            1, _translate("FindClientDialog", "на лечении", None))
        self.cmbFilterStatusBeds.setItemText(
            2, _translate("FindClientDialog", "на выписке", None))
        self.cmbFilterStatusBeds.setItemText(
            3, _translate("FindClientDialog", "в очереди", None))
        self.chkFilterBeds.setText(
            _translate("FindClientDialog", "По койкам", None))
        self.chkFilterAttachType.setText(
            _translate("FindClientDialog", "Прикрепление", None))
        self.cmbFilterAttachCategory.setItemText(
            0, _translate("FindClientDialog", "-", None))
        self.cmbFilterAttachCategory.setItemText(
            1, _translate("FindClientDialog", "Постоянное", None))
        self.cmbFilterAttachCategory.setItemText(
            2, _translate("FindClientDialog", "Временное", None))
        self.cmbFilterAttachCategory.setItemText(
            3, _translate("FindClientDialog", "Выбыл", None))
        self.chkFilterEvent.setText(
            _translate("FindClientDialog", "Обращались", None))
        self.chkFilterFirstEvent.setText(
            _translate("FindClientDialog", "Первично", None))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabFindEx),
            _translate("FindClientDialog", "&Расширенный поиск", None))
        self.chkShowStaffOnly.setText(
            _translate("FindClientDialog", "Только сотрудники", None))