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

        self.retranslateUi(QuotingDialog)
        self.tabWidgetContent.setCurrentIndex(0)
        self.tabWidgetLimitation.setCurrentIndex(0)
        QtCore.QObject.connect(self.btnClose,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               QuotingDialog.close)
        QtCore.QObject.connect(self.chkFilterLastName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterLastName.setEnabled)
        QtCore.QObject.connect(self.chkFilterFirstName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterFirstName.setEnabled)
        QtCore.QObject.connect(self.chkFilterPatrName,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterPatrName.setEnabled)
        QtCore.QObject.connect(self.chkFilterBirthDay,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterBirthDay.setEnabled)
        QtCore.QObject.connect(self.chkFilterSex,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterSex.setEnabled)
        QtCore.QObject.connect(self.chkFilterAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterBegAge.setEnabled)
        QtCore.QObject.connect(self.chkFilterAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterEndAge.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressCity.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressStreet.setEnabled)
        QtCore.QObject.connect(self.chkFilterStage,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterStage.setEnabled)
        QtCore.QObject.connect(self.chkFilterStatus,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterStatus.setEnabled)
        QtCore.QObject.connect(self.chkFilterOrgStructure,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkFilterContact,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterContact.setEnabled)
        QtCore.QObject.connect(self.chkFilterIdentifier,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterIdentifier.setEnabled)
        QtCore.QObject.connect(self.chkFilterTicketNumber,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFilterTicketNumber.setEnabled)
        QtCore.QObject.connect(self.chkFilterRequest,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterRequest.setEnabled)
        QtCore.QObject.connect(self.chkFilterAddress,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbFilterAddressType.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(QuotingDialog)
        QuotingDialog.setTabOrder(self.tabWidgetContent, self.calendar)
        QuotingDialog.setTabOrder(self.calendar, self.treeQuotaType)
        QuotingDialog.setTabOrder(self.treeQuotaType, self.tblQuotaTypeLeaves)
        QuotingDialog.setTabOrder(self.tblQuotaTypeLeaves, self.btnEditQuota)
        QuotingDialog.setTabOrder(self.btnEditQuota, self.btnProlongateQuota)
        QuotingDialog.setTabOrder(self.btnProlongateQuota, self.btnNewQuota)
        QuotingDialog.setTabOrder(self.btnNewQuota, self.btnClose)
        QuotingDialog.setTabOrder(self.btnClose, self.tblQuoting)
        QuotingDialog.setTabOrder(self.tblQuoting, self.tabWidgetLimitation)
        QuotingDialog.setTabOrder(self.tabWidgetLimitation,
                                  self.tblQuoting_Region)
        QuotingDialog.setTabOrder(self.tblQuoting_Region, self.tblPeopleList)
        QuotingDialog.setTabOrder(self.tblPeopleList, self.btnPrint)
        QuotingDialog.setTabOrder(self.btnPrint, self.chkFilterLastName)
        QuotingDialog.setTabOrder(self.chkFilterLastName,
                                  self.edtFilterLastName)
        QuotingDialog.setTabOrder(self.edtFilterLastName,
                                  self.chkFilterFirstName)
        QuotingDialog.setTabOrder(self.chkFilterFirstName,
                                  self.edtFilterFirstName)
        QuotingDialog.setTabOrder(self.edtFilterFirstName,
                                  self.chkFilterPatrName)
        QuotingDialog.setTabOrder(self.chkFilterPatrName,
                                  self.edtFilterPatrName)
        QuotingDialog.setTabOrder(self.edtFilterPatrName, self.chkFilterSex)
        QuotingDialog.setTabOrder(self.chkFilterSex, self.cmbFilterSex)
        QuotingDialog.setTabOrder(self.cmbFilterSex, self.chkFilterAge)
        QuotingDialog.setTabOrder(self.chkFilterAge, self.edtFilterBegAge)
        QuotingDialog.setTabOrder(self.edtFilterBegAge, self.edtFilterEndAge)
        QuotingDialog.setTabOrder(self.edtFilterEndAge, self.chkFilterBirthDay)
        QuotingDialog.setTabOrder(self.chkFilterBirthDay,
                                  self.edtFilterBirthDay)
        QuotingDialog.setTabOrder(self.edtFilterBirthDay,
                                  self.chkFilterAddress)
        QuotingDialog.setTabOrder(self.chkFilterAddress,
                                  self.cmbFilterAddressType)
        QuotingDialog.setTabOrder(self.cmbFilterAddressType,
                                  self.cmbFilterAddressCity)
        QuotingDialog.setTabOrder(self.cmbFilterAddressCity,
                                  self.cmbFilterAddressStreet)
        QuotingDialog.setTabOrder(self.cmbFilterAddressStreet,
                                  self.chkFilterStatus)
        QuotingDialog.setTabOrder(self.chkFilterStatus, self.cmbFilterStatus)
        QuotingDialog.setTabOrder(self.cmbFilterStatus, self.chkFilterStage)
        QuotingDialog.setTabOrder(self.chkFilterStage, self.edtFilterStage)
        QuotingDialog.setTabOrder(self.edtFilterStage,
                                  self.chkFilterOrgStructure)
        QuotingDialog.setTabOrder(self.chkFilterOrgStructure,
                                  self.cmbFilterOrgStructure)
        QuotingDialog.setTabOrder(self.cmbFilterOrgStructure,
                                  self.chkFilterContact)
        QuotingDialog.setTabOrder(self.chkFilterContact, self.edtFilterContact)
        QuotingDialog.setTabOrder(self.edtFilterContact,
                                  self.chkFilterIdentifier)
        QuotingDialog.setTabOrder(self.chkFilterIdentifier,
                                  self.edtFilterIdentifier)
        QuotingDialog.setTabOrder(self.edtFilterIdentifier,
                                  self.chkFilterTicketNumber)
        QuotingDialog.setTabOrder(self.chkFilterTicketNumber,
                                  self.edtFilterTicketNumber)
        QuotingDialog.setTabOrder(self.edtFilterTicketNumber,
                                  self.chkFilterRequest)
        QuotingDialog.setTabOrder(self.chkFilterRequest, self.cmbFilterRequest)
        QuotingDialog.setTabOrder(self.cmbFilterRequest, self.buttonBox)
Ejemplo n.º 2
0
    def setupUi(self, AddAddressesDialog):
        AddAddressesDialog.setObjectName(_fromUtf8("AddAddressesDialog"))
        AddAddressesDialog.resize(428, 215)
        self.gridLayout = QtGui.QGridLayout(AddAddressesDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblNumbers = QtGui.QLabel(AddAddressesDialog)
        self.lblNumbers.setObjectName(_fromUtf8("lblNumbers"))
        self.gridLayout.addWidget(self.lblNumbers, 9, 0, 1, 1)
        self.lblCity = QtGui.QLabel(AddAddressesDialog)
        self.lblCity.setObjectName(_fromUtf8("lblCity"))
        self.gridLayout.addWidget(self.lblCity, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 35, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 13, 0, 1, 1)
        self.lblHouseTo = QtGui.QLabel(AddAddressesDialog)
        self.lblHouseTo.setObjectName(_fromUtf8("lblHouseTo"))
        self.gridLayout.addWidget(self.lblHouseTo, 2, 3, 1, 1)
        self.lblHouse = QtGui.QLabel(AddAddressesDialog)
        self.lblHouse.setObjectName(_fromUtf8("lblHouse"))
        self.gridLayout.addWidget(self.lblHouse, 2, 0, 1, 1)
        self.lblHouseFrom = QtGui.QLabel(AddAddressesDialog)
        self.lblHouseFrom.setObjectName(_fromUtf8("lblHouseFrom"))
        self.gridLayout.addWidget(self.lblHouseFrom, 2, 1, 1, 1)
        self.edtHouseTo = QtGui.QSpinBox(AddAddressesDialog)
        self.edtHouseTo.setMaximum(999)
        self.edtHouseTo.setProperty("value", 1)
        self.edtHouseTo.setObjectName(_fromUtf8("edtHouseTo"))
        self.gridLayout.addWidget(self.edtHouseTo, 2, 4, 1, 1)
        self.lblStreet = QtGui.QLabel(AddAddressesDialog)
        self.lblStreet.setObjectName(_fromUtf8("lblStreet"))
        self.gridLayout.addWidget(self.lblStreet, 1, 0, 1, 1)
        self.edtHouseFrom = QtGui.QSpinBox(AddAddressesDialog)
        self.edtHouseFrom.setMaximum(999)
        self.edtHouseFrom.setProperty("value", 1)
        self.edtHouseFrom.setObjectName(_fromUtf8("edtHouseFrom"))
        self.gridLayout.addWidget(self.edtHouseFrom, 2, 2, 1, 1)
        self.lblFlat = QtGui.QLabel(AddAddressesDialog)
        self.lblFlat.setObjectName(_fromUtf8("lblFlat"))
        self.gridLayout.addWidget(self.lblFlat, 4, 0, 1, 1)
        self.lblFlatFrom = QtGui.QLabel(AddAddressesDialog)
        self.lblFlatFrom.setObjectName(_fromUtf8("lblFlatFrom"))
        self.gridLayout.addWidget(self.lblFlatFrom, 4, 1, 1, 1)
        self.edtFlatFrom = QtGui.QSpinBox(AddAddressesDialog)
        self.edtFlatFrom.setMaximum(999)
        self.edtFlatFrom.setObjectName(_fromUtf8("edtFlatFrom"))
        self.gridLayout.addWidget(self.edtFlatFrom, 4, 2, 1, 1)
        self.lblFlatTo = QtGui.QLabel(AddAddressesDialog)
        self.lblFlatTo.setObjectName(_fromUtf8("lblFlatTo"))
        self.gridLayout.addWidget(self.lblFlatTo, 4, 3, 1, 1)
        self.edtFlatTo = QtGui.QSpinBox(AddAddressesDialog)
        self.edtFlatTo.setMaximum(999)
        self.edtFlatTo.setObjectName(_fromUtf8("edtFlatTo"))
        self.gridLayout.addWidget(self.edtFlatTo, 4, 4, 1, 1)
        self.cmbCity = CKLADRComboBox(AddAddressesDialog)
        self.cmbCity.setObjectName(_fromUtf8("cmbCity"))
        self.gridLayout.addWidget(self.cmbCity, 0, 1, 1, 4)
        self.cmbStreet = CStreetComboBox(AddAddressesDialog)
        self.cmbStreet.setObjectName(_fromUtf8("cmbStreet"))
        self.gridLayout.addWidget(self.cmbStreet, 1, 1, 1, 4)
        self.cmbNumbers = QtGui.QComboBox(AddAddressesDialog)
        self.cmbNumbers.setObjectName(_fromUtf8("cmbNumbers"))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbNumbers, 9, 1, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(AddAddressesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 14, 0, 1, 5)

        self.retranslateUi(AddAddressesDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               AddAddressesDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               AddAddressesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(AddAddressesDialog)
Ejemplo n.º 3
0
class Ui_QuotingDialog(object):
    def setupUi(self, QuotingDialog):
        QuotingDialog.setObjectName(_fromUtf8("QuotingDialog"))
        QuotingDialog.resize(549, 847)
        self.gridLayout_3 = QtGui.QGridLayout(QuotingDialog)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.splitter_3 = QtGui.QSplitter(QuotingDialog)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setOpaqueResize(True)
        self.splitter_3.setChildrenCollapsible(False)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_3)
        self.horizontalLayoutWidget.setObjectName(
            _fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.splitter = QtGui.QSplitter(self.horizontalLayoutWidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setOpaqueResize(True)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.calendar = CCalendarWidget(self.splitter)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.treeQuotaType = CTreeView(self.splitter)
        self.treeQuotaType.setObjectName(_fromUtf8("treeQuotaType"))
        self.tblQuotaTypeLeaves = CTableView(self.splitter)
        self.tblQuotaTypeLeaves.setObjectName(_fromUtf8("tblQuotaTypeLeaves"))
        self.horizontalLayout.addWidget(self.splitter)
        self.tabWidgetContent = QtGui.QTabWidget(self.splitter_3)
        self.tabWidgetContent.setEnabled(True)
        self.tabWidgetContent.setObjectName(_fromUtf8("tabWidgetContent"))
        self.tabLimits = QtGui.QWidget()
        self.tabLimits.setObjectName(_fromUtf8("tabLimits"))
        self.gridLayout = QtGui.QGridLayout(self.tabLimits)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblInfo = QtGui.QLabel(self.tabLimits)
        self.lblInfo.setText(_fromUtf8(""))
        self.lblInfo.setObjectName(_fromUtf8("lblInfo"))
        self.gridLayout.addWidget(self.lblInfo, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(336, 22, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.btnEditQuota = QtGui.QPushButton(self.tabLimits)
        self.btnEditQuota.setObjectName(_fromUtf8("btnEditQuota"))
        self.gridLayout.addWidget(self.btnEditQuota, 2, 1, 1, 1)
        self.btnProlongateQuota = QtGui.QPushButton(self.tabLimits)
        self.btnProlongateQuota.setObjectName(_fromUtf8("btnProlongateQuota"))
        self.gridLayout.addWidget(self.btnProlongateQuota, 2, 2, 1, 1)
        self.btnNewQuota = QtGui.QPushButton(self.tabLimits)
        self.btnNewQuota.setObjectName(_fromUtf8("btnNewQuota"))
        self.gridLayout.addWidget(self.btnNewQuota, 2, 3, 1, 1)
        self.btnClose = QtGui.QPushButton(self.tabLimits)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 2, 4, 1, 1)
        self.splitter_2 = QtGui.QSplitter(self.tabLimits)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.tblQuoting = CTableView(self.splitter_2)
        self.tblQuoting.setObjectName(_fromUtf8("tblQuoting"))
        self.tabWidgetLimitation = QtGui.QTabWidget(self.splitter_2)
        self.tabWidgetLimitation.setObjectName(
            _fromUtf8("tabWidgetLimitation"))
        self.tabRegion = QtGui.QWidget()
        self.tabRegion.setObjectName(_fromUtf8("tabRegion"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabRegion)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblQuoting_Region = CInDocTableView(self.tabRegion)
        self.tblQuoting_Region.setObjectName(_fromUtf8("tblQuoting_Region"))
        self.gridLayout_2.addWidget(self.tblQuoting_Region, 0, 0, 1, 1)
        self.tabWidgetLimitation.addTab(self.tabRegion, _fromUtf8(""))
        self.tabInsurance = QtGui.QWidget()
        self.tabInsurance.setEnabled(True)
        self.tabInsurance.setObjectName(_fromUtf8("tabInsurance"))
        self.tabWidgetLimitation.addTab(self.tabInsurance, _fromUtf8(""))
        self.tabFinanceSource = QtGui.QWidget()
        self.tabFinanceSource.setObjectName(_fromUtf8("tabFinanceSource"))
        self.tabWidgetLimitation.addTab(self.tabFinanceSource, _fromUtf8(""))
        self.tabSocialStatus = QtGui.QWidget()
        self.tabSocialStatus.setObjectName(_fromUtf8("tabSocialStatus"))
        self.tabWidgetLimitation.addTab(self.tabSocialStatus, _fromUtf8(""))
        self.tabSexAndAge = QtGui.QWidget()
        self.tabSexAndAge.setObjectName(_fromUtf8("tabSexAndAge"))
        self.tabWidgetLimitation.addTab(self.tabSexAndAge, _fromUtf8(""))
        self.gridLayout.addWidget(self.splitter_2, 0, 0, 1, 5)
        self.tabWidgetContent.addTab(self.tabLimits, _fromUtf8(""))
        self.tabList = QtGui.QWidget()
        self.tabList.setEnabled(True)
        self.tabList.setObjectName(_fromUtf8("tabList"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabList)
        self.verticalLayout_5.setSpacing(4)
        self.verticalLayout_5.setMargin(4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.splitter_4 = QtGui.QSplitter(self.tabList)
        self.splitter_4.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.verticalLayoutWidget_4 = QtGui.QWidget(self.splitter_4)
        self.verticalLayoutWidget_4.setObjectName(
            _fromUtf8("verticalLayoutWidget_4"))
        self.gridLayout_5 = QtGui.QGridLayout(self.verticalLayoutWidget_4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setMargin(0)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblPeopleList = CTableView(self.verticalLayoutWidget_4)
        self.tblPeopleList.setObjectName(_fromUtf8("tblPeopleList"))
        self.gridLayout_5.addWidget(self.tblPeopleList, 0, 0, 1, 2)
        self.btnPrint = QtGui.QPushButton(self.verticalLayoutWidget_4)
        self.btnPrint.setObjectName(_fromUtf8("btnPrint"))
        self.gridLayout_5.addWidget(self.btnPrint, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 2, 0, 1, 1)
        self.lblPersonListCount = QtGui.QLabel(self.verticalLayoutWidget_4)
        self.lblPersonListCount.setObjectName(_fromUtf8("lblPersonListCount"))
        self.gridLayout_5.addWidget(self.lblPersonListCount, 1, 0, 1, 2)
        self.widget = QtGui.QWidget(self.splitter_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_4 = QtGui.QGridLayout(self.widget)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.chkFilterLastName = QtGui.QCheckBox(self.widget)
        self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName"))
        self.gridLayout_4.addWidget(self.chkFilterLastName, 0, 0, 1, 3)
        self.edtFilterLastName = QtGui.QLineEdit(self.widget)
        self.edtFilterLastName.setEnabled(False)
        self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName"))
        self.gridLayout_4.addWidget(self.edtFilterLastName, 1, 0, 1, 3)
        self.chkFilterFirstName = QtGui.QCheckBox(self.widget)
        self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName"))
        self.gridLayout_4.addWidget(self.chkFilterFirstName, 2, 0, 1, 2)
        self.edtFilterFirstName = QtGui.QLineEdit(self.widget)
        self.edtFilterFirstName.setEnabled(False)
        self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName"))
        self.gridLayout_4.addWidget(self.edtFilterFirstName, 3, 0, 1, 3)
        self.chkFilterPatrName = QtGui.QCheckBox(self.widget)
        self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName"))
        self.gridLayout_4.addWidget(self.chkFilterPatrName, 4, 0, 1, 3)
        self.edtFilterPatrName = QtGui.QLineEdit(self.widget)
        self.edtFilterPatrName.setEnabled(False)
        self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName"))
        self.gridLayout_4.addWidget(self.edtFilterPatrName, 5, 0, 1, 3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFilterSex = QtGui.QCheckBox(self.widget)
        self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex"))
        self.horizontalLayout_2.addWidget(self.chkFilterSex)
        self.cmbFilterSex = QtGui.QComboBox(self.widget)
        self.cmbFilterSex.setEnabled(False)
        self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex"))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.cmbFilterSex)
        self.chkFilterAge = QtGui.QCheckBox(self.widget)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.horizontalLayout_2.addWidget(self.chkFilterAge)
        self.edtFilterBegAge = QtGui.QSpinBox(self.widget)
        self.edtFilterBegAge.setEnabled(False)
        self.edtFilterBegAge.setMaximum(150)
        self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterBegAge)
        self.edtFilterEndAge = QtGui.QSpinBox(self.widget)
        self.edtFilterEndAge.setEnabled(False)
        self.edtFilterEndAge.setMaximum(150)
        self.edtFilterEndAge.setProperty("value", 150)
        self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterEndAge)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 6, 0, 1, 3)
        self.chkFilterAddress = QtGui.QCheckBox(self.widget)
        self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress"))
        self.gridLayout_4.addWidget(self.chkFilterAddress, 8, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.widget)
        self.cmbFilterAddressType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setObjectName(
            _fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterAddressType, 8, 1, 1, 2)
        self.cmbFilterAddressCity = CKLADRComboBox(self.widget)
        self.cmbFilterAddressCity.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setObjectName(
            _fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressCity, 9, 0, 1, 3)
        self.cmbFilterAddressStreet = CStreetComboBox(self.widget)
        self.cmbFilterAddressStreet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressStreet, 10, 0, 1, 3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkFilterStatus = QtGui.QCheckBox(self.widget)
        self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus"))
        self.verticalLayout_3.addWidget(self.chkFilterStatus)
        self.cmbFilterStatus = QtGui.QComboBox(self.widget)
        self.cmbFilterStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterStatus.sizePolicy().hasHeightForWidth())
        self.cmbFilterStatus.setSizePolicy(sizePolicy)
        self.cmbFilterStatus.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus"))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbFilterStatus)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.chkFilterStage = QtGui.QCheckBox(self.widget)
        self.chkFilterStage.setObjectName(_fromUtf8("chkFilterStage"))
        self.verticalLayout_4.addWidget(self.chkFilterStage)
        self.edtFilterStage = QtGui.QSpinBox(self.widget)
        self.edtFilterStage.setEnabled(False)
        self.edtFilterStage.setObjectName(_fromUtf8("edtFilterStage"))
        self.verticalLayout_4.addWidget(self.edtFilterStage)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.gridLayout_4.addLayout(self.horizontalLayout_4, 12, 0, 1, 3)
        self.chkFilterOrgStructure = QtGui.QCheckBox(self.widget)
        self.chkFilterOrgStructure.setObjectName(
            _fromUtf8("chkFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.chkFilterOrgStructure, 13, 0, 1, 3)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.widget)
        self.cmbFilterOrgStructure.setEnabled(False)
        self.cmbFilterOrgStructure.setObjectName(
            _fromUtf8("cmbFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbFilterOrgStructure, 14, 0, 1, 3)
        self.chkFilterContact = QtGui.QCheckBox(self.widget)
        self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact"))
        self.gridLayout_4.addWidget(self.chkFilterContact, 15, 0, 1, 3)
        self.edtFilterContact = QtGui.QLineEdit(self.widget)
        self.edtFilterContact.setEnabled(False)
        self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact"))
        self.gridLayout_4.addWidget(self.edtFilterContact, 16, 0, 1, 3)
        self.chkFilterIdentifier = QtGui.QCheckBox(self.widget)
        self.chkFilterIdentifier.setObjectName(
            _fromUtf8("chkFilterIdentifier"))
        self.gridLayout_4.addWidget(self.chkFilterIdentifier, 17, 0, 1, 3)
        self.edtFilterIdentifier = QtGui.QLineEdit(self.widget)
        self.edtFilterIdentifier.setEnabled(False)
        self.edtFilterIdentifier.setObjectName(
            _fromUtf8("edtFilterIdentifier"))
        self.gridLayout_4.addWidget(self.edtFilterIdentifier, 18, 0, 1, 3)
        self.chkFilterTicketNumber = QtGui.QCheckBox(self.widget)
        self.chkFilterTicketNumber.setObjectName(
            _fromUtf8("chkFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.chkFilterTicketNumber, 19, 0, 1, 3)
        self.edtFilterTicketNumber = QtGui.QLineEdit(self.widget)
        self.edtFilterTicketNumber.setEnabled(False)
        self.edtFilterTicketNumber.setObjectName(
            _fromUtf8("edtFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.edtFilterTicketNumber, 20, 0, 1, 3)
        self.chkFilterRequest = QtGui.QCheckBox(self.widget)
        self.chkFilterRequest.setObjectName(_fromUtf8("chkFilterRequest"))
        self.gridLayout_4.addWidget(self.chkFilterRequest, 21, 0, 1, 3)
        self.cmbFilterRequest = QtGui.QComboBox(self.widget)
        self.cmbFilterRequest.setEnabled(False)
        self.cmbFilterRequest.setObjectName(_fromUtf8("cmbFilterRequest"))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterRequest, 22, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem2, 23, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.buttonBox = CApplyResetDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_3.addWidget(self.buttonBox)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 24, 0, 1, 3)
        self.chkFilterBirthDay = QtGui.QCheckBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.chkFilterBirthDay.setSizePolicy(sizePolicy)
        self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay"))
        self.gridLayout_4.addWidget(self.chkFilterBirthDay, 7, 0, 1, 1)
        self.edtFilterBirthDay = CDateEdit(self.widget)
        self.edtFilterBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtFilterBirthDay.setCalendarPopup(True)
        self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay"))
        self.gridLayout_4.addWidget(self.edtFilterBirthDay, 7, 1, 1, 2)
        self.chkFilterClientQuotaKladr = QtGui.QCheckBox(self.widget)
        self.chkFilterClientQuotaKladr.setObjectName(
            _fromUtf8("chkFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.chkFilterClientQuotaKladr, 11, 0, 1,
                                    1)
        self.cmbFilterClientQuotaKladr = CMainRegionsKLADRComboBox(self.widget)
        self.cmbFilterClientQuotaKladr.setObjectName(
            _fromUtf8("cmbFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.cmbFilterClientQuotaKladr, 11, 1, 1,
                                    2)
        self.verticalLayout_5.addWidget(self.splitter_4)
        self.tabWidgetContent.addTab(self.tabList, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.splitter_3, 0, 0, 1, 1)

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

    def retranslateUi(self, QuotingDialog):
        QuotingDialog.setWindowTitle(
            QtGui.QApplication.translate("QuotingDialog", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEditQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Редактировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnProlongateQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Пролонгировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnNewQuota.setText(
            QtGui.QApplication.translate("QuotingDialog", "Добавить квоту",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("QuotingDialog", "Закрыть", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabRegion),
            QtGui.QApplication.translate("QuotingDialog", "Регион", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabInsurance),
            QtGui.QApplication.translate("QuotingDialog", "Страховка", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabFinanceSource),
            QtGui.QApplication.translate("QuotingDialog",
                                         "Источник финансирования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSocialStatus),
            QtGui.QApplication.translate("QuotingDialog", "Социальный статус",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSexAndAge),
            QtGui.QApplication.translate("QuotingDialog", "Пол/Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabLimits),
            QtGui.QApplication.translate("QuotingDialog", "Лимиты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnPrint.setText(
            QtGui.QApplication.translate("QuotingDialog", "Печать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPersonListCount.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Количество записей:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterLastName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Фамилия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterFirstName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Имя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterPatrName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Отчество", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterSex.setText(
            QtGui.QApplication.translate("QuotingDialog", "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAge.setText(
            QtGui.QApplication.translate("QuotingDialog", "Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAddress.setText(
            QtGui.QApplication.translate("QuotingDialog", "Адрес", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Регистрации", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Проживания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStatus.setText(
            QtGui.QApplication.translate("QuotingDialog", "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Активный талон",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            3,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Талон для заполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            4,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Заблокированный талон", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            5,
            QtGui.QApplication.translate("QuotingDialog", "Отказано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            6,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Необходимо согл-вать дату обсл.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            7,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания на соглас.", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            8,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания согласована", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            9,
            QtGui.QApplication.translate("QuotingDialog", "Пролечен", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            10,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Обслуживание отложено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            11,
            QtGui.QApplication.translate("QuotingDialog", "Отказ пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            12,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Импортировано из ВТМП", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStage.setText(
            QtGui.QApplication.translate("QuotingDialog", "Этап", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterOrgStructure.setText(
            QtGui.QApplication.translate("QuotingDialog", "Подразделение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterContact.setText(
            QtGui.QApplication.translate("QuotingDialog", "Контакт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterIdentifier.setText(
            QtGui.QApplication.translate("QuotingDialog", "Идентификатор",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterTicketNumber.setText(
            QtGui.QApplication.translate("QuotingDialog", "Номер талона", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterRequest.setText(
            QtGui.QApplication.translate("QuotingDialog", "Обращение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Первичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Вторичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterBirthDay.setText(
            QtGui.QApplication.translate("QuotingDialog", "Дата рождения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterClientQuotaKladr.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Прикрепление по квоте", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabList),
            QtGui.QApplication.translate("QuotingDialog", "Список", None,
                                         QtGui.QApplication.UnicodeUTF8))
Ejemplo n.º 4
0
    def setupUi(self, OrganisationComboBoxPopup):
        OrganisationComboBoxPopup.setObjectName(
            _fromUtf8("OrganisationComboBoxPopup"))
        OrganisationComboBoxPopup.resize(387, 306)
        self.horizontalLayout_2 = QtGui.QHBoxLayout(OrganisationComboBoxPopup)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(OrganisationComboBoxPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblOrganisation = COrganisationComboBoxListView(self.tab)
        self.tblOrganisation.setObjectName(_fromUtf8("tblOrganisation"))
        self.verticalLayout.addWidget(self.tblOrganisation)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout = QtGui.QGridLayout(self.tab_2)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkArea = QtGui.QCheckBox(self.tab_2)
        self.chkArea.setEnabled(True)
        self.chkArea.setChecked(False)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 0, 0, 1, 1)
        self.cmbArea = CKLADRComboBox(self.tab_2)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 0, 2, 1, 1)
        self.lblInfis = QtGui.QLabel(self.tab_2)
        self.lblInfis.setObjectName(_fromUtf8("lblInfis"))
        self.gridLayout.addWidget(self.lblInfis, 1, 0, 1, 1)
        self.edtInfis = QtGui.QLineEdit(self.tab_2)
        self.edtInfis.setObjectName(_fromUtf8("edtInfis"))
        self.gridLayout.addWidget(self.edtInfis, 1, 2, 1, 1)
        self.lblName = QtGui.QLabel(self.tab_2)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 2, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 10, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(self.tab_2)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 2, 2, 1, 1)
        self.lblPolisSerial = QtGui.QLabel(self.tab_2)
        self.lblPolisSerial.setObjectName(_fromUtf8("lblPolisSerial"))
        self.gridLayout.addWidget(self.lblPolisSerial, 5, 0, 2, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.horizontalLayout, 11, 0, 1, 3)
        self.edtINN = QtGui.QLineEdit(self.tab_2)
        self.edtINN.setObjectName(_fromUtf8("edtINN"))
        self.gridLayout.addWidget(self.edtINN, 3, 2, 1, 1)
        self.lblINN = QtGui.QLabel(self.tab_2)
        self.lblINN.setObjectName(_fromUtf8("lblINN"))
        self.gridLayout.addWidget(self.lblINN, 3, 0, 1, 1)
        self.edtPolisSerial = COrganisationComboBoxPopupPolicySerialEdit(
            self.tab_2)
        self.edtPolisSerial.setObjectName(_fromUtf8("edtPolisSerial"))
        self.gridLayout.addWidget(self.edtPolisSerial, 6, 2, 1, 1)
        self.lblOGRN = QtGui.QLabel(self.tab_2)
        self.lblOGRN.setObjectName(_fromUtf8("lblOGRN"))
        self.gridLayout.addWidget(self.lblOGRN, 7, 0, 1, 1)
        self.lblOKATO = QtGui.QLabel(self.tab_2)
        self.lblOKATO.setObjectName(_fromUtf8("lblOKATO"))
        self.gridLayout.addWidget(self.lblOKATO, 9, 0, 1, 1)
        self.edtOGRN = QtGui.QLineEdit(self.tab_2)
        self.edtOGRN.setObjectName(_fromUtf8("edtOGRN"))
        self.gridLayout.addWidget(self.edtOGRN, 7, 2, 1, 1)
        self.edtOKATO = QtGui.QLineEdit(self.tab_2)
        self.edtOKATO.setObjectName(_fromUtf8("edtOKATO"))
        self.gridLayout.addWidget(self.edtOKATO, 9, 2, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.tabWidget)
        self.lblInfis.setBuddy(self.edtInfis)
        self.lblName.setBuddy(self.edtName)
        self.lblPolisSerial.setBuddy(self.edtPolisSerial)
        self.lblINN.setBuddy(self.edtINN)
        self.lblOGRN.setBuddy(self.edtOGRN)
        self.lblOKATO.setBuddy(self.edtOKATO)

        self.retranslateUi(OrganisationComboBoxPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkArea,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbArea.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(OrganisationComboBoxPopup)
        OrganisationComboBoxPopup.setTabOrder(self.tabWidget,
                                              self.tblOrganisation)
        OrganisationComboBoxPopup.setTabOrder(self.tblOrganisation,
                                              self.chkArea)
        OrganisationComboBoxPopup.setTabOrder(self.chkArea, self.cmbArea)
        OrganisationComboBoxPopup.setTabOrder(self.cmbArea, self.edtInfis)
        OrganisationComboBoxPopup.setTabOrder(self.edtInfis, self.edtName)
        OrganisationComboBoxPopup.setTabOrder(self.edtName, self.edtINN)
        OrganisationComboBoxPopup.setTabOrder(self.edtINN, self.edtPolisSerial)
        OrganisationComboBoxPopup.setTabOrder(self.edtPolisSerial,
                                              self.buttonBox)
Ejemplo n.º 5
0
class Ui_AddAddressesDialog(object):
    def setupUi(self, AddAddressesDialog):
        AddAddressesDialog.setObjectName(_fromUtf8("AddAddressesDialog"))
        AddAddressesDialog.resize(428, 215)
        self.gridLayout = QtGui.QGridLayout(AddAddressesDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblNumbers = QtGui.QLabel(AddAddressesDialog)
        self.lblNumbers.setObjectName(_fromUtf8("lblNumbers"))
        self.gridLayout.addWidget(self.lblNumbers, 9, 0, 1, 1)
        self.lblCity = QtGui.QLabel(AddAddressesDialog)
        self.lblCity.setObjectName(_fromUtf8("lblCity"))
        self.gridLayout.addWidget(self.lblCity, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 35, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 13, 0, 1, 1)
        self.lblHouseTo = QtGui.QLabel(AddAddressesDialog)
        self.lblHouseTo.setObjectName(_fromUtf8("lblHouseTo"))
        self.gridLayout.addWidget(self.lblHouseTo, 2, 3, 1, 1)
        self.lblHouse = QtGui.QLabel(AddAddressesDialog)
        self.lblHouse.setObjectName(_fromUtf8("lblHouse"))
        self.gridLayout.addWidget(self.lblHouse, 2, 0, 1, 1)
        self.lblHouseFrom = QtGui.QLabel(AddAddressesDialog)
        self.lblHouseFrom.setObjectName(_fromUtf8("lblHouseFrom"))
        self.gridLayout.addWidget(self.lblHouseFrom, 2, 1, 1, 1)
        self.edtHouseTo = QtGui.QSpinBox(AddAddressesDialog)
        self.edtHouseTo.setMaximum(999)
        self.edtHouseTo.setProperty("value", 1)
        self.edtHouseTo.setObjectName(_fromUtf8("edtHouseTo"))
        self.gridLayout.addWidget(self.edtHouseTo, 2, 4, 1, 1)
        self.lblStreet = QtGui.QLabel(AddAddressesDialog)
        self.lblStreet.setObjectName(_fromUtf8("lblStreet"))
        self.gridLayout.addWidget(self.lblStreet, 1, 0, 1, 1)
        self.edtHouseFrom = QtGui.QSpinBox(AddAddressesDialog)
        self.edtHouseFrom.setMaximum(999)
        self.edtHouseFrom.setProperty("value", 1)
        self.edtHouseFrom.setObjectName(_fromUtf8("edtHouseFrom"))
        self.gridLayout.addWidget(self.edtHouseFrom, 2, 2, 1, 1)
        self.lblFlat = QtGui.QLabel(AddAddressesDialog)
        self.lblFlat.setObjectName(_fromUtf8("lblFlat"))
        self.gridLayout.addWidget(self.lblFlat, 4, 0, 1, 1)
        self.lblFlatFrom = QtGui.QLabel(AddAddressesDialog)
        self.lblFlatFrom.setObjectName(_fromUtf8("lblFlatFrom"))
        self.gridLayout.addWidget(self.lblFlatFrom, 4, 1, 1, 1)
        self.edtFlatFrom = QtGui.QSpinBox(AddAddressesDialog)
        self.edtFlatFrom.setMaximum(999)
        self.edtFlatFrom.setObjectName(_fromUtf8("edtFlatFrom"))
        self.gridLayout.addWidget(self.edtFlatFrom, 4, 2, 1, 1)
        self.lblFlatTo = QtGui.QLabel(AddAddressesDialog)
        self.lblFlatTo.setObjectName(_fromUtf8("lblFlatTo"))
        self.gridLayout.addWidget(self.lblFlatTo, 4, 3, 1, 1)
        self.edtFlatTo = QtGui.QSpinBox(AddAddressesDialog)
        self.edtFlatTo.setMaximum(999)
        self.edtFlatTo.setObjectName(_fromUtf8("edtFlatTo"))
        self.gridLayout.addWidget(self.edtFlatTo, 4, 4, 1, 1)
        self.cmbCity = CKLADRComboBox(AddAddressesDialog)
        self.cmbCity.setObjectName(_fromUtf8("cmbCity"))
        self.gridLayout.addWidget(self.cmbCity, 0, 1, 1, 4)
        self.cmbStreet = CStreetComboBox(AddAddressesDialog)
        self.cmbStreet.setObjectName(_fromUtf8("cmbStreet"))
        self.gridLayout.addWidget(self.cmbStreet, 1, 1, 1, 4)
        self.cmbNumbers = QtGui.QComboBox(AddAddressesDialog)
        self.cmbNumbers.setObjectName(_fromUtf8("cmbNumbers"))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.cmbNumbers.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbNumbers, 9, 1, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(AddAddressesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 14, 0, 1, 5)

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

    def retranslateUi(self, AddAddressesDialog):
        AddAddressesDialog.setWindowTitle(
            _translate("AddAddressesDialog", "Добавление адресов", None))
        self.lblNumbers.setText(
            _translate("AddAddressesDialog", "Четность номеров домов", None))
        self.lblCity.setText(
            _translate("AddAddressesDialog", "Населенный пункт", None))
        self.lblHouseTo.setText(_translate("AddAddressesDialog", "по", None))
        self.lblHouse.setText(
            _translate("AddAddressesDialog", "Номера домов:", None))
        self.lblHouseFrom.setText(_translate("AddAddressesDialog", "с", None))
        self.lblStreet.setText(_translate("AddAddressesDialog", "Улица", None))
        self.lblFlat.setText(
            _translate("AddAddressesDialog", "Номера квартир:", None))
        self.lblFlatFrom.setText(_translate("AddAddressesDialog", "с", None))
        self.lblFlatTo.setText(_translate("AddAddressesDialog", "по", None))
        self.cmbNumbers.setItemText(
            0, _translate("AddAddressesDialog", "все", None))
        self.cmbNumbers.setItemText(
            1, _translate("AddAddressesDialog", "только нечетные", None))
        self.cmbNumbers.setItemText(
            2, _translate("AddAddressesDialog", "только четные", None))
Ejemplo n.º 6
0
class Ui_OrgEditorDialog(object):
    def setupUi(self, OrgEditorDialog):
        OrgEditorDialog.setObjectName(_fromUtf8("OrgEditorDialog"))
        OrgEditorDialog.resize(717, 902)
        OrgEditorDialog.setSizeGripEnabled(False)
        self.gridlayout = QtGui.QGridLayout(OrgEditorDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblShortName = QtGui.QLabel(OrgEditorDialog)
        self.lblShortName.setObjectName(_fromUtf8("lblShortName"))
        self.gridlayout.addWidget(self.lblShortName, 1, 0, 1, 1)
        self.edtTitle = QtGui.QLineEdit(OrgEditorDialog)
        self.edtTitle.setObjectName(_fromUtf8("edtTitle"))
        self.gridlayout.addWidget(self.edtTitle, 2, 1, 1, 1)
        self.lblTitle = QtGui.QLabel(OrgEditorDialog)
        self.lblTitle.setObjectName(_fromUtf8("lblTitle"))
        self.gridlayout.addWidget(self.lblTitle, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(OrgEditorDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 4, 0, 1, 2)
        self.edtShortName = QtGui.QLineEdit(OrgEditorDialog)
        self.edtShortName.setObjectName(_fromUtf8("edtShortName"))
        self.gridlayout.addWidget(self.edtShortName, 1, 1, 1, 1)
        self.lblFullName = QtGui.QLabel(OrgEditorDialog)
        self.lblFullName.setObjectName(_fromUtf8("lblFullName"))
        self.gridlayout.addWidget(self.lblFullName, 0, 0, 1, 1)
        self.edtFullName = QtGui.QLineEdit(OrgEditorDialog)
        self.edtFullName.setObjectName(_fromUtf8("edtFullName"))
        self.gridlayout.addWidget(self.edtFullName, 0, 1, 1, 1)
        self.tabWidget = QtGui.QTabWidget(OrgEditorDialog)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabBaseInfo = QtGui.QWidget()
        self.tabBaseInfo.setObjectName(_fromUtf8("tabBaseInfo"))
        self.gridLayout = QtGui.QGridLayout(self.tabBaseInfo)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblChief = QtGui.QLabel(self.tabBaseInfo)
        self.lblChief.setObjectName(_fromUtf8("lblChief"))
        self.gridLayout.addWidget(self.lblChief, 9, 0, 1, 1)
        self.lblINN = QtGui.QLabel(self.tabBaseInfo)
        self.lblINN.setObjectName(_fromUtf8("lblINN"))
        self.gridLayout.addWidget(self.lblINN, 4, 0, 1, 1)
        self.lblCanOmitPolicyNumber = QtGui.QLabel(self.tabBaseInfo)
        self.lblCanOmitPolicyNumber.setObjectName(_fromUtf8("lblCanOmitPolicyNumber"))
        self.gridLayout.addWidget(self.lblCanOmitPolicyNumber, 16, 7, 1, 1)
        self.lblNotes = QtGui.QLabel(self.tabBaseInfo)
        self.lblNotes.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.lblNotes.setObjectName(_fromUtf8("lblNotes"))
        self.gridLayout.addWidget(self.lblNotes, 20, 0, 1, 1)
        self.edtOGRN = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOGRN.setObjectName(_fromUtf8("edtOGRN"))
        self.gridLayout.addWidget(self.edtOGRN, 3, 2, 1, 1)
        self.lblInfisCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblInfisCode.setScaledContents(False)
        self.lblInfisCode.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblInfisCode.setObjectName(_fromUtf8("lblInfisCode"))
        self.gridLayout.addWidget(self.lblInfisCode, 12, 5, 1, 1)
        self.lblOKATO = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKATO.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKATO.setObjectName(_fromUtf8("lblOKATO"))
        self.gridLayout.addWidget(self.lblOKATO, 3, 5, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 19, 6, 1, 5)
        self.edtOKATO = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKATO.setObjectName(_fromUtf8("edtOKATO"))
        self.gridLayout.addWidget(self.edtOKATO, 3, 6, 1, 3)
        self.lblOKFS = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKFS.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKFS.setObjectName(_fromUtf8("lblOKFS"))
        self.gridLayout.addWidget(self.lblOKFS, 5, 5, 1, 1)
        self.label = QtGui.QLabel(self.tabBaseInfo)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 1)
        self.chkIsCompulsoryInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkIsCompulsoryInsurer.sizePolicy().hasHeightForWidth())
        self.chkIsCompulsoryInsurer.setSizePolicy(sizePolicy)
        self.chkIsCompulsoryInsurer.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.chkIsCompulsoryInsurer.setObjectName(_fromUtf8("chkIsCompulsoryInsurer"))
        self.gridLayout.addWidget(self.chkIsCompulsoryInsurer, 16, 2, 1, 1)
        self.chkVoluntaryServiceStop = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkVoluntaryServiceStop.setObjectName(_fromUtf8("chkVoluntaryServiceStop"))
        self.gridLayout.addWidget(self.chkVoluntaryServiceStop, 15, 10, 1, 1)
        self.edtAccountant = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtAccountant.setObjectName(_fromUtf8("edtAccountant"))
        self.gridLayout.addWidget(self.edtAccountant, 10, 2, 1, 9)
        self.lblKPP = QtGui.QLabel(self.tabBaseInfo)
        self.lblKPP.setObjectName(_fromUtf8("lblKPP"))
        self.gridLayout.addWidget(self.lblKPP, 5, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.tabBaseInfo)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 15, 7, 1, 1)
        self.lblAccountant = QtGui.QLabel(self.tabBaseInfo)
        self.lblAccountant.setObjectName(_fromUtf8("lblAccountant"))
        self.gridLayout.addWidget(self.lblAccountant, 10, 0, 1, 1)
        self.edtAddress = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtAddress.setEnabled(True)
        self.edtAddress.setObjectName(_fromUtf8("edtAddress"))
        self.gridLayout.addWidget(self.edtAddress, 0, 2, 1, 9)
        self.chkCanOmitPolicyNumber = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkCanOmitPolicyNumber.setText(_fromUtf8(""))
        self.chkCanOmitPolicyNumber.setObjectName(_fromUtf8("chkCanOmitPolicyNumber"))
        self.gridLayout.addWidget(self.chkCanOmitPolicyNumber, 16, 9, 1, 1)
        self.chkCompulsoryServiceStop = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkCompulsoryServiceStop.setObjectName(_fromUtf8("chkCompulsoryServiceStop"))
        self.gridLayout.addWidget(self.chkCompulsoryServiceStop, 15, 9, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 12, 9, 1, 2)
        self.lblHead = QtGui.QLabel(self.tabBaseInfo)
        self.lblHead.setObjectName(_fromUtf8("lblHead"))
        self.gridLayout.addWidget(self.lblHead, 2, 0, 1, 1)
        self.edtObsoleteInfisCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtObsoleteInfisCode.setObjectName(_fromUtf8("edtObsoleteInfisCode"))
        self.gridLayout.addWidget(self.edtObsoleteInfisCode, 13, 2, 1, 9)
        self.chkIsInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkIsInsurer.sizePolicy().hasHeightForWidth())
        self.chkIsInsurer.setSizePolicy(sizePolicy)
        self.chkIsInsurer.setText(_fromUtf8(""))
        self.chkIsInsurer.setObjectName(_fromUtf8("chkIsInsurer"))
        self.gridLayout.addWidget(self.chkIsInsurer, 15, 2, 1, 1)
        self.edtPhone = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtPhone.setObjectName(_fromUtf8("edtPhone"))
        self.gridLayout.addWidget(self.edtPhone, 11, 2, 1, 9)
        self.cmbIsMedical = QtGui.QComboBox(self.tabBaseInfo)
        self.cmbIsMedical.setObjectName(_fromUtf8("cmbIsMedical"))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsMedical, 19, 2, 1, 4)
        self.edtInfisCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtInfisCode.setObjectName(_fromUtf8("edtInfisCode"))
        self.gridLayout.addWidget(self.edtInfisCode, 12, 6, 1, 3)
        self.edtNotes = QtGui.QTextEdit(self.tabBaseInfo)
        self.edtNotes.setObjectName(_fromUtf8("edtNotes"))
        self.gridLayout.addWidget(self.edtNotes, 20, 2, 1, 9)
        self.cmbHead = COrgComboBox(self.tabBaseInfo)
        self.cmbHead.setEnabled(True)
        self.cmbHead.setObjectName(_fromUtf8("cmbHead"))
        self.gridLayout.addWidget(self.cmbHead, 2, 2, 1, 8)
        self.cmbArea = CKLADRComboBox(self.tabBaseInfo)
        self.cmbArea.setEnabled(True)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 18, 2, 1, 9)
        self.lblAddress = QtGui.QLabel(self.tabBaseInfo)
        self.lblAddress.setObjectName(_fromUtf8("lblAddress"))
        self.gridLayout.addWidget(self.lblAddress, 0, 0, 1, 1)
        self.cmbOKFS = CRBComboBox(self.tabBaseInfo)
        self.cmbOKFS.setObjectName(_fromUtf8("cmbOKFS"))
        self.gridLayout.addWidget(self.cmbOKFS, 5, 6, 1, 5)
        self.lblNet = QtGui.QLabel(self.tabBaseInfo)
        self.lblNet.setObjectName(_fromUtf8("lblNet"))
        self.gridLayout.addWidget(self.lblNet, 12, 0, 1, 1)
        self.edtMiacCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtMiacCode.setObjectName(_fromUtf8("edtMiacCode"))
        self.gridLayout.addWidget(self.edtMiacCode, 14, 2, 1, 4)
        self.lblOGRN = QtGui.QLabel(self.tabBaseInfo)
        self.lblOGRN.setObjectName(_fromUtf8("lblOGRN"))
        self.gridLayout.addWidget(self.lblOGRN, 3, 0, 1, 1)
        self.lblIsHospital = QtGui.QLabel(self.tabBaseInfo)
        self.lblIsHospital.setObjectName(_fromUtf8("lblIsHospital"))
        self.gridLayout.addWidget(self.lblIsHospital, 19, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 6, 9, 1, 2)
        self.edtOKPO = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKPO.setObjectName(_fromUtf8("edtOKPO"))
        self.gridLayout.addWidget(self.edtOKPO, 6, 6, 1, 3)
        self.cmbNet = CRBComboBox(self.tabBaseInfo)
        self.cmbNet.setObjectName(_fromUtf8("cmbNet"))
        self.gridLayout.addWidget(self.cmbNet, 12, 2, 1, 1)
        self.lblOKVED = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKVED.setObjectName(_fromUtf8("lblOKVED"))
        self.gridLayout.addWidget(self.lblOKVED, 7, 0, 1, 1)
        self.lblMiacCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblMiacCode.setObjectName(_fromUtf8("lblMiacCode"))
        self.gridLayout.addWidget(self.lblMiacCode, 14, 0, 1, 1)
        self.edtChief = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtChief.setObjectName(_fromUtf8("edtChief"))
        self.gridLayout.addWidget(self.edtChief, 9, 2, 1, 9)
        self.chkIsVoluntaryInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkIsVoluntaryInsurer.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.chkIsVoluntaryInsurer.setObjectName(_fromUtf8("chkIsVoluntaryInsurer"))
        self.gridLayout.addWidget(self.chkIsVoluntaryInsurer, 17, 2, 1, 1)
        self.lblPhone = QtGui.QLabel(self.tabBaseInfo)
        self.lblPhone.setObjectName(_fromUtf8("lblPhone"))
        self.gridLayout.addWidget(self.lblPhone, 11, 0, 1, 1)
        self.edtFSS = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtFSS.setObjectName(_fromUtf8("edtFSS"))
        self.gridLayout.addWidget(self.edtFSS, 6, 2, 1, 1)
        self.lblIsInsurer = QtGui.QLabel(self.tabBaseInfo)
        self.lblIsInsurer.setObjectName(_fromUtf8("lblIsInsurer"))
        self.gridLayout.addWidget(self.lblIsInsurer, 15, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.tabBaseInfo)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 18, 0, 1, 1)
        self.edtOKVED = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKVED.setObjectName(_fromUtf8("edtOKVED"))
        self.gridLayout.addWidget(self.edtOKVED, 7, 2, 1, 1)
        self.lblOKPO = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKPO.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKPO.setObjectName(_fromUtf8("lblOKPO"))
        self.gridLayout.addWidget(self.lblOKPO, 6, 5, 1, 1)
        self.lblOKPF = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKPF.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKPF.setObjectName(_fromUtf8("lblOKPF"))
        self.gridLayout.addWidget(self.lblOKPF, 4, 5, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 9, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 15, 4, 1, 2)
        self.lblObsoleteInfisCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblObsoleteInfisCode.setObjectName(_fromUtf8("lblObsoleteInfisCode"))
        self.gridLayout.addWidget(self.lblObsoleteInfisCode, 13, 0, 1, 1)
        self.edtKPP = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtKPP.setObjectName(_fromUtf8("edtKPP"))
        self.gridLayout.addWidget(self.edtKPP, 5, 2, 1, 1)
        self.btnSelectHeadOrganisation = QtGui.QToolButton(self.tabBaseInfo)
        self.btnSelectHeadOrganisation.setEnabled(True)
        self.btnSelectHeadOrganisation.setObjectName(_fromUtf8("btnSelectHeadOrganisation"))
        self.gridLayout.addWidget(self.btnSelectHeadOrganisation, 2, 10, 1, 1)
        self.cmbOKPF = CRBComboBox(self.tabBaseInfo)
        self.cmbOKPF.setObjectName(_fromUtf8("cmbOKPF"))
        self.gridLayout.addWidget(self.cmbOKPF, 4, 6, 1, 5)
        self.edtINN = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtINN.setObjectName(_fromUtf8("edtINN"))
        self.gridLayout.addWidget(self.edtINN, 4, 2, 1, 1)
        self.lblNetricaCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblNetricaCode.setObjectName(_fromUtf8("lblNetricaCode"))
        self.gridLayout.addWidget(self.lblNetricaCode, 7, 5, 1, 1)
        self.edtNetricaCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtNetricaCode.setObjectName(_fromUtf8("edtNetricaCode"))
        self.gridLayout.addWidget(self.edtNetricaCode, 7, 6, 1, 5)
        self.tabWidget.addTab(self.tabBaseInfo, _fromUtf8(""))
        self.tabAccounts = QtGui.QWidget()
        self.tabAccounts.setObjectName(_fromUtf8("tabAccounts"))
        self.gridlayout1 = QtGui.QGridLayout(self.tabAccounts)
        self.gridlayout1.setMargin(4)
        self.gridlayout1.setSpacing(4)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.tblOrganisationAccounts = CInDocTableView(self.tabAccounts)
        self.tblOrganisationAccounts.setObjectName(_fromUtf8("tblOrganisationAccounts"))
        self.gridlayout1.addWidget(self.tblOrganisationAccounts, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabAccounts, _fromUtf8(""))
        self.tabPolicySerials = QtGui.QWidget()
        self.tabPolicySerials.setObjectName(_fromUtf8("tabPolicySerials"))
        self.gridlayout2 = QtGui.QGridLayout(self.tabPolicySerials)
        self.gridlayout2.setMargin(4)
        self.gridlayout2.setSpacing(4)
        self.gridlayout2.setObjectName(_fromUtf8("gridlayout2"))
        self.tblOrganisationPolicySerials = CInDocTableView(self.tabPolicySerials)
        self.tblOrganisationPolicySerials.setObjectName(_fromUtf8("tblOrganisationPolicySerials"))
        self.gridlayout2.addWidget(self.tblOrganisationPolicySerials, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPolicySerials, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 2)
        self.lblShortName.setBuddy(self.edtShortName)
        self.lblTitle.setBuddy(self.edtTitle)
        self.lblFullName.setBuddy(self.edtFullName)
        self.lblChief.setBuddy(self.edtChief)
        self.lblINN.setBuddy(self.edtINN)
        self.lblNotes.setBuddy(self.edtNotes)
        self.lblInfisCode.setBuddy(self.edtInfisCode)
        self.lblOKATO.setBuddy(self.edtOKATO)
        self.lblOKFS.setBuddy(self.cmbOKFS)
        self.lblKPP.setBuddy(self.edtKPP)
        self.lblAccountant.setBuddy(self.edtAccountant)
        self.lblHead.setBuddy(self.cmbHead)
        self.lblAddress.setBuddy(self.edtAddress)
        self.lblNet.setBuddy(self.cmbNet)
        self.lblOGRN.setBuddy(self.edtOGRN)
        self.lblOKVED.setBuddy(self.edtOKVED)
        self.lblMiacCode.setBuddy(self.edtMiacCode)
        self.lblPhone.setBuddy(self.edtPhone)
        self.lblIsInsurer.setBuddy(self.chkIsInsurer)
        self.label_2.setBuddy(self.cmbArea)
        self.lblOKPO.setBuddy(self.edtOKPO)
        self.lblOKPF.setBuddy(self.cmbOKPF)
        self.lblObsoleteInfisCode.setBuddy(self.edtObsoleteInfisCode)

        self.retranslateUi(OrgEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkIsInsurer, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkCompulsoryServiceStop.setEnabled)
        QtCore.QObject.connect(self.chkIsInsurer, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkVoluntaryServiceStop.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), OrgEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), OrgEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(OrgEditorDialog)
        OrgEditorDialog.setTabOrder(self.edtFullName, self.edtShortName)
        OrgEditorDialog.setTabOrder(self.edtShortName, self.edtTitle)
        OrgEditorDialog.setTabOrder(self.edtTitle, self.tabWidget)
        OrgEditorDialog.setTabOrder(self.tabWidget, self.edtAddress)
        OrgEditorDialog.setTabOrder(self.edtAddress, self.cmbHead)
        OrgEditorDialog.setTabOrder(self.cmbHead, self.btnSelectHeadOrganisation)
        OrgEditorDialog.setTabOrder(self.btnSelectHeadOrganisation, self.edtOGRN)
        OrgEditorDialog.setTabOrder(self.edtOGRN, self.edtINN)
        OrgEditorDialog.setTabOrder(self.edtINN, self.edtKPP)
        OrgEditorDialog.setTabOrder(self.edtKPP, self.edtFSS)
        OrgEditorDialog.setTabOrder(self.edtFSS, self.edtOKVED)
        OrgEditorDialog.setTabOrder(self.edtOKVED, self.edtOKATO)
        OrgEditorDialog.setTabOrder(self.edtOKATO, self.cmbOKFS)
        OrgEditorDialog.setTabOrder(self.cmbOKFS, self.edtOKPO)
        OrgEditorDialog.setTabOrder(self.edtOKPO, self.edtChief)
        OrgEditorDialog.setTabOrder(self.edtChief, self.edtAccountant)
        OrgEditorDialog.setTabOrder(self.edtAccountant, self.edtPhone)
        OrgEditorDialog.setTabOrder(self.edtPhone, self.cmbNet)
        OrgEditorDialog.setTabOrder(self.cmbNet, self.edtInfisCode)
        OrgEditorDialog.setTabOrder(self.edtInfisCode, self.edtObsoleteInfisCode)
        OrgEditorDialog.setTabOrder(self.edtObsoleteInfisCode, self.edtMiacCode)
        OrgEditorDialog.setTabOrder(self.edtMiacCode, self.chkIsInsurer)
        OrgEditorDialog.setTabOrder(self.chkIsInsurer, self.cmbArea)
        OrgEditorDialog.setTabOrder(self.cmbArea, self.cmbIsMedical)
        OrgEditorDialog.setTabOrder(self.cmbIsMedical, self.edtNotes)
        OrgEditorDialog.setTabOrder(self.edtNotes, self.tblOrganisationAccounts)
        OrgEditorDialog.setTabOrder(self.tblOrganisationAccounts, self.tblOrganisationPolicySerials)

    def retranslateUi(self, OrgEditorDialog):
        OrgEditorDialog.setWindowTitle(_translate("OrgEditorDialog", "ChangeMe!", None))
        self.lblShortName.setText(_translate("OrgEditorDialog", "&Наименование", None))
        self.lblTitle.setText(_translate("OrgEditorDialog", "Наименование для печати", None))
        self.lblFullName.setText(_translate("OrgEditorDialog", "&Полное наименование", None))
        self.lblChief.setText(_translate("OrgEditorDialog", "Руководитель", None))
        self.lblINN.setText(_translate("OrgEditorDialog", "ИНН", None))
        self.lblCanOmitPolicyNumber.setText(_translate("OrgEditorDialog", "Не требует ввода данных полиса:", None))
        self.lblNotes.setText(_translate("OrgEditorDialog", "Примечания", None))
        self.edtOGRN.setInputMask(_translate("OrgEditorDialog", "999999999999900; ", None))
        self.lblInfisCode.setToolTip(_translate("OrgEditorDialog", "Код в тер.фонде", None))
        self.lblInfisCode.setText(_translate("OrgEditorDialog", "ИНФИС", None))
        self.lblOKATO.setText(_translate("OrgEditorDialog", "ОКАТО", None))
        self.edtOKATO.setInputMask(_translate("OrgEditorDialog", "99999999999; ", None))
        self.lblOKFS.setText(_translate("OrgEditorDialog", "ОКФС", None))
        self.label.setText(_translate("OrgEditorDialog", "ФСС", None))
        self.chkIsCompulsoryInsurer.setText(_translate("OrgEditorDialog", "ОМС", None))
        self.chkVoluntaryServiceStop.setText(_translate("OrgEditorDialog", "ДМС", None))
        self.lblKPP.setText(_translate("OrgEditorDialog", "КПП", None))
        self.label_3.setText(_translate("OrgEditorDialog", "Приостановить обслуживание: ", None))
        self.lblAccountant.setText(_translate("OrgEditorDialog", "Гл.бухгалтер", None))
        self.chkCompulsoryServiceStop.setText(_translate("OrgEditorDialog", "ОМС", None))
        self.lblHead.setText(_translate("OrgEditorDialog", "&Головная организация", None))
        self.cmbIsMedical.setItemText(0, _translate("OrgEditorDialog", "не определено", None))
        self.cmbIsMedical.setItemText(1, _translate("OrgEditorDialog", "поликлиника", None))
        self.cmbIsMedical.setItemText(2, _translate("OrgEditorDialog", "стационар", None))
        self.cmbIsMedical.setItemText(3, _translate("OrgEditorDialog", "прочая мед.организация", None))
        self.edtInfisCode.setToolTip(_translate("OrgEditorDialog", "Код в тер.фонде", None))
        self.lblAddress.setText(_translate("OrgEditorDialog", "Адрес", None))
        self.lblNet.setText(_translate("OrgEditorDialog", "&Сеть", None))
        self.lblOGRN.setText(_translate("OrgEditorDialog", "ОГРН", None))
        self.lblIsHospital.setText(_translate("OrgEditorDialog", "ЛПУ", None))
        self.edtOKPO.setInputMask(_translate("OrgEditorDialog", "99999999; ", None))
        self.lblOKVED.setText(_translate("OrgEditorDialog", "ОКВЭД", None))
        self.lblMiacCode.setText(_translate("OrgEditorDialog", "Код &МИАЦ", None))
        self.chkIsVoluntaryInsurer.setText(_translate("OrgEditorDialog", "ДМС", None))
        self.lblPhone.setText(_translate("OrgEditorDialog", "Телефон", None))
        self.edtFSS.setInputMask(_translate("OrgEditorDialog", "9999999999; ", None))
        self.lblIsInsurer.setText(_translate("OrgEditorDialog", "Страховая компания", None))
        self.label_2.setText(_translate("OrgEditorDialog", "Регион", None))
        self.lblOKPO.setText(_translate("OrgEditorDialog", "ОКПО", None))
        self.lblOKPF.setText(_translate("OrgEditorDialog", "ОКПФ", None))
        self.lblObsoleteInfisCode.setText(_translate("OrgEditorDialog", "Устаревший ИНФИС", None))
        self.edtKPP.setInputMask(_translate("OrgEditorDialog", "999999999; ", None))
        self.btnSelectHeadOrganisation.setText(_translate("OrgEditorDialog", "...", None))
        self.edtINN.setInputMask(_translate("OrgEditorDialog", "999999999900; ", None))
        self.lblNetricaCode.setText(_translate("OrgEditorDialog", "Код Нетрики", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabBaseInfo), _translate("OrgEditorDialog", "Основная информация", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAccounts), _translate("OrgEditorDialog", "Раcчетные счета", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPolicySerials), _translate("OrgEditorDialog", "Серии полисов", None))
Ejemplo n.º 7
0
    def setupUi(self, OrgEditorDialog):
        OrgEditorDialog.setObjectName(_fromUtf8("OrgEditorDialog"))
        OrgEditorDialog.resize(717, 902)
        OrgEditorDialog.setSizeGripEnabled(False)
        self.gridlayout = QtGui.QGridLayout(OrgEditorDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblShortName = QtGui.QLabel(OrgEditorDialog)
        self.lblShortName.setObjectName(_fromUtf8("lblShortName"))
        self.gridlayout.addWidget(self.lblShortName, 1, 0, 1, 1)
        self.edtTitle = QtGui.QLineEdit(OrgEditorDialog)
        self.edtTitle.setObjectName(_fromUtf8("edtTitle"))
        self.gridlayout.addWidget(self.edtTitle, 2, 1, 1, 1)
        self.lblTitle = QtGui.QLabel(OrgEditorDialog)
        self.lblTitle.setObjectName(_fromUtf8("lblTitle"))
        self.gridlayout.addWidget(self.lblTitle, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(OrgEditorDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 4, 0, 1, 2)
        self.edtShortName = QtGui.QLineEdit(OrgEditorDialog)
        self.edtShortName.setObjectName(_fromUtf8("edtShortName"))
        self.gridlayout.addWidget(self.edtShortName, 1, 1, 1, 1)
        self.lblFullName = QtGui.QLabel(OrgEditorDialog)
        self.lblFullName.setObjectName(_fromUtf8("lblFullName"))
        self.gridlayout.addWidget(self.lblFullName, 0, 0, 1, 1)
        self.edtFullName = QtGui.QLineEdit(OrgEditorDialog)
        self.edtFullName.setObjectName(_fromUtf8("edtFullName"))
        self.gridlayout.addWidget(self.edtFullName, 0, 1, 1, 1)
        self.tabWidget = QtGui.QTabWidget(OrgEditorDialog)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabBaseInfo = QtGui.QWidget()
        self.tabBaseInfo.setObjectName(_fromUtf8("tabBaseInfo"))
        self.gridLayout = QtGui.QGridLayout(self.tabBaseInfo)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblChief = QtGui.QLabel(self.tabBaseInfo)
        self.lblChief.setObjectName(_fromUtf8("lblChief"))
        self.gridLayout.addWidget(self.lblChief, 9, 0, 1, 1)
        self.lblINN = QtGui.QLabel(self.tabBaseInfo)
        self.lblINN.setObjectName(_fromUtf8("lblINN"))
        self.gridLayout.addWidget(self.lblINN, 4, 0, 1, 1)
        self.lblCanOmitPolicyNumber = QtGui.QLabel(self.tabBaseInfo)
        self.lblCanOmitPolicyNumber.setObjectName(_fromUtf8("lblCanOmitPolicyNumber"))
        self.gridLayout.addWidget(self.lblCanOmitPolicyNumber, 16, 7, 1, 1)
        self.lblNotes = QtGui.QLabel(self.tabBaseInfo)
        self.lblNotes.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.lblNotes.setObjectName(_fromUtf8("lblNotes"))
        self.gridLayout.addWidget(self.lblNotes, 20, 0, 1, 1)
        self.edtOGRN = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOGRN.setObjectName(_fromUtf8("edtOGRN"))
        self.gridLayout.addWidget(self.edtOGRN, 3, 2, 1, 1)
        self.lblInfisCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblInfisCode.setScaledContents(False)
        self.lblInfisCode.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblInfisCode.setObjectName(_fromUtf8("lblInfisCode"))
        self.gridLayout.addWidget(self.lblInfisCode, 12, 5, 1, 1)
        self.lblOKATO = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKATO.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKATO.setObjectName(_fromUtf8("lblOKATO"))
        self.gridLayout.addWidget(self.lblOKATO, 3, 5, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 19, 6, 1, 5)
        self.edtOKATO = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKATO.setObjectName(_fromUtf8("edtOKATO"))
        self.gridLayout.addWidget(self.edtOKATO, 3, 6, 1, 3)
        self.lblOKFS = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKFS.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKFS.setObjectName(_fromUtf8("lblOKFS"))
        self.gridLayout.addWidget(self.lblOKFS, 5, 5, 1, 1)
        self.label = QtGui.QLabel(self.tabBaseInfo)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 1)
        self.chkIsCompulsoryInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkIsCompulsoryInsurer.sizePolicy().hasHeightForWidth())
        self.chkIsCompulsoryInsurer.setSizePolicy(sizePolicy)
        self.chkIsCompulsoryInsurer.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.chkIsCompulsoryInsurer.setObjectName(_fromUtf8("chkIsCompulsoryInsurer"))
        self.gridLayout.addWidget(self.chkIsCompulsoryInsurer, 16, 2, 1, 1)
        self.chkVoluntaryServiceStop = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkVoluntaryServiceStop.setObjectName(_fromUtf8("chkVoluntaryServiceStop"))
        self.gridLayout.addWidget(self.chkVoluntaryServiceStop, 15, 10, 1, 1)
        self.edtAccountant = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtAccountant.setObjectName(_fromUtf8("edtAccountant"))
        self.gridLayout.addWidget(self.edtAccountant, 10, 2, 1, 9)
        self.lblKPP = QtGui.QLabel(self.tabBaseInfo)
        self.lblKPP.setObjectName(_fromUtf8("lblKPP"))
        self.gridLayout.addWidget(self.lblKPP, 5, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.tabBaseInfo)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 15, 7, 1, 1)
        self.lblAccountant = QtGui.QLabel(self.tabBaseInfo)
        self.lblAccountant.setObjectName(_fromUtf8("lblAccountant"))
        self.gridLayout.addWidget(self.lblAccountant, 10, 0, 1, 1)
        self.edtAddress = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtAddress.setEnabled(True)
        self.edtAddress.setObjectName(_fromUtf8("edtAddress"))
        self.gridLayout.addWidget(self.edtAddress, 0, 2, 1, 9)
        self.chkCanOmitPolicyNumber = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkCanOmitPolicyNumber.setText(_fromUtf8(""))
        self.chkCanOmitPolicyNumber.setObjectName(_fromUtf8("chkCanOmitPolicyNumber"))
        self.gridLayout.addWidget(self.chkCanOmitPolicyNumber, 16, 9, 1, 1)
        self.chkCompulsoryServiceStop = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkCompulsoryServiceStop.setObjectName(_fromUtf8("chkCompulsoryServiceStop"))
        self.gridLayout.addWidget(self.chkCompulsoryServiceStop, 15, 9, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 12, 9, 1, 2)
        self.lblHead = QtGui.QLabel(self.tabBaseInfo)
        self.lblHead.setObjectName(_fromUtf8("lblHead"))
        self.gridLayout.addWidget(self.lblHead, 2, 0, 1, 1)
        self.edtObsoleteInfisCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtObsoleteInfisCode.setObjectName(_fromUtf8("edtObsoleteInfisCode"))
        self.gridLayout.addWidget(self.edtObsoleteInfisCode, 13, 2, 1, 9)
        self.chkIsInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkIsInsurer.sizePolicy().hasHeightForWidth())
        self.chkIsInsurer.setSizePolicy(sizePolicy)
        self.chkIsInsurer.setText(_fromUtf8(""))
        self.chkIsInsurer.setObjectName(_fromUtf8("chkIsInsurer"))
        self.gridLayout.addWidget(self.chkIsInsurer, 15, 2, 1, 1)
        self.edtPhone = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtPhone.setObjectName(_fromUtf8("edtPhone"))
        self.gridLayout.addWidget(self.edtPhone, 11, 2, 1, 9)
        self.cmbIsMedical = QtGui.QComboBox(self.tabBaseInfo)
        self.cmbIsMedical.setObjectName(_fromUtf8("cmbIsMedical"))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.cmbIsMedical.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsMedical, 19, 2, 1, 4)
        self.edtInfisCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtInfisCode.setObjectName(_fromUtf8("edtInfisCode"))
        self.gridLayout.addWidget(self.edtInfisCode, 12, 6, 1, 3)
        self.edtNotes = QtGui.QTextEdit(self.tabBaseInfo)
        self.edtNotes.setObjectName(_fromUtf8("edtNotes"))
        self.gridLayout.addWidget(self.edtNotes, 20, 2, 1, 9)
        self.cmbHead = COrgComboBox(self.tabBaseInfo)
        self.cmbHead.setEnabled(True)
        self.cmbHead.setObjectName(_fromUtf8("cmbHead"))
        self.gridLayout.addWidget(self.cmbHead, 2, 2, 1, 8)
        self.cmbArea = CKLADRComboBox(self.tabBaseInfo)
        self.cmbArea.setEnabled(True)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 18, 2, 1, 9)
        self.lblAddress = QtGui.QLabel(self.tabBaseInfo)
        self.lblAddress.setObjectName(_fromUtf8("lblAddress"))
        self.gridLayout.addWidget(self.lblAddress, 0, 0, 1, 1)
        self.cmbOKFS = CRBComboBox(self.tabBaseInfo)
        self.cmbOKFS.setObjectName(_fromUtf8("cmbOKFS"))
        self.gridLayout.addWidget(self.cmbOKFS, 5, 6, 1, 5)
        self.lblNet = QtGui.QLabel(self.tabBaseInfo)
        self.lblNet.setObjectName(_fromUtf8("lblNet"))
        self.gridLayout.addWidget(self.lblNet, 12, 0, 1, 1)
        self.edtMiacCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtMiacCode.setObjectName(_fromUtf8("edtMiacCode"))
        self.gridLayout.addWidget(self.edtMiacCode, 14, 2, 1, 4)
        self.lblOGRN = QtGui.QLabel(self.tabBaseInfo)
        self.lblOGRN.setObjectName(_fromUtf8("lblOGRN"))
        self.gridLayout.addWidget(self.lblOGRN, 3, 0, 1, 1)
        self.lblIsHospital = QtGui.QLabel(self.tabBaseInfo)
        self.lblIsHospital.setObjectName(_fromUtf8("lblIsHospital"))
        self.gridLayout.addWidget(self.lblIsHospital, 19, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 6, 9, 1, 2)
        self.edtOKPO = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKPO.setObjectName(_fromUtf8("edtOKPO"))
        self.gridLayout.addWidget(self.edtOKPO, 6, 6, 1, 3)
        self.cmbNet = CRBComboBox(self.tabBaseInfo)
        self.cmbNet.setObjectName(_fromUtf8("cmbNet"))
        self.gridLayout.addWidget(self.cmbNet, 12, 2, 1, 1)
        self.lblOKVED = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKVED.setObjectName(_fromUtf8("lblOKVED"))
        self.gridLayout.addWidget(self.lblOKVED, 7, 0, 1, 1)
        self.lblMiacCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblMiacCode.setObjectName(_fromUtf8("lblMiacCode"))
        self.gridLayout.addWidget(self.lblMiacCode, 14, 0, 1, 1)
        self.edtChief = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtChief.setObjectName(_fromUtf8("edtChief"))
        self.gridLayout.addWidget(self.edtChief, 9, 2, 1, 9)
        self.chkIsVoluntaryInsurer = QtGui.QCheckBox(self.tabBaseInfo)
        self.chkIsVoluntaryInsurer.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.chkIsVoluntaryInsurer.setObjectName(_fromUtf8("chkIsVoluntaryInsurer"))
        self.gridLayout.addWidget(self.chkIsVoluntaryInsurer, 17, 2, 1, 1)
        self.lblPhone = QtGui.QLabel(self.tabBaseInfo)
        self.lblPhone.setObjectName(_fromUtf8("lblPhone"))
        self.gridLayout.addWidget(self.lblPhone, 11, 0, 1, 1)
        self.edtFSS = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtFSS.setObjectName(_fromUtf8("edtFSS"))
        self.gridLayout.addWidget(self.edtFSS, 6, 2, 1, 1)
        self.lblIsInsurer = QtGui.QLabel(self.tabBaseInfo)
        self.lblIsInsurer.setObjectName(_fromUtf8("lblIsInsurer"))
        self.gridLayout.addWidget(self.lblIsInsurer, 15, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.tabBaseInfo)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 18, 0, 1, 1)
        self.edtOKVED = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtOKVED.setObjectName(_fromUtf8("edtOKVED"))
        self.gridLayout.addWidget(self.edtOKVED, 7, 2, 1, 1)
        self.lblOKPO = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKPO.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKPO.setObjectName(_fromUtf8("lblOKPO"))
        self.gridLayout.addWidget(self.lblOKPO, 6, 5, 1, 1)
        self.lblOKPF = QtGui.QLabel(self.tabBaseInfo)
        self.lblOKPF.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblOKPF.setObjectName(_fromUtf8("lblOKPF"))
        self.gridLayout.addWidget(self.lblOKPF, 4, 5, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 9, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 15, 4, 1, 2)
        self.lblObsoleteInfisCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblObsoleteInfisCode.setObjectName(_fromUtf8("lblObsoleteInfisCode"))
        self.gridLayout.addWidget(self.lblObsoleteInfisCode, 13, 0, 1, 1)
        self.edtKPP = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtKPP.setObjectName(_fromUtf8("edtKPP"))
        self.gridLayout.addWidget(self.edtKPP, 5, 2, 1, 1)
        self.btnSelectHeadOrganisation = QtGui.QToolButton(self.tabBaseInfo)
        self.btnSelectHeadOrganisation.setEnabled(True)
        self.btnSelectHeadOrganisation.setObjectName(_fromUtf8("btnSelectHeadOrganisation"))
        self.gridLayout.addWidget(self.btnSelectHeadOrganisation, 2, 10, 1, 1)
        self.cmbOKPF = CRBComboBox(self.tabBaseInfo)
        self.cmbOKPF.setObjectName(_fromUtf8("cmbOKPF"))
        self.gridLayout.addWidget(self.cmbOKPF, 4, 6, 1, 5)
        self.edtINN = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtINN.setObjectName(_fromUtf8("edtINN"))
        self.gridLayout.addWidget(self.edtINN, 4, 2, 1, 1)
        self.lblNetricaCode = QtGui.QLabel(self.tabBaseInfo)
        self.lblNetricaCode.setObjectName(_fromUtf8("lblNetricaCode"))
        self.gridLayout.addWidget(self.lblNetricaCode, 7, 5, 1, 1)
        self.edtNetricaCode = QtGui.QLineEdit(self.tabBaseInfo)
        self.edtNetricaCode.setObjectName(_fromUtf8("edtNetricaCode"))
        self.gridLayout.addWidget(self.edtNetricaCode, 7, 6, 1, 5)
        self.tabWidget.addTab(self.tabBaseInfo, _fromUtf8(""))
        self.tabAccounts = QtGui.QWidget()
        self.tabAccounts.setObjectName(_fromUtf8("tabAccounts"))
        self.gridlayout1 = QtGui.QGridLayout(self.tabAccounts)
        self.gridlayout1.setMargin(4)
        self.gridlayout1.setSpacing(4)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.tblOrganisationAccounts = CInDocTableView(self.tabAccounts)
        self.tblOrganisationAccounts.setObjectName(_fromUtf8("tblOrganisationAccounts"))
        self.gridlayout1.addWidget(self.tblOrganisationAccounts, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabAccounts, _fromUtf8(""))
        self.tabPolicySerials = QtGui.QWidget()
        self.tabPolicySerials.setObjectName(_fromUtf8("tabPolicySerials"))
        self.gridlayout2 = QtGui.QGridLayout(self.tabPolicySerials)
        self.gridlayout2.setMargin(4)
        self.gridlayout2.setSpacing(4)
        self.gridlayout2.setObjectName(_fromUtf8("gridlayout2"))
        self.tblOrganisationPolicySerials = CInDocTableView(self.tabPolicySerials)
        self.tblOrganisationPolicySerials.setObjectName(_fromUtf8("tblOrganisationPolicySerials"))
        self.gridlayout2.addWidget(self.tblOrganisationPolicySerials, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPolicySerials, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 2)
        self.lblShortName.setBuddy(self.edtShortName)
        self.lblTitle.setBuddy(self.edtTitle)
        self.lblFullName.setBuddy(self.edtFullName)
        self.lblChief.setBuddy(self.edtChief)
        self.lblINN.setBuddy(self.edtINN)
        self.lblNotes.setBuddy(self.edtNotes)
        self.lblInfisCode.setBuddy(self.edtInfisCode)
        self.lblOKATO.setBuddy(self.edtOKATO)
        self.lblOKFS.setBuddy(self.cmbOKFS)
        self.lblKPP.setBuddy(self.edtKPP)
        self.lblAccountant.setBuddy(self.edtAccountant)
        self.lblHead.setBuddy(self.cmbHead)
        self.lblAddress.setBuddy(self.edtAddress)
        self.lblNet.setBuddy(self.cmbNet)
        self.lblOGRN.setBuddy(self.edtOGRN)
        self.lblOKVED.setBuddy(self.edtOKVED)
        self.lblMiacCode.setBuddy(self.edtMiacCode)
        self.lblPhone.setBuddy(self.edtPhone)
        self.lblIsInsurer.setBuddy(self.chkIsInsurer)
        self.label_2.setBuddy(self.cmbArea)
        self.lblOKPO.setBuddy(self.edtOKPO)
        self.lblOKPF.setBuddy(self.cmbOKPF)
        self.lblObsoleteInfisCode.setBuddy(self.edtObsoleteInfisCode)

        self.retranslateUi(OrgEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkIsInsurer, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkCompulsoryServiceStop.setEnabled)
        QtCore.QObject.connect(self.chkIsInsurer, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkVoluntaryServiceStop.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), OrgEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), OrgEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(OrgEditorDialog)
        OrgEditorDialog.setTabOrder(self.edtFullName, self.edtShortName)
        OrgEditorDialog.setTabOrder(self.edtShortName, self.edtTitle)
        OrgEditorDialog.setTabOrder(self.edtTitle, self.tabWidget)
        OrgEditorDialog.setTabOrder(self.tabWidget, self.edtAddress)
        OrgEditorDialog.setTabOrder(self.edtAddress, self.cmbHead)
        OrgEditorDialog.setTabOrder(self.cmbHead, self.btnSelectHeadOrganisation)
        OrgEditorDialog.setTabOrder(self.btnSelectHeadOrganisation, self.edtOGRN)
        OrgEditorDialog.setTabOrder(self.edtOGRN, self.edtINN)
        OrgEditorDialog.setTabOrder(self.edtINN, self.edtKPP)
        OrgEditorDialog.setTabOrder(self.edtKPP, self.edtFSS)
        OrgEditorDialog.setTabOrder(self.edtFSS, self.edtOKVED)
        OrgEditorDialog.setTabOrder(self.edtOKVED, self.edtOKATO)
        OrgEditorDialog.setTabOrder(self.edtOKATO, self.cmbOKFS)
        OrgEditorDialog.setTabOrder(self.cmbOKFS, self.edtOKPO)
        OrgEditorDialog.setTabOrder(self.edtOKPO, self.edtChief)
        OrgEditorDialog.setTabOrder(self.edtChief, self.edtAccountant)
        OrgEditorDialog.setTabOrder(self.edtAccountant, self.edtPhone)
        OrgEditorDialog.setTabOrder(self.edtPhone, self.cmbNet)
        OrgEditorDialog.setTabOrder(self.cmbNet, self.edtInfisCode)
        OrgEditorDialog.setTabOrder(self.edtInfisCode, self.edtObsoleteInfisCode)
        OrgEditorDialog.setTabOrder(self.edtObsoleteInfisCode, self.edtMiacCode)
        OrgEditorDialog.setTabOrder(self.edtMiacCode, self.chkIsInsurer)
        OrgEditorDialog.setTabOrder(self.chkIsInsurer, self.cmbArea)
        OrgEditorDialog.setTabOrder(self.cmbArea, self.cmbIsMedical)
        OrgEditorDialog.setTabOrder(self.cmbIsMedical, self.edtNotes)
        OrgEditorDialog.setTabOrder(self.edtNotes, self.tblOrganisationAccounts)
        OrgEditorDialog.setTabOrder(self.tblOrganisationAccounts, self.tblOrganisationPolicySerials)
Ejemplo n.º 8
0
 def createEditor(self, parent, option, index):
     editor = CKLADRComboBox(parent)
     return editor
Ejemplo n.º 9
0
    def setupUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setObjectName(_fromUtf8("ReportAcuteInfectionsSetupDialog"))
        ReportAcuteInfectionsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAcuteInfectionsSetupDialog.resize(884, 866)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportAcuteInfectionsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportAcuteInfectionsSetupDialog.setSizePolicy(sizePolicy)
        ReportAcuteInfectionsSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAcuteInfectionsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lblSex = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.horizontalLayout_4.addWidget(self.lblSex)
        self.cmbSex = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.horizontalLayout_4.addWidget(self.cmbSex)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_4, 11, 3, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 7, 3, 1, 1)
        self.lblTemplate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblTemplate.setObjectName(_fromUtf8("lblTemplate"))
        self.gridLayout.addWidget(self.lblTemplate, 1, 3, 1, 1)
        self.cmbCategory = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCategory.sizePolicy().hasHeightForWidth())
        self.cmbCategory.setSizePolicy(sizePolicy)
        self.cmbCategory.setObjectName(_fromUtf8("cmbCategory"))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCategory, 1, 1, 1, 2)
        self.frmAge = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge.sizePolicy().hasHeightForWidth())
        self.frmAge.setSizePolicy(sizePolicy)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(self.frmAge)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        self.chkOnlyChilds = QtGui.QCheckBox(self.frmAge)
        self.chkOnlyChilds.setObjectName(_fromUtf8("chkOnlyChilds"))
        self.hboxlayout.addWidget(self.chkOnlyChilds)
        self.gridLayout.addWidget(self.frmAge, 11, 0, 1, 3)
        self.cmbTemplate = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbTemplate.sizePolicy().hasHeightForWidth())
        self.cmbTemplate.setSizePolicy(sizePolicy)
        self.cmbTemplate.setObjectName(_fromUtf8("cmbTemplate"))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTemplate, 1, 4, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 7, 4, 1, 1)
        self.lblLocality = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblLocality.setObjectName(_fromUtf8("lblLocality"))
        self.gridLayout.addWidget(self.lblLocality, 18, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 17, 0, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblSocStatusClass = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.lblSocStatusClass)
        self.cmbSocStatusClass = CSocStatusComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.cmbSocStatusClass)
        self.gridLayout.addLayout(self.horizontalLayout_3, 15, 0, 1, 3)
        self.chkArea = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 19, 0, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lblSocStatusType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.horizontalLayout_2.addWidget(self.lblSocStatusType)
        self.cmbSocStatusType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.horizontalLayout_2.addWidget(self.cmbSocStatusType)
        self.gridLayout.addLayout(self.horizontalLayout_2, 15, 3, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAcuteInfectionsSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 23, 0, 1, 5)
        self.lblHurt = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblHurt.setObjectName(_fromUtf8("lblHurt"))
        self.gridLayout.addWidget(self.lblHurt, 5, 3, 1, 1)
        self.cmbSpecialityPerson = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSpecialityPerson.setObjectName(_fromUtf8("cmbSpecialityPerson"))
        self.gridLayout.addWidget(self.cmbSpecialityPerson, 6, 4, 1, 1)
        self.cmbEventPurpose = CRBMultiComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 2)
        self.cmbArea = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 19, 3, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbLocality = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbLocality.setObjectName(_fromUtf8("cmbLocality"))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocality, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 22, 2, 1, 1)
        self.cmbHurt = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbHurt.setObjectName(_fromUtf8("cmbHurt"))
        self.gridLayout.addWidget(self.cmbHurt, 5, 4, 1, 1)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(_fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 17, 3, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblSpecialityPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSpecialityPerson.setObjectName(_fromUtf8("lblSpecialityPerson"))
        self.gridLayout.addWidget(self.lblSpecialityPerson, 6, 3, 1, 1)
        self.lblCategory = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCategory.setObjectName(_fromUtf8("lblCategory"))
        self.gridLayout.addWidget(self.lblCategory, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.frmMKBEx = QtGui.QFrame(self.groupBox)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self._2 = QtGui.QGridLayout(self.frmMKBEx)
        self._2.setMargin(0)
        self._2.setHorizontalSpacing(4)
        self._2.setVerticalSpacing(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbMKBExFilter, 1, 4, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self._2.addWidget(self.edtMKBExFrom, 1, 5, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self._2.addWidget(self.edtMKBExTo, 1, 6, 1, 1)
        self.lblMKBEx = QtGui.QLabel(self.frmMKBEx)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self._2.addWidget(self.lblMKBEx, 1, 3, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKBEx, 0, 3, 1, 1)
        self.frmMKB = QtGui.QFrame(self.groupBox)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblMKB = QtGui.QLabel(self.frmMKB)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout.addWidget(self.edtMKBFrom, 0, 2, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout.addWidget(self.edtMKBTo, 0, 3, 1, 1)
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBFilter, 0, 1, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKB, 0, 0, 1, 3)
        self.cmbIsPrimary = QtGui.QComboBox(self.groupBox)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.setItemText(0, _fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbIsPrimary, 2, 1, 1, 1)
        self.chkNotNullTraumaType = QtGui.QCheckBox(self.groupBox)
        self.chkNotNullTraumaType.setObjectName(_fromUtf8("chkNotNullTraumaType"))
        self.gridLayout_3.addWidget(self.chkNotNullTraumaType, 4, 3, 1, 1)
        self.lblIsPrimary = QtGui.QLabel(self.groupBox)
        self.lblIsPrimary.setObjectName(_fromUtf8("lblIsPrimary"))
        self.gridLayout_3.addWidget(self.lblIsPrimary, 2, 0, 1, 1)
        self.chkOnlyFirstTime = QtGui.QCheckBox(self.groupBox)
        self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime"))
        self.gridLayout_3.addWidget(self.chkOnlyFirstTime, 4, 0, 1, 1)
        self.chkRegisteredInPeriod = QtGui.QCheckBox(self.groupBox)
        self.chkRegisteredInPeriod.setObjectName(_fromUtf8("chkRegisteredInPeriod"))
        self.gridLayout_3.addWidget(self.chkRegisteredInPeriod, 3, 0, 1, 1)
        self.chkNotConsiderDigitsAfterDot = QtGui.QCheckBox(self.groupBox)
        self.chkNotConsiderDigitsAfterDot.setObjectName(_fromUtf8("chkNotConsiderDigitsAfterDot"))
        self.gridLayout_3.addWidget(self.chkNotConsiderDigitsAfterDot, 2, 3, 1, 1)
        self.chkAccountAccomp = QtGui.QCheckBox(self.groupBox)
        self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp"))
        self.gridLayout_3.addWidget(self.chkAccountAccomp, 3, 3, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 14, 0, 1, 5)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.edtBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_4.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_4.addWidget(self.edtEndDate, 0, 4, 1, 1)
        self.label_4 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_4.addWidget(self.label_4, 0, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_4, 3, 1, 1, 2)
        self.label_2 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.chkCreateDate = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkCreateDate.setObjectName(_fromUtf8("chkCreateDate"))
        self.gridLayout.addWidget(self.chkCreateDate, 3, 3, 1, 1)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtCreateBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateBegDate.sizePolicy().hasHeightForWidth())
        self.edtCreateBegDate.setSizePolicy(sizePolicy)
        self.edtCreateBegDate.setCalendarPopup(True)
        self.edtCreateBegDate.setObjectName(_fromUtf8("edtCreateBegDate"))
        self.gridLayout_5.addWidget(self.edtCreateBegDate, 1, 2, 1, 1)
        self.edtCreateEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateEndDate.sizePolicy().hasHeightForWidth())
        self.edtCreateEndDate.setSizePolicy(sizePolicy)
        self.edtCreateEndDate.setCalendarPopup(True)
        self.edtCreateEndDate.setObjectName(_fromUtf8("edtCreateEndDate"))
        self.gridLayout_5.addWidget(self.edtCreateEndDate, 1, 4, 1, 1)
        self.lblCreateDate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCreateDate.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCreateDate.setObjectName(_fromUtf8("lblCreateDate"))
        self.gridLayout_5.addWidget(self.lblCreateDate, 1, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_5, 3, 4, 1, 1)
        self.gbFilterAddress = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gbFilterAddress.sizePolicy().hasHeightForWidth())
        self.gbFilterAddress.setSizePolicy(sizePolicy)
        self.gbFilterAddress.setCheckable(True)
        self.gbFilterAddress.setChecked(True)
        self.gbFilterAddress.setObjectName(_fromUtf8("gbFilterAddress"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbFilterAddress)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setSpacing(2)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.lblFilterAddressHouse = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressHouse.setEnabled(False)
        self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressHouse.setObjectName(_fromUtf8("lblFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressHouse)
        self.edtFilterAddressHouse = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressHouse.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAddressHouse.setObjectName(_fromUtf8("edtFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressCorpus.setEnabled(False)
        self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressCorpus.setObjectName(_fromUtf8("lblFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressCorpus)
        self.edtFilterAddressCorpus = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressCorpus.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressCorpus.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressCorpus.setSizePolicy(sizePolicy)
        self.edtFilterAddressCorpus.setObjectName(_fromUtf8("edtFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressFlat.setEnabled(False)
        self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressFlat.setObjectName(_fromUtf8("lblFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressFlat)
        self.edtFilterAddressFlat = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressFlat.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressFlat.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressFlat.setSizePolicy(sizePolicy)
        self.edtFilterAddressFlat.setObjectName(_fromUtf8("edtFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressFlat)
        self.gridLayout_2.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.cmbFilterAddressStreet = CStreetComboBox(self.gbFilterAddress)
        self.cmbFilterAddressStreet.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setEditable(True)
        self.cmbFilterAddressStreet.setObjectName(_fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressStreet, 2, 0, 1, 1)
        self.cmbFilterAddressCity = CKLADRComboBox(self.gbFilterAddress)
        self.cmbFilterAddressCity.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setEditable(True)
        self.cmbFilterAddressCity.setObjectName(_fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressCity, 1, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.gbFilterAddress)
        self.cmbFilterAddressType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setEditable(True)
        self.cmbFilterAddressType.setObjectName(_fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbFilterAddressType, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.gbFilterAddress, 21, 0, 1, 5)
        self.frmAge_2 = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge_2.sizePolicy().hasHeightForWidth())
        self.frmAge_2.setSizePolicy(sizePolicy)
        self.frmAge_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge_2.setObjectName(_fromUtf8("frmAge_2"))
        self._8 = QtGui.QHBoxLayout(self.frmAge_2)
        self._8.setMargin(0)
        self._8.setSpacing(4)
        self._8.setObjectName(_fromUtf8("_8"))
        self.chkBirthYear = QtGui.QCheckBox(self.frmAge_2)
        self.chkBirthYear.setObjectName(_fromUtf8("chkBirthYear"))
        self._8.addWidget(self.chkBirthYear)
        self.edtBegBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtBegBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegBirthYear.sizePolicy().hasHeightForWidth())
        self.edtBegBirthYear.setSizePolicy(sizePolicy)
        self.edtBegBirthYear.setMinimum(1900)
        self.edtBegBirthYear.setMaximum(2100)
        self.edtBegBirthYear.setObjectName(_fromUtf8("edtBegBirthYear"))
        self._8.addWidget(self.edtBegBirthYear)
        self.lblAgeTo_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeTo_3.setObjectName(_fromUtf8("lblAgeTo_3"))
        self._8.addWidget(self.lblAgeTo_3)
        self.edtEndBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtEndBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndBirthYear.sizePolicy().hasHeightForWidth())
        self.edtEndBirthYear.setSizePolicy(sizePolicy)
        self.edtEndBirthYear.setMinimum(1900)
        self.edtEndBirthYear.setMaximum(2100)
        self.edtEndBirthYear.setObjectName(_fromUtf8("edtEndBirthYear"))
        self._8.addWidget(self.edtEndBirthYear)
        self.lblAgeYears_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeYears_3.setObjectName(_fromUtf8("lblAgeYears_3"))
        self._8.addWidget(self.lblAgeYears_3)
        self.gridLayout.addWidget(self.frmAge_2, 12, 0, 1, 3)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblLocality.setBuddy(self.cmbLocality)
        self.lblSocStatusClass.setBuddy(self.cmbSocStatusClass)
        self.lblSocStatusType.setBuddy(self.cmbSocStatusType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat)

        self.retranslateUi(ReportAcuteInfectionsSetupDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportAcuteInfectionsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportAcuteInfectionsSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbArea.setEnabled)
        QtCore.QObject.connect(self.chkCreateDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtCreateBegDate.setEnabled)
        QtCore.QObject.connect(self.chkCreateDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtCreateEndDate.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegBirthYear.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndBirthYear.setEnabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtAgeTo.setDisabled)
        QtCore.QObject.connect(self.chkBirthYear, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtAgeFrom.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportAcuteInfectionsSetupDialog)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtAgeTo, self.cmbSocStatusClass)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.cmbSocStatusClass, self.edtFilterAddressHouse)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtFilterAddressHouse, self.edtFilterAddressCorpus)
        ReportAcuteInfectionsSetupDialog.setTabOrder(self.edtFilterAddressCorpus, self.edtFilterAddressFlat)
Ejemplo n.º 10
0
class Ui_ReportAcuteInfectionsSetupDialog(object):
    def setupUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setObjectName(_fromUtf8("ReportAcuteInfectionsSetupDialog"))
        ReportAcuteInfectionsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAcuteInfectionsSetupDialog.resize(884, 866)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(ReportAcuteInfectionsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportAcuteInfectionsSetupDialog.setSizePolicy(sizePolicy)
        ReportAcuteInfectionsSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAcuteInfectionsSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lblSex = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.horizontalLayout_4.addWidget(self.lblSex)
        self.cmbSex = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.horizontalLayout_4.addWidget(self.cmbSex)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_4, 11, 3, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 7, 3, 1, 1)
        self.lblTemplate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblTemplate.setObjectName(_fromUtf8("lblTemplate"))
        self.gridLayout.addWidget(self.lblTemplate, 1, 3, 1, 1)
        self.cmbCategory = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCategory.sizePolicy().hasHeightForWidth())
        self.cmbCategory.setSizePolicy(sizePolicy)
        self.cmbCategory.setObjectName(_fromUtf8("cmbCategory"))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.cmbCategory.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCategory, 1, 1, 1, 2)
        self.frmAge = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge.sizePolicy().hasHeightForWidth())
        self.frmAge.setSizePolicy(sizePolicy)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(self.frmAge)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        self.chkOnlyChilds = QtGui.QCheckBox(self.frmAge)
        self.chkOnlyChilds.setObjectName(_fromUtf8("chkOnlyChilds"))
        self.hboxlayout.addWidget(self.chkOnlyChilds)
        self.gridLayout.addWidget(self.frmAge, 11, 0, 1, 3)
        self.cmbTemplate = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbTemplate.sizePolicy().hasHeightForWidth())
        self.cmbTemplate.setSizePolicy(sizePolicy)
        self.cmbTemplate.setObjectName(_fromUtf8("cmbTemplate"))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.cmbTemplate.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTemplate, 1, 4, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 7, 4, 1, 1)
        self.lblLocality = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblLocality.setObjectName(_fromUtf8("lblLocality"))
        self.gridLayout.addWidget(self.lblLocality, 18, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 17, 0, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblSocStatusClass = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.lblSocStatusClass)
        self.cmbSocStatusClass = CSocStatusComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.horizontalLayout_3.addWidget(self.cmbSocStatusClass)
        self.gridLayout.addLayout(self.horizontalLayout_3, 15, 0, 1, 3)
        self.chkArea = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 19, 0, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lblSocStatusType = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.horizontalLayout_2.addWidget(self.lblSocStatusType)
        self.cmbSocStatusType = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.horizontalLayout_2.addWidget(self.cmbSocStatusType)
        self.gridLayout.addLayout(self.horizontalLayout_2, 15, 3, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAcuteInfectionsSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 23, 0, 1, 5)
        self.lblHurt = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblHurt.setObjectName(_fromUtf8("lblHurt"))
        self.gridLayout.addWidget(self.lblHurt, 5, 3, 1, 1)
        self.cmbSpecialityPerson = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbSpecialityPerson.setObjectName(_fromUtf8("cmbSpecialityPerson"))
        self.gridLayout.addWidget(self.cmbSpecialityPerson, 6, 4, 1, 1)
        self.cmbEventPurpose = CRBMultiComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 2)
        self.cmbArea = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 19, 3, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbLocality = QtGui.QComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbLocality.setObjectName(_fromUtf8("cmbLocality"))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocality, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 22, 2, 1, 1)
        self.cmbHurt = CRBComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbHurt.setObjectName(_fromUtf8("cmbHurt"))
        self.gridLayout.addWidget(self.cmbHurt, 5, 4, 1, 1)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(_fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 17, 3, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAcuteInfectionsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblSpecialityPerson = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblSpecialityPerson.setObjectName(_fromUtf8("lblSpecialityPerson"))
        self.gridLayout.addWidget(self.lblSpecialityPerson, 6, 3, 1, 1)
        self.lblCategory = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCategory.setObjectName(_fromUtf8("lblCategory"))
        self.gridLayout.addWidget(self.lblCategory, 1, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.frmMKBEx = QtGui.QFrame(self.groupBox)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self._2 = QtGui.QGridLayout(self.frmMKBEx)
        self._2.setMargin(0)
        self._2.setHorizontalSpacing(4)
        self._2.setVerticalSpacing(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbMKBExFilter, 1, 4, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self._2.addWidget(self.edtMKBExFrom, 1, 5, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self._2.addWidget(self.edtMKBExTo, 1, 6, 1, 1)
        self.lblMKBEx = QtGui.QLabel(self.frmMKBEx)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self._2.addWidget(self.lblMKBEx, 1, 3, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKBEx, 0, 3, 1, 1)
        self.frmMKB = QtGui.QFrame(self.groupBox)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblMKB = QtGui.QLabel(self.frmMKB)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout.addWidget(self.edtMKBFrom, 0, 2, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout.addWidget(self.edtMKBTo, 0, 3, 1, 1)
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbMKBFilter, 0, 1, 1, 1)
        self.gridLayout_3.addWidget(self.frmMKB, 0, 0, 1, 3)
        self.cmbIsPrimary = QtGui.QComboBox(self.groupBox)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.setItemText(0, _fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbIsPrimary, 2, 1, 1, 1)
        self.chkNotNullTraumaType = QtGui.QCheckBox(self.groupBox)
        self.chkNotNullTraumaType.setObjectName(_fromUtf8("chkNotNullTraumaType"))
        self.gridLayout_3.addWidget(self.chkNotNullTraumaType, 4, 3, 1, 1)
        self.lblIsPrimary = QtGui.QLabel(self.groupBox)
        self.lblIsPrimary.setObjectName(_fromUtf8("lblIsPrimary"))
        self.gridLayout_3.addWidget(self.lblIsPrimary, 2, 0, 1, 1)
        self.chkOnlyFirstTime = QtGui.QCheckBox(self.groupBox)
        self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime"))
        self.gridLayout_3.addWidget(self.chkOnlyFirstTime, 4, 0, 1, 1)
        self.chkRegisteredInPeriod = QtGui.QCheckBox(self.groupBox)
        self.chkRegisteredInPeriod.setObjectName(_fromUtf8("chkRegisteredInPeriod"))
        self.gridLayout_3.addWidget(self.chkRegisteredInPeriod, 3, 0, 1, 1)
        self.chkNotConsiderDigitsAfterDot = QtGui.QCheckBox(self.groupBox)
        self.chkNotConsiderDigitsAfterDot.setObjectName(_fromUtf8("chkNotConsiderDigitsAfterDot"))
        self.gridLayout_3.addWidget(self.chkNotConsiderDigitsAfterDot, 2, 3, 1, 1)
        self.chkAccountAccomp = QtGui.QCheckBox(self.groupBox)
        self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp"))
        self.gridLayout_3.addWidget(self.chkAccountAccomp, 3, 3, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 14, 0, 1, 5)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.edtBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_4.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_4.addWidget(self.edtEndDate, 0, 4, 1, 1)
        self.label_4 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_4.addWidget(self.label_4, 0, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_4, 3, 1, 1, 2)
        self.label_2 = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.chkCreateDate = QtGui.QCheckBox(ReportAcuteInfectionsSetupDialog)
        self.chkCreateDate.setObjectName(_fromUtf8("chkCreateDate"))
        self.gridLayout.addWidget(self.chkCreateDate, 3, 3, 1, 1)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtCreateBegDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateBegDate.sizePolicy().hasHeightForWidth())
        self.edtCreateBegDate.setSizePolicy(sizePolicy)
        self.edtCreateBegDate.setCalendarPopup(True)
        self.edtCreateBegDate.setObjectName(_fromUtf8("edtCreateBegDate"))
        self.gridLayout_5.addWidget(self.edtCreateBegDate, 1, 2, 1, 1)
        self.edtCreateEndDate = CDateEdit(ReportAcuteInfectionsSetupDialog)
        self.edtCreateEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtCreateEndDate.sizePolicy().hasHeightForWidth())
        self.edtCreateEndDate.setSizePolicy(sizePolicy)
        self.edtCreateEndDate.setCalendarPopup(True)
        self.edtCreateEndDate.setObjectName(_fromUtf8("edtCreateEndDate"))
        self.gridLayout_5.addWidget(self.edtCreateEndDate, 1, 4, 1, 1)
        self.lblCreateDate = QtGui.QLabel(ReportAcuteInfectionsSetupDialog)
        self.lblCreateDate.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCreateDate.setObjectName(_fromUtf8("lblCreateDate"))
        self.gridLayout_5.addWidget(self.lblCreateDate, 1, 3, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_5, 3, 4, 1, 1)
        self.gbFilterAddress = QtGui.QGroupBox(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gbFilterAddress.sizePolicy().hasHeightForWidth())
        self.gbFilterAddress.setSizePolicy(sizePolicy)
        self.gbFilterAddress.setCheckable(True)
        self.gbFilterAddress.setChecked(True)
        self.gbFilterAddress.setObjectName(_fromUtf8("gbFilterAddress"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gbFilterAddress)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setSpacing(2)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.lblFilterAddressHouse = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressHouse.setEnabled(False)
        self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressHouse.setObjectName(_fromUtf8("lblFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressHouse)
        self.edtFilterAddressHouse = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressHouse.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAddressHouse.setObjectName(_fromUtf8("edtFilterAddressHouse"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressCorpus.setEnabled(False)
        self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressCorpus.setObjectName(_fromUtf8("lblFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressCorpus)
        self.edtFilterAddressCorpus = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressCorpus.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressCorpus.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressCorpus.setSizePolicy(sizePolicy)
        self.edtFilterAddressCorpus.setObjectName(_fromUtf8("edtFilterAddressCorpus"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat = QtGui.QLabel(self.gbFilterAddress)
        self.lblFilterAddressFlat.setEnabled(False)
        self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lblFilterAddressFlat.setObjectName(_fromUtf8("lblFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.lblFilterAddressFlat)
        self.edtFilterAddressFlat = QtGui.QLineEdit(self.gbFilterAddress)
        self.edtFilterAddressFlat.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtFilterAddressFlat.sizePolicy().hasHeightForWidth())
        self.edtFilterAddressFlat.setSizePolicy(sizePolicy)
        self.edtFilterAddressFlat.setObjectName(_fromUtf8("edtFilterAddressFlat"))
        self.horizontalLayout_6.addWidget(self.edtFilterAddressFlat)
        self.gridLayout_2.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.cmbFilterAddressStreet = CStreetComboBox(self.gbFilterAddress)
        self.cmbFilterAddressStreet.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setEditable(True)
        self.cmbFilterAddressStreet.setObjectName(_fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressStreet, 2, 0, 1, 1)
        self.cmbFilterAddressCity = CKLADRComboBox(self.gbFilterAddress)
        self.cmbFilterAddressCity.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setEditable(True)
        self.cmbFilterAddressCity.setObjectName(_fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_2.addWidget(self.cmbFilterAddressCity, 1, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.gbFilterAddress)
        self.cmbFilterAddressType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setEditable(True)
        self.cmbFilterAddressType.setObjectName(_fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbFilterAddressType, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.gbFilterAddress, 21, 0, 1, 5)
        self.frmAge_2 = QtGui.QFrame(ReportAcuteInfectionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frmAge_2.sizePolicy().hasHeightForWidth())
        self.frmAge_2.setSizePolicy(sizePolicy)
        self.frmAge_2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge_2.setObjectName(_fromUtf8("frmAge_2"))
        self._8 = QtGui.QHBoxLayout(self.frmAge_2)
        self._8.setMargin(0)
        self._8.setSpacing(4)
        self._8.setObjectName(_fromUtf8("_8"))
        self.chkBirthYear = QtGui.QCheckBox(self.frmAge_2)
        self.chkBirthYear.setObjectName(_fromUtf8("chkBirthYear"))
        self._8.addWidget(self.chkBirthYear)
        self.edtBegBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtBegBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegBirthYear.sizePolicy().hasHeightForWidth())
        self.edtBegBirthYear.setSizePolicy(sizePolicy)
        self.edtBegBirthYear.setMinimum(1900)
        self.edtBegBirthYear.setMaximum(2100)
        self.edtBegBirthYear.setObjectName(_fromUtf8("edtBegBirthYear"))
        self._8.addWidget(self.edtBegBirthYear)
        self.lblAgeTo_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeTo_3.setObjectName(_fromUtf8("lblAgeTo_3"))
        self._8.addWidget(self.lblAgeTo_3)
        self.edtEndBirthYear = QtGui.QSpinBox(self.frmAge_2)
        self.edtEndBirthYear.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndBirthYear.sizePolicy().hasHeightForWidth())
        self.edtEndBirthYear.setSizePolicy(sizePolicy)
        self.edtEndBirthYear.setMinimum(1900)
        self.edtEndBirthYear.setMaximum(2100)
        self.edtEndBirthYear.setObjectName(_fromUtf8("edtEndBirthYear"))
        self._8.addWidget(self.edtEndBirthYear)
        self.lblAgeYears_3 = QtGui.QLabel(self.frmAge_2)
        self.lblAgeYears_3.setObjectName(_fromUtf8("lblAgeYears_3"))
        self._8.addWidget(self.lblAgeYears_3)
        self.gridLayout.addWidget(self.frmAge_2, 12, 0, 1, 3)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblLocality.setBuddy(self.cmbLocality)
        self.lblSocStatusClass.setBuddy(self.cmbSocStatusClass)
        self.lblSocStatusType.setBuddy(self.cmbSocStatusType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse)
        self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus)
        self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat)

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

    def retranslateUi(self, ReportAcuteInfectionsSetupDialog):
        ReportAcuteInfectionsSetupDialog.setWindowTitle(_translate("ReportAcuteInfectionsSetupDialog", "параметры отчёта", None))
        self.lblSex.setText(_translate("ReportAcuteInfectionsSetupDialog", "По&л", None))
        self.cmbSex.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Ж", None))
        self.cmbPerson.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Врач", None))
        self.lblEventType.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Тип обращения", None))
        self.lblTemplate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Образец:", None))
        self.cmbCategory.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Дети", None))
        self.cmbCategory.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Дети до 1 года", None))
        self.cmbCategory.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Подростки", None))
        self.cmbCategory.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые", None))
        self.cmbCategory.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "Пожилые", None))
        self.cmbCategory.setItemText(5, _translate("ReportAcuteInfectionsSetupDialog", "Вкладыш-2008", None))
        self.cmbCategory.setItemText(6, _translate("ReportAcuteInfectionsSetupDialog", "Взрослые 4000", None))
        self.label.setText(_translate("ReportAcuteInfectionsSetupDialog", "Возраст с", None))
        self.lblAgeTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
        self.chkOnlyChilds.setText(_translate("ReportAcuteInfectionsSetupDialog", "Только дети", None))
        self.cmbTemplate.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Старый", None))
        self.cmbTemplate.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "2013 года", None))
        self.cmbTemplate.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "2014 года", None))
        self.cmbTemplate.setItemText(3, _translate("ReportAcuteInfectionsSetupDialog", "2015 года", None))
        self.cmbTemplate.setItemText(4, _translate("ReportAcuteInfectionsSetupDialog", "2016 года", None))
        self.lblLocality.setText(_translate("ReportAcuteInfectionsSetupDialog", "Местность", None))
        self.chkVisitEmergency.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать посещения СМП", None))
        self.lblSocStatusClass.setText(_translate("ReportAcuteInfectionsSetupDialog", "Класс соц.статуса", None))
        self.chkArea.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать территорию подразделения:", None))
        self.lblSocStatusType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип соц.статуса", None))
        self.lblHurt.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип вредности", None))
        self.lblOrgStructure.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Подразделение", None))
        self.lblEventPurpose.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Назначение обращения", None))
        self.cmbLocality.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Не учитывать", None))
        self.cmbLocality.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Городские жители", None))
        self.cmbLocality.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Сельские жители", None))
        self.lblPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "&Врач", None))
        self.chkOnlyPermanentAttach.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать только прикрепленных к ЛПУ", None))
        self.lblSpecialityPerson.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип специальности врача", None))
        self.lblCategory.setText(_translate("ReportAcuteInfectionsSetupDialog", "Категория:", None))
        self.groupBox.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Диагнозы", None))
        self.cmbMKBExFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.lblMKBEx.setText(_translate("ReportAcuteInfectionsSetupDialog", "В сочетании с", None))
        self.lblMKB.setText(_translate("ReportAcuteInfectionsSetupDialog", "Коды диагнозов по &МКБ", None))
        self.edtMKBFrom.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("ReportAcuteInfectionsSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(_translate("ReportAcuteInfectionsSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("ReportAcuteInfectionsSetupDialog", "Z99.9", None))
        self.cmbMKBFilter.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Интервал", None))
        self.cmbIsPrimary.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Первичный", None))
        self.cmbIsPrimary.setItemText(2, _translate("ReportAcuteInfectionsSetupDialog", "Повторный", None))
        self.chkNotNullTraumaType.setText(_translate("ReportAcuteInfectionsSetupDialog", "Тип травмы указан", None))
        self.lblIsPrimary.setText(_translate("ReportAcuteInfectionsSetupDialog", "Признак первичности", None))
        self.chkOnlyFirstTime.setToolTip(_translate("ReportAcuteInfectionsSetupDialog", "Значение может отличаться от значения \"впервые\" ф.12", None))
        self.chkOnlyFirstTime.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период впервые", None))
        self.chkRegisteredInPeriod.setText(_translate("ReportAcuteInfectionsSetupDialog", "Зарегистрированные в период", None))
        self.chkNotConsiderDigitsAfterDot.setText(_translate("ReportAcuteInfectionsSetupDialog", "Не учитывать знаки после точки в МКБ", None))
        self.chkAccountAccomp.setText(_translate("ReportAcuteInfectionsSetupDialog", "Учитывать сопутствующие", None))
        self.label_4.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.label_2.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период", None))
        self.chkCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "Период создания записи", None))
        self.lblCreateDate.setText(_translate("ReportAcuteInfectionsSetupDialog", "--", None))
        self.gbFilterAddress.setTitle(_translate("ReportAcuteInfectionsSetupDialog", "Адрес", None))
        self.lblFilterAddressHouse.setText(_translate("ReportAcuteInfectionsSetupDialog", "Дом", None))
        self.lblFilterAddressCorpus.setText(_translate("ReportAcuteInfectionsSetupDialog", "Корп", None))
        self.lblFilterAddressFlat.setText(_translate("ReportAcuteInfectionsSetupDialog", "Кв", None))
        self.cmbFilterAddressType.setItemText(0, _translate("ReportAcuteInfectionsSetupDialog", "Регистрации", None))
        self.cmbFilterAddressType.setItemText(1, _translate("ReportAcuteInfectionsSetupDialog", "Проживания", None))
        self.chkBirthYear.setText(_translate("ReportAcuteInfectionsSetupDialog", "Год рождения", None))
        self.lblAgeTo_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "по", None))
        self.lblAgeYears_3.setText(_translate("ReportAcuteInfectionsSetupDialog", "лет", None))
Ejemplo n.º 11
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)
Ejemplo n.º 12
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))