Beispiel #1
0
class Ui_ChangeDayDialog(object):
    def setupUi(self, ChangeDayDialog):
        ChangeDayDialog.setObjectName(_fromUtf8("ChangeDayDialog"))
        ChangeDayDialog.resize(305, 122)
        self.gridLayout = QtGui.QGridLayout(ChangeDayDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(ChangeDayDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.date = CDateEdit(ChangeDayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.date.sizePolicy().hasHeightForWidth())
        self.date.setSizePolicy(sizePolicy)
        self.date.setMinimumSize(QtCore.QSize(120, 0))
        self.date.setObjectName(_fromUtf8("date"))
        self.gridLayout.addWidget(self.date, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(90, 22, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(ChangeDayDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.dateChange = CDateEdit(ChangeDayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateChange.sizePolicy().hasHeightForWidth())
        self.dateChange.setSizePolicy(sizePolicy)
        self.dateChange.setMinimumSize(QtCore.QSize(120, 0))
        self.dateChange.setObjectName(_fromUtf8("dateChange"))
        self.gridLayout.addWidget(self.dateChange, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(90, 22, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(73, 0, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ChangeDayDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 3)
        self.text = QtGui.QLineEdit(ChangeDayDialog)
        self.text.setObjectName(_fromUtf8("text"))
        self.gridLayout.addWidget(self.text, 2, 1, 1, 2)
        self.label_3 = QtGui.QLabel(ChangeDayDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)

        self.retranslateUi(ChangeDayDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ChangeDayDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ChangeDayDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ChangeDayDialog)
        ChangeDayDialog.setTabOrder(self.date, self.dateChange)
        ChangeDayDialog.setTabOrder(self.dateChange, self.text)
        ChangeDayDialog.setTabOrder(self.text, self.buttonBox)

    def retranslateUi(self, ChangeDayDialog):
        ChangeDayDialog.setWindowTitle(
            QtGui.QApplication.translate("ChangeDayDialog",
                                         "Календарный перенос", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Дата переноса",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Комментарий",
                                         None, QtGui.QApplication.UnicodeUTF8))
Beispiel #2
0
class Ui_ReferralPage(object):
    def setupUi(self, ReferralPage):
        ReferralPage.setObjectName(_fromUtf8("ReferralPage"))
        ReferralPage.resize(1265, 795)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReferralPage.sizePolicy().hasHeightForWidth())
        ReferralPage.setSizePolicy(sizePolicy)
        ReferralPage.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.gridLayout_5 = QtGui.QGridLayout(ReferralPage)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tabWidget = QtGui.QTabWidget(ReferralPage)
        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.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabReserved = QtGui.QWidget()
        self.tabReserved.setObjectName(_fromUtf8("tabReserved"))
        self.gridLayout = QtGui.QGridLayout(self.tabReserved)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblRefType = QtGui.QTableView(self.tabReserved)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblRefType.sizePolicy().hasHeightForWidth())
        self.tblRefType.setSizePolicy(sizePolicy)
        self.tblRefType.setObjectName(_fromUtf8("tblRefType"))
        self.gridLayout.addWidget(self.tblRefType, 0, 0, 1, 1)
        self.scrollArea = QtGui.QScrollArea(self.tabReserved)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 963, 726))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.gridLayout_8 = QtGui.QGridLayout(self.scrollAreaWidgetContents)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.layoutWidget = QtGui.QWidget(self.splitter)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.gridLayout_6 = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.btnRefGenNumber = QtGui.QPushButton(self.layoutWidget)
        self.btnRefGenNumber.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.btnRefGenNumber.setObjectName(_fromUtf8("btnRefGenNumber"))
        self.gridLayout_3.addWidget(self.btnRefGenNumber, 0, 1, 1, 1)
        self.edtRefNumber = QtGui.QLineEdit(self.layoutWidget)
        self.edtRefNumber.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.edtRefNumber.setObjectName(_fromUtf8("edtRefNumber"))
        self.gridLayout_3.addWidget(self.edtRefNumber, 0, 0, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_3, 0, 1, 1, 1)
        self.edtRefMKB = CICDCodeEditEx(self.layoutWidget)
        self.edtRefMKB.setObjectName(_fromUtf8("edtRefMKB"))
        self.gridLayout_6.addWidget(self.edtRefMKB, 11, 1, 1, 1)
        self.lblRelegateMo = QtGui.QLabel(self.layoutWidget)
        self.lblRelegateMo.setObjectName(_fromUtf8("lblRelegateMo"))
        self.gridLayout_6.addWidget(self.lblRelegateMo, 9, 0, 1, 1)
        self.lblNotes = QtGui.QLabel(self.layoutWidget)
        self.lblNotes.setObjectName(_fromUtf8("lblNotes"))
        self.gridLayout_6.addWidget(self.lblNotes, 13, 0, 1, 1)
        self.lblRefBedProfile = QtGui.QLabel(self.layoutWidget)
        self.lblRefBedProfile.setObjectName(_fromUtf8("lblRefBedProfile"))
        self.gridLayout_6.addWidget(self.lblRefBedProfile, 5, 0, 1, 1)
        self.cmbRefHospType = QtGui.QComboBox(self.layoutWidget)
        self.cmbRefHospType.setObjectName(_fromUtf8("cmbRefHospType"))
        self.cmbRefHospType.addItem(_fromUtf8(""))
        self.cmbRefHospType.addItem(_fromUtf8(""))
        self.cmbRefHospType.addItem(_fromUtf8(""))
        self.gridLayout_6.addWidget(self.cmbRefHospType, 4, 1, 1, 1)
        self.lblRefMKB = QtGui.QLabel(self.layoutWidget)
        self.lblRefMKB.setObjectName(_fromUtf8("lblRefMKB"))
        self.gridLayout_6.addWidget(self.lblRefMKB, 11, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem, 15, 0, 1, 1)
        self.cmbMedProfile = CRBComboBox(self.layoutWidget)
        self.cmbMedProfile.setObjectName(_fromUtf8("cmbMedProfile"))
        self.gridLayout_6.addWidget(self.cmbMedProfile, 10, 1, 1, 1)
        self.chkRefAgreement = QtGui.QCheckBox(self.layoutWidget)
        self.chkRefAgreement.setObjectName(_fromUtf8("chkRefAgreement"))
        self.gridLayout_6.addWidget(self.chkRefAgreement, 12, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(self.layoutWidget)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_6.addWidget(self.lblPerson, 3, 0, 1, 1)
        self.edtNotes = QtGui.QTextEdit(self.layoutWidget)
        self.edtNotes.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.edtNotes.setObjectName(_fromUtf8("edtNotes"))
        self.gridLayout_6.addWidget(self.edtNotes, 14, 0, 1, 2)
        self.cmbRefBedProfile = CRBComboBox(self.layoutWidget)
        self.cmbRefBedProfile.setObjectName(_fromUtf8("cmbRefBedProfile"))
        self.gridLayout_6.addWidget(self.cmbRefBedProfile, 5, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.layoutWidget)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_6.addWidget(self.cmbPerson, 3, 1, 1, 1)
        self.lblRefNumber = QtGui.QLabel(self.layoutWidget)
        self.lblRefNumber.setObjectName(_fromUtf8("lblRefNumber"))
        self.gridLayout_6.addWidget(self.lblRefNumber, 0, 0, 1, 1)
        self.lblRefDate = QtGui.QLabel(self.layoutWidget)
        self.lblRefDate.setObjectName(_fromUtf8("lblRefDate"))
        self.gridLayout_6.addWidget(self.lblRefDate, 1, 0, 1, 1)
        self.lblRefHospType = QtGui.QLabel(self.layoutWidget)
        self.lblRefHospType.setObjectName(_fromUtf8("lblRefHospType"))
        self.gridLayout_6.addWidget(self.lblRefHospType, 4, 0, 1, 1)
        self.lblRefPlanned = QtGui.QLabel(self.layoutWidget)
        self.lblRefPlanned.setObjectName(_fromUtf8("lblRefPlanned"))
        self.gridLayout_6.addWidget(self.lblRefPlanned, 2, 0, 1, 1)
        self.lblMedProfile = QtGui.QLabel(self.layoutWidget)
        self.lblMedProfile.setObjectName(_fromUtf8("lblMedProfile"))
        self.gridLayout_6.addWidget(self.lblMedProfile, 10, 0, 1, 1)
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.cmbRelegateMO = COrgComboBox(self.layoutWidget)
        self.cmbRelegateMO.setObjectName(_fromUtf8("cmbRelegateMO"))
        self.gridLayout_7.addWidget(self.cmbRelegateMO, 0, 0, 1, 1)
        self.btnOrgFilter = QtGui.QToolButton(self.layoutWidget)
        self.btnOrgFilter.setObjectName(_fromUtf8("btnOrgFilter"))
        self.gridLayout_7.addWidget(self.btnOrgFilter, 0, 1, 1, 1)
        self.btnResetMo = QtGui.QPushButton(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnResetMo.sizePolicy().hasHeightForWidth())
        self.btnResetMo.setSizePolicy(sizePolicy)
        self.btnResetMo.setMaximumSize(QtCore.QSize(60, 16777215))
        self.btnResetMo.setObjectName(_fromUtf8("btnResetMo"))
        self.gridLayout_7.addWidget(self.btnResetMo, 0, 2, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_7, 9, 1, 1, 1)
        self.cmbOrgStructure = CRBComboBox(self.layoutWidget)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_6.addWidget(self.cmbOrgStructure, 6, 1, 1, 1)
        self.lblOrgStructureProfile = QtGui.QLabel(self.layoutWidget)
        self.lblOrgStructureProfile.setObjectName(
            _fromUtf8("lblOrgStructureProfile"))
        self.gridLayout_6.addWidget(self.lblOrgStructureProfile, 6, 0, 1, 1)
        self.cmbStatyonaryType = QtGui.QComboBox(self.layoutWidget)
        self.cmbStatyonaryType.setObjectName(_fromUtf8("cmbStatyonaryType"))
        self.cmbStatyonaryType.addItem(_fromUtf8(""))
        self.cmbStatyonaryType.addItem(_fromUtf8(""))
        self.cmbStatyonaryType.addItem(_fromUtf8(""))
        self.gridLayout_6.addWidget(self.cmbStatyonaryType, 7, 1, 1, 1)
        self.lblStatyonaryType = QtGui.QLabel(self.layoutWidget)
        self.lblStatyonaryType.setObjectName(_fromUtf8("lblStatyonaryType"))
        self.gridLayout_6.addWidget(self.lblStatyonaryType, 7, 0, 1, 1)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.dtRefPlaned = CDateEdit(self.layoutWidget)
        self.dtRefPlaned.setObjectName(_fromUtf8("dtRefPlaned"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole,
                                  self.dtRefPlaned)
        self.gridLayout_6.addLayout(self.formLayout, 2, 1, 1, 1)
        self.lblExamType = QtGui.QLabel(self.layoutWidget)
        self.lblExamType.setObjectName(_fromUtf8("lblExamType"))
        self.gridLayout_6.addWidget(self.lblExamType, 8, 0, 1, 1)
        self.cmbExamType = QtGui.QComboBox(self.layoutWidget)
        self.cmbExamType.setObjectName(_fromUtf8("cmbExamType"))
        self.cmbExamType.addItem(_fromUtf8(""))
        self.cmbExamType.addItem(_fromUtf8(""))
        self.cmbExamType.addItem(_fromUtf8(""))
        self.gridLayout_6.addWidget(self.cmbExamType, 8, 1, 1, 1)
        self.dtRefDate = CDateEdit(self.layoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dtRefDate.sizePolicy().hasHeightForWidth())
        self.dtRefDate.setSizePolicy(sizePolicy)
        self.dtRefDate.setMinimumSize(QtCore.QSize(141, 0))
        self.dtRefDate.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.dtRefDate.setObjectName(_fromUtf8("dtRefDate"))
        self.gridLayout_6.addWidget(self.dtRefDate, 1, 1, 1, 1)
        self.tblMoList = QtGui.QTableWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblMoList.sizePolicy().hasHeightForWidth())
        self.tblMoList.setSizePolicy(sizePolicy)
        self.tblMoList.setObjectName(_fromUtf8("tblMoList"))
        self.tblMoList.setColumnCount(0)
        self.tblMoList.setRowCount(0)
        self.gridLayout_8.addWidget(self.splitter, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.btnAnotherLpu = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnAnotherLpu.setObjectName(_fromUtf8("btnAnotherLpu"))
        self.horizontalLayout_2.addWidget(self.btnAnotherLpu)
        self.btnGetMoList = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnGetMoList.setObjectName(_fromUtf8("btnGetMoList"))
        self.horizontalLayout_2.addWidget(self.btnGetMoList)
        self.btnSendRef = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnSendRef.setObjectName(_fromUtf8("btnSendRef"))
        self.horizontalLayout_2.addWidget(self.btnSendRef)
        self.gridLayout_8.addLayout(self.horizontalLayout_2, 1, 0, 1, 1)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 0, 1, 1, 1)
        self.tabWidget.addTab(self.tabReserved, _fromUtf8(""))
        self.history = QtGui.QWidget()
        self.history.setObjectName(_fromUtf8("history"))
        self.gridLayout_2 = QtGui.QGridLayout(self.history)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.btnUpdateTable = QtGui.QPushButton(self.history)
        self.btnUpdateTable.setObjectName(_fromUtf8("btnUpdateTable"))
        self.gridLayout_4.addWidget(self.btnUpdateTable, 0, 1, 1, 1)
        self.btnUpdateStatuses = QtGui.QPushButton(self.history)
        self.btnUpdateStatuses.setCheckable(False)
        self.btnUpdateStatuses.setObjectName(_fromUtf8("btnUpdateStatuses"))
        self.gridLayout_4.addWidget(self.btnUpdateStatuses, 0, 2, 1, 1)
        self.btnCancellation = QtGui.QPushButton(self.history)
        self.btnCancellation.setObjectName(_fromUtf8("btnCancellation"))
        self.gridLayout_4.addWidget(self.btnCancellation, 0, 3, 1, 1)
        self.btnResultDocument = QtGui.QPushButton(self.history)
        self.btnResultDocument.setObjectName(_fromUtf8("btnResultDocument"))
        self.gridLayout_4.addWidget(self.btnResultDocument, 0, 0, 1, 1)
        self.btnEditReferral = QtGui.QPushButton(self.history)
        self.btnEditReferral.setObjectName(_fromUtf8("btnEditReferral"))
        self.gridLayout_4.addWidget(self.btnEditReferral, 0, 4, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout_4, 1, 1, 1, 1)
        self.scrollArea_2 = QtGui.QScrollArea(self.history)
        self.scrollArea_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2"))
        self.scrollAreaWidgetContents_2 = QtGui.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(
            QtCore.QRect(0, 0, 1225, 691))
        self.scrollAreaWidgetContents_2.setObjectName(
            _fromUtf8("scrollAreaWidgetContents_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.tblHistory = QtGui.QTableView(self.scrollAreaWidgetContents_2)
        self.tblHistory.setMinimumSize(QtCore.QSize(0, 200))
        self.tblHistory.setObjectName(_fromUtf8("tblHistory"))
        self.horizontalLayout.addWidget(self.tblHistory)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout_2.addWidget(self.scrollArea_2, 0, 1, 1, 1)
        self.tabWidget.addTab(self.history, _fromUtf8(""))
        self.gridLayout_5.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ReferralPage)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ReferralPage)
        ReferralPage.setTabOrder(self.edtRefNumber, self.btnRefGenNumber)
        ReferralPage.setTabOrder(self.btnRefGenNumber, self.dtRefDate)
        ReferralPage.setTabOrder(self.dtRefDate, self.dtRefPlaned)
        ReferralPage.setTabOrder(self.dtRefPlaned, self.cmbPerson)
        ReferralPage.setTabOrder(self.cmbPerson, self.cmbRefHospType)
        ReferralPage.setTabOrder(self.cmbRefHospType, self.cmbRefBedProfile)
        ReferralPage.setTabOrder(self.cmbRefBedProfile, self.cmbOrgStructure)
        ReferralPage.setTabOrder(self.cmbOrgStructure, self.cmbStatyonaryType)
        ReferralPage.setTabOrder(self.cmbStatyonaryType, self.cmbRelegateMO)
        ReferralPage.setTabOrder(self.cmbRelegateMO, self.btnOrgFilter)
        ReferralPage.setTabOrder(self.btnOrgFilter, self.cmbMedProfile)
        ReferralPage.setTabOrder(self.cmbMedProfile, self.edtRefMKB)
        ReferralPage.setTabOrder(self.edtRefMKB, self.chkRefAgreement)
        ReferralPage.setTabOrder(self.chkRefAgreement, self.edtNotes)
        ReferralPage.setTabOrder(self.edtNotes, self.btnAnotherLpu)
        ReferralPage.setTabOrder(self.btnAnotherLpu, self.btnGetMoList)
        ReferralPage.setTabOrder(self.btnGetMoList, self.btnSendRef)
        ReferralPage.setTabOrder(self.btnSendRef, self.btnResultDocument)
        ReferralPage.setTabOrder(self.btnResultDocument, self.btnUpdateTable)
        ReferralPage.setTabOrder(self.btnUpdateTable, self.btnUpdateStatuses)
        ReferralPage.setTabOrder(self.btnUpdateStatuses, self.btnCancellation)
        ReferralPage.setTabOrder(self.btnCancellation, self.tblRefType)
        ReferralPage.setTabOrder(self.tblRefType, self.tblMoList)
        ReferralPage.setTabOrder(self.tblMoList, self.scrollArea)
        ReferralPage.setTabOrder(self.scrollArea, self.scrollArea_2)
        ReferralPage.setTabOrder(self.scrollArea_2, self.tblHistory)
        ReferralPage.setTabOrder(self.tblHistory, self.tabWidget)

    def retranslateUi(self, ReferralPage):
        ReferralPage.setWindowTitle(_translate("ReferralPage", "Form", None))
        self.btnRefGenNumber.setText(
            _translate("ReferralPage", "Сформировать", None))
        self.lblRelegateMo.setText(
            _translate("ReferralPage", "Направлен в МО:", None))
        self.lblNotes.setText(_translate("ReferralPage", "Примечание:", None))
        self.lblRefBedProfile.setText(
            _translate("ReferralPage", "Профиль койки:", None))
        self.cmbRefHospType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbRefHospType.setItemText(
            1, _translate("ReferralPage", "Плановая", None))
        self.cmbRefHospType.setItemText(
            2, _translate("ReferralPage", "Экстренная", None))
        self.lblRefMKB.setText(_translate("ReferralPage", "Диагноз:", None))
        self.chkRefAgreement.setText(
            _translate("ReferralPage", "Согласие на превышение дней ожидания",
                       None))
        self.lblPerson.setText(_translate("ReferralPage", "Врач:", None))
        self.lblRefNumber.setText(
            _translate("ReferralPage", "Номер направления:", None))
        self.lblRefDate.setText(
            _translate("ReferralPage", "Дата направления:", None))
        self.lblRefHospType.setText(
            _translate("ReferralPage", "Тип госпитализации:", None))
        self.lblRefPlanned.setText(
            _translate("ReferralPage", "Дата планируемой госпитализации:",
                       None))
        self.lblMedProfile.setText(
            _translate("ReferralPage", "Специальность:", None))
        self.btnOrgFilter.setText(_translate("ReferralPage", "...", None))
        self.btnResetMo.setText(_translate("ReferralPage", "Очистить", None))
        self.lblOrgStructureProfile.setText(
            _translate("ReferralPage", "Профиль отделения:", None))
        self.cmbStatyonaryType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbStatyonaryType.setItemText(
            1, _translate("ReferralPage", "Стационар", None))
        self.cmbStatyonaryType.setItemText(
            2, _translate("ReferralPage", "Дневной стационар", None))
        self.lblStatyonaryType.setText(
            _translate("ReferralPage", "Тип стационара:", None))
        self.lblExamType.setText(
            _translate("ReferralPage", "Вид назначенного обследования:", None))
        self.cmbExamType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbExamType.setItemText(
            1, _translate("ReferralPage", "инструментальная диагностика",
                          None))
        self.cmbExamType.setItemText(
            2, _translate("ReferralPage", "методы лучевой диагностики", None))
        self.btnAnotherLpu.setText(
            _translate("ReferralPage", "Запись в другое ЛПУ", None))
        self.btnGetMoList.setText(
            _translate("ReferralPage", "Запросить список МО", None))
        self.btnSendRef.setText(
            _translate("ReferralPage", "Отправить направление", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabReserved),
            _translate("ReferralPage", "Новое направление", None))
        self.btnUpdateTable.setText(
            _translate("ReferralPage", "Обновить сведения таблицы", None))
        self.btnUpdateStatuses.setText(
            _translate("ReferralPage", "Обновить статусы направлений ", None))
        self.btnCancellation.setText(
            _translate("ReferralPage", "Аннулировать направление", None))
        self.btnResultDocument.setText(
            _translate("ReferralPage", "Получить результирующий документ",
                       None))
        self.btnEditReferral.setText(
            _translate("ReferralPage", "Редактировать направление", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.history),
                                  _translate("ReferralPage", "История", None))
Beispiel #3
0
class Ui_HolidayDialog(object):
    def setupUi(self, HolidayDialog):
        HolidayDialog.setObjectName(_fromUtf8("HolidayDialog"))
        HolidayDialog.resize(464, 270)
        self.gridLayout = QtGui.QGridLayout(HolidayDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.spinFinish = QtGui.QSpinBox(HolidayDialog)
        self.spinFinish.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinFinish.sizePolicy().hasHeightForWidth())
        self.spinFinish.setSizePolicy(sizePolicy)
        self.spinFinish.setMinimumSize(QtCore.QSize(70, 0))
        self.spinFinish.setMinimum(1)
        self.spinFinish.setMaximum(4999)
        self.spinFinish.setProperty("value", 2000)
        self.spinFinish.setObjectName(_fromUtf8("spinFinish"))
        self.gridLayout.addWidget(self.spinFinish, 7, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HolidayDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 4)
        self.checkStart = QtGui.QCheckBox(HolidayDialog)
        self.checkStart.setObjectName(_fromUtf8("checkStart"))
        self.gridLayout.addWidget(self.checkStart, 6, 0, 1, 1)
        self.label_2 = QtGui.QLabel(HolidayDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(HolidayDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(97, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.text = QtGui.QLineEdit(HolidayDialog)
        self.text.setObjectName(_fromUtf8("text"))
        self.gridLayout.addWidget(self.text, 2, 1, 1, 3)
        self.label_4 = QtGui.QLabel(HolidayDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 4)
        spacerItem1 = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 6, 2, 1, 2)
        self.label = QtGui.QLabel(HolidayDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.date = CDateEdit(HolidayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.date.sizePolicy().hasHeightForWidth())
        self.date.setSizePolicy(sizePolicy)
        self.date.setMinimumSize(QtCore.QSize(120, 0))
        self.date.setObjectName(_fromUtf8("date"))
        self.gridLayout.addWidget(self.date, 0, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 7, 2, 1, 2)
        self.checkFinish = QtGui.QCheckBox(HolidayDialog)
        self.checkFinish.setObjectName(_fromUtf8("checkFinish"))
        self.gridLayout.addWidget(self.checkFinish, 7, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 8, 0, 1, 1)
        self.spinStart = QtGui.QSpinBox(HolidayDialog)
        self.spinStart.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinStart.sizePolicy().hasHeightForWidth())
        self.spinStart.setSizePolicy(sizePolicy)
        self.spinStart.setMinimumSize(QtCore.QSize(70, 0))
        self.spinStart.setMinimum(1)
        self.spinStart.setMaximum(4999)
        self.spinStart.setProperty("value", 2000)
        self.spinStart.setObjectName(_fromUtf8("spinStart"))
        self.gridLayout.addWidget(self.spinStart, 6, 1, 1, 1)
        self.label_5 = QtGui.QLabel(HolidayDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.endDate = CDateEdit(HolidayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.endDate.sizePolicy().hasHeightForWidth())
        self.endDate.setSizePolicy(sizePolicy)
        self.endDate.setMinimumSize(QtCore.QSize(120, 0))
        self.endDate.setObjectName(_fromUtf8("endDate"))
        self.gridLayout.addWidget(self.endDate, 1, 1, 1, 1)
        self.label_2.setBuddy(self.text)
        self.label.setBuddy(self.date)

        self.retranslateUi(HolidayDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               HolidayDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               HolidayDialog.reject)
        QtCore.QObject.connect(self.checkStart,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.spinStart.setEnabled)
        QtCore.QObject.connect(self.checkFinish,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.spinFinish.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HolidayDialog)
        HolidayDialog.setTabOrder(self.date, self.text)
        HolidayDialog.setTabOrder(self.text, self.checkStart)
        HolidayDialog.setTabOrder(self.checkStart, self.spinStart)
        HolidayDialog.setTabOrder(self.spinStart, self.checkFinish)
        HolidayDialog.setTabOrder(self.checkFinish, self.spinFinish)
        HolidayDialog.setTabOrder(self.spinFinish, self.buttonBox)

    def retranslateUi(self, HolidayDialog):
        HolidayDialog.setWindowTitle(
            _translate("HolidayDialog", "Календарный праздник", None))
        self.checkStart.setText(
            _translate("HolidayDialog", "Есть год начала:", None))
        self.label_2.setText(
            _translate("HolidayDialog", "Наименование праздника", None))
        self.label_3.setText(
            _translate(
                "HolidayDialog",
                "Если у праздника нет года начала — считается, что он был всегда.",
                None))
        self.label_4.setText(
            _translate(
                "HolidayDialog",
                "Если у праздника нет года окончания — считается, что он будет всегда",
                None))
        self.label.setText(
            _translate("HolidayDialog", "Дата начала периода", None))
        self.checkFinish.setText(
            _translate("HolidayDialog", "Есть год окончания:", None))
        self.label_5.setText(
            _translate("HolidayDialog", "Дата конца периода", None))
Beispiel #4
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))