예제 #1
0
    def setupUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setObjectName(
            _fromUtf8("ReportAttachedClientSetup"))
        ReportAttachedClientSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAttachedClientSetup.resize(283, 163)
        ReportAttachedClientSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAttachedClientSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtBegDate = CDateEdit(ReportAttachedClientSetup)
        self.edtBegDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAttachedClientSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportAttachedClientSetup)
        self.edtEndDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblBegDae = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblBegDae.setObjectName(_fromUtf8("lblBegDae"))
        self.gridLayout.addWidget(self.lblBegDae, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAttachedClientSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        self.lblSubdivision = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblSubdivision.setObjectName(_fromUtf8("lblSubdivision"))
        self.gridLayout.addWidget(self.lblSubdivision, 3, 0, 1, 1)
        self.lblOrganisationAttachment = QtGui.QLabel(
            ReportAttachedClientSetup)
        self.lblOrganisationAttachment.setObjectName(
            _fromUtf8("lblOrganisationAttachment"))
        self.gridLayout.addWidget(self.lblOrganisationAttachment, 4, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAttachedClientSetup)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 1, 1, 2)
        self.cmbOrganisationAttachment = CPolyclinicComboBox(
            ReportAttachedClientSetup)
        self.cmbOrganisationAttachment.setObjectName(
            _fromUtf8("cmbOrganisationAttachment"))
        self.gridLayout.addWidget(self.cmbOrganisationAttachment, 4, 1, 1, 2)
        self.lblBegDae.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)

        self.retranslateUi(ReportAttachedClientSetup)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportAttachedClientSetup.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportAttachedClientSetup.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportAttachedClientSetup)
        ReportAttachedClientSetup.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportAttachedClientSetup.setTabOrder(self.edtEndDate, self.buttonBox)
예제 #2
0
    def setupUi(self, ReportMentalDisorderSetupDialog):
        ReportMentalDisorderSetupDialog.setObjectName(
            _fromUtf8("ReportMentalDisorderSetupDialog"))
        ReportMentalDisorderSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportMentalDisorderSetupDialog.resize(319, 341)
        ReportMentalDisorderSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportMentalDisorderSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbEventType = CRBComboBox(ReportMentalDisorderSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ReportMentalDisorderSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 2, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.edtEndDate = QtGui.QDateEdit(ReportMentalDisorderSetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblSocStatusClass = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout.addWidget(self.lblSocStatusClass, 5, 0, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 6, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportMentalDisorderSetupDialog)
        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, 2)
        self.edtBegDate = QtGui.QDateEdit(ReportMentalDisorderSetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.cmbSocStatusClass = CSocStatusComboBox(
            ReportMentalDisorderSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout.addWidget(self.cmbSocStatusClass, 5, 1, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportMentalDisorderSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 6, 1, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 2, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 2, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportMentalDisorderSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 4, 1, 1, 1)
        self.cmbOrganisation = CPolyclinicComboBox(
            ReportMentalDisorderSetupDialog)
        self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation"))
        self.gridLayout.addWidget(self.cmbOrganisation, 7, 1, 1, 1)
        self.lblOrganisation = QtGui.QLabel(ReportMentalDisorderSetupDialog)
        self.lblOrganisation.setObjectName(_fromUtf8("lblOrganisation"))
        self.gridLayout.addWidget(self.lblOrganisation, 7, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblPerson.setBuddy(self.cmbPerson)

        self.retranslateUi(ReportMentalDisorderSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportMentalDisorderSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportMentalDisorderSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportMentalDisorderSetupDialog)
        ReportMentalDisorderSetupDialog.setTabOrder(self.edtBegDate,
                                                    self.edtEndDate)
        ReportMentalDisorderSetupDialog.setTabOrder(self.edtEndDate,
                                                    self.buttonBox)
예제 #3
0
    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)
예제 #4
0
class Ui_ReportAttachedClientSetup(object):
    def setupUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setObjectName(
            _fromUtf8("ReportAttachedClientSetup"))
        ReportAttachedClientSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAttachedClientSetup.resize(283, 163)
        ReportAttachedClientSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAttachedClientSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtBegDate = CDateEdit(ReportAttachedClientSetup)
        self.edtBegDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAttachedClientSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportAttachedClientSetup)
        self.edtEndDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblBegDae = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblBegDae.setObjectName(_fromUtf8("lblBegDae"))
        self.gridLayout.addWidget(self.lblBegDae, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAttachedClientSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        self.lblSubdivision = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblSubdivision.setObjectName(_fromUtf8("lblSubdivision"))
        self.gridLayout.addWidget(self.lblSubdivision, 3, 0, 1, 1)
        self.lblOrganisationAttachment = QtGui.QLabel(
            ReportAttachedClientSetup)
        self.lblOrganisationAttachment.setObjectName(
            _fromUtf8("lblOrganisationAttachment"))
        self.gridLayout.addWidget(self.lblOrganisationAttachment, 4, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAttachedClientSetup)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 1, 1, 2)
        self.cmbOrganisationAttachment = CPolyclinicComboBox(
            ReportAttachedClientSetup)
        self.cmbOrganisationAttachment.setObjectName(
            _fromUtf8("cmbOrganisationAttachment"))
        self.gridLayout.addWidget(self.cmbOrganisationAttachment, 4, 1, 1, 2)
        self.lblBegDae.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)

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

    def retranslateUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setWindowTitle(
            _translate("ReportAttachedClientSetup", "параметры отчёта", None))
        self.lblBegDae.setText(
            _translate("ReportAttachedClientSetup", "Дата начала", None))
        self.lblEndDate.setText(
            _translate("ReportAttachedClientSetup", "Дата окончания", None))
        self.lblSubdivision.setText(
            _translate("ReportAttachedClientSetup", "Подразделение", None))
        self.lblOrganisationAttachment.setText(
            _translate("ReportAttachedClientSetup", "ЛПУ прикрепления", None))
        self.lblEventType.setText(
            _translate("ReportAttachedClientSetup", "&Тип обращения", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportAttachedClientSetup",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
    def setupUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setObjectName(
            _fromUtf8("ExportActionResult_Wizard_1"))
        ExportActionResult_Wizard_1.resize(640, 504)
        self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1)
        self.treeContracts.setObjectName(_fromUtf8("treeContracts"))
        self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabEvent = QtGui.QWidget()
        self.tabEvent.setObjectName(_fromUtf8("tabEvent"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent)
        self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose"))
        self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1)
        self.chkEventType = QtGui.QCheckBox(self.tabEvent)
        self.chkEventType.setObjectName(_fromUtf8("chkEventType"))
        self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(self.tabEvent)
        self.cmbEventPurpose.setEnabled(False)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1)
        self.cmbEventType = CRBComboBox(self.tabEvent)
        self.cmbEventType.setEnabled(False)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtEventExecBegDate = CDateEdit(self.tabEvent)
        self.edtEventExecBegDate.setEnabled(False)
        self.edtEventExecBegDate.setObjectName(
            _fromUtf8("edtEventExecBegDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecBegDate)
        self.edtEventExecEndDate = CDateEdit(self.tabEvent)
        self.edtEventExecEndDate.setEnabled(False)
        self.edtEventExecEndDate.setObjectName(
            _fromUtf8("edtEventExecEndDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate"))
        self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1)
        self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate"))
        self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEventSetBegDate = CDateEdit(self.tabEvent)
        self.edtEventSetBegDate.setEnabled(False)
        self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetBegDate)
        self.edtEventSetEndDate = CDateEdit(self.tabEvent)
        self.edtEventSetEndDate.setEnabled(False)
        self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
        self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent)
        self.cmbEventLPU.setEnabled(False)
        self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU"))
        self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1)
        self.chkEventLPU = QtGui.QCheckBox(self.tabEvent)
        self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU"))
        self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1)
        self.tabFilter.addTab(self.tabEvent, _fromUtf8(""))
        self.tabAction = QtGui.QWidget()
        self.tabAction.setObjectName(_fromUtf8("tabAction"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkActionDate = QtGui.QCheckBox(self.tabAction)
        self.chkActionDate.setObjectName(_fromUtf8("chkActionDate"))
        self.verticalLayout_3.addWidget(self.chkActionDate)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtActionBegDate = CDateEdit(self.tabAction)
        self.edtActionBegDate.setEnabled(False)
        self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate"))
        self.horizontalLayout_2.addWidget(self.edtActionBegDate)
        self.edtActionEndDate = CDateEdit(self.tabAction)
        self.edtActionEndDate.setEnabled(False)
        self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate"))
        self.horizontalLayout_2.addWidget(self.edtActionEndDate)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.chkActionStatus = QtGui.QCheckBox(self.tabAction)
        self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus"))
        self.verticalLayout_3.addWidget(self.chkActionStatus)
        self.cmbActionStatus = QtGui.QComboBox(self.tabAction)
        self.cmbActionStatus.setEnabled(False)
        self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus"))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionStatus)
        self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction)
        self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson"))
        self.verticalLayout_3.addWidget(self.chkActionSetPerson)
        self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction)
        self.cmbActionSetPerson.setEnabled(False)
        self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson"))
        self.verticalLayout_3.addWidget(self.cmbActionSetPerson)
        self.chkActionClass = QtGui.QCheckBox(self.tabAction)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.verticalLayout_3.addWidget(self.chkActionClass)
        self.cmbActionClass = QtGui.QComboBox(self.tabAction)
        self.cmbActionClass.setEnabled(False)
        self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass"))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionClass)
        self.chkActionType = QtGui.QCheckBox(self.tabAction)
        self.chkActionType.setObjectName(_fromUtf8("chkActionType"))
        self.verticalLayout_3.addWidget(self.chkActionType)
        self.cmbActionType = CActionTypeComboBox(self.tabAction)
        self.cmbActionType.setEnabled(False)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.verticalLayout_3.addWidget(self.cmbActionType)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.tabFilter.addTab(self.tabAction, _fromUtf8(""))
        self.tabAdditional = QtGui.QWidget()
        self.tabAdditional.setObjectName(_fromUtf8("tabAdditional"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.tabAdditional)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientEventInfo.setObjectName(
            _fromUtf8("chkIncludeClientEventInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo)
        self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientWorkInfo.setObjectName(
            _fromUtf8("chkIncludeClientWorkInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo)
        self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientAddressInfo.setObjectName(
            _fromUtf8("chkIncludeClientAddressInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo)
        self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientDocumentInfo.setObjectName(
            _fromUtf8("chkIncludeClientDocumentInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo)
        self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientContactInfo.setObjectName(
            _fromUtf8("chkIncludeClientContactInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.tabFilter.addTab(self.tabAdditional, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabFilter)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.btnResetFilter = QtGui.QPushButton(self.groupBox)
        self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter"))
        self.horizontalLayout.addWidget(self.btnResetFilter)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.groupBox)
        self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1)

        self.retranslateUi(ExportActionResult_Wizard_1)
        self.tabFilter.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ExportActionResult_Wizard_1)
        ExportActionResult_Wizard_1.setTabOrder(self.treeContracts,
                                                self.tabFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.tabFilter,
                                                self.chkEventExecDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventExecDate,
                                                self.edtEventExecBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecBegDate,
                                                self.edtEventExecEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecEndDate,
                                                self.chkEventSetDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventSetDate,
                                                self.edtEventSetBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetBegDate,
                                                self.edtEventSetEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetEndDate,
                                                self.chkEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventPurpose,
                                                self.cmbEventPurpose)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventPurpose,
                                                self.chkEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventType,
                                                self.cmbEventType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventType,
                                                self.chkEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.chkEventLPU,
                                                self.cmbEventLPU)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbEventLPU,
                                                self.btnResetFilter)
        ExportActionResult_Wizard_1.setTabOrder(self.btnResetFilter,
                                                self.chkActionDate)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionDate,
                                                self.edtActionBegDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionBegDate,
                                                self.edtActionEndDate)
        ExportActionResult_Wizard_1.setTabOrder(self.edtActionEndDate,
                                                self.chkActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionStatus,
                                                self.cmbActionStatus)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionStatus,
                                                self.chkActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionSetPerson,
                                                self.cmbActionSetPerson)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionSetPerson,
                                                self.chkActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionClass,
                                                self.cmbActionClass)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionClass,
                                                self.chkActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.chkActionType,
                                                self.cmbActionType)
        ExportActionResult_Wizard_1.setTabOrder(self.cmbActionType,
                                                self.chkIncludeClientEventInfo)
        ExportActionResult_Wizard_1.setTabOrder(self.chkIncludeClientEventInfo,
                                                self.chkIncludeClientWorkInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientWorkInfo, self.chkIncludeClientAddressInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientAddressInfo,
            self.chkIncludeClientDocumentInfo)
        ExportActionResult_Wizard_1.setTabOrder(
            self.chkIncludeClientDocumentInfo,
            self.chkIncludeClientContactInfo)
예제 #6
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))
예제 #7
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(872, 708)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout_9 = QtGui.QGridLayout(self.tabToken)
        self.gridLayout_9.setMargin(4)
        self.gridLayout_9.setSpacing(4)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        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, 824, 1161))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_3)
        self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised)
        self.frameBaseAndDiagnosises.setObjectName(
            _fromUtf8("frameBaseAndDiagnosises"))
        self.gridLayout_10 = QtGui.QGridLayout(self.frameBaseAndDiagnosises)
        self.gridLayout_10.setMargin(4)
        self.gridLayout_10.setSpacing(4)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_4 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_4.setMargin(2)
        self.gridLayout_4.setSpacing(2)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbPersonMedicineHead = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonMedicineHead.setObjectName(
            _fromUtf8("cmbPersonMedicineHead"))
        self.cmbPersonMedicineHead.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonMedicineHead, 16, 2, 1, 4)
        self.lblPersonMedicineHead = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonMedicineHead.sizePolicy().hasHeightForWidth())
        self.lblPersonMedicineHead.setSizePolicy(sizePolicy)
        self.lblPersonMedicineHead.setObjectName(
            _fromUtf8("lblPersonMedicineHead"))
        self.gridLayout_4.addWidget(self.lblPersonMedicineHead, 16, 0, 1, 2)
        self.frame_4 = QtGui.QFrame(self.grpBase)
        self.frame_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_4.setLineWidth(0)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame_4)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEndDate = CDateEdit(self.frame_4)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frame_4)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCalendarPopup(False)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_4.addWidget(self.edtEndTime)
        self.gridLayout_4.addWidget(self.frame_4, 5, 1, 1, 4)
        self.cmbOrder = CRBComboBox(self.grpBase)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbOrder, 9, 0, 1, 6)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpBase)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_4.addWidget(self.cmbRelegateOrg, 2, 1, 1, 4)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbResult, 20, 2, 1, 4)
        self.lblEventId = QtGui.QLabel(self.grpBase)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout_4.addWidget(self.lblEventId, 6, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.grpBase)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout_4.addWidget(self.lblPatientModel, 11, 0, 1, 2)
        self.frame_5 = QtGui.QFrame(self.grpBase)
        self.frame_5.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frame_5)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.edtBegDate = CDateEdit(self.frame_5)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout_5.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frame_5)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCalendarPopup(False)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_5.addWidget(self.edtBegTime)
        self.gridLayout_4.addWidget(self.frame_5, 4, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_4.addWidget(self.lblBegDate, 4, 0, 1, 1)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self.gridLayout_4.addWidget(self.chkZNOMorph, 22, 0, 1, 4)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPerson.sizePolicy().hasHeightForWidth())
        self.lblPerson.setSizePolicy(sizePolicy)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_4.addWidget(self.lblPerson, 15, 0, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpBase)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_4.addWidget(self.lblRelegateOrg, 2, 0, 1, 1)
        self.lblPersonCurator = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonCurator.sizePolicy().hasHeightForWidth())
        self.lblPersonCurator.setSizePolicy(sizePolicy)
        self.lblPersonCurator.setObjectName(_fromUtf8("lblPersonCurator"))
        self.gridLayout_4.addWidget(self.lblPersonCurator, 18, 0, 1, 1)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self.gridLayout_4.addWidget(self.chkZNOFirst, 21, 0, 1, 4)
        self.cmbCureMethod = CRBComboBox(self.grpBase)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout_4.addWidget(self.cmbCureMethod, 13, 2, 1, 4)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPerson, 18, 2, 1, 4)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.grpBase)
        self.lblEventAssistantIdValue.setObjectName(
            _fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout_4.addWidget(self.lblEventAssistantIdValue, 19, 0, 1, 2)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout_4.addWidget(self.lblOrder, 8, 3, 1, 3)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 5, 5, 1, 1)
        self.lblCureType = QtGui.QLabel(self.grpBase)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout_4.addWidget(self.lblCureType, 12, 0, 1, 2)
        self.lblCureMethod = QtGui.QLabel(self.grpBase)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout_4.addWidget(self.lblCureMethod, 13, 0, 1, 2)
        self.lblResult = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblResult.sizePolicy().hasHeightForWidth())
        self.lblResult.setSizePolicy(sizePolicy)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_4.addWidget(self.lblResult, 20, 0, 1, 2)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpBase)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_4.addWidget(self.btnSelectRelegateOrg, 2, 5, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 31, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem1, 23, 1, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem2, 4, 5, 1, 1)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_4.addWidget(self.chkExposeConfirmed, 1, 0, 1, 6)
        self.cmbPersonManager = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonManager.setObjectName(_fromUtf8("cmbPersonManager"))
        self.cmbPersonManager.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonManager, 17, 2, 1, 4)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_4.addWidget(self.lblEndDate, 5, 0, 1, 1)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_4.addWidget(self.chkIsClosed, 0, 0, 1, 6)
        self.label_2 = QtGui.QLabel(self.grpBase)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_4.addWidget(self.label_2, 10, 0, 1, 2)
        self.cmbCureType = CRBComboBox(self.grpBase)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout_4.addWidget(self.cmbCureType, 12, 2, 1, 4)
        self.cmbEventAssistant = CPersonComboBoxEx(self.grpBase)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout_4.addWidget(self.cmbEventAssistant, 19, 2, 1, 4)
        self.cmbPatientModel = CModelPatientComboBoxF027(self.grpBase)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout_4.addWidget(self.cmbPatientModel, 11, 2, 1, 4)
        self.cmbEventCurator = CPersonComboBoxEx(self.grpBase)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout_4.addWidget(self.cmbEventCurator, 15, 2, 1, 4)
        self.lblPersonManager = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonManager.sizePolicy().hasHeightForWidth())
        self.lblPersonManager.setSizePolicy(sizePolicy)
        self.lblPersonManager.setObjectName(_fromUtf8("lblPersonManager"))
        self.gridLayout_4.addWidget(self.lblPersonManager, 17, 0, 1, 2)
        self.cmbQuota = CQuotaTypeComboBox(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbQuota.sizePolicy().hasHeightForWidth())
        self.cmbQuota.setSizePolicy(sizePolicy)
        self.cmbQuota.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbQuota.setObjectName(_fromUtf8("cmbQuota"))
        self.gridLayout_4.addWidget(self.cmbQuota, 10, 2, 1, 4)
        self.chkPrimary = QtGui.QCheckBox(self.grpBase)
        self.chkPrimary.setObjectName(_fromUtf8("chkPrimary"))
        self.gridLayout_4.addWidget(self.chkPrimary, 8, 0, 1, 2)
        self.cmbEventExternalIdValue = QtGui.QComboBox(self.grpBase)
        self.cmbEventExternalIdValue.setObjectName(
            _fromUtf8("cmbEventExternalIdValue"))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbEventExternalIdValue, 6, 1, 1, 5)
        self.gridLayout_10.addWidget(self.grpBase, 0, 0, 1, 1)
        self.frame_6 = QtGui.QFrame(self.frameBaseAndDiagnosises)
        self.frame_6.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.gridLayout_11 = QtGui.QGridLayout(self.frame_6)
        self.gridLayout_11.setMargin(4)
        self.gridLayout_11.setSpacing(4)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.grpActions = QtGui.QGroupBox(self.frame_6)
        self.grpActions.setObjectName(_fromUtf8("grpActions"))
        self.gridLayout_12 = QtGui.QGridLayout(self.grpActions)
        self.gridLayout_12.setMargin(4)
        self.gridLayout_12.setSpacing(4)
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
        self.tblActionProperties = CActionPropertiesTableView(self.grpActions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(
            self.tblActionProperties.sizePolicy().hasHeightForWidth())
        self.tblActionProperties.setSizePolicy(sizePolicy)
        self.tblActionProperties.setObjectName(
            _fromUtf8("tblActionProperties"))
        self.gridLayout_12.addWidget(self.tblActionProperties, 0, 0, 1, 1)
        self.gridLayout_11.addWidget(self.grpActions, 0, 0, 1, 1)
        self.gridLayout_10.addWidget(self.frame_6, 0, 1, 1, 1)
        self.splitter_4 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_4.sizePolicy().hasHeightForWidth())
        self.splitter_4.setSizePolicy(sizePolicy)
        self.splitter_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.splitter_4.setFrameShadow(QtGui.QFrame.Plain)
        self.splitter_4.setLineWidth(0)
        self.splitter_4.setOrientation(QtCore.Qt.Vertical)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.grpInspections_2 = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections_2.setObjectName(_fromUtf8("grpInspections_2"))
        self.gridLayout_13 = QtGui.QGridLayout(self.grpInspections_2)
        self.gridLayout_13.setMargin(2)
        self.gridLayout_13.setSpacing(2)
        self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
        self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblPreliminaryDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblPreliminaryDiagnostics.setSizePolicy(sizePolicy)
        self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblPreliminaryDiagnostics.setObjectName(
            _fromUtf8("tblPreliminaryDiagnostics"))
        self.gridLayout_13.addWidget(self.tblPreliminaryDiagnostics, 0, 0, 1,
                                     1)
        self.grpInspections = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections.setObjectName(_fromUtf8("grpInspections"))
        self.gridLayout_14 = QtGui.QGridLayout(self.grpInspections)
        self.gridLayout_14.setMargin(2)
        self.gridLayout_14.setSpacing(2)
        self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
        self.tblFinalDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblFinalDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblFinalDiagnostics.setSizePolicy(sizePolicy)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(
            _fromUtf8("tblFinalDiagnostics"))
        self.gridLayout_14.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.splitter_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabAmbCard = CAmbCardPage()
        self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard"))
        self.tabWidget.addTab(self.tabAmbCard, _fromUtf8(""))
        self.tabNotes = CEventNotesPageProtocol()
        self.tabNotes.setMaximumSize(QtCore.QSize(838, 16777215))
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.sptTopLevel)
        self.widget = QtGui.QWidget(Dialog)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblProlongateEvent = QtGui.QLabel(self.widget)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(self.widget)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout_2.addWidget(self.statusBar)
        self.lblPersonMedicineHead.setBuddy(self.cmbPersonMedicineHead)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblPerson.setBuddy(self.cmbEventCurator)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblPersonCurator.setBuddy(self.cmbPerson)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPersonManager.setBuddy(self.cmbPersonManager)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               Dialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbRelegateOrg)
        Dialog.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        Dialog.setTabOrder(self.btnSelectRelegateOrg, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.cmbEventExternalIdValue)
        Dialog.setTabOrder(self.cmbEventExternalIdValue, self.chkPrimary)
        Dialog.setTabOrder(self.chkPrimary, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbQuota)
        Dialog.setTabOrder(self.cmbQuota, self.cmbPatientModel)
        Dialog.setTabOrder(self.cmbPatientModel, self.cmbCureType)
        Dialog.setTabOrder(self.cmbCureType, self.cmbCureMethod)
        Dialog.setTabOrder(self.cmbCureMethod, self.cmbEventCurator)
        Dialog.setTabOrder(self.cmbEventCurator, self.cmbPersonMedicineHead)
        Dialog.setTabOrder(self.cmbPersonMedicineHead, self.cmbPersonManager)
        Dialog.setTabOrder(self.cmbPersonManager, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbEventAssistant)
        Dialog.setTabOrder(self.cmbEventAssistant, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.tblActionProperties)
        Dialog.setTabOrder(self.tblActionProperties,
                           self.tblPreliminaryDiagnostics)
        Dialog.setTabOrder(self.tblPreliminaryDiagnostics,
                           self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox)
class Ui_ExportActionResult_Wizard_1(object):
    def setupUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setObjectName(
            _fromUtf8("ExportActionResult_Wizard_1"))
        ExportActionResult_Wizard_1.resize(640, 504)
        self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1)
        self.treeContracts.setObjectName(_fromUtf8("treeContracts"))
        self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabFilter = QtGui.QTabWidget(self.groupBox)
        self.tabFilter.setObjectName(_fromUtf8("tabFilter"))
        self.tabEvent = QtGui.QWidget()
        self.tabEvent.setObjectName(_fromUtf8("tabEvent"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent)
        self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose"))
        self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1)
        self.chkEventType = QtGui.QCheckBox(self.tabEvent)
        self.chkEventType.setObjectName(_fromUtf8("chkEventType"))
        self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(self.tabEvent)
        self.cmbEventPurpose.setEnabled(False)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1)
        self.cmbEventType = CRBComboBox(self.tabEvent)
        self.cmbEventType.setEnabled(False)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtEventExecBegDate = CDateEdit(self.tabEvent)
        self.edtEventExecBegDate.setEnabled(False)
        self.edtEventExecBegDate.setObjectName(
            _fromUtf8("edtEventExecBegDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecBegDate)
        self.edtEventExecEndDate = CDateEdit(self.tabEvent)
        self.edtEventExecEndDate.setEnabled(False)
        self.edtEventExecEndDate.setObjectName(
            _fromUtf8("edtEventExecEndDate"))
        self.horizontalLayout_3.addWidget(self.edtEventExecEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1)
        self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate"))
        self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1)
        self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent)
        self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate"))
        self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEventSetBegDate = CDateEdit(self.tabEvent)
        self.edtEventSetBegDate.setEnabled(False)
        self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetBegDate)
        self.edtEventSetEndDate = CDateEdit(self.tabEvent)
        self.edtEventSetEndDate.setEnabled(False)
        self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEventSetEndDate)
        self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1)
        self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent)
        self.cmbEventLPU.setEnabled(False)
        self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU"))
        self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1)
        self.chkEventLPU = QtGui.QCheckBox(self.tabEvent)
        self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU"))
        self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1)
        self.tabFilter.addTab(self.tabEvent, _fromUtf8(""))
        self.tabAction = QtGui.QWidget()
        self.tabAction.setObjectName(_fromUtf8("tabAction"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkActionDate = QtGui.QCheckBox(self.tabAction)
        self.chkActionDate.setObjectName(_fromUtf8("chkActionDate"))
        self.verticalLayout_3.addWidget(self.chkActionDate)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtActionBegDate = CDateEdit(self.tabAction)
        self.edtActionBegDate.setEnabled(False)
        self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate"))
        self.horizontalLayout_2.addWidget(self.edtActionBegDate)
        self.edtActionEndDate = CDateEdit(self.tabAction)
        self.edtActionEndDate.setEnabled(False)
        self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate"))
        self.horizontalLayout_2.addWidget(self.edtActionEndDate)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.chkActionStatus = QtGui.QCheckBox(self.tabAction)
        self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus"))
        self.verticalLayout_3.addWidget(self.chkActionStatus)
        self.cmbActionStatus = QtGui.QComboBox(self.tabAction)
        self.cmbActionStatus.setEnabled(False)
        self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus"))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.cmbActionStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionStatus)
        self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction)
        self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson"))
        self.verticalLayout_3.addWidget(self.chkActionSetPerson)
        self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction)
        self.cmbActionSetPerson.setEnabled(False)
        self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson"))
        self.verticalLayout_3.addWidget(self.cmbActionSetPerson)
        self.chkActionClass = QtGui.QCheckBox(self.tabAction)
        self.chkActionClass.setObjectName(_fromUtf8("chkActionClass"))
        self.verticalLayout_3.addWidget(self.chkActionClass)
        self.cmbActionClass = QtGui.QComboBox(self.tabAction)
        self.cmbActionClass.setEnabled(False)
        self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass"))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.cmbActionClass.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbActionClass)
        self.chkActionType = QtGui.QCheckBox(self.tabAction)
        self.chkActionType.setObjectName(_fromUtf8("chkActionType"))
        self.verticalLayout_3.addWidget(self.chkActionType)
        self.cmbActionType = CActionTypeComboBox(self.tabAction)
        self.cmbActionType.setEnabled(False)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.verticalLayout_3.addWidget(self.cmbActionType)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.tabFilter.addTab(self.tabAction, _fromUtf8(""))
        self.tabAdditional = QtGui.QWidget()
        self.tabAdditional.setObjectName(_fromUtf8("tabAdditional"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.tabAdditional)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientEventInfo.setObjectName(
            _fromUtf8("chkIncludeClientEventInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo)
        self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientWorkInfo.setObjectName(
            _fromUtf8("chkIncludeClientWorkInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo)
        self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientAddressInfo.setObjectName(
            _fromUtf8("chkIncludeClientAddressInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo)
        self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientDocumentInfo.setObjectName(
            _fromUtf8("chkIncludeClientDocumentInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo)
        self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional)
        self.chkIncludeClientContactInfo.setObjectName(
            _fromUtf8("chkIncludeClientContactInfo"))
        self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.tabFilter.addTab(self.tabAdditional, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabFilter)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem3)
        self.btnResetFilter = QtGui.QPushButton(self.groupBox)
        self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter"))
        self.horizontalLayout.addWidget(self.btnResetFilter)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addWidget(self.groupBox)
        self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1)

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

    def retranslateUi(self, ExportActionResult_Wizard_1):
        ExportActionResult_Wizard_1.setWindowTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Экспорт результатов действий", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventPurpose.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventExecDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период выполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventSetDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период назначения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkEventLPU.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabEvent),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionDate.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Период", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionStatus.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Состояние", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Начато", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Закончено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionStatus.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionSetPerson.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Назначил", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionClass.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Класс действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            0,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            1,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Диагностика", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            2,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Лечение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbActionClass.setItemText(
            3,
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Прочие мероприятия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionType.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Тип действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAction),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Действие", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Для пациента выгружать данные о:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientEventInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Событии", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientWorkInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Занятости", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientAddressInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Адресе", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientDocumentInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Документе удост. личность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkIncludeClientContactInfo.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Контактах", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabFilter.setTabText(
            self.tabFilter.indexOf(self.tabAdditional),
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Дополнительно", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnResetFilter.setText(
            QtGui.QApplication.translate("ExportActionResult_Wizard_1",
                                         "Сброс", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #9
0
    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)
예제 #10
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(872, 708)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout_9 = QtGui.QGridLayout(self.tabToken)
        self.gridLayout_9.setMargin(4)
        self.gridLayout_9.setSpacing(4)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        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, 824, 1161))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_3)
        self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised)
        self.frameBaseAndDiagnosises.setObjectName(
            _fromUtf8("frameBaseAndDiagnosises"))
        self.gridLayout_10 = QtGui.QGridLayout(self.frameBaseAndDiagnosises)
        self.gridLayout_10.setMargin(4)
        self.gridLayout_10.setSpacing(4)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_4 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_4.setMargin(2)
        self.gridLayout_4.setSpacing(2)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbPersonMedicineHead = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonMedicineHead.setObjectName(
            _fromUtf8("cmbPersonMedicineHead"))
        self.cmbPersonMedicineHead.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonMedicineHead, 16, 2, 1, 4)
        self.lblPersonMedicineHead = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonMedicineHead.sizePolicy().hasHeightForWidth())
        self.lblPersonMedicineHead.setSizePolicy(sizePolicy)
        self.lblPersonMedicineHead.setObjectName(
            _fromUtf8("lblPersonMedicineHead"))
        self.gridLayout_4.addWidget(self.lblPersonMedicineHead, 16, 0, 1, 2)
        self.frame_4 = QtGui.QFrame(self.grpBase)
        self.frame_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_4.setLineWidth(0)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frame_4)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.edtEndDate = CDateEdit(self.frame_4)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_4.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frame_4)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCalendarPopup(False)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_4.addWidget(self.edtEndTime)
        self.gridLayout_4.addWidget(self.frame_4, 5, 1, 1, 4)
        self.cmbOrder = CRBComboBox(self.grpBase)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbOrder, 9, 0, 1, 6)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpBase)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_4.addWidget(self.cmbRelegateOrg, 2, 1, 1, 4)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbResult, 20, 2, 1, 4)
        self.lblEventId = QtGui.QLabel(self.grpBase)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout_4.addWidget(self.lblEventId, 6, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.grpBase)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout_4.addWidget(self.lblPatientModel, 11, 0, 1, 2)
        self.frame_5 = QtGui.QFrame(self.grpBase)
        self.frame_5.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_5.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_5.setLineWidth(0)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frame_5)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.edtBegDate = CDateEdit(self.frame_5)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout_5.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frame_5)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCalendarPopup(False)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_5.addWidget(self.edtBegTime)
        self.gridLayout_4.addWidget(self.frame_5, 4, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_4.addWidget(self.lblBegDate, 4, 0, 1, 1)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self.gridLayout_4.addWidget(self.chkZNOMorph, 22, 0, 1, 4)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPerson.sizePolicy().hasHeightForWidth())
        self.lblPerson.setSizePolicy(sizePolicy)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_4.addWidget(self.lblPerson, 15, 0, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpBase)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_4.addWidget(self.lblRelegateOrg, 2, 0, 1, 1)
        self.lblPersonCurator = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonCurator.sizePolicy().hasHeightForWidth())
        self.lblPersonCurator.setSizePolicy(sizePolicy)
        self.lblPersonCurator.setObjectName(_fromUtf8("lblPersonCurator"))
        self.gridLayout_4.addWidget(self.lblPersonCurator, 18, 0, 1, 1)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self.gridLayout_4.addWidget(self.chkZNOFirst, 21, 0, 1, 4)
        self.cmbCureMethod = CRBComboBox(self.grpBase)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout_4.addWidget(self.cmbCureMethod, 13, 2, 1, 4)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPerson, 18, 2, 1, 4)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.grpBase)
        self.lblEventAssistantIdValue.setObjectName(
            _fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout_4.addWidget(self.lblEventAssistantIdValue, 19, 0, 1, 2)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout_4.addWidget(self.lblOrder, 8, 3, 1, 3)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 5, 5, 1, 1)
        self.lblCureType = QtGui.QLabel(self.grpBase)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout_4.addWidget(self.lblCureType, 12, 0, 1, 2)
        self.lblCureMethod = QtGui.QLabel(self.grpBase)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout_4.addWidget(self.lblCureMethod, 13, 0, 1, 2)
        self.lblResult = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblResult.sizePolicy().hasHeightForWidth())
        self.lblResult.setSizePolicy(sizePolicy)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_4.addWidget(self.lblResult, 20, 0, 1, 2)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpBase)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_4.addWidget(self.btnSelectRelegateOrg, 2, 5, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 31, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem1, 23, 1, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem2, 4, 5, 1, 1)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_4.addWidget(self.chkExposeConfirmed, 1, 0, 1, 6)
        self.cmbPersonManager = CPersonComboBoxEx(self.grpBase)
        self.cmbPersonManager.setObjectName(_fromUtf8("cmbPersonManager"))
        self.cmbPersonManager.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbPersonManager, 17, 2, 1, 4)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_4.addWidget(self.lblEndDate, 5, 0, 1, 1)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_4.addWidget(self.chkIsClosed, 0, 0, 1, 6)
        self.label_2 = QtGui.QLabel(self.grpBase)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_4.addWidget(self.label_2, 10, 0, 1, 2)
        self.cmbCureType = CRBComboBox(self.grpBase)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout_4.addWidget(self.cmbCureType, 12, 2, 1, 4)
        self.cmbEventAssistant = CPersonComboBoxEx(self.grpBase)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout_4.addWidget(self.cmbEventAssistant, 19, 2, 1, 4)
        self.cmbPatientModel = CModelPatientComboBoxF027(self.grpBase)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout_4.addWidget(self.cmbPatientModel, 11, 2, 1, 4)
        self.cmbEventCurator = CPersonComboBoxEx(self.grpBase)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout_4.addWidget(self.cmbEventCurator, 15, 2, 1, 4)
        self.lblPersonManager = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonManager.sizePolicy().hasHeightForWidth())
        self.lblPersonManager.setSizePolicy(sizePolicy)
        self.lblPersonManager.setObjectName(_fromUtf8("lblPersonManager"))
        self.gridLayout_4.addWidget(self.lblPersonManager, 17, 0, 1, 2)
        self.cmbQuota = CQuotaTypeComboBox(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbQuota.sizePolicy().hasHeightForWidth())
        self.cmbQuota.setSizePolicy(sizePolicy)
        self.cmbQuota.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbQuota.setObjectName(_fromUtf8("cmbQuota"))
        self.gridLayout_4.addWidget(self.cmbQuota, 10, 2, 1, 4)
        self.chkPrimary = QtGui.QCheckBox(self.grpBase)
        self.chkPrimary.setObjectName(_fromUtf8("chkPrimary"))
        self.gridLayout_4.addWidget(self.chkPrimary, 8, 0, 1, 2)
        self.cmbEventExternalIdValue = QtGui.QComboBox(self.grpBase)
        self.cmbEventExternalIdValue.setObjectName(
            _fromUtf8("cmbEventExternalIdValue"))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.cmbEventExternalIdValue.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbEventExternalIdValue, 6, 1, 1, 5)
        self.gridLayout_10.addWidget(self.grpBase, 0, 0, 1, 1)
        self.frame_6 = QtGui.QFrame(self.frameBaseAndDiagnosises)
        self.frame_6.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_6.setFrameShadow(QtGui.QFrame.Plain)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.gridLayout_11 = QtGui.QGridLayout(self.frame_6)
        self.gridLayout_11.setMargin(4)
        self.gridLayout_11.setSpacing(4)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.grpActions = QtGui.QGroupBox(self.frame_6)
        self.grpActions.setObjectName(_fromUtf8("grpActions"))
        self.gridLayout_12 = QtGui.QGridLayout(self.grpActions)
        self.gridLayout_12.setMargin(4)
        self.gridLayout_12.setSpacing(4)
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
        self.tblActionProperties = CActionPropertiesTableView(self.grpActions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(
            self.tblActionProperties.sizePolicy().hasHeightForWidth())
        self.tblActionProperties.setSizePolicy(sizePolicy)
        self.tblActionProperties.setObjectName(
            _fromUtf8("tblActionProperties"))
        self.gridLayout_12.addWidget(self.tblActionProperties, 0, 0, 1, 1)
        self.gridLayout_11.addWidget(self.grpActions, 0, 0, 1, 1)
        self.gridLayout_10.addWidget(self.frame_6, 0, 1, 1, 1)
        self.splitter_4 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_4.sizePolicy().hasHeightForWidth())
        self.splitter_4.setSizePolicy(sizePolicy)
        self.splitter_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.splitter_4.setFrameShadow(QtGui.QFrame.Plain)
        self.splitter_4.setLineWidth(0)
        self.splitter_4.setOrientation(QtCore.Qt.Vertical)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.grpInspections_2 = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections_2.setObjectName(_fromUtf8("grpInspections_2"))
        self.gridLayout_13 = QtGui.QGridLayout(self.grpInspections_2)
        self.gridLayout_13.setMargin(2)
        self.gridLayout_13.setSpacing(2)
        self.gridLayout_13.setObjectName(_fromUtf8("gridLayout_13"))
        self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblPreliminaryDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblPreliminaryDiagnostics.setSizePolicy(sizePolicy)
        self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblPreliminaryDiagnostics.setObjectName(
            _fromUtf8("tblPreliminaryDiagnostics"))
        self.gridLayout_13.addWidget(self.tblPreliminaryDiagnostics, 0, 0, 1,
                                     1)
        self.grpInspections = QtGui.QGroupBox(self.splitter_4)
        self.grpInspections.setObjectName(_fromUtf8("grpInspections"))
        self.gridLayout_14 = QtGui.QGridLayout(self.grpInspections)
        self.gridLayout_14.setMargin(2)
        self.gridLayout_14.setSpacing(2)
        self.gridLayout_14.setObjectName(_fromUtf8("gridLayout_14"))
        self.tblFinalDiagnostics = CDiagnosticsInDocTableView(
            self.grpInspections)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblFinalDiagnostics.sizePolicy().hasHeightForWidth())
        self.tblFinalDiagnostics.setSizePolicy(sizePolicy)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(
            _fromUtf8("tblFinalDiagnostics"))
        self.gridLayout_14.addWidget(self.tblFinalDiagnostics, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.splitter_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_9.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabAmbCard = CAmbCardPage()
        self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard"))
        self.tabWidget.addTab(self.tabAmbCard, _fromUtf8(""))
        self.tabNotes = CEventNotesPageProtocol()
        self.tabNotes.setMaximumSize(QtCore.QSize(838, 16777215))
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.sptTopLevel)
        self.widget = QtGui.QWidget(Dialog)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblProlongateEvent = QtGui.QLabel(self.widget)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(self.widget)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout_2.addWidget(self.statusBar)
        self.lblPersonMedicineHead.setBuddy(self.cmbPersonMedicineHead)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblPerson.setBuddy(self.cmbEventCurator)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblPersonCurator.setBuddy(self.cmbPerson)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPersonManager.setBuddy(self.cmbPersonManager)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               Dialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.cmbRelegateOrg)
        Dialog.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        Dialog.setTabOrder(self.btnSelectRelegateOrg, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.cmbEventExternalIdValue)
        Dialog.setTabOrder(self.cmbEventExternalIdValue, self.chkPrimary)
        Dialog.setTabOrder(self.chkPrimary, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbQuota)
        Dialog.setTabOrder(self.cmbQuota, self.cmbPatientModel)
        Dialog.setTabOrder(self.cmbPatientModel, self.cmbCureType)
        Dialog.setTabOrder(self.cmbCureType, self.cmbCureMethod)
        Dialog.setTabOrder(self.cmbCureMethod, self.cmbEventCurator)
        Dialog.setTabOrder(self.cmbEventCurator, self.cmbPersonMedicineHead)
        Dialog.setTabOrder(self.cmbPersonMedicineHead, self.cmbPersonManager)
        Dialog.setTabOrder(self.cmbPersonManager, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbEventAssistant)
        Dialog.setTabOrder(self.cmbEventAssistant, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.tblActionProperties)
        Dialog.setTabOrder(self.tblActionProperties,
                           self.tblPreliminaryDiagnostics)
        Dialog.setTabOrder(self.tblPreliminaryDiagnostics,
                           self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.txtClientInfoBrowser.setWhatsThis(
            _translate("Dialog", "Описание пациента", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "Dialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Noto Sans\'; font-size:10pt; 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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpBase.setTitle(
            _translate("Dialog", "Протокол по ВМП/ВМП из ОМС", None))
        self.cmbPersonMedicineHead.setWhatsThis(
            _translate("Dialog", "назначивший действие \"протокол\"", None))
        self.cmbPersonMedicineHead.setItemText(
            0, _translate("Dialog", "Врач", None))
        self.lblPersonMedicineHead.setText(
            _translate("Dialog", "Зам.гл.вр. по мед части", None))
        self.edtEndDate.setWhatsThis(
            _translate("Dialog", "дата окончания осмотра", None))
        self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None))
        self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None))
        self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение",
                                                None))
        self.cmbOrder.setItemText(4,
                                  _translate("Dialog", "Принудительный", None))
        self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None))
        self.cmbResult.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None))
        self.lblEventId.setText(_translate("Dialog", "Тип", None))
        self.lblPatientModel.setText(
            _translate("Dialog", "Модель пациента", None))
        self.edtBegDate.setWhatsThis(
            _translate("Dialog", "дата начала осмотра", None))
        self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.lblBegDate.setText(_translate("Dialog", "Открыт", None))
        self.chkZNOMorph.setToolTip(
            _translate("Dialog", "ЗНО потдверждён морфологически", None))
        self.chkZNOMorph.setText(
            _translate("Dialog", "ЗНО подтв. морф-ки", None))
        self.lblPerson.setText(_translate("Dialog", "Председатель", None))
        self.lblRelegateOrg.setText(_translate("Dialog", "Направитель", None))
        self.lblPersonCurator.setText(
            _translate("Dialog", "Лечащий врач", None))
        self.chkZNOFirst.setToolTip(
            _translate("Dialog", "ЗНО установлен впервые", None))
        self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые",
                                            None))
        self.cmbPerson.setWhatsThis(
            _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.lblEventAssistantIdValue.setText(
            _translate("Dialog", "Зам.гл.врача по КЭР", None))
        self.lblOrder.setText(_translate("Dialog", "П&орядок", None))
        self.lblCureType.setText(_translate("Dialog", "Вид лечения", None))
        self.lblCureMethod.setText(_translate("Dialog", "Метод лечения", None))
        self.lblResult.setText(_translate("Dialog", "Результат", None))
        self.btnSelectRelegateOrg.setText(_translate("Dialog", "...", None))
        self.chkExposeConfirmed.setText(
            _translate("Dialog", "Добавить к выставлению", None))
        self.cmbPersonManager.setWhatsThis(
            _translate("Dialog", "ответственный за Действие \"протокол\"",
                       None))
        self.cmbPersonManager.setItemText(0,
                                          _translate("Dialog", "Врач", None))
        self.lblEndDate.setText(_translate("Dialog", "Закрыт", None))
        self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None))
        self.label_2.setText(_translate("Dialog", "Квота", None))
        self.cmbEventAssistant.setWhatsThis(
            _translate("Dialog", "ассистент События", None))
        self.lblPersonManager.setText(_translate("Dialog", "Зав.отд.", None))
        self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None))
        self.cmbEventExternalIdValue.setItemText(
            0, _translate("Dialog", "КС", None))
        self.cmbEventExternalIdValue.setItemText(
            1, _translate("Dialog", "ДС", None))
        self.grpActions.setTitle(_translate("Dialog", "Протокол", None))
        self.grpInspections_2.setTitle(
            _translate("Dialog", "&Предварительный диагноз", None))
        self.grpInspections.setTitle(
            _translate("Dialog", "&Заключительный диагноз", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken),
                                  _translate("Dialog", "Протокол", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard),
                                  _translate("Dialog", "Мед.&карта", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes),
                                  _translate("Dialog", "Приме&чания", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.",
                                               None))
예제 #11
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))
예제 #12
0
파일: Ui_F106.py 프로젝트: dio4/vista_1
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(931, 570)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(_fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabToken)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        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, 879, 901))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.horizontalWidget = QtGui.QWidget(self.splitter)
        self.horizontalWidget.setObjectName(_fromUtf8("horizontalWidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalWidget)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.grpBase = QtGui.QGroupBox(self.horizontalWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self._2 = QtGui.QGridLayout(self.grpBase)
        self._2.setMargin(4)
        self._2.setSpacing(4)
        self._2.setObjectName(_fromUtf8("_2"))
        self.frmBegDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmBegDateTime.sizePolicy().hasHeightForWidth())
        self.frmBegDateTime.setSizePolicy(sizePolicy)
        self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmBegDateTime.setLineWidth(0)
        self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmBegDateTime)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtBegDate = CDateEdit(self.frmBegDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout.addWidget(self.edtBegTime)
        self._2.addWidget(self.frmBegDateTime, 3, 1, 1, 2)
        self.frmEndDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmEndDateTime.sizePolicy().hasHeightForWidth())
        self.frmEndDateTime.setSizePolicy(sizePolicy)
        self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmEndDateTime.setLineWidth(0)
        self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtEndDate = CDateEdit(self.frmEndDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_2.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_2.addWidget(self.edtEndTime)
        self._2.addWidget(self.frmEndDateTime, 4, 1, 1, 2)
        self.label_12 = QtGui.QLabel(self.grpBase)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self._2.addWidget(self.label_12, 3, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(80, 81, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self._2.addItem(spacerItem, 11, 0, 1, 3)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self._2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3)
        self.cmbContract = CContractComboBox(self.grpBase)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.cmbContract.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbContract, 0, 0, 1, 3)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.setItemText(0, _fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbResult, 7, 0, 1, 3)
        self.chkAutopsy = QtGui.QCheckBox(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAutopsy.sizePolicy().hasHeightForWidth())
        self.chkAutopsy.setSizePolicy(sizePolicy)
        self.chkAutopsy.setObjectName(_fromUtf8("chkAutopsy"))
        self._2.addWidget(self.chkAutopsy, 5, 0, 1, 3)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self._2.addWidget(self.chkZNOFirst, 8, 0, 1, 3)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self._2.addWidget(self.chkZNOMorph, 10, 0, 1, 3)
        self.label_11 = QtGui.QLabel(self.grpBase)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self._2.addWidget(self.label_11, 4, 0, 1, 1)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self._2.addWidget(self.lblOrder, 6, 0, 1, 3)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self._2.addWidget(self.chkIsClosed, 1, 0, 1, 3)
        self.horizontalLayout_3.addWidget(self.grpBase)
        self.grpExtra = QtGui.QGroupBox(self.horizontalWidget)
        self.grpExtra.setObjectName(_fromUtf8("grpExtra"))
        self._3 = QtGui.QGridLayout(self.grpExtra)
        self._3.setMargin(4)
        self._3.setSpacing(4)
        self._3.setObjectName(_fromUtf8("_3"))
        self.lblOrg = QtGui.QLabel(self.grpExtra)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self._3.addWidget(self.lblOrg, 0, 0, 1, 1)
        self.cmbOrg = CPolyclinicComboBox(self.grpExtra)
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self._3.addWidget(self.cmbOrg, 0, 1, 1, 2)
        self.btnSelectOrganisation = QtGui.QToolButton(self.grpExtra)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSelectOrganisation.sizePolicy().hasHeightForWidth())
        self.btnSelectOrganisation.setSizePolicy(sizePolicy)
        self.btnSelectOrganisation.setObjectName(_fromUtf8("btnSelectOrganisation"))
        self._3.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpExtra)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self._3.addWidget(self.lblPerson, 1, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.grpExtra)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self._3.addWidget(self.cmbPerson, 1, 1, 1, 3)
        self.lblNumber = QtGui.QLabel(self.grpExtra)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self._3.addWidget(self.lblNumber, 2, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.grpExtra)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self._3.addWidget(self.edtNumber, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._3.addItem(spacerItem1, 2, 2, 1, 2)
        self.lblPerson2 = QtGui.QLabel(self.grpExtra)
        self.lblPerson2.setObjectName(_fromUtf8("lblPerson2"))
        self._3.addWidget(self.lblPerson2, 3, 0, 1, 1)
        self.cmbPerson2 = CPersonComboBoxEx(self.grpExtra)
        self.cmbPerson2.setObjectName(_fromUtf8("cmbPerson2"))
        self.cmbPerson2.addItem(_fromUtf8(""))
        self._3.addWidget(self.cmbPerson2, 3, 1, 1, 3)
        self.lblNotes = QtGui.QLabel(self.grpExtra)
        self.lblNotes.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblNotes.setObjectName(_fromUtf8("lblNotes"))
        self._3.addWidget(self.lblNotes, 4, 0, 1, 1)
        self.edtNote = QtGui.QTextEdit(self.grpExtra)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self._3.addWidget(self.edtNote, 4, 1, 2, 3)
        spacerItem2 = QtGui.QSpacerItem(81, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self._3.addItem(spacerItem2, 5, 0, 1, 1)
        self.horizontalLayout_3.addWidget(self.grpExtra)
        self.grpPreliminary = QtGui.QGroupBox(self.splitter)
        self.grpPreliminary.setObjectName(_fromUtf8("grpPreliminary"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.grpPreliminary)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(self.grpPreliminary)
        self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblPreliminaryDiagnostics.setObjectName(_fromUtf8("tblPreliminaryDiagnostics"))
        self.verticalLayout_3.addWidget(self.tblPreliminaryDiagnostics)
        self.grpFinal = QtGui.QGroupBox(self.splitter)
        self.grpFinal.setObjectName(_fromUtf8("grpFinal"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.grpFinal)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.tblFinalDiagnostics = CDiagnosticsInDocTableView(self.grpFinal)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(_fromUtf8("tblFinalDiagnostics"))
        self.verticalLayout_4.addWidget(self.tblFinalDiagnostics)
        self.verticalLayout_5.addWidget(self.splitter)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabStatus = CActionsPage()
        self.tabStatus.setObjectName(_fromUtf8("tabStatus"))
        self.tabWidget.addTab(self.tabStatus, _fromUtf8(""))
        self.tabMisc = CActionsPage()
        self.tabMisc.setObjectName(_fromUtf8("tabMisc"))
        self.tabWidget.addTab(self.tabMisc, _fromUtf8(""))
        self.tabCash = CEventCashPage()
        self.tabCash.setObjectName(_fromUtf8("tabCash"))
        self.tabWidget.addTab(self.tabCash, _fromUtf8(""))
        self.tabNotes = CEventNotesPage()
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout.addWidget(self.sptTopLevel)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout.addWidget(self.statusBar)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.cmbContract)
        Dialog.setTabOrder(self.cmbContract, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.chkAutopsy)
        Dialog.setTabOrder(self.chkAutopsy, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.cmbOrg)
        Dialog.setTabOrder(self.cmbOrg, self.btnSelectOrganisation)
        Dialog.setTabOrder(self.btnSelectOrganisation, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.edtNumber)
        Dialog.setTabOrder(self.edtNumber, self.cmbPerson2)
        Dialog.setTabOrder(self.cmbPerson2, self.edtNote)
        Dialog.setTabOrder(self.edtNote, self.tblPreliminaryDiagnostics)
        Dialog.setTabOrder(self.tblPreliminaryDiagnostics, self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox)
예제 #13
0
파일: Ui_F106.py 프로젝트: dio4/vista_1
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(931, 570)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(_fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabToken)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        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, 879, 901))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.horizontalWidget = QtGui.QWidget(self.splitter)
        self.horizontalWidget.setObjectName(_fromUtf8("horizontalWidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalWidget)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.grpBase = QtGui.QGroupBox(self.horizontalWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self._2 = QtGui.QGridLayout(self.grpBase)
        self._2.setMargin(4)
        self._2.setSpacing(4)
        self._2.setObjectName(_fromUtf8("_2"))
        self.frmBegDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmBegDateTime.sizePolicy().hasHeightForWidth())
        self.frmBegDateTime.setSizePolicy(sizePolicy)
        self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmBegDateTime.setLineWidth(0)
        self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmBegDateTime)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.edtBegDate = CDateEdit(self.frmBegDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout.addWidget(self.edtBegTime)
        self._2.addWidget(self.frmBegDateTime, 3, 1, 1, 2)
        self.frmEndDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmEndDateTime.sizePolicy().hasHeightForWidth())
        self.frmEndDateTime.setSizePolicy(sizePolicy)
        self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmEndDateTime.setLineWidth(0)
        self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtEndDate = CDateEdit(self.frmEndDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_2.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_2.addWidget(self.edtEndTime)
        self._2.addWidget(self.frmEndDateTime, 4, 1, 1, 2)
        self.label_12 = QtGui.QLabel(self.grpBase)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self._2.addWidget(self.label_12, 3, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(80, 81, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self._2.addItem(spacerItem, 11, 0, 1, 3)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self._2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3)
        self.cmbContract = CContractComboBox(self.grpBase)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.cmbContract.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbContract, 0, 0, 1, 3)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.setItemText(0, _fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self.cmbResult.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbResult, 7, 0, 1, 3)
        self.chkAutopsy = QtGui.QCheckBox(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAutopsy.sizePolicy().hasHeightForWidth())
        self.chkAutopsy.setSizePolicy(sizePolicy)
        self.chkAutopsy.setObjectName(_fromUtf8("chkAutopsy"))
        self._2.addWidget(self.chkAutopsy, 5, 0, 1, 3)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self._2.addWidget(self.chkZNOFirst, 8, 0, 1, 3)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self._2.addWidget(self.chkZNOMorph, 10, 0, 1, 3)
        self.label_11 = QtGui.QLabel(self.grpBase)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self._2.addWidget(self.label_11, 4, 0, 1, 1)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self._2.addWidget(self.lblOrder, 6, 0, 1, 3)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self._2.addWidget(self.chkIsClosed, 1, 0, 1, 3)
        self.horizontalLayout_3.addWidget(self.grpBase)
        self.grpExtra = QtGui.QGroupBox(self.horizontalWidget)
        self.grpExtra.setObjectName(_fromUtf8("grpExtra"))
        self._3 = QtGui.QGridLayout(self.grpExtra)
        self._3.setMargin(4)
        self._3.setSpacing(4)
        self._3.setObjectName(_fromUtf8("_3"))
        self.lblOrg = QtGui.QLabel(self.grpExtra)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self._3.addWidget(self.lblOrg, 0, 0, 1, 1)
        self.cmbOrg = CPolyclinicComboBox(self.grpExtra)
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self._3.addWidget(self.cmbOrg, 0, 1, 1, 2)
        self.btnSelectOrganisation = QtGui.QToolButton(self.grpExtra)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSelectOrganisation.sizePolicy().hasHeightForWidth())
        self.btnSelectOrganisation.setSizePolicy(sizePolicy)
        self.btnSelectOrganisation.setObjectName(_fromUtf8("btnSelectOrganisation"))
        self._3.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpExtra)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self._3.addWidget(self.lblPerson, 1, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.grpExtra)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self._3.addWidget(self.cmbPerson, 1, 1, 1, 3)
        self.lblNumber = QtGui.QLabel(self.grpExtra)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self._3.addWidget(self.lblNumber, 2, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.grpExtra)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self._3.addWidget(self.edtNumber, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._3.addItem(spacerItem1, 2, 2, 1, 2)
        self.lblPerson2 = QtGui.QLabel(self.grpExtra)
        self.lblPerson2.setObjectName(_fromUtf8("lblPerson2"))
        self._3.addWidget(self.lblPerson2, 3, 0, 1, 1)
        self.cmbPerson2 = CPersonComboBoxEx(self.grpExtra)
        self.cmbPerson2.setObjectName(_fromUtf8("cmbPerson2"))
        self.cmbPerson2.addItem(_fromUtf8(""))
        self._3.addWidget(self.cmbPerson2, 3, 1, 1, 3)
        self.lblNotes = QtGui.QLabel(self.grpExtra)
        self.lblNotes.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblNotes.setObjectName(_fromUtf8("lblNotes"))
        self._3.addWidget(self.lblNotes, 4, 0, 1, 1)
        self.edtNote = QtGui.QTextEdit(self.grpExtra)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self._3.addWidget(self.edtNote, 4, 1, 2, 3)
        spacerItem2 = QtGui.QSpacerItem(81, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self._3.addItem(spacerItem2, 5, 0, 1, 1)
        self.horizontalLayout_3.addWidget(self.grpExtra)
        self.grpPreliminary = QtGui.QGroupBox(self.splitter)
        self.grpPreliminary.setObjectName(_fromUtf8("grpPreliminary"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.grpPreliminary)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.tblPreliminaryDiagnostics = CDiagnosticsInDocTableView(self.grpPreliminary)
        self.tblPreliminaryDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblPreliminaryDiagnostics.setObjectName(_fromUtf8("tblPreliminaryDiagnostics"))
        self.verticalLayout_3.addWidget(self.tblPreliminaryDiagnostics)
        self.grpFinal = QtGui.QGroupBox(self.splitter)
        self.grpFinal.setObjectName(_fromUtf8("grpFinal"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.grpFinal)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.tblFinalDiagnostics = CDiagnosticsInDocTableView(self.grpFinal)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(_fromUtf8("tblFinalDiagnostics"))
        self.verticalLayout_4.addWidget(self.tblFinalDiagnostics)
        self.verticalLayout_5.addWidget(self.splitter)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabStatus = CActionsPage()
        self.tabStatus.setObjectName(_fromUtf8("tabStatus"))
        self.tabWidget.addTab(self.tabStatus, _fromUtf8(""))
        self.tabMisc = CActionsPage()
        self.tabMisc.setObjectName(_fromUtf8("tabMisc"))
        self.tabWidget.addTab(self.tabMisc, _fromUtf8(""))
        self.tabCash = CEventCashPage()
        self.tabCash.setObjectName(_fromUtf8("tabCash"))
        self.tabWidget.addTab(self.tabCash, _fromUtf8(""))
        self.tabNotes = CEventNotesPage()
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout.addWidget(self.sptTopLevel)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout.addWidget(self.statusBar)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.cmbContract)
        Dialog.setTabOrder(self.cmbContract, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.chkAutopsy)
        Dialog.setTabOrder(self.chkAutopsy, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.cmbOrg)
        Dialog.setTabOrder(self.cmbOrg, self.btnSelectOrganisation)
        Dialog.setTabOrder(self.btnSelectOrganisation, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.edtNumber)
        Dialog.setTabOrder(self.edtNumber, self.cmbPerson2)
        Dialog.setTabOrder(self.cmbPerson2, self.edtNote)
        Dialog.setTabOrder(self.edtNote, self.tblPreliminaryDiagnostics)
        Dialog.setTabOrder(self.tblPreliminaryDiagnostics, self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.buttonBox)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.txtClientInfoBrowser.setWhatsThis(_translate("Dialog", "Описание пациента", None))
        self.txtClientInfoBrowser.setHtml(_translate("Dialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Noto Sans\'; font-size:10pt; 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; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None))
        self.grpBase.setTitle(_translate("Dialog", "&ф.106/у", None))
        self.edtBegDate.setWhatsThis(_translate("Dialog", "дата начала осмотра", None))
        self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.edtEndDate.setWhatsThis(_translate("Dialog", "дата окончания осмотра", None))
        self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.label_12.setText(_translate("Dialog", "Дата смерти", None))
        self.chkExposeConfirmed.setText(_translate("Dialog", "Добавить к выставлению", None))
        self.cmbContract.setWhatsThis(_translate("Dialog", "номер, дата и основание договора в рамках которого производится осмотр", None))
        self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None))
        self.cmbResult.setItemText(1, _translate("Dialog", "Плановый", None))
        self.cmbResult.setItemText(2, _translate("Dialog", "Экстренный", None))
        self.cmbResult.setItemText(3, _translate("Dialog", "Самообращение", None))
        self.cmbResult.setItemText(4, _translate("Dialog", "Принудительный", None))
        self.chkAutopsy.setText(_translate("Dialog", "Вскрытие", None))
        self.chkZNOFirst.setToolTip(_translate("Dialog", "ЗНО установлен впервые", None))
        self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые", None))
        self.chkZNOMorph.setToolTip(_translate("Dialog", "ЗНО потдверждён морфологически", None))
        self.chkZNOMorph.setText(_translate("Dialog", "ЗНО подтв. морф-ки", None))
        self.label_11.setText(_translate("Dialog", "Констатация", None))
        self.lblOrder.setText(_translate("Dialog", "Результат \n"
"(расхождение диагнозов)", None))
        self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None))
        self.grpExtra.setTitle(_translate("Dialog", "&Дополнительно", None))
        self.lblOrg.setText(_translate("Dialog", "Организация", None))
        self.btnSelectOrganisation.setText(_translate("Dialog", "...", None))
        self.lblPerson.setText(_translate("Dialog", "Ответственный", None))
        self.cmbPerson.setWhatsThis(_translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.lblNumber.setText(_translate("Dialog", "Номер", None))
        self.lblPerson2.setText(_translate("Dialog", "Паталогоанатом", None))
        self.cmbPerson2.setWhatsThis(_translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson2.setItemText(0, _translate("Dialog", "Врач", None))
        self.lblNotes.setText(_translate("Dialog", "Примечание", None))
        self.grpPreliminary.setTitle(_translate("Dialog", "&Предварительные диагнозы", None))
        self.grpFinal.setTitle(_translate("Dialog", "&Заключительные диагнозы", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken), _translate("Dialog", "Стат.&талон", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus), _translate("Dialog", "&Статус", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc), _translate("Dialog", "&Мероприятия", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash), _translate("Dialog", "Оплата", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes), _translate("Dialog", "Приме&чания", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.", None))
예제 #14
0
    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)
예제 #15
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))