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))
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))