예제 #1
0
    def setupUi(self, grpTempInvalid):
        grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid"))
        grpTempInvalid.setEnabled(True)
        grpTempInvalid.resize(1210, 576)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            grpTempInvalid.sizePolicy().hasHeightForWidth())
        grpTempInvalid.setSizePolicy(sizePolicy)
        grpTempInvalid.setFlat(False)
        grpTempInvalid.setCheckable(True)
        grpTempInvalid.setChecked(False)
        self.gridLayout_4 = QtGui.QGridLayout(grpTempInvalid)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblTempInvalidReason = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidReason.setObjectName(
            _fromUtf8("lblTempInvalidReason"))
        self.gridLayout.addWidget(self.lblTempInvalidReason, 1, 0, 1, 1)
        self.lblTempInvalidOtherAge = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherAge.setAlignment(QtCore.Qt.AlignRight
                                                 | QtCore.Qt.AlignTrailing
                                                 | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidOtherAge.setObjectName(
            _fromUtf8("lblTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherAge, 5, 2, 1, 1)
        self.edtTempInvalidNumber = QtGui.QLineEdit(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidNumber.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidNumber.setSizePolicy(sizePolicy)
        self.edtTempInvalidNumber.setMaxLength(16)
        self.edtTempInvalidNumber.setObjectName(
            _fromUtf8("edtTempInvalidNumber"))
        self.gridLayout.addWidget(self.edtTempInvalidNumber, 3, 2, 1, 1)
        self.lblTempInvalidExternalLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidExternalLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidExternalLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidExternalLengthValue.setFrameShadow(
            QtGui.QFrame.Sunken)
        self.lblTempInvalidExternalLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidExternalLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidExternalLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLengthValue, 4, 3,
                                  1, 1)
        self.edtPlaceWork = QtGui.QLineEdit(grpTempInvalid)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 6, 1, 1, 3)
        self.cmbExtraReason = CRBComboBox(grpTempInvalid)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 2, 1, 1, 2)
        self.lblExtraReason = QtGui.QLabel(grpTempInvalid)
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 2, 0, 1, 1)
        self.lblTempInvalidLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTempInvalidLengthValue.sizePolicy().hasHeightForWidth())
        self.lblTempInvalidLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblTempInvalidLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidLengthValue, 4, 1, 1, 1)
        self.lblTempInvalidOtherSex = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherSex.setObjectName(
            _fromUtf8("lblTempInvalidOtherSex"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherSex, 5, 0, 1, 1)
        self.lblTempInvalidLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidLength.setObjectName(
            _fromUtf8("lblTempInvalidLength"))
        self.gridLayout.addWidget(self.lblTempInvalidLength, 4, 0, 1, 1)
        self.lblTempInvalidCaseLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidCaseLength.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidCaseLength.setObjectName(
            _fromUtf8("lblTempInvalidCaseLength"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLength, 1, 7, 1, 1)
        self.lblTempInvalidCaseLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidCaseLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidCaseLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidCaseLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidCaseLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidCaseLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLengthValue, 1, 8, 1,
                                  1)
        self.lblCaseBegDate = QtGui.QLabel(grpTempInvalid)
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 1, 4, 1, 1)
        self.lblTempInvalidPrevNumberValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevNumberValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevNumberValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevNumberValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevNumberValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevNumberValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevNumberValue, 0, 7, 1,
                                  1)
        self.lblTempInvalidPrevSerialValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevSerialValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevSerialValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevSerialValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevSerialValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevSerialValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevSerialValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevSerialValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevSerialValue, 0, 6, 1,
                                  1)
        self.btnNewLN = QtGui.QPushButton(grpTempInvalid)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 3, 1, 1, 1)
        self.lblTempInvalidPrev = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidPrev.setObjectName(_fromUtf8("lblTempInvalidPrev"))
        self.gridLayout.addWidget(self.lblTempInvalidPrev, 0, 4, 1, 1)
        self.edtCaseBegDate = CDateEdit(grpTempInvalid)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 1, 6, 1, 1)
        self.edtTempInvalidOtherAge = QtGui.QSpinBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidOtherAge.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidOtherAge.setSizePolicy(sizePolicy)
        self.edtTempInvalidOtherAge.setObjectName(
            _fromUtf8("edtTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.edtTempInvalidOtherAge, 5, 3, 1, 1)
        self.cmbTempInvalidReason = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidReason.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidReason.setSizePolicy(sizePolicy)
        self.cmbTempInvalidReason.setObjectName(
            _fromUtf8("cmbTempInvalidReason"))
        self.gridLayout.addWidget(self.cmbTempInvalidReason, 1, 1, 1, 2)
        self.lblTempInvalidSerial = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidSerial.setObjectName(
            _fromUtf8("lblTempInvalidSerial"))
        self.gridLayout.addWidget(self.lblTempInvalidSerial, 3, 0, 1, 1)
        self.lblTempInvalidDoctype = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidDoctype.setObjectName(
            _fromUtf8("lblTempInvalidDoctype"))
        self.gridLayout.addWidget(self.lblTempInvalidDoctype, 0, 0, 1, 1)
        self.lblPlaceWork = QtGui.QLabel(grpTempInvalid)
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 6, 0, 1, 1)
        self.cmbTempInvalidDoctype = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidDoctype.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidDoctype.setSizePolicy(sizePolicy)
        self.cmbTempInvalidDoctype.setObjectName(
            _fromUtf8("cmbTempInvalidDoctype"))
        self.gridLayout.addWidget(self.cmbTempInvalidDoctype, 0, 1, 1, 2)
        self.cmbTempInvalidOtherSex = QtGui.QComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidOtherSex.setSizePolicy(sizePolicy)
        self.cmbTempInvalidOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbTempInvalidOtherSex.setObjectName(
            _fromUtf8("cmbTempInvalidOtherSex"))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTempInvalidOtherSex, 5, 1, 1, 1)
        self.lblTempInvalidExternalLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidExternalLength.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
            | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidExternalLength.setObjectName(
            _fromUtf8("lblTempInvalidExternalLength"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLength, 4, 2, 1,
                                  1)
        self.lblBusyness_2 = QtGui.QLabel(grpTempInvalid)
        self.lblBusyness_2.setObjectName(_fromUtf8("lblBusyness_2"))
        self.gridLayout.addWidget(self.lblBusyness_2, 2, 4, 1, 1)
        self.cmbBusyness = CEnumComboBox(grpTempInvalid)
        self.cmbBusyness.setFrame(True)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 2, 6, 1, 1)
        self.btnTempInvalidProlong = QtGui.QPushButton(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnTempInvalidProlong.sizePolicy().hasHeightForWidth())
        self.btnTempInvalidProlong.setSizePolicy(sizePolicy)
        self.btnTempInvalidProlong.setObjectName(
            _fromUtf8("btnTempInvalidProlong"))
        self.gridLayout.addWidget(self.btnTempInvalidProlong, 6, 6, 1, 1)
        self.btnSendInFss = QtGui.QPushButton(grpTempInvalid)
        self.btnSendInFss.setObjectName(_fromUtf8("btnSendInFss"))
        self.gridLayout.addWidget(self.btnSendInFss, 6, 7, 1, 2)
        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.tblTempInvalidPeriods = CInDocTableView(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblTempInvalidPeriods.sizePolicy().hasHeightForWidth())
        self.tblTempInvalidPeriods.setSizePolicy(sizePolicy)
        self.tblTempInvalidPeriods.setObjectName(
            _fromUtf8("tblTempInvalidPeriods"))
        self.gridLayout_3.addWidget(self.tblTempInvalidPeriods, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 1, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.lblTempInvalidReason.setBuddy(self.cmbTempInvalidReason)
        self.lblTempInvalidOtherAge.setBuddy(self.edtTempInvalidOtherAge)
        self.lblTempInvalidOtherSex.setBuddy(self.cmbTempInvalidOtherSex)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblTempInvalidDoctype.setBuddy(self.cmbTempInvalidDoctype)

        self.retranslateUi(grpTempInvalid)
        QtCore.QMetaObject.connectSlotsByName(grpTempInvalid)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidDoctype,
                                   self.cmbTempInvalidReason)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidReason,
                                   self.cmbExtraReason)
        grpTempInvalid.setTabOrder(self.cmbExtraReason,
                                   self.cmbTempInvalidOtherSex)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidOtherSex,
                                   self.edtTempInvalidOtherAge)
        grpTempInvalid.setTabOrder(self.edtTempInvalidOtherAge,
                                   self.edtPlaceWork)
        grpTempInvalid.setTabOrder(self.edtPlaceWork,
                                   self.tblTempInvalidPeriods)
예제 #2
0
class Ui_ItemEditorDialog(object):
    def setupUi(self, ItemEditorDialog):
        ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog"))
        ItemEditorDialog.resize(1216, 1008)
        ItemEditorDialog.setSizeGripEnabled(True)
        self.gridLayout_3 = QtGui.QGridLayout(ItemEditorDialog)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(ItemEditorDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout = QtGui.QGridLayout(self.tabMain)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAttachCode = QtGui.QLabel(self.tabMain)
        self.lblAttachCode.setObjectName(_fromUtf8("lblAttachCode"))
        self.gridLayout.addWidget(self.lblAttachCode, 18, 0, 1, 1)
        self.lblMiacHead = QtGui.QLabel(self.tabMain)
        self.lblMiacHead.setEnabled(False)
        self.lblMiacHead.setObjectName(_fromUtf8("lblMiacHead"))
        self.gridLayout.addWidget(self.lblMiacHead, 20, 0, 1, 1)
        self.btnSelectOrganisation = QtGui.QToolButton(self.tabMain)
        self.btnSelectOrganisation.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnSelectOrganisation.sizePolicy().hasHeightForWidth())
        self.btnSelectOrganisation.setSizePolicy(sizePolicy)
        self.btnSelectOrganisation.setObjectName(
            _fromUtf8("btnSelectOrganisation"))
        self.gridLayout.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1)
        self.chkAvailableForExternal = QtGui.QCheckBox(self.tabMain)
        self.chkAvailableForExternal.setObjectName(
            _fromUtf8("chkAvailableForExternal"))
        self.gridLayout.addWidget(self.chkAvailableForExternal, 29, 2, 1, 2)
        self.lblBookkeeperCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBookkeeperCode.sizePolicy().hasHeightForWidth())
        self.lblBookkeeperCode.setSizePolicy(sizePolicy)
        self.lblBookkeeperCode.setObjectName(_fromUtf8("lblBookkeeperCode"))
        self.gridLayout.addWidget(self.lblBookkeeperCode, 4, 0, 1, 1)
        self.chkHasHospitalBeds = QtGui.QCheckBox(self.tabMain)
        self.chkHasHospitalBeds.setObjectName(_fromUtf8("chkHasHospitalBeds"))
        self.gridLayout.addWidget(self.chkHasHospitalBeds, 26, 2, 1, 2)
        self.edtName = QtGui.QLineEdit(self.tabMain)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 6, 2, 1, 2)
        self.edtInfisDepTypeCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisDepTypeCode.setMaxLength(30)
        self.edtInfisDepTypeCode.setObjectName(
            _fromUtf8("edtInfisDepTypeCode"))
        self.gridLayout.addWidget(self.edtInfisDepTypeCode, 14, 2, 1, 2)
        self.lblInfisCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisCode.sizePolicy().hasHeightForWidth())
        self.lblInfisCode.setSizePolicy(sizePolicy)
        self.lblInfisCode.setObjectName(_fromUtf8("lblInfisCode"))
        self.gridLayout.addWidget(self.lblInfisCode, 12, 0, 1, 1)
        self.chkHasStocks = QtGui.QCheckBox(self.tabMain)
        self.chkHasStocks.setObjectName(_fromUtf8("chkHasStocks"))
        self.gridLayout.addWidget(self.chkHasStocks, 27, 2, 1, 2)
        self.lblHeadNurse = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblHeadNurse.sizePolicy().hasHeightForWidth())
        self.lblHeadNurse.setSizePolicy(sizePolicy)
        self.lblHeadNurse.setObjectName(_fromUtf8("lblHeadNurse"))
        self.gridLayout.addWidget(self.lblHeadNurse, 11, 0, 1, 1)
        self.label = QtGui.QLabel(self.tabMain)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 3, 0, 1, 1)
        self.lblInfisTariffCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisTariffCode.sizePolicy().hasHeightForWidth())
        self.lblInfisTariffCode.setSizePolicy(sizePolicy)
        self.lblInfisTariffCode.setObjectName(_fromUtf8("lblInfisTariffCode"))
        self.gridLayout.addWidget(self.lblInfisTariffCode, 16, 0, 1, 1)
        self.edtStorageCode = QtGui.QLineEdit(self.tabMain)
        self.edtStorageCode.setObjectName(_fromUtf8("edtStorageCode"))
        self.gridLayout.addWidget(self.edtStorageCode, 3, 2, 1, 2)
        self.lblChief = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblChief.sizePolicy().hasHeightForWidth())
        self.lblChief.setSizePolicy(sizePolicy)
        self.lblChief.setObjectName(_fromUtf8("lblChief"))
        self.gridLayout.addWidget(self.lblChief, 10, 0, 1, 1)
        self.lblNet = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblNet.sizePolicy().hasHeightForWidth())
        self.lblNet.setSizePolicy(sizePolicy)
        self.lblNet.setObjectName(_fromUtf8("lblNet"))
        self.gridLayout.addWidget(self.lblNet, 9, 0, 1, 1)
        self.chkVisibleInDR = QtGui.QCheckBox(self.tabMain)
        self.chkVisibleInDR.setChecked(True)
        self.chkVisibleInDR.setObjectName(_fromUtf8("chkVisibleInDR"))
        self.gridLayout.addWidget(self.chkVisibleInDR, 25, 2, 1, 2)
        self.cmbHeadNurse = CPersonComboBoxEx(self.tabMain)
        self.cmbHeadNurse.setObjectName(_fromUtf8("cmbHeadNurse"))
        self.gridLayout.addWidget(self.cmbHeadNurse, 11, 2, 1, 2)
        self.cmbType = CEnumComboBox(self.tabMain)
        self.cmbType.setObjectName(_fromUtf8("cmbType"))
        self.gridLayout.addWidget(self.cmbType, 8, 2, 1, 2)
        self.cmbChief = CPersonComboBoxEx(self.tabMain)
        self.cmbChief.setObjectName(_fromUtf8("cmbChief"))
        self.gridLayout.addWidget(self.cmbChief, 10, 2, 1, 2)
        self.lblType = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblType.sizePolicy().hasHeightForWidth())
        self.lblType.setSizePolicy(sizePolicy)
        self.lblType.setObjectName(_fromUtf8("lblType"))
        self.gridLayout.addWidget(self.lblType, 8, 0, 1, 1)
        self.lblSyncGUID = QtGui.QLabel(self.tabMain)
        self.lblSyncGUID.setObjectName(_fromUtf8("lblSyncGUID"))
        self.gridLayout.addWidget(self.lblSyncGUID, 17, 0, 1, 1)
        self.lblCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCode.sizePolicy().hasHeightForWidth())
        self.lblCode.setSizePolicy(sizePolicy)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 2, 0, 1, 1)
        self.edtAddress = QtGui.QLineEdit(self.tabMain)
        self.edtAddress.setObjectName(_fromUtf8("edtAddress"))
        self.gridLayout.addWidget(self.edtAddress, 7, 2, 1, 2)
        self.lblOrganisation = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrganisation.sizePolicy().hasHeightForWidth())
        self.lblOrganisation.setSizePolicy(sizePolicy)
        self.lblOrganisation.setObjectName(_fromUtf8("lblOrganisation"))
        self.gridLayout.addWidget(self.lblOrganisation, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 41, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 30, 0, 1, 1)
        self.cmbNet = CRBComboBox(self.tabMain)
        self.cmbNet.setObjectName(_fromUtf8("cmbNet"))
        self.gridLayout.addWidget(self.cmbNet, 9, 2, 1, 2)
        self.lblInfisDepTypeCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisDepTypeCode.sizePolicy().hasHeightForWidth())
        self.lblInfisDepTypeCode.setSizePolicy(sizePolicy)
        self.lblInfisDepTypeCode.setObjectName(
            _fromUtf8("lblInfisDepTypeCode"))
        self.gridLayout.addWidget(self.lblInfisDepTypeCode, 14, 0, 1, 1)
        self.chkHasDS = QtGui.QCheckBox(self.tabMain)
        self.chkHasDS.setObjectName(_fromUtf8("chkHasDS"))
        self.gridLayout.addWidget(self.chkHasDS, 28, 2, 1, 2)
        self.lblAddress = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAddress.sizePolicy().hasHeightForWidth())
        self.lblAddress.setSizePolicy(sizePolicy)
        self.lblAddress.setObjectName(_fromUtf8("lblAddress"))
        self.gridLayout.addWidget(self.lblAddress, 7, 0, 1, 1)
        self.lblInfisInternalCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisInternalCode.sizePolicy().hasHeightForWidth())
        self.lblInfisInternalCode.setSizePolicy(sizePolicy)
        self.lblInfisInternalCode.setObjectName(
            _fromUtf8("lblInfisInternalCode"))
        self.gridLayout.addWidget(self.lblInfisInternalCode, 13, 0, 1, 1)
        self.cmbParent = CDbComboBox(self.tabMain)
        self.cmbParent.setEnabled(False)
        self.cmbParent.setFrame(True)
        self.cmbParent.setObjectName(_fromUtf8("cmbParent"))
        self.gridLayout.addWidget(self.cmbParent, 1, 2, 1, 2)
        self.cmbIsArea = CEnumComboBox(self.tabMain)
        self.cmbIsArea.setObjectName(_fromUtf8("cmbIsArea"))
        self.gridLayout.addWidget(self.cmbIsArea, 19, 2, 1, 2)
        self.edtInfisTariffCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisTariffCode.setMaxLength(16)
        self.edtInfisTariffCode.setObjectName(_fromUtf8("edtInfisTariffCode"))
        self.gridLayout.addWidget(self.edtInfisTariffCode, 16, 2, 1, 2)
        self.edtCode = QtGui.QLineEdit(self.tabMain)
        self.edtCode.setMaxLength(64)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 2, 2, 1, 2)
        self.edtInfisInternalCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisInternalCode.setMaxLength(30)
        self.edtInfisInternalCode.setObjectName(
            _fromUtf8("edtInfisInternalCode"))
        self.gridLayout.addWidget(self.edtInfisInternalCode, 13, 2, 1, 2)
        self.lblDayLimit = QtGui.QLabel(self.tabMain)
        self.lblDayLimit.setObjectName(_fromUtf8("lblDayLimit"))
        self.gridLayout.addWidget(self.lblDayLimit, 21, 0, 1, 1)
        self.edtInfisCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisCode.setMaxLength(16)
        self.edtInfisCode.setObjectName(_fromUtf8("edtInfisCode"))
        self.gridLayout.addWidget(self.edtInfisCode, 12, 2, 1, 2)
        self.lblIsArea = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblIsArea.sizePolicy().hasHeightForWidth())
        self.lblIsArea.setSizePolicy(sizePolicy)
        self.lblIsArea.setObjectName(_fromUtf8("lblIsArea"))
        self.gridLayout.addWidget(self.lblIsArea, 19, 0, 1, 1)
        self.edtBookkeeperCode = QtGui.QLineEdit(self.tabMain)
        self.edtBookkeeperCode.setObjectName(_fromUtf8("edtBookkeeperCode"))
        self.gridLayout.addWidget(self.edtBookkeeperCode, 4, 2, 1, 2)
        self.lblParent = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblParent.sizePolicy().hasHeightForWidth())
        self.lblParent.setSizePolicy(sizePolicy)
        self.lblParent.setObjectName(_fromUtf8("lblParent"))
        self.gridLayout.addWidget(self.lblParent, 1, 0, 1, 1)
        self.cmbOrganisation = COrgComboBox(self.tabMain)
        self.cmbOrganisation.setEnabled(True)
        self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation"))
        self.gridLayout.addWidget(self.cmbOrganisation, 0, 2, 1, 1)
        self.edtDayLimit = QtGui.QLineEdit(self.tabMain)
        self.edtDayLimit.setObjectName(_fromUtf8("edtDayLimit"))
        self.gridLayout.addWidget(self.edtDayLimit, 21, 2, 1, 2)
        self.lblName = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblName.sizePolicy().hasHeightForWidth())
        self.lblName.setSizePolicy(sizePolicy)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 6, 0, 1, 1)
        self.lblSalaryPercentage = QtGui.QLabel(self.tabMain)
        self.lblSalaryPercentage.setObjectName(
            _fromUtf8("lblSalaryPercentage"))
        self.gridLayout.addWidget(self.lblSalaryPercentage, 23, 0, 1, 1)
        self.cmbMiacHead = COrgStructureComboBoxOnlyInfisEnabled(self.tabMain)
        self.cmbMiacHead.setEnabled(False)
        self.cmbMiacHead.setObjectName(_fromUtf8("cmbMiacHead"))
        self.gridLayout.addWidget(self.cmbMiacHead, 20, 2, 1, 2)
        self.edtSyncGUID = QtGui.QLineEdit(self.tabMain)
        self.edtSyncGUID.setObjectName(_fromUtf8("edtSyncGUID"))
        self.gridLayout.addWidget(self.edtSyncGUID, 17, 2, 1, 2)
        self.edtAttachCode = QtGui.QLineEdit(self.tabMain)
        self.edtAttachCode.setObjectName(_fromUtf8("edtAttachCode"))
        self.gridLayout.addWidget(self.edtAttachCode, 18, 2, 1, 2)
        self.edtSalaryPercentage = QtGui.QDoubleSpinBox(self.tabMain)
        self.edtSalaryPercentage.setMaximum(100.0)
        self.edtSalaryPercentage.setObjectName(
            _fromUtf8("edtSalaryPercentage"))
        self.gridLayout.addWidget(self.edtSalaryPercentage, 23, 2, 1, 2)
        self.lblQuota = QtGui.QLabel(self.tabMain)
        self.lblQuota.setObjectName(_fromUtf8("lblQuota"))
        self.gridLayout.addWidget(self.lblQuota, 24, 0, 1, 1)
        self.edtQuota = QtGui.QSpinBox(self.tabMain)
        self.edtQuota.setObjectName(_fromUtf8("edtQuota"))
        self.gridLayout.addWidget(self.edtQuota, 24, 2, 1, 2)
        self.lblMiacCode = QtGui.QLabel(self.tabMain)
        self.lblMiacCode.setObjectName(_fromUtf8("lblMiacCode"))
        self.gridLayout.addWidget(self.lblMiacCode, 5, 0, 1, 1)
        self.edtMiacCode = QtGui.QLineEdit(self.tabMain)
        self.edtMiacCode.setObjectName(_fromUtf8("edtMiacCode"))
        self.gridLayout.addWidget(self.edtMiacCode, 5, 2, 1, 2)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabAddress = QtGui.QWidget()
        self.tabAddress.setEnabled(True)
        self.tabAddress.setObjectName(_fromUtf8("tabAddress"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabAddress)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblAddress = CTableView(self.tabAddress)
        self.tblAddress.setEnabled(False)
        self.tblAddress.setSortingEnabled(True)
        self.tblAddress.setObjectName(_fromUtf8("tblAddress"))
        self.gridLayout_2.addWidget(self.tblAddress, 0, 0, 1, 7)
        self.layFilter = QtGui.QHBoxLayout()
        self.layFilter.setContentsMargins(0, -1, 0, -1)
        self.layFilter.setSpacing(3)
        self.layFilter.setObjectName(_fromUtf8("layFilter"))
        self.lblFilterStreet = QtGui.QLabel(self.tabAddress)
        self.lblFilterStreet.setMaximumSize(QtCore.QSize(43, 16777215))
        self.lblFilterStreet.setObjectName(_fromUtf8("lblFilterStreet"))
        self.layFilter.addWidget(self.lblFilterStreet)
        self.cmbFilterAddressStreet = CStreetComboBox(self.tabAddress)
        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.setMaximumSize(QtCore.QSize(237, 16777215))
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.layFilter.addWidget(self.cmbFilterAddressStreet)
        self.lblFilterHouse = QtGui.QLabel(self.tabAddress)
        self.lblFilterHouse.setMaximumSize(QtCore.QSize(42, 16777215))
        self.lblFilterHouse.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.lblFilterHouse.setAlignment(QtCore.Qt.AlignRight
                                         | QtCore.Qt.AlignTrailing
                                         | QtCore.Qt.AlignVCenter)
        self.lblFilterHouse.setObjectName(_fromUtf8("lblFilterHouse"))
        self.layFilter.addWidget(self.lblFilterHouse)
        self.edtFilterAdressHouse = QtGui.QLineEdit(self.tabAddress)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterAdressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAdressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAdressHouse.setMaximumSize(QtCore.QSize(68, 16777215))
        self.edtFilterAdressHouse.setObjectName(
            _fromUtf8("edtFilterAdressHouse"))
        self.layFilter.addWidget(self.edtFilterAdressHouse)
        spacerItem1 = QtGui.QSpacerItem(117, 19, QtGui.QSizePolicy.Fixed,
                                        QtGui.QSizePolicy.Minimum)
        self.layFilter.addItem(spacerItem1)
        self.gridLayout_2.addLayout(self.layFilter, 6, 0, 2, 1)
        self.lblFilterScreach = QtGui.QLabel(self.tabAddress)
        self.lblFilterScreach.setObjectName(_fromUtf8("lblFilterScreach"))
        self.gridLayout_2.addWidget(self.lblFilterScreach, 1, 0, 1, 1)
        self.btnAddAddresses = QtGui.QPushButton(self.tabAddress)
        self.btnAddAddresses.setObjectName(_fromUtf8("btnAddAddresses"))
        self.gridLayout_2.addWidget(self.btnAddAddresses, 8, 2, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(self.tabAddress)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.edtFilterCorp = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterCorp.setObjectName(_fromUtf8("edtFilterCorp"))
        self.horizontalLayout.addWidget(self.edtFilterCorp)
        self.lblFilterFirstKv = QtGui.QLabel(self.tabAddress)
        self.lblFilterFirstKv.setObjectName(_fromUtf8("lblFilterFirstKv"))
        self.horizontalLayout.addWidget(self.lblFilterFirstKv)
        self.edtFilterFirstKv = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterFirstKv.setObjectName(_fromUtf8("edtFilterFirstKv"))
        self.horizontalLayout.addWidget(self.edtFilterFirstKv)
        self.lblFilterLastKv = QtGui.QLabel(self.tabAddress)
        self.lblFilterLastKv.setObjectName(_fromUtf8("lblFilterLastKv"))
        self.horizontalLayout.addWidget(self.lblFilterLastKv)
        self.edtFilterLastKv = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterLastKv.setObjectName(_fromUtf8("edtFilterLastKv"))
        self.horizontalLayout.addWidget(self.edtFilterLastKv)
        self.btnFilterApply = QtGui.QPushButton(self.tabAddress)
        self.btnFilterApply.setObjectName(_fromUtf8("btnFilterApply"))
        self.horizontalLayout.addWidget(self.btnFilterApply)
        self.lblBegKv = QtGui.QLabel(self.tabAddress)
        self.lblBegKv.setText(_fromUtf8(""))
        self.lblBegKv.setObjectName(_fromUtf8("lblBegKv"))
        self.horizontalLayout.addWidget(self.lblBegKv)
        self.gridLayout_2.addLayout(self.horizontalLayout, 8, 0, 1, 1)
        self.tabWidget.addTab(self.tabAddress, _fromUtf8(""))
        self.tabHospitalBeds = QtGui.QWidget()
        self.tabHospitalBeds.setEnabled(True)
        self.tabHospitalBeds.setObjectName(_fromUtf8("tabHospitalBeds"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabHospitalBeds)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.tblHospitalBeds = CInDocTableView(self.tabHospitalBeds)
        self.tblHospitalBeds.setEnabled(True)
        self.tblHospitalBeds.setObjectName(_fromUtf8("tblHospitalBeds"))
        self.gridLayout_4.addWidget(self.tblHospitalBeds, 0, 0, 1, 1)
        self.tblInvoluteBeds = CInDocTableView(self.tabHospitalBeds)
        self.tblInvoluteBeds.setEnabled(True)
        self.tblInvoluteBeds.setObjectName(_fromUtf8("tblInvoluteBeds"))
        self.gridLayout_4.addWidget(self.tblInvoluteBeds, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabHospitalBeds, _fromUtf8(""))
        self.tabJobs = QtGui.QWidget()
        self.tabJobs.setObjectName(_fromUtf8("tabJobs"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabJobs)
        self.gridLayout_6.setMargin(4)
        self.gridLayout_6.setSpacing(4)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.tblJobs = CInDocTableView(self.tabJobs)
        self.tblJobs.setEnabled(True)
        self.tblJobs.setObjectName(_fromUtf8("tblJobs"))
        self.gridLayout_6.addWidget(self.tblJobs, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabJobs, _fromUtf8(""))
        self.tabGaps = QtGui.QWidget()
        self.tabGaps.setObjectName(_fromUtf8("tabGaps"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabGaps)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblGaps = CInDocTableView(self.tabGaps)
        self.tblGaps.setEnabled(True)
        self.tblGaps.setObjectName(_fromUtf8("tblGaps"))
        self.gridLayout_5.addWidget(self.tblGaps, 1, 0, 1, 1)
        self.chkInheritGaps = QtGui.QCheckBox(self.tabGaps)
        self.chkInheritGaps.setObjectName(_fromUtf8("chkInheritGaps"))
        self.gridLayout_5.addWidget(self.chkInheritGaps, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabGaps, _fromUtf8(""))
        self.tabEventTypes = QtGui.QWidget()
        self.tabEventTypes.setObjectName(_fromUtf8("tabEventTypes"))
        self.gridLayout_7 = QtGui.QGridLayout(self.tabEventTypes)
        self.gridLayout_7.setMargin(4)
        self.gridLayout_7.setSpacing(4)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.chkInheritEventTypes = QtGui.QCheckBox(self.tabEventTypes)
        self.chkInheritEventTypes.setObjectName(
            _fromUtf8("chkInheritEventTypes"))
        self.gridLayout_7.addWidget(self.chkInheritEventTypes, 0, 0, 1, 1)
        self.tblEventTypes = CInDocTableView(self.tabEventTypes)
        self.tblEventTypes.setEnabled(True)
        self.tblEventTypes.setObjectName(_fromUtf8("tblEventTypes"))
        self.gridLayout_7.addWidget(self.tblEventTypes, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabEventTypes, _fromUtf8(""))
        self.tabActionTypes = QtGui.QWidget()
        self.tabActionTypes.setObjectName(_fromUtf8("tabActionTypes"))
        self.gridLayout_8 = QtGui.QGridLayout(self.tabActionTypes)
        self.gridLayout_8.setMargin(4)
        self.gridLayout_8.setSpacing(4)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.chkInheritActionTypes = QtGui.QCheckBox(self.tabActionTypes)
        self.chkInheritActionTypes.setObjectName(
            _fromUtf8("chkInheritActionTypes"))
        self.gridLayout_8.addWidget(self.chkInheritActionTypes, 0, 0, 1, 1)
        self.tblActionTypes = CInDocTableView(self.tabActionTypes)
        self.tblActionTypes.setEnabled(True)
        self.tblActionTypes.setObjectName(_fromUtf8("tblActionTypes"))
        self.gridLayout_8.addWidget(self.tblActionTypes, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabActionTypes, _fromUtf8(""))
        self.tabDisabledAttendance = QtGui.QWidget()
        self.tabDisabledAttendance.setObjectName(
            _fromUtf8("tabDisabledAttendance"))
        self.gridLayout_9 = QtGui.QGridLayout(self.tabDisabledAttendance)
        self.gridLayout_9.setMargin(4)
        self.gridLayout_9.setSpacing(4)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.tblDisabledAttendance = CInDocTableView(
            self.tabDisabledAttendance)
        self.tblDisabledAttendance.setObjectName(
            _fromUtf8("tblDisabledAttendance"))
        self.gridLayout_9.addWidget(self.tblDisabledAttendance, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabDisabledAttendance, _fromUtf8(""))
        self.tabStocks = QtGui.QWidget()
        self.tabStocks.setObjectName(_fromUtf8("tabStocks"))
        self.gridLayout_10 = QtGui.QGridLayout(self.tabStocks)
        self.gridLayout_10.setMargin(4)
        self.gridLayout_10.setSpacing(4)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.tblStocks = CInDocTableView(self.tabStocks)
        self.tblStocks.setObjectName(_fromUtf8("tblStocks"))
        self.gridLayout_10.addWidget(self.tblStocks, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabStocks, _fromUtf8(""))
        self.tabEquipment = QtGui.QWidget()
        self.tabEquipment.setObjectName(_fromUtf8("tabEquipment"))
        self.gridLayout_11 = QtGui.QGridLayout(self.tabEquipment)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.tblEquipments = CInDocTableView(self.tabEquipment)
        self.tblEquipments.setObjectName(_fromUtf8("tblEquipments"))
        self.gridLayout_11.addWidget(self.tblEquipments, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabEquipment, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.lblBookkeeperCode.setBuddy(self.edtBookkeeperCode)
        self.lblInfisCode.setBuddy(self.edtInfisCode)
        self.lblHeadNurse.setBuddy(self.cmbHeadNurse)
        self.lblInfisTariffCode.setBuddy(self.edtInfisTariffCode)
        self.lblChief.setBuddy(self.cmbChief)
        self.lblNet.setBuddy(self.cmbNet)
        self.lblType.setBuddy(self.cmbType)
        self.lblCode.setBuddy(self.edtCode)
        self.lblOrganisation.setBuddy(self.cmbOrganisation)
        self.lblInfisDepTypeCode.setBuddy(self.edtInfisDepTypeCode)
        self.lblAddress.setBuddy(self.edtAddress)
        self.lblInfisInternalCode.setBuddy(self.edtInfisInternalCode)
        self.lblIsArea.setBuddy(self.cmbIsArea)
        self.lblParent.setBuddy(self.cmbParent)
        self.lblName.setBuddy(self.edtName)

        self.retranslateUi(ItemEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ItemEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ItemEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog)
        ItemEditorDialog.setTabOrder(self.tabWidget, self.cmbOrganisation)
        ItemEditorDialog.setTabOrder(self.cmbOrganisation,
                                     self.btnSelectOrganisation)
        ItemEditorDialog.setTabOrder(self.btnSelectOrganisation,
                                     self.cmbParent)
        ItemEditorDialog.setTabOrder(self.cmbParent, self.edtCode)
        ItemEditorDialog.setTabOrder(self.edtCode, self.edtBookkeeperCode)
        ItemEditorDialog.setTabOrder(self.edtBookkeeperCode, self.edtName)
        ItemEditorDialog.setTabOrder(self.edtName, self.edtAddress)
        ItemEditorDialog.setTabOrder(self.edtAddress, self.cmbType)
        ItemEditorDialog.setTabOrder(self.cmbType, self.cmbNet)
        ItemEditorDialog.setTabOrder(self.cmbNet, self.cmbChief)
        ItemEditorDialog.setTabOrder(self.cmbChief, self.cmbHeadNurse)
        ItemEditorDialog.setTabOrder(self.cmbHeadNurse, self.edtInfisCode)
        ItemEditorDialog.setTabOrder(self.edtInfisCode,
                                     self.edtInfisInternalCode)
        ItemEditorDialog.setTabOrder(self.edtInfisInternalCode,
                                     self.edtInfisDepTypeCode)
        ItemEditorDialog.setTabOrder(self.edtInfisDepTypeCode,
                                     self.edtInfisTariffCode)
        ItemEditorDialog.setTabOrder(self.edtInfisTariffCode, self.cmbIsArea)
        ItemEditorDialog.setTabOrder(self.cmbIsArea, self.chkHasHospitalBeds)
        ItemEditorDialog.setTabOrder(self.chkHasHospitalBeds,
                                     self.chkHasStocks)
        ItemEditorDialog.setTabOrder(self.chkHasStocks, self.tblAddress)
        ItemEditorDialog.setTabOrder(self.tblAddress, self.tblHospitalBeds)
        ItemEditorDialog.setTabOrder(self.tblHospitalBeds, self.tblJobs)
        ItemEditorDialog.setTabOrder(self.tblJobs, self.chkInheritGaps)
        ItemEditorDialog.setTabOrder(self.chkInheritGaps, self.tblGaps)
        ItemEditorDialog.setTabOrder(self.tblGaps, self.chkInheritEventTypes)
        ItemEditorDialog.setTabOrder(self.chkInheritEventTypes,
                                     self.tblEventTypes)
        ItemEditorDialog.setTabOrder(self.tblEventTypes,
                                     self.chkInheritActionTypes)
        ItemEditorDialog.setTabOrder(self.chkInheritActionTypes,
                                     self.tblActionTypes)
        ItemEditorDialog.setTabOrder(self.tblActionTypes,
                                     self.tblDisabledAttendance)
        ItemEditorDialog.setTabOrder(self.tblDisabledAttendance,
                                     self.tblStocks)
        ItemEditorDialog.setTabOrder(self.tblStocks, self.buttonBox)
        ItemEditorDialog.setTabOrder(self.buttonBox, self.tblEquipments)

    def retranslateUi(self, ItemEditorDialog):
        ItemEditorDialog.setWindowTitle(
            _translate("ItemEditorDialog", "ChangeMe!", None))
        self.lblAttachCode.setText(
            _translate("ItemEditorDialog", "Код прикрепления", None))
        self.lblMiacHead.setText(
            _translate("ItemEditorDialog", "Участок относится к", None))
        self.btnSelectOrganisation.setText(
            _translate("ItemEditorDialog", "...", None))
        self.chkAvailableForExternal.setText(
            _translate(
                "ItemEditorDialog",
                "Информация о подразделении доступна для внешних систем",
                None))
        self.lblBookkeeperCode.setText(
            _translate("ItemEditorDialog", "Код для &бухгалтерии", None))
        self.chkHasHospitalBeds.setText(
            _translate("ItemEditorDialog", "Имеет койки", None))
        self.edtInfisDepTypeCode.setToolTip(
            _translate("ItemEditorDialog",
                       "Экспорт в ИНФИС - файл data.dbf, поле PROFTYPE", None))
        self.lblInfisCode.setText(
            _translate("ItemEditorDialog", "Код отделения по &ИнФИС", None))
        self.chkHasStocks.setText(
            _translate("ItemEditorDialog", "Имеет склад", None))
        self.lblHeadNurse.setText(
            _translate("ItemEditorDialog", "Старшая &медсестра", None))
        self.label.setText(_translate("ItemEditorDialog", "Код склада", None))
        self.lblInfisTariffCode.setToolTip(
            _translate("ItemEditorDialog", "HSOBJECT", None))
        self.lblInfisTariffCode.setText(
            _translate("ItemEditorDialog", "&Селектор тарифа для ИнФИС", None))
        self.lblChief.setText(
            _translate("ItemEditorDialog", "&Зав.отделением", None))
        self.lblNet.setText(_translate("ItemEditorDialog", "&Сеть", None))
        self.chkVisibleInDR.setToolTip(
            _translate(
                "ItemEditorDialog",
                "Подразделение будет отображаться в \"Виста-МЕД Web-service\".",
                None))
        self.chkVisibleInDR.setText(
            _translate("ItemEditorDialog", "Видимость в DoctorRoom", None))
        self.cmbHeadNurse.setWhatsThis(
            _translate("ItemEditorDialog",
                       "врач отвечающий за осмотр (терапевт)", None))
        self.cmbChief.setWhatsThis(
            _translate("ItemEditorDialog",
                       "врач отвечающий за осмотр (терапевт)", None))
        self.lblType.setText(_translate("ItemEditorDialog", "&Тип", None))
        self.lblSyncGUID.setText(
            _translate("ItemEditorDialog", "Код синхронизации", None))
        self.lblCode.setText(_translate("ItemEditorDialog", "&Код", None))
        self.lblOrganisation.setText(
            _translate("ItemEditorDialog", "&ЛПУ", None))
        self.lblInfisDepTypeCode.setText(
            _translate("ItemEditorDialog", "Код &типа отделения по ИнФИС",
                       None))
        self.chkHasDS.setText(
            _translate("ItemEditorDialog", "Имеет дневной стационар", None))
        self.lblAddress.setText(_translate("ItemEditorDialog", "&Адрес", None))
        self.lblInfisInternalCode.setText(
            _translate("ItemEditorDialog", "\"Внутренний\" &код по ИнФИС",
                       None))
        self.edtInfisTariffCode.setToolTip(
            _translate("ItemEditorDialog",
                       "Экспорт в ИНФИС - файл data.dbf, поле HSOBJECT", None))
        self.edtInfisInternalCode.setToolTip(
            _translate("ItemEditorDialog",
                       "Экспорт в ИНФИС - файл data.dbf, поле DEPART", None))
        self.lblDayLimit.setText(
            _translate("ItemEditorDialog", "Лимит мест для госпитализации",
                       None))
        self.edtInfisCode.setToolTip(
            _translate("ItemEditorDialog",
                       "Экспорт в ИНФИС - файл data.dbf, поле RECIEVER", None))
        self.lblIsArea.setText(_translate("ItemEditorDialog", "&Участок",
                                          None))
        self.edtBookkeeperCode.setToolTip(
            _translate("ItemEditorDialog", "Код для связи с ИС БУХУЧЕТА ЛПУ",
                       None))
        self.lblParent.setText(
            _translate("ItemEditorDialog", "&Вышестоящее подразделение", None))
        self.lblName.setText(
            _translate("ItemEditorDialog", "&Наименование", None))
        self.lblSalaryPercentage.setText(
            _translate("ItemEditorDialog", "Процент зачисления з/п", None))
        self.edtSalaryPercentage.setToolTip(
            _translate(
                "ItemEditorDialog",
                "<html><head/><body><p>Процент начисления з/п сотруднику. </p><p>При отсутсвии процента у подразделения оставить значение процента равным нулю.</p></body></html>",
                None))
        self.lblQuota.setText(
            _translate("ItemEditorDialog", "Квота для внешних систем", None))
        self.lblMiacCode.setText(
            _translate("ItemEditorDialog", "Код МИАЦ", None))
        self.edtMiacCode.setToolTip(
            _translate("ItemEditorDialog",
                       "экспорт счетов в ЕИС- поля ID_LPU_P и ID_LPU_P_C",
                       None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabMain),
            _translate("ItemEditorDialog", "Основная информация", None))
        self.lblFilterStreet.setText(
            _translate("ItemEditorDialog", "Улица:", None))
        self.lblFilterHouse.setText(
            _translate("ItemEditorDialog", "Дом:", None))
        self.lblFilterScreach.setText(
            _translate("ItemEditorDialog", "Поиск:", None))
        self.btnAddAddresses.setText(
            _translate("ItemEditorDialog", "Добавить адреса", None))
        self.label_2.setText(_translate("ItemEditorDialog", "Корпус:", None))
        self.lblFilterFirstKv.setText(
            _translate("ItemEditorDialog", "Первая кв.:", None))
        self.lblFilterLastKv.setText(
            _translate("ItemEditorDialog", "Последняя кв.:", None))
        self.btnFilterApply.setText(
            _translate("ItemEditorDialog", "Применить фильтр", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabAddress),
            _translate("ItemEditorDialog", "Зона обслуживания", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabHospitalBeds),
            _translate("ItemEditorDialog", "Койки", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabJobs),
            _translate("ItemEditorDialog", "Работы", None))
        self.chkInheritGaps.setText(
            _translate("ItemEditorDialog", "Наследует перерывы", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabGaps),
            _translate("ItemEditorDialog", "Перерывы", None))
        self.chkInheritEventTypes.setText(
            _translate("ItemEditorDialog", "Наследует типы событий", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabEventTypes),
            _translate("ItemEditorDialog", "Типы событий", None))
        self.chkInheritActionTypes.setText(
            _translate("ItemEditorDialog", "Наследует типы действий", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabActionTypes),
            _translate("ItemEditorDialog", "Типы действий", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabDisabledAttendance),
            _translate("ItemEditorDialog", "Запрет обслуживания", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabStocks),
            _translate("ItemEditorDialog", "Склад", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabEquipment),
            _translate("ItemEditorDialog", "Оборудование", None))
예제 #3
0
    def setupUi(self, ItemEditorDialog):
        ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog"))
        ItemEditorDialog.resize(1216, 1008)
        ItemEditorDialog.setSizeGripEnabled(True)
        self.gridLayout_3 = QtGui.QGridLayout(ItemEditorDialog)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(ItemEditorDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout = QtGui.QGridLayout(self.tabMain)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAttachCode = QtGui.QLabel(self.tabMain)
        self.lblAttachCode.setObjectName(_fromUtf8("lblAttachCode"))
        self.gridLayout.addWidget(self.lblAttachCode, 18, 0, 1, 1)
        self.lblMiacHead = QtGui.QLabel(self.tabMain)
        self.lblMiacHead.setEnabled(False)
        self.lblMiacHead.setObjectName(_fromUtf8("lblMiacHead"))
        self.gridLayout.addWidget(self.lblMiacHead, 20, 0, 1, 1)
        self.btnSelectOrganisation = QtGui.QToolButton(self.tabMain)
        self.btnSelectOrganisation.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnSelectOrganisation.sizePolicy().hasHeightForWidth())
        self.btnSelectOrganisation.setSizePolicy(sizePolicy)
        self.btnSelectOrganisation.setObjectName(
            _fromUtf8("btnSelectOrganisation"))
        self.gridLayout.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1)
        self.chkAvailableForExternal = QtGui.QCheckBox(self.tabMain)
        self.chkAvailableForExternal.setObjectName(
            _fromUtf8("chkAvailableForExternal"))
        self.gridLayout.addWidget(self.chkAvailableForExternal, 29, 2, 1, 2)
        self.lblBookkeeperCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBookkeeperCode.sizePolicy().hasHeightForWidth())
        self.lblBookkeeperCode.setSizePolicy(sizePolicy)
        self.lblBookkeeperCode.setObjectName(_fromUtf8("lblBookkeeperCode"))
        self.gridLayout.addWidget(self.lblBookkeeperCode, 4, 0, 1, 1)
        self.chkHasHospitalBeds = QtGui.QCheckBox(self.tabMain)
        self.chkHasHospitalBeds.setObjectName(_fromUtf8("chkHasHospitalBeds"))
        self.gridLayout.addWidget(self.chkHasHospitalBeds, 26, 2, 1, 2)
        self.edtName = QtGui.QLineEdit(self.tabMain)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 6, 2, 1, 2)
        self.edtInfisDepTypeCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisDepTypeCode.setMaxLength(30)
        self.edtInfisDepTypeCode.setObjectName(
            _fromUtf8("edtInfisDepTypeCode"))
        self.gridLayout.addWidget(self.edtInfisDepTypeCode, 14, 2, 1, 2)
        self.lblInfisCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisCode.sizePolicy().hasHeightForWidth())
        self.lblInfisCode.setSizePolicy(sizePolicy)
        self.lblInfisCode.setObjectName(_fromUtf8("lblInfisCode"))
        self.gridLayout.addWidget(self.lblInfisCode, 12, 0, 1, 1)
        self.chkHasStocks = QtGui.QCheckBox(self.tabMain)
        self.chkHasStocks.setObjectName(_fromUtf8("chkHasStocks"))
        self.gridLayout.addWidget(self.chkHasStocks, 27, 2, 1, 2)
        self.lblHeadNurse = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblHeadNurse.sizePolicy().hasHeightForWidth())
        self.lblHeadNurse.setSizePolicy(sizePolicy)
        self.lblHeadNurse.setObjectName(_fromUtf8("lblHeadNurse"))
        self.gridLayout.addWidget(self.lblHeadNurse, 11, 0, 1, 1)
        self.label = QtGui.QLabel(self.tabMain)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 3, 0, 1, 1)
        self.lblInfisTariffCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisTariffCode.sizePolicy().hasHeightForWidth())
        self.lblInfisTariffCode.setSizePolicy(sizePolicy)
        self.lblInfisTariffCode.setObjectName(_fromUtf8("lblInfisTariffCode"))
        self.gridLayout.addWidget(self.lblInfisTariffCode, 16, 0, 1, 1)
        self.edtStorageCode = QtGui.QLineEdit(self.tabMain)
        self.edtStorageCode.setObjectName(_fromUtf8("edtStorageCode"))
        self.gridLayout.addWidget(self.edtStorageCode, 3, 2, 1, 2)
        self.lblChief = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblChief.sizePolicy().hasHeightForWidth())
        self.lblChief.setSizePolicy(sizePolicy)
        self.lblChief.setObjectName(_fromUtf8("lblChief"))
        self.gridLayout.addWidget(self.lblChief, 10, 0, 1, 1)
        self.lblNet = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblNet.sizePolicy().hasHeightForWidth())
        self.lblNet.setSizePolicy(sizePolicy)
        self.lblNet.setObjectName(_fromUtf8("lblNet"))
        self.gridLayout.addWidget(self.lblNet, 9, 0, 1, 1)
        self.chkVisibleInDR = QtGui.QCheckBox(self.tabMain)
        self.chkVisibleInDR.setChecked(True)
        self.chkVisibleInDR.setObjectName(_fromUtf8("chkVisibleInDR"))
        self.gridLayout.addWidget(self.chkVisibleInDR, 25, 2, 1, 2)
        self.cmbHeadNurse = CPersonComboBoxEx(self.tabMain)
        self.cmbHeadNurse.setObjectName(_fromUtf8("cmbHeadNurse"))
        self.gridLayout.addWidget(self.cmbHeadNurse, 11, 2, 1, 2)
        self.cmbType = CEnumComboBox(self.tabMain)
        self.cmbType.setObjectName(_fromUtf8("cmbType"))
        self.gridLayout.addWidget(self.cmbType, 8, 2, 1, 2)
        self.cmbChief = CPersonComboBoxEx(self.tabMain)
        self.cmbChief.setObjectName(_fromUtf8("cmbChief"))
        self.gridLayout.addWidget(self.cmbChief, 10, 2, 1, 2)
        self.lblType = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblType.sizePolicy().hasHeightForWidth())
        self.lblType.setSizePolicy(sizePolicy)
        self.lblType.setObjectName(_fromUtf8("lblType"))
        self.gridLayout.addWidget(self.lblType, 8, 0, 1, 1)
        self.lblSyncGUID = QtGui.QLabel(self.tabMain)
        self.lblSyncGUID.setObjectName(_fromUtf8("lblSyncGUID"))
        self.gridLayout.addWidget(self.lblSyncGUID, 17, 0, 1, 1)
        self.lblCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCode.sizePolicy().hasHeightForWidth())
        self.lblCode.setSizePolicy(sizePolicy)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 2, 0, 1, 1)
        self.edtAddress = QtGui.QLineEdit(self.tabMain)
        self.edtAddress.setObjectName(_fromUtf8("edtAddress"))
        self.gridLayout.addWidget(self.edtAddress, 7, 2, 1, 2)
        self.lblOrganisation = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrganisation.sizePolicy().hasHeightForWidth())
        self.lblOrganisation.setSizePolicy(sizePolicy)
        self.lblOrganisation.setObjectName(_fromUtf8("lblOrganisation"))
        self.gridLayout.addWidget(self.lblOrganisation, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 41, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 30, 0, 1, 1)
        self.cmbNet = CRBComboBox(self.tabMain)
        self.cmbNet.setObjectName(_fromUtf8("cmbNet"))
        self.gridLayout.addWidget(self.cmbNet, 9, 2, 1, 2)
        self.lblInfisDepTypeCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisDepTypeCode.sizePolicy().hasHeightForWidth())
        self.lblInfisDepTypeCode.setSizePolicy(sizePolicy)
        self.lblInfisDepTypeCode.setObjectName(
            _fromUtf8("lblInfisDepTypeCode"))
        self.gridLayout.addWidget(self.lblInfisDepTypeCode, 14, 0, 1, 1)
        self.chkHasDS = QtGui.QCheckBox(self.tabMain)
        self.chkHasDS.setObjectName(_fromUtf8("chkHasDS"))
        self.gridLayout.addWidget(self.chkHasDS, 28, 2, 1, 2)
        self.lblAddress = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAddress.sizePolicy().hasHeightForWidth())
        self.lblAddress.setSizePolicy(sizePolicy)
        self.lblAddress.setObjectName(_fromUtf8("lblAddress"))
        self.gridLayout.addWidget(self.lblAddress, 7, 0, 1, 1)
        self.lblInfisInternalCode = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblInfisInternalCode.sizePolicy().hasHeightForWidth())
        self.lblInfisInternalCode.setSizePolicy(sizePolicy)
        self.lblInfisInternalCode.setObjectName(
            _fromUtf8("lblInfisInternalCode"))
        self.gridLayout.addWidget(self.lblInfisInternalCode, 13, 0, 1, 1)
        self.cmbParent = CDbComboBox(self.tabMain)
        self.cmbParent.setEnabled(False)
        self.cmbParent.setFrame(True)
        self.cmbParent.setObjectName(_fromUtf8("cmbParent"))
        self.gridLayout.addWidget(self.cmbParent, 1, 2, 1, 2)
        self.cmbIsArea = CEnumComboBox(self.tabMain)
        self.cmbIsArea.setObjectName(_fromUtf8("cmbIsArea"))
        self.gridLayout.addWidget(self.cmbIsArea, 19, 2, 1, 2)
        self.edtInfisTariffCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisTariffCode.setMaxLength(16)
        self.edtInfisTariffCode.setObjectName(_fromUtf8("edtInfisTariffCode"))
        self.gridLayout.addWidget(self.edtInfisTariffCode, 16, 2, 1, 2)
        self.edtCode = QtGui.QLineEdit(self.tabMain)
        self.edtCode.setMaxLength(64)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 2, 2, 1, 2)
        self.edtInfisInternalCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisInternalCode.setMaxLength(30)
        self.edtInfisInternalCode.setObjectName(
            _fromUtf8("edtInfisInternalCode"))
        self.gridLayout.addWidget(self.edtInfisInternalCode, 13, 2, 1, 2)
        self.lblDayLimit = QtGui.QLabel(self.tabMain)
        self.lblDayLimit.setObjectName(_fromUtf8("lblDayLimit"))
        self.gridLayout.addWidget(self.lblDayLimit, 21, 0, 1, 1)
        self.edtInfisCode = QtGui.QLineEdit(self.tabMain)
        self.edtInfisCode.setMaxLength(16)
        self.edtInfisCode.setObjectName(_fromUtf8("edtInfisCode"))
        self.gridLayout.addWidget(self.edtInfisCode, 12, 2, 1, 2)
        self.lblIsArea = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblIsArea.sizePolicy().hasHeightForWidth())
        self.lblIsArea.setSizePolicy(sizePolicy)
        self.lblIsArea.setObjectName(_fromUtf8("lblIsArea"))
        self.gridLayout.addWidget(self.lblIsArea, 19, 0, 1, 1)
        self.edtBookkeeperCode = QtGui.QLineEdit(self.tabMain)
        self.edtBookkeeperCode.setObjectName(_fromUtf8("edtBookkeeperCode"))
        self.gridLayout.addWidget(self.edtBookkeeperCode, 4, 2, 1, 2)
        self.lblParent = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblParent.sizePolicy().hasHeightForWidth())
        self.lblParent.setSizePolicy(sizePolicy)
        self.lblParent.setObjectName(_fromUtf8("lblParent"))
        self.gridLayout.addWidget(self.lblParent, 1, 0, 1, 1)
        self.cmbOrganisation = COrgComboBox(self.tabMain)
        self.cmbOrganisation.setEnabled(True)
        self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation"))
        self.gridLayout.addWidget(self.cmbOrganisation, 0, 2, 1, 1)
        self.edtDayLimit = QtGui.QLineEdit(self.tabMain)
        self.edtDayLimit.setObjectName(_fromUtf8("edtDayLimit"))
        self.gridLayout.addWidget(self.edtDayLimit, 21, 2, 1, 2)
        self.lblName = QtGui.QLabel(self.tabMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblName.sizePolicy().hasHeightForWidth())
        self.lblName.setSizePolicy(sizePolicy)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 6, 0, 1, 1)
        self.lblSalaryPercentage = QtGui.QLabel(self.tabMain)
        self.lblSalaryPercentage.setObjectName(
            _fromUtf8("lblSalaryPercentage"))
        self.gridLayout.addWidget(self.lblSalaryPercentage, 23, 0, 1, 1)
        self.cmbMiacHead = COrgStructureComboBoxOnlyInfisEnabled(self.tabMain)
        self.cmbMiacHead.setEnabled(False)
        self.cmbMiacHead.setObjectName(_fromUtf8("cmbMiacHead"))
        self.gridLayout.addWidget(self.cmbMiacHead, 20, 2, 1, 2)
        self.edtSyncGUID = QtGui.QLineEdit(self.tabMain)
        self.edtSyncGUID.setObjectName(_fromUtf8("edtSyncGUID"))
        self.gridLayout.addWidget(self.edtSyncGUID, 17, 2, 1, 2)
        self.edtAttachCode = QtGui.QLineEdit(self.tabMain)
        self.edtAttachCode.setObjectName(_fromUtf8("edtAttachCode"))
        self.gridLayout.addWidget(self.edtAttachCode, 18, 2, 1, 2)
        self.edtSalaryPercentage = QtGui.QDoubleSpinBox(self.tabMain)
        self.edtSalaryPercentage.setMaximum(100.0)
        self.edtSalaryPercentage.setObjectName(
            _fromUtf8("edtSalaryPercentage"))
        self.gridLayout.addWidget(self.edtSalaryPercentage, 23, 2, 1, 2)
        self.lblQuota = QtGui.QLabel(self.tabMain)
        self.lblQuota.setObjectName(_fromUtf8("lblQuota"))
        self.gridLayout.addWidget(self.lblQuota, 24, 0, 1, 1)
        self.edtQuota = QtGui.QSpinBox(self.tabMain)
        self.edtQuota.setObjectName(_fromUtf8("edtQuota"))
        self.gridLayout.addWidget(self.edtQuota, 24, 2, 1, 2)
        self.lblMiacCode = QtGui.QLabel(self.tabMain)
        self.lblMiacCode.setObjectName(_fromUtf8("lblMiacCode"))
        self.gridLayout.addWidget(self.lblMiacCode, 5, 0, 1, 1)
        self.edtMiacCode = QtGui.QLineEdit(self.tabMain)
        self.edtMiacCode.setObjectName(_fromUtf8("edtMiacCode"))
        self.gridLayout.addWidget(self.edtMiacCode, 5, 2, 1, 2)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabAddress = QtGui.QWidget()
        self.tabAddress.setEnabled(True)
        self.tabAddress.setObjectName(_fromUtf8("tabAddress"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabAddress)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblAddress = CTableView(self.tabAddress)
        self.tblAddress.setEnabled(False)
        self.tblAddress.setSortingEnabled(True)
        self.tblAddress.setObjectName(_fromUtf8("tblAddress"))
        self.gridLayout_2.addWidget(self.tblAddress, 0, 0, 1, 7)
        self.layFilter = QtGui.QHBoxLayout()
        self.layFilter.setContentsMargins(0, -1, 0, -1)
        self.layFilter.setSpacing(3)
        self.layFilter.setObjectName(_fromUtf8("layFilter"))
        self.lblFilterStreet = QtGui.QLabel(self.tabAddress)
        self.lblFilterStreet.setMaximumSize(QtCore.QSize(43, 16777215))
        self.lblFilterStreet.setObjectName(_fromUtf8("lblFilterStreet"))
        self.layFilter.addWidget(self.lblFilterStreet)
        self.cmbFilterAddressStreet = CStreetComboBox(self.tabAddress)
        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.setMaximumSize(QtCore.QSize(237, 16777215))
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.layFilter.addWidget(self.cmbFilterAddressStreet)
        self.lblFilterHouse = QtGui.QLabel(self.tabAddress)
        self.lblFilterHouse.setMaximumSize(QtCore.QSize(42, 16777215))
        self.lblFilterHouse.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.lblFilterHouse.setAlignment(QtCore.Qt.AlignRight
                                         | QtCore.Qt.AlignTrailing
                                         | QtCore.Qt.AlignVCenter)
        self.lblFilterHouse.setObjectName(_fromUtf8("lblFilterHouse"))
        self.layFilter.addWidget(self.lblFilterHouse)
        self.edtFilterAdressHouse = QtGui.QLineEdit(self.tabAddress)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterAdressHouse.sizePolicy().hasHeightForWidth())
        self.edtFilterAdressHouse.setSizePolicy(sizePolicy)
        self.edtFilterAdressHouse.setMaximumSize(QtCore.QSize(68, 16777215))
        self.edtFilterAdressHouse.setObjectName(
            _fromUtf8("edtFilterAdressHouse"))
        self.layFilter.addWidget(self.edtFilterAdressHouse)
        spacerItem1 = QtGui.QSpacerItem(117, 19, QtGui.QSizePolicy.Fixed,
                                        QtGui.QSizePolicy.Minimum)
        self.layFilter.addItem(spacerItem1)
        self.gridLayout_2.addLayout(self.layFilter, 6, 0, 2, 1)
        self.lblFilterScreach = QtGui.QLabel(self.tabAddress)
        self.lblFilterScreach.setObjectName(_fromUtf8("lblFilterScreach"))
        self.gridLayout_2.addWidget(self.lblFilterScreach, 1, 0, 1, 1)
        self.btnAddAddresses = QtGui.QPushButton(self.tabAddress)
        self.btnAddAddresses.setObjectName(_fromUtf8("btnAddAddresses"))
        self.gridLayout_2.addWidget(self.btnAddAddresses, 8, 2, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(self.tabAddress)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.edtFilterCorp = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterCorp.setObjectName(_fromUtf8("edtFilterCorp"))
        self.horizontalLayout.addWidget(self.edtFilterCorp)
        self.lblFilterFirstKv = QtGui.QLabel(self.tabAddress)
        self.lblFilterFirstKv.setObjectName(_fromUtf8("lblFilterFirstKv"))
        self.horizontalLayout.addWidget(self.lblFilterFirstKv)
        self.edtFilterFirstKv = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterFirstKv.setObjectName(_fromUtf8("edtFilterFirstKv"))
        self.horizontalLayout.addWidget(self.edtFilterFirstKv)
        self.lblFilterLastKv = QtGui.QLabel(self.tabAddress)
        self.lblFilterLastKv.setObjectName(_fromUtf8("lblFilterLastKv"))
        self.horizontalLayout.addWidget(self.lblFilterLastKv)
        self.edtFilterLastKv = QtGui.QLineEdit(self.tabAddress)
        self.edtFilterLastKv.setObjectName(_fromUtf8("edtFilterLastKv"))
        self.horizontalLayout.addWidget(self.edtFilterLastKv)
        self.btnFilterApply = QtGui.QPushButton(self.tabAddress)
        self.btnFilterApply.setObjectName(_fromUtf8("btnFilterApply"))
        self.horizontalLayout.addWidget(self.btnFilterApply)
        self.lblBegKv = QtGui.QLabel(self.tabAddress)
        self.lblBegKv.setText(_fromUtf8(""))
        self.lblBegKv.setObjectName(_fromUtf8("lblBegKv"))
        self.horizontalLayout.addWidget(self.lblBegKv)
        self.gridLayout_2.addLayout(self.horizontalLayout, 8, 0, 1, 1)
        self.tabWidget.addTab(self.tabAddress, _fromUtf8(""))
        self.tabHospitalBeds = QtGui.QWidget()
        self.tabHospitalBeds.setEnabled(True)
        self.tabHospitalBeds.setObjectName(_fromUtf8("tabHospitalBeds"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabHospitalBeds)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.tblHospitalBeds = CInDocTableView(self.tabHospitalBeds)
        self.tblHospitalBeds.setEnabled(True)
        self.tblHospitalBeds.setObjectName(_fromUtf8("tblHospitalBeds"))
        self.gridLayout_4.addWidget(self.tblHospitalBeds, 0, 0, 1, 1)
        self.tblInvoluteBeds = CInDocTableView(self.tabHospitalBeds)
        self.tblInvoluteBeds.setEnabled(True)
        self.tblInvoluteBeds.setObjectName(_fromUtf8("tblInvoluteBeds"))
        self.gridLayout_4.addWidget(self.tblInvoluteBeds, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabHospitalBeds, _fromUtf8(""))
        self.tabJobs = QtGui.QWidget()
        self.tabJobs.setObjectName(_fromUtf8("tabJobs"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabJobs)
        self.gridLayout_6.setMargin(4)
        self.gridLayout_6.setSpacing(4)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.tblJobs = CInDocTableView(self.tabJobs)
        self.tblJobs.setEnabled(True)
        self.tblJobs.setObjectName(_fromUtf8("tblJobs"))
        self.gridLayout_6.addWidget(self.tblJobs, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabJobs, _fromUtf8(""))
        self.tabGaps = QtGui.QWidget()
        self.tabGaps.setObjectName(_fromUtf8("tabGaps"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabGaps)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblGaps = CInDocTableView(self.tabGaps)
        self.tblGaps.setEnabled(True)
        self.tblGaps.setObjectName(_fromUtf8("tblGaps"))
        self.gridLayout_5.addWidget(self.tblGaps, 1, 0, 1, 1)
        self.chkInheritGaps = QtGui.QCheckBox(self.tabGaps)
        self.chkInheritGaps.setObjectName(_fromUtf8("chkInheritGaps"))
        self.gridLayout_5.addWidget(self.chkInheritGaps, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabGaps, _fromUtf8(""))
        self.tabEventTypes = QtGui.QWidget()
        self.tabEventTypes.setObjectName(_fromUtf8("tabEventTypes"))
        self.gridLayout_7 = QtGui.QGridLayout(self.tabEventTypes)
        self.gridLayout_7.setMargin(4)
        self.gridLayout_7.setSpacing(4)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.chkInheritEventTypes = QtGui.QCheckBox(self.tabEventTypes)
        self.chkInheritEventTypes.setObjectName(
            _fromUtf8("chkInheritEventTypes"))
        self.gridLayout_7.addWidget(self.chkInheritEventTypes, 0, 0, 1, 1)
        self.tblEventTypes = CInDocTableView(self.tabEventTypes)
        self.tblEventTypes.setEnabled(True)
        self.tblEventTypes.setObjectName(_fromUtf8("tblEventTypes"))
        self.gridLayout_7.addWidget(self.tblEventTypes, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabEventTypes, _fromUtf8(""))
        self.tabActionTypes = QtGui.QWidget()
        self.tabActionTypes.setObjectName(_fromUtf8("tabActionTypes"))
        self.gridLayout_8 = QtGui.QGridLayout(self.tabActionTypes)
        self.gridLayout_8.setMargin(4)
        self.gridLayout_8.setSpacing(4)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.chkInheritActionTypes = QtGui.QCheckBox(self.tabActionTypes)
        self.chkInheritActionTypes.setObjectName(
            _fromUtf8("chkInheritActionTypes"))
        self.gridLayout_8.addWidget(self.chkInheritActionTypes, 0, 0, 1, 1)
        self.tblActionTypes = CInDocTableView(self.tabActionTypes)
        self.tblActionTypes.setEnabled(True)
        self.tblActionTypes.setObjectName(_fromUtf8("tblActionTypes"))
        self.gridLayout_8.addWidget(self.tblActionTypes, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabActionTypes, _fromUtf8(""))
        self.tabDisabledAttendance = QtGui.QWidget()
        self.tabDisabledAttendance.setObjectName(
            _fromUtf8("tabDisabledAttendance"))
        self.gridLayout_9 = QtGui.QGridLayout(self.tabDisabledAttendance)
        self.gridLayout_9.setMargin(4)
        self.gridLayout_9.setSpacing(4)
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.tblDisabledAttendance = CInDocTableView(
            self.tabDisabledAttendance)
        self.tblDisabledAttendance.setObjectName(
            _fromUtf8("tblDisabledAttendance"))
        self.gridLayout_9.addWidget(self.tblDisabledAttendance, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabDisabledAttendance, _fromUtf8(""))
        self.tabStocks = QtGui.QWidget()
        self.tabStocks.setObjectName(_fromUtf8("tabStocks"))
        self.gridLayout_10 = QtGui.QGridLayout(self.tabStocks)
        self.gridLayout_10.setMargin(4)
        self.gridLayout_10.setSpacing(4)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.tblStocks = CInDocTableView(self.tabStocks)
        self.tblStocks.setObjectName(_fromUtf8("tblStocks"))
        self.gridLayout_10.addWidget(self.tblStocks, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabStocks, _fromUtf8(""))
        self.tabEquipment = QtGui.QWidget()
        self.tabEquipment.setObjectName(_fromUtf8("tabEquipment"))
        self.gridLayout_11 = QtGui.QGridLayout(self.tabEquipment)
        self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11"))
        self.tblEquipments = CInDocTableView(self.tabEquipment)
        self.tblEquipments.setObjectName(_fromUtf8("tblEquipments"))
        self.gridLayout_11.addWidget(self.tblEquipments, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabEquipment, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.lblBookkeeperCode.setBuddy(self.edtBookkeeperCode)
        self.lblInfisCode.setBuddy(self.edtInfisCode)
        self.lblHeadNurse.setBuddy(self.cmbHeadNurse)
        self.lblInfisTariffCode.setBuddy(self.edtInfisTariffCode)
        self.lblChief.setBuddy(self.cmbChief)
        self.lblNet.setBuddy(self.cmbNet)
        self.lblType.setBuddy(self.cmbType)
        self.lblCode.setBuddy(self.edtCode)
        self.lblOrganisation.setBuddy(self.cmbOrganisation)
        self.lblInfisDepTypeCode.setBuddy(self.edtInfisDepTypeCode)
        self.lblAddress.setBuddy(self.edtAddress)
        self.lblInfisInternalCode.setBuddy(self.edtInfisInternalCode)
        self.lblIsArea.setBuddy(self.cmbIsArea)
        self.lblParent.setBuddy(self.cmbParent)
        self.lblName.setBuddy(self.edtName)

        self.retranslateUi(ItemEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ItemEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ItemEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog)
        ItemEditorDialog.setTabOrder(self.tabWidget, self.cmbOrganisation)
        ItemEditorDialog.setTabOrder(self.cmbOrganisation,
                                     self.btnSelectOrganisation)
        ItemEditorDialog.setTabOrder(self.btnSelectOrganisation,
                                     self.cmbParent)
        ItemEditorDialog.setTabOrder(self.cmbParent, self.edtCode)
        ItemEditorDialog.setTabOrder(self.edtCode, self.edtBookkeeperCode)
        ItemEditorDialog.setTabOrder(self.edtBookkeeperCode, self.edtName)
        ItemEditorDialog.setTabOrder(self.edtName, self.edtAddress)
        ItemEditorDialog.setTabOrder(self.edtAddress, self.cmbType)
        ItemEditorDialog.setTabOrder(self.cmbType, self.cmbNet)
        ItemEditorDialog.setTabOrder(self.cmbNet, self.cmbChief)
        ItemEditorDialog.setTabOrder(self.cmbChief, self.cmbHeadNurse)
        ItemEditorDialog.setTabOrder(self.cmbHeadNurse, self.edtInfisCode)
        ItemEditorDialog.setTabOrder(self.edtInfisCode,
                                     self.edtInfisInternalCode)
        ItemEditorDialog.setTabOrder(self.edtInfisInternalCode,
                                     self.edtInfisDepTypeCode)
        ItemEditorDialog.setTabOrder(self.edtInfisDepTypeCode,
                                     self.edtInfisTariffCode)
        ItemEditorDialog.setTabOrder(self.edtInfisTariffCode, self.cmbIsArea)
        ItemEditorDialog.setTabOrder(self.cmbIsArea, self.chkHasHospitalBeds)
        ItemEditorDialog.setTabOrder(self.chkHasHospitalBeds,
                                     self.chkHasStocks)
        ItemEditorDialog.setTabOrder(self.chkHasStocks, self.tblAddress)
        ItemEditorDialog.setTabOrder(self.tblAddress, self.tblHospitalBeds)
        ItemEditorDialog.setTabOrder(self.tblHospitalBeds, self.tblJobs)
        ItemEditorDialog.setTabOrder(self.tblJobs, self.chkInheritGaps)
        ItemEditorDialog.setTabOrder(self.chkInheritGaps, self.tblGaps)
        ItemEditorDialog.setTabOrder(self.tblGaps, self.chkInheritEventTypes)
        ItemEditorDialog.setTabOrder(self.chkInheritEventTypes,
                                     self.tblEventTypes)
        ItemEditorDialog.setTabOrder(self.tblEventTypes,
                                     self.chkInheritActionTypes)
        ItemEditorDialog.setTabOrder(self.chkInheritActionTypes,
                                     self.tblActionTypes)
        ItemEditorDialog.setTabOrder(self.tblActionTypes,
                                     self.tblDisabledAttendance)
        ItemEditorDialog.setTabOrder(self.tblDisabledAttendance,
                                     self.tblStocks)
        ItemEditorDialog.setTabOrder(self.tblStocks, self.buttonBox)
        ItemEditorDialog.setTabOrder(self.buttonBox, self.tblEquipments)
예제 #4
0
class Ui_ExchangeDialog(object):
    def setupUi(self, ExchangeDialog):
        ExchangeDialog.setObjectName(_fromUtf8("ExchangeDialog"))
        ExchangeDialog.resize(1244, 770)
        self.gridLayout = QtGui.QGridLayout(ExchangeDialog)
        self.gridLayout.setMargin(6)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(8)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(ExchangeDialog)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(ExchangeDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabPlanning = QtGui.QWidget()
        self.tabPlanning.setObjectName(_fromUtf8("tabPlanning"))
        self.gridLayout_8 = QtGui.QGridLayout(self.tabPlanning)
        self.gridLayout_8.setMargin(6)
        self.gridLayout_8.setSpacing(6)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setSpacing(4)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.line = QtGui.QFrame(self.tabPlanning)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_7.addWidget(self.line, 2, 0, 1, 2)
        self.tblPlanQuantities = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(40)
        sizePolicy.setHeightForWidth(self.tblPlanQuantities.sizePolicy().hasHeightForWidth())
        self.tblPlanQuantities.setSizePolicy(sizePolicy)
        self.tblPlanQuantities.setObjectName(_fromUtf8("tblPlanQuantities"))
        self.gridLayout_7.addWidget(self.tblPlanQuantities, 1, 1, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.lblPLanQuantities = QtGui.QLabel(self.tabPlanning)
        self.lblPLanQuantities.setWordWrap(True)
        self.lblPLanQuantities.setObjectName(_fromUtf8("lblPLanQuantities"))
        self.verticalLayout.addWidget(self.lblPLanQuantities)
        self.gridLayout_10 = QtGui.QGridLayout()
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.edtPlanningYear = QtGui.QSpinBox(self.tabPlanning)
        self.edtPlanningYear.setMinimum(2016)
        self.edtPlanningYear.setMaximum(2018)
        self.edtPlanningYear.setProperty("value", 2017)
        self.edtPlanningYear.setObjectName(_fromUtf8("edtPlanningYear"))
        self.gridLayout_10.addWidget(self.edtPlanningYear, 0, 1, 1, 1)
        self.lblPlanningYear = QtGui.QLabel(self.tabPlanning)
        self.lblPlanningYear.setObjectName(_fromUtf8("lblPlanningYear"))
        self.gridLayout_10.addWidget(self.lblPlanningYear, 0, 0, 1, 1)
        self.lblPlanningMonth = QtGui.QLabel(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPlanningMonth.sizePolicy().hasHeightForWidth())
        self.lblPlanningMonth.setSizePolicy(sizePolicy)
        self.lblPlanningMonth.setObjectName(_fromUtf8("lblPlanningMonth"))
        self.gridLayout_10.addWidget(self.lblPlanningMonth, 1, 0, 1, 1)
        self.cmbPlanningMonth = CEnumComboBox(self.tabPlanning)
        self.cmbPlanningMonth.setObjectName(_fromUtf8("cmbPlanningMonth"))
        self.gridLayout_10.addWidget(self.cmbPlanningMonth, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_10)
        self.btnGetPlanQuantities = QtGui.QPushButton(self.tabPlanning)
        self.btnGetPlanQuantities.setObjectName(_fromUtf8("btnGetPlanQuantities"))
        self.verticalLayout.addWidget(self.btnGetPlanQuantities)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.gridLayout_7.addLayout(self.verticalLayout, 1, 0, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.lblPlanDates = QtGui.QLabel(self.tabPlanning)
        self.lblPlanDates.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.lblPlanDates.setWordWrap(True)
        self.lblPlanDates.setObjectName(_fromUtf8("lblPlanDates"))
        self.verticalLayout_2.addWidget(self.lblPlanDates)
        self.btnGetPlanDates = QtGui.QPushButton(self.tabPlanning)
        self.btnGetPlanDates.setObjectName(_fromUtf8("btnGetPlanDates"))
        self.verticalLayout_2.addWidget(self.btnGetPlanDates)
        self.btnSendPlanDates = QtGui.QPushButton(self.tabPlanning)
        self.btnSendPlanDates.setObjectName(_fromUtf8("btnSendPlanDates"))
        self.verticalLayout_2.addWidget(self.btnSendPlanDates)
        spacerItem2 = QtGui.QSpacerItem(20, 80, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.gridLayout_7.addLayout(self.verticalLayout_2, 3, 0, 1, 1)
        self.tblPlanDates = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(80)
        sizePolicy.setHeightForWidth(self.tblPlanDates.sizePolicy().hasHeightForWidth())
        self.tblPlanDates.setSizePolicy(sizePolicy)
        self.tblPlanDates.setObjectName(_fromUtf8("tblPlanDates"))
        self.gridLayout_7.addWidget(self.tblPlanDates, 3, 1, 1, 1)
        self.tblContacts = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(40)
        sizePolicy.setHeightForWidth(self.tblContacts.sizePolicy().hasHeightForWidth())
        self.tblContacts.setSizePolicy(sizePolicy)
        self.tblContacts.setObjectName(_fromUtf8("tblContacts"))
        self.gridLayout_7.addWidget(self.tblContacts, 5, 1, 1, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.lblContacts = QtGui.QLabel(self.tabPlanning)
        self.lblContacts.setWordWrap(True)
        self.lblContacts.setObjectName(_fromUtf8("lblContacts"))
        self.verticalLayout_3.addWidget(self.lblContacts)
        self.btnGetContacts = QtGui.QPushButton(self.tabPlanning)
        self.btnGetContacts.setObjectName(_fromUtf8("btnGetContacts"))
        self.verticalLayout_3.addWidget(self.btnGetContacts)
        self.btnSendContacts = QtGui.QPushButton(self.tabPlanning)
        self.btnSendContacts.setObjectName(_fromUtf8("btnSendContacts"))
        self.verticalLayout_3.addWidget(self.btnSendContacts)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem3)
        self.gridLayout_7.addLayout(self.verticalLayout_3, 5, 0, 1, 1)
        self.line_2 = QtGui.QFrame(self.tabPlanning)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout_7.addWidget(self.line_2, 4, 0, 1, 2)
        self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPlanning, _fromUtf8(""))
        self.tabCreate = QtGui.QWidget()
        self.tabCreate.setObjectName(_fromUtf8("tabCreate"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabCreate)
        self.gridLayout_4.setMargin(6)
        self.gridLayout_4.setSpacing(6)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnCreate = QtGui.QPushButton(self.tabCreate)
        self.btnCreate.setEnabled(False)
        self.btnCreate.setObjectName(_fromUtf8("btnCreate"))
        self.horizontalLayout_2.addWidget(self.btnCreate)
        self.btnShow = QtGui.QPushButton(self.tabCreate)
        self.btnShow.setObjectName(_fromUtf8("btnShow"))
        self.horizontalLayout_2.addWidget(self.btnShow)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem5, 5, 0, 1, 1)
        self.grpPreventiveExam = QtGui.QGroupBox(self.tabCreate)
        self.grpPreventiveExam.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpPreventiveExam.sizePolicy().hasHeightForWidth())
        self.grpPreventiveExam.setSizePolicy(sizePolicy)
        self.grpPreventiveExam.setFlat(True)
        self.grpPreventiveExam.setCheckable(True)
        self.grpPreventiveExam.setChecked(False)
        self.grpPreventiveExam.setObjectName(_fromUtf8("grpPreventiveExam"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpPreventiveExam)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.lblPreventiveExamBirthYear = QtGui.QLabel(self.grpPreventiveExam)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPreventiveExamBirthYear.sizePolicy().hasHeightForWidth())
        self.lblPreventiveExamBirthYear.setSizePolicy(sizePolicy)
        self.lblPreventiveExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblPreventiveExamBirthYear.setObjectName(_fromUtf8("lblPreventiveExamBirthYear"))
        self.gridLayout_6.addWidget(self.lblPreventiveExamBirthYear, 0, 0, 1, 1)
        self.cmbPreventiveExamBirthYear = CMultiComboBox(self.grpPreventiveExam)
        self.cmbPreventiveExamBirthYear.setObjectName(_fromUtf8("cmbPreventiveExamBirthYear"))
        self.gridLayout_6.addWidget(self.cmbPreventiveExamBirthYear, 0, 1, 1, 1)
        self.gridLayout_4.addWidget(self.grpPreventiveExam, 3, 0, 1, 1)
        self.grpExtExam = QtGui.QGroupBox(self.tabCreate)
        self.grpExtExam.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpExtExam.sizePolicy().hasHeightForWidth())
        self.grpExtExam.setSizePolicy(sizePolicy)
        self.grpExtExam.setFlat(True)
        self.grpExtExam.setCheckable(True)
        self.grpExtExam.setChecked(False)
        self.grpExtExam.setObjectName(_fromUtf8("grpExtExam"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpExtExam)
        self.gridLayout_3.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblExtExamBirthYear = QtGui.QLabel(self.grpExtExam)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExtExamBirthYear.sizePolicy().hasHeightForWidth())
        self.lblExtExamBirthYear.setSizePolicy(sizePolicy)
        self.lblExtExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblExtExamBirthYear.setObjectName(_fromUtf8("lblExtExamBirthYear"))
        self.gridLayout_3.addWidget(self.lblExtExamBirthYear, 0, 0, 1, 1)
        self.cmbExtExamBirthYear = CMultiComboBox(self.grpExtExam)
        self.cmbExtExamBirthYear.setObjectName(_fromUtf8("cmbExtExamBirthYear"))
        self.gridLayout_3.addWidget(self.cmbExtExamBirthYear, 0, 1, 1, 2)
        self.gridLayout_4.addWidget(self.grpExtExam, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblYear = QtGui.QLabel(self.tabCreate)
        self.lblYear.setObjectName(_fromUtf8("lblYear"))
        self.horizontalLayout_3.addWidget(self.lblYear)
        self.cmbYear = CListComboBox(self.tabCreate)
        self.cmbYear.setObjectName(_fromUtf8("cmbYear"))
        self.horizontalLayout_3.addWidget(self.cmbYear)
        self.rbtnQuarter = QtGui.QRadioButton(self.tabCreate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rbtnQuarter.sizePolicy().hasHeightForWidth())
        self.rbtnQuarter.setSizePolicy(sizePolicy)
        self.rbtnQuarter.setChecked(True)
        self.rbtnQuarter.setObjectName(_fromUtf8("rbtnQuarter"))
        self.buttonGroup_2 = QtGui.QButtonGroup(ExchangeDialog)
        self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2"))
        self.buttonGroup_2.addButton(self.rbtnQuarter)
        self.horizontalLayout_3.addWidget(self.rbtnQuarter)
        self.cmbQuarter = CEnumComboBox(self.tabCreate)
        self.cmbQuarter.setObjectName(_fromUtf8("cmbQuarter"))
        self.horizontalLayout_3.addWidget(self.cmbQuarter)
        self.lblQuarter_2 = QtGui.QLabel(self.tabCreate)
        self.lblQuarter_2.setText(_fromUtf8(""))
        self.lblQuarter_2.setObjectName(_fromUtf8("lblQuarter_2"))
        self.horizontalLayout_3.addWidget(self.lblQuarter_2)
        self.rbtnMonth = QtGui.QRadioButton(self.tabCreate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rbtnMonth.sizePolicy().hasHeightForWidth())
        self.rbtnMonth.setSizePolicy(sizePolicy)
        self.rbtnMonth.setObjectName(_fromUtf8("rbtnMonth"))
        self.buttonGroup_2.addButton(self.rbtnMonth)
        self.horizontalLayout_3.addWidget(self.rbtnMonth)
        self.cmbMonth = CEnumComboBox(self.tabCreate)
        self.cmbMonth.setEnabled(False)
        self.cmbMonth.setObjectName(_fromUtf8("cmbMonth"))
        self.horizontalLayout_3.addWidget(self.cmbMonth)
        self.chkClientAttachSynced = QtGui.QCheckBox(self.tabCreate)
        self.chkClientAttachSynced.setChecked(True)
        self.chkClientAttachSynced.setObjectName(_fromUtf8("chkClientAttachSynced"))
        self.horizontalLayout_3.addWidget(self.chkClientAttachSynced)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem6)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.grpExtExamDisabled = QtGui.QGroupBox(self.tabCreate)
        self.grpExtExamDisabled.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpExtExamDisabled.sizePolicy().hasHeightForWidth())
        self.grpExtExamDisabled.setSizePolicy(sizePolicy)
        self.grpExtExamDisabled.setFlat(True)
        self.grpExtExamDisabled.setCheckable(True)
        self.grpExtExamDisabled.setChecked(False)
        self.grpExtExamDisabled.setObjectName(_fromUtf8("grpExtExamDisabled"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpExtExamDisabled)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblSocStatusClass = QtGui.QLabel(self.grpExtExamDisabled)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblSocStatusClass.sizePolicy().hasHeightForWidth())
        self.lblSocStatusClass.setSizePolicy(sizePolicy)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout_2.addWidget(self.lblSocStatusClass, 0, 0, 1, 1)
        self.cmbSocStatusClass = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout_2.addWidget(self.cmbSocStatusClass, 0, 1, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(self.grpExtExamDisabled)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout_2.addWidget(self.lblSocStatusType, 1, 0, 1, 1)
        self.cmbSocStatusType = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout_2.addWidget(self.cmbSocStatusType, 1, 1, 1, 1)
        self.lblBenefitType = QtGui.QLabel(self.grpExtExamDisabled)
        self.lblBenefitType.setObjectName(_fromUtf8("lblBenefitType"))
        self.gridLayout_2.addWidget(self.lblBenefitType, 2, 0, 1, 1)
        self.cmbBenefitType = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbBenefitType.setObjectName(_fromUtf8("cmbBenefitType"))
        self.gridLayout_2.addWidget(self.cmbBenefitType, 2, 1, 1, 1)
        self.gridLayout_4.addWidget(self.grpExtExamDisabled, 1, 0, 1, 1)
        self.grpExtExamDisabled.raise_()
        self.grpExtExam.raise_()
        self.grpPreventiveExam.raise_()
        self.tabWidget.addTab(self.tabCreate, _fromUtf8(""))
        self.tabShow = QtGui.QWidget()
        self.tabShow.setObjectName(_fromUtf8("tabShow"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabShow)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblClientExaminationPlan = CTableView(self.tabShow)
        self.tblClientExaminationPlan.setObjectName(_fromUtf8("tblClientExaminationPlan"))
        self.gridLayout_5.addWidget(self.tblClientExaminationPlan, 0, 0, 1, 1)
        self.gridTools = QtGui.QHBoxLayout()
        self.gridTools.setObjectName(_fromUtf8("gridTools"))
        self.btnReload = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnReload.sizePolicy().hasHeightForWidth())
        self.btnReload.setSizePolicy(sizePolicy)
        self.btnReload.setObjectName(_fromUtf8("btnReload"))
        self.gridTools.addWidget(self.btnReload)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridTools.addItem(spacerItem7)
        self.btnUpdateLists = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnUpdateLists.sizePolicy().hasHeightForWidth())
        self.btnUpdateLists.setSizePolicy(sizePolicy)
        self.btnUpdateLists.setObjectName(_fromUtf8("btnUpdateLists"))
        self.gridTools.addWidget(self.btnUpdateLists)
        self.btnGetFactInvoices = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnGetFactInvoices.sizePolicy().hasHeightForWidth())
        self.btnGetFactInvoices.setSizePolicy(sizePolicy)
        self.btnGetFactInvoices.setObjectName(_fromUtf8("btnGetFactInvoices"))
        self.gridTools.addWidget(self.btnGetFactInvoices)
        self.line_3 = QtGui.QFrame(self.tabShow)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.gridTools.addWidget(self.line_3)
        self.btnSendPlanList = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSendPlanList.sizePolicy().hasHeightForWidth())
        self.btnSendPlanList.setSizePolicy(sizePolicy)
        self.btnSendPlanList.setObjectName(_fromUtf8("btnSendPlanList"))
        self.gridTools.addWidget(self.btnSendPlanList)
        self.btnSendPlanExecs = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSendPlanExecs.sizePolicy().hasHeightForWidth())
        self.btnSendPlanExecs.setSizePolicy(sizePolicy)
        self.btnSendPlanExecs.setFlat(False)
        self.btnSendPlanExecs.setObjectName(_fromUtf8("btnSendPlanExecs"))
        self.gridTools.addWidget(self.btnSendPlanExecs)
        self.btnGetFactInfos = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnGetFactInfos.sizePolicy().hasHeightForWidth())
        self.btnGetFactInfos.setSizePolicy(sizePolicy)
        self.btnGetFactInfos.setObjectName(_fromUtf8("btnGetFactInfos"))
        self.gridTools.addWidget(self.btnGetFactInfos)
        self.line_4 = QtGui.QFrame(self.tabShow)
        self.line_4.setFrameShape(QtGui.QFrame.VLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.gridTools.addWidget(self.line_4)
        self.btnExportToFile = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnExportToFile.sizePolicy().hasHeightForWidth())
        self.btnExportToFile.setSizePolicy(sizePolicy)
        self.btnExportToFile.setObjectName(_fromUtf8("btnExportToFile"))
        self.gridTools.addWidget(self.btnExportToFile)
        self.gridLayout_5.addLayout(self.gridTools, 7, 0, 1, 1)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lblCount = QtGui.QLabel(self.tabShow)
        self.lblCount.setObjectName(_fromUtf8("lblCount"))
        self.horizontalLayout_4.addWidget(self.lblCount)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem8)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.gridLayout_9 = QtGui.QGridLayout()
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.cmbMonthFilter = CEnumComboBox(self.tabShow)
        self.cmbMonthFilter.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbMonthFilter.sizePolicy().hasHeightForWidth())
        self.cmbMonthFilter.setSizePolicy(sizePolicy)
        self.cmbMonthFilter.setObjectName(_fromUtf8("cmbMonthFilter"))
        self.gridLayout_9.addWidget(self.cmbMonthFilter, 0, 7, 1, 1)
        self.cmbExamKind = CEnumComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbExamKind.sizePolicy().hasHeightForWidth())
        self.cmbExamKind.setSizePolicy(sizePolicy)
        self.cmbExamKind.setObjectName(_fromUtf8("cmbExamKind"))
        self.gridLayout_9.addWidget(self.cmbExamKind, 0, 1, 1, 1)
        self.lblExamKind = QtGui.QLabel(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExamKind.sizePolicy().hasHeightForWidth())
        self.lblExamKind.setSizePolicy(sizePolicy)
        self.lblExamKind.setObjectName(_fromUtf8("lblExamKind"))
        self.gridLayout_9.addWidget(self.lblExamKind, 0, 0, 1, 1)
        self.label = QtGui.QLabel(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_9.addWidget(self.label, 0, 2, 1, 1)
        self.radioButton_2 = QtGui.QRadioButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth())
        self.radioButton_2.setSizePolicy(sizePolicy)
        self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
        self.buttonGroup = QtGui.QButtonGroup(ExchangeDialog)
        self.buttonGroup.setObjectName(_fromUtf8("buttonGroup"))
        self.buttonGroup.addButton(self.radioButton_2)
        self.gridLayout_9.addWidget(self.radioButton_2, 0, 6, 1, 1)
        self.radioButton = QtGui.QRadioButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radioButton.sizePolicy().hasHeightForWidth())
        self.radioButton.setSizePolicy(sizePolicy)
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName(_fromUtf8("radioButton"))
        self.buttonGroup.addButton(self.radioButton)
        self.gridLayout_9.addWidget(self.radioButton, 0, 4, 1, 1)
        self.cmbYearFilter = CListComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbYearFilter.sizePolicy().hasHeightForWidth())
        self.cmbYearFilter.setSizePolicy(sizePolicy)
        self.cmbYearFilter.setObjectName(_fromUtf8("cmbYearFilter"))
        self.gridLayout_9.addWidget(self.cmbYearFilter, 0, 3, 1, 1)
        self.cmbQuarterFilter = CEnumComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbQuarterFilter.sizePolicy().hasHeightForWidth())
        self.cmbQuarterFilter.setSizePolicy(sizePolicy)
        self.cmbQuarterFilter.setObjectName(_fromUtf8("cmbQuarterFilter"))
        self.gridLayout_9.addWidget(self.cmbQuarterFilter, 0, 5, 1, 1)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_9.addItem(spacerItem9, 0, 11, 1, 1)
        self.chkNotFinished = QtGui.QCheckBox(self.tabShow)
        self.chkNotFinished.setObjectName(_fromUtf8("chkNotFinished"))
        self.gridLayout_9.addWidget(self.chkNotFinished, 0, 8, 1, 1)
        self.chkHasErrors = QtGui.QCheckBox(self.tabShow)
        self.chkHasErrors.setObjectName(_fromUtf8("chkHasErrors"))
        self.gridLayout_9.addWidget(self.chkHasErrors, 0, 9, 1, 1)
        self.chkSendSelected = QtGui.QCheckBox(self.tabShow)
        self.chkSendSelected.setObjectName(_fromUtf8("chkSendSelected"))
        self.gridLayout_9.addWidget(self.chkSendSelected, 0, 10, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_9)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.lblOrgStructureFilter = QtGui.QLabel(self.tabShow)
        self.lblOrgStructureFilter.setObjectName(_fromUtf8("lblOrgStructureFilter"))
        self.horizontalLayout_5.addWidget(self.lblOrgStructureFilter)
        self.cmbOrgStructureFilter = COrgStructureComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOrgStructureFilter.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructureFilter.setSizePolicy(sizePolicy)
        self.cmbOrgStructureFilter.setObjectName(_fromUtf8("cmbOrgStructureFilter"))
        self.horizontalLayout_5.addWidget(self.cmbOrgStructureFilter)
        spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem10)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.gridLayout_5.addLayout(self.verticalLayout_4, 3, 0, 1, 1)
        self.tabWidget.addTab(self.tabShow, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ExchangeDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.radioButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarterFilter.setEnabled)
        QtCore.QObject.connect(self.radioButton_2, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonthFilter.setEnabled)
        QtCore.QObject.connect(self.rbtnQuarter, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarter.setEnabled)
        QtCore.QObject.connect(self.rbtnMonth, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonth.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ExchangeDialog)
        ExchangeDialog.setTabOrder(self.tabWidget, self.edtPlanningYear)
        ExchangeDialog.setTabOrder(self.edtPlanningYear, self.cmbPlanningMonth)
        ExchangeDialog.setTabOrder(self.cmbPlanningMonth, self.btnGetPlanQuantities)
        ExchangeDialog.setTabOrder(self.btnGetPlanQuantities, self.tblPlanQuantities)
        ExchangeDialog.setTabOrder(self.tblPlanQuantities, self.btnGetPlanDates)
        ExchangeDialog.setTabOrder(self.btnGetPlanDates, self.btnSendPlanDates)
        ExchangeDialog.setTabOrder(self.btnSendPlanDates, self.tblPlanDates)
        ExchangeDialog.setTabOrder(self.tblPlanDates, self.btnGetContacts)
        ExchangeDialog.setTabOrder(self.btnGetContacts, self.btnSendContacts)
        ExchangeDialog.setTabOrder(self.btnSendContacts, self.tblContacts)
        ExchangeDialog.setTabOrder(self.tblContacts, self.btnClose)
        ExchangeDialog.setTabOrder(self.btnClose, self.cmbYear)
        ExchangeDialog.setTabOrder(self.cmbYear, self.rbtnQuarter)
        ExchangeDialog.setTabOrder(self.rbtnQuarter, self.cmbQuarter)
        ExchangeDialog.setTabOrder(self.cmbQuarter, self.rbtnMonth)
        ExchangeDialog.setTabOrder(self.rbtnMonth, self.cmbMonth)
        ExchangeDialog.setTabOrder(self.cmbMonth, self.chkClientAttachSynced)
        ExchangeDialog.setTabOrder(self.chkClientAttachSynced, self.grpExtExamDisabled)
        ExchangeDialog.setTabOrder(self.grpExtExamDisabled, self.cmbSocStatusClass)
        ExchangeDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType)
        ExchangeDialog.setTabOrder(self.cmbSocStatusType, self.cmbBenefitType)
        ExchangeDialog.setTabOrder(self.cmbBenefitType, self.grpExtExam)
        ExchangeDialog.setTabOrder(self.grpExtExam, self.cmbExtExamBirthYear)
        ExchangeDialog.setTabOrder(self.cmbExtExamBirthYear, self.grpPreventiveExam)
        ExchangeDialog.setTabOrder(self.grpPreventiveExam, self.cmbPreventiveExamBirthYear)
        ExchangeDialog.setTabOrder(self.cmbPreventiveExamBirthYear, self.btnCreate)
        ExchangeDialog.setTabOrder(self.btnCreate, self.btnShow)
        ExchangeDialog.setTabOrder(self.btnShow, self.tblClientExaminationPlan)
        ExchangeDialog.setTabOrder(self.tblClientExaminationPlan, self.cmbExamKind)
        ExchangeDialog.setTabOrder(self.cmbExamKind, self.cmbYearFilter)
        ExchangeDialog.setTabOrder(self.cmbYearFilter, self.radioButton)
        ExchangeDialog.setTabOrder(self.radioButton, self.cmbQuarterFilter)
        ExchangeDialog.setTabOrder(self.cmbQuarterFilter, self.radioButton_2)
        ExchangeDialog.setTabOrder(self.radioButton_2, self.cmbMonthFilter)
        ExchangeDialog.setTabOrder(self.cmbMonthFilter, self.chkNotFinished)
        ExchangeDialog.setTabOrder(self.chkNotFinished, self.chkHasErrors)
        ExchangeDialog.setTabOrder(self.chkHasErrors, self.cmbOrgStructureFilter)
        ExchangeDialog.setTabOrder(self.cmbOrgStructureFilter, self.btnReload)
        ExchangeDialog.setTabOrder(self.btnReload, self.btnUpdateLists)
        ExchangeDialog.setTabOrder(self.btnUpdateLists, self.btnGetFactInvoices)
        ExchangeDialog.setTabOrder(self.btnGetFactInvoices, self.btnSendPlanList)
        ExchangeDialog.setTabOrder(self.btnSendPlanList, self.btnSendPlanExecs)
        ExchangeDialog.setTabOrder(self.btnSendPlanExecs, self.btnGetFactInfos)
        ExchangeDialog.setTabOrder(self.btnGetFactInfos, self.btnExportToFile)

    def retranslateUi(self, ExchangeDialog):
        ExchangeDialog.setWindowTitle(_translate("ExchangeDialog", "Диспансеризация и профилактические осмотры", None))
        self.btnClose.setText(_translate("ExchangeDialog", "Закрыть", None))
        self.lblPLanQuantities.setText(_translate("ExchangeDialog", "Планируемое количество на:", None))
        self.lblPlanningYear.setText(_translate("ExchangeDialog", "Год", None))
        self.lblPlanningMonth.setText(_translate("ExchangeDialog", "Месяц", None))
        self.btnGetPlanQuantities.setText(_translate("ExchangeDialog", "Получить данные", None))
        self.lblPlanDates.setText(_translate("ExchangeDialog", "Планируемые даты проведения проф. мероприятий", None))
        self.btnGetPlanDates.setText(_translate("ExchangeDialog", "Получить данные", None))
        self.btnSendPlanDates.setText(_translate("ExchangeDialog", "Отправить данные", None))
        self.lblContacts.setText(_translate("ExchangeDialog", "Список контактных телефонов МО по которым можно получить справочную информацию о проведении проф. мероприятий", None))
        self.btnGetContacts.setText(_translate("ExchangeDialog", "Получить данные", None))
        self.btnSendContacts.setText(_translate("ExchangeDialog", "Отправить данные", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPlanning), _translate("ExchangeDialog", "Планирование", None))
        self.btnCreate.setToolTip(_translate("ExchangeDialog", "Добавить отобранных пациентов в списки на диспансеризацию", None))
        self.btnCreate.setText(_translate("ExchangeDialog", "Сформировать списки", None))
        self.btnShow.setText(_translate("ExchangeDialog", "Просмотреть", None))
        self.grpPreventiveExam.setTitle(_translate("ExchangeDialog", "Профилактические осмотры", None))
        self.lblPreventiveExamBirthYear.setToolTip(_translate("ExchangeDialog", "Исполняется в текущем году", None))
        self.lblPreventiveExamBirthYear.setText(_translate("ExchangeDialog", "Года рождения", None))
        self.grpExtExam.setTitle(_translate("ExchangeDialog", "Диспансеризация взрослого населения", None))
        self.lblExtExamBirthYear.setToolTip(_translate("ExchangeDialog", "Исполняется в текущем году", None))
        self.lblExtExamBirthYear.setText(_translate("ExchangeDialog", "Года рождения", None))
        self.lblYear.setText(_translate("ExchangeDialog", "Год прохождения диспансеризации", None))
        self.rbtnQuarter.setText(_translate("ExchangeDialog", "Квартал", None))
        self.rbtnMonth.setText(_translate("ExchangeDialog", "Месяц", None))
        self.chkClientAttachSynced.setText(_translate("ExchangeDialog", "Прикрепление синхронизировано с ТФОМС", None))
        self.grpExtExamDisabled.setTitle(_translate("ExchangeDialog", "Диспансеризация инвалидов", None))
        self.lblSocStatusClass.setText(_translate("ExchangeDialog", "Класс соц. статуса", None))
        self.lblSocStatusType.setText(_translate("ExchangeDialog", "Тип соц. статуса", None))
        self.lblBenefitType.setText(_translate("ExchangeDialog", "Тип льготы", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCreate), _translate("ExchangeDialog", "Создание списков", None))
        self.btnReload.setText(_translate("ExchangeDialog", "Применить", None))
        self.btnUpdateLists.setText(_translate("ExchangeDialog", "Обновить списки", None))
        self.btnGetFactInvoices.setText(_translate("ExchangeDialog", "Получить данные\n"
"о фактически принятых к оплате счетах", None))
        self.btnSendPlanList.setText(_translate("ExchangeDialog", "Передать списки\n"
"в ТФОМС", None))
        self.btnSendPlanExecs.setText(_translate("ExchangeDialog", "Передать в ТФОМС\n"
"информацию о выполнении проф. мероприятий", None))
        self.btnGetFactInfos.setText(_translate("ExchangeDialog", "Получить данные\n"
"об информировании граждан", None))
        self.btnExportToFile.setText(_translate("ExchangeDialog", "Экспорт в файл", None))
        self.lblCount.setText(_translate("ExchangeDialog", "Записей в таблице: 0", None))
        self.lblExamKind.setText(_translate("ExchangeDialog", "Тип", None))
        self.label.setText(_translate("ExchangeDialog", "Год", None))
        self.radioButton_2.setText(_translate("ExchangeDialog", "Месяц", None))
        self.radioButton.setText(_translate("ExchangeDialog", "Квартал", None))
        self.chkNotFinished.setText(_translate("ExchangeDialog", "Не прошедшие", None))
        self.chkHasErrors.setText(_translate("ExchangeDialog", "С ошибками", None))
        self.chkSendSelected.setText(_translate("ExchangeDialog", "Отправлять выбранные записи", None))
        self.lblOrgStructureFilter.setText(_translate("ExchangeDialog", "Участок", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabShow), _translate("ExchangeDialog", "Работа со списками", None))
예제 #5
0
    def setupUi(self, ExchangeDialog):
        ExchangeDialog.setObjectName(_fromUtf8("ExchangeDialog"))
        ExchangeDialog.resize(1244, 770)
        self.gridLayout = QtGui.QGridLayout(ExchangeDialog)
        self.gridLayout.setMargin(6)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(8)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(ExchangeDialog)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(ExchangeDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabPlanning = QtGui.QWidget()
        self.tabPlanning.setObjectName(_fromUtf8("tabPlanning"))
        self.gridLayout_8 = QtGui.QGridLayout(self.tabPlanning)
        self.gridLayout_8.setMargin(6)
        self.gridLayout_8.setSpacing(6)
        self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8"))
        self.gridLayout_7 = QtGui.QGridLayout()
        self.gridLayout_7.setSpacing(4)
        self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
        self.line = QtGui.QFrame(self.tabPlanning)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_7.addWidget(self.line, 2, 0, 1, 2)
        self.tblPlanQuantities = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(40)
        sizePolicy.setHeightForWidth(self.tblPlanQuantities.sizePolicy().hasHeightForWidth())
        self.tblPlanQuantities.setSizePolicy(sizePolicy)
        self.tblPlanQuantities.setObjectName(_fromUtf8("tblPlanQuantities"))
        self.gridLayout_7.addWidget(self.tblPlanQuantities, 1, 1, 1, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.lblPLanQuantities = QtGui.QLabel(self.tabPlanning)
        self.lblPLanQuantities.setWordWrap(True)
        self.lblPLanQuantities.setObjectName(_fromUtf8("lblPLanQuantities"))
        self.verticalLayout.addWidget(self.lblPLanQuantities)
        self.gridLayout_10 = QtGui.QGridLayout()
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.edtPlanningYear = QtGui.QSpinBox(self.tabPlanning)
        self.edtPlanningYear.setMinimum(2016)
        self.edtPlanningYear.setMaximum(2018)
        self.edtPlanningYear.setProperty("value", 2017)
        self.edtPlanningYear.setObjectName(_fromUtf8("edtPlanningYear"))
        self.gridLayout_10.addWidget(self.edtPlanningYear, 0, 1, 1, 1)
        self.lblPlanningYear = QtGui.QLabel(self.tabPlanning)
        self.lblPlanningYear.setObjectName(_fromUtf8("lblPlanningYear"))
        self.gridLayout_10.addWidget(self.lblPlanningYear, 0, 0, 1, 1)
        self.lblPlanningMonth = QtGui.QLabel(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPlanningMonth.sizePolicy().hasHeightForWidth())
        self.lblPlanningMonth.setSizePolicy(sizePolicy)
        self.lblPlanningMonth.setObjectName(_fromUtf8("lblPlanningMonth"))
        self.gridLayout_10.addWidget(self.lblPlanningMonth, 1, 0, 1, 1)
        self.cmbPlanningMonth = CEnumComboBox(self.tabPlanning)
        self.cmbPlanningMonth.setObjectName(_fromUtf8("cmbPlanningMonth"))
        self.gridLayout_10.addWidget(self.cmbPlanningMonth, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_10)
        self.btnGetPlanQuantities = QtGui.QPushButton(self.tabPlanning)
        self.btnGetPlanQuantities.setObjectName(_fromUtf8("btnGetPlanQuantities"))
        self.verticalLayout.addWidget(self.btnGetPlanQuantities)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.gridLayout_7.addLayout(self.verticalLayout, 1, 0, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.lblPlanDates = QtGui.QLabel(self.tabPlanning)
        self.lblPlanDates.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.lblPlanDates.setWordWrap(True)
        self.lblPlanDates.setObjectName(_fromUtf8("lblPlanDates"))
        self.verticalLayout_2.addWidget(self.lblPlanDates)
        self.btnGetPlanDates = QtGui.QPushButton(self.tabPlanning)
        self.btnGetPlanDates.setObjectName(_fromUtf8("btnGetPlanDates"))
        self.verticalLayout_2.addWidget(self.btnGetPlanDates)
        self.btnSendPlanDates = QtGui.QPushButton(self.tabPlanning)
        self.btnSendPlanDates.setObjectName(_fromUtf8("btnSendPlanDates"))
        self.verticalLayout_2.addWidget(self.btnSendPlanDates)
        spacerItem2 = QtGui.QSpacerItem(20, 80, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem2)
        self.gridLayout_7.addLayout(self.verticalLayout_2, 3, 0, 1, 1)
        self.tblPlanDates = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(80)
        sizePolicy.setHeightForWidth(self.tblPlanDates.sizePolicy().hasHeightForWidth())
        self.tblPlanDates.setSizePolicy(sizePolicy)
        self.tblPlanDates.setObjectName(_fromUtf8("tblPlanDates"))
        self.gridLayout_7.addWidget(self.tblPlanDates, 3, 1, 1, 1)
        self.tblContacts = CItemListView(self.tabPlanning)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(40)
        sizePolicy.setHeightForWidth(self.tblContacts.sizePolicy().hasHeightForWidth())
        self.tblContacts.setSizePolicy(sizePolicy)
        self.tblContacts.setObjectName(_fromUtf8("tblContacts"))
        self.gridLayout_7.addWidget(self.tblContacts, 5, 1, 1, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.lblContacts = QtGui.QLabel(self.tabPlanning)
        self.lblContacts.setWordWrap(True)
        self.lblContacts.setObjectName(_fromUtf8("lblContacts"))
        self.verticalLayout_3.addWidget(self.lblContacts)
        self.btnGetContacts = QtGui.QPushButton(self.tabPlanning)
        self.btnGetContacts.setObjectName(_fromUtf8("btnGetContacts"))
        self.verticalLayout_3.addWidget(self.btnGetContacts)
        self.btnSendContacts = QtGui.QPushButton(self.tabPlanning)
        self.btnSendContacts.setObjectName(_fromUtf8("btnSendContacts"))
        self.verticalLayout_3.addWidget(self.btnSendContacts)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem3)
        self.gridLayout_7.addLayout(self.verticalLayout_3, 5, 0, 1, 1)
        self.line_2 = QtGui.QFrame(self.tabPlanning)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout_7.addWidget(self.line_2, 4, 0, 1, 2)
        self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPlanning, _fromUtf8(""))
        self.tabCreate = QtGui.QWidget()
        self.tabCreate.setObjectName(_fromUtf8("tabCreate"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabCreate)
        self.gridLayout_4.setMargin(6)
        self.gridLayout_4.setSpacing(6)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnCreate = QtGui.QPushButton(self.tabCreate)
        self.btnCreate.setEnabled(False)
        self.btnCreate.setObjectName(_fromUtf8("btnCreate"))
        self.horizontalLayout_2.addWidget(self.btnCreate)
        self.btnShow = QtGui.QPushButton(self.tabCreate)
        self.btnShow.setObjectName(_fromUtf8("btnShow"))
        self.horizontalLayout_2.addWidget(self.btnShow)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem4)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem5, 5, 0, 1, 1)
        self.grpPreventiveExam = QtGui.QGroupBox(self.tabCreate)
        self.grpPreventiveExam.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpPreventiveExam.sizePolicy().hasHeightForWidth())
        self.grpPreventiveExam.setSizePolicy(sizePolicy)
        self.grpPreventiveExam.setFlat(True)
        self.grpPreventiveExam.setCheckable(True)
        self.grpPreventiveExam.setChecked(False)
        self.grpPreventiveExam.setObjectName(_fromUtf8("grpPreventiveExam"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpPreventiveExam)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.lblPreventiveExamBirthYear = QtGui.QLabel(self.grpPreventiveExam)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPreventiveExamBirthYear.sizePolicy().hasHeightForWidth())
        self.lblPreventiveExamBirthYear.setSizePolicy(sizePolicy)
        self.lblPreventiveExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblPreventiveExamBirthYear.setObjectName(_fromUtf8("lblPreventiveExamBirthYear"))
        self.gridLayout_6.addWidget(self.lblPreventiveExamBirthYear, 0, 0, 1, 1)
        self.cmbPreventiveExamBirthYear = CMultiComboBox(self.grpPreventiveExam)
        self.cmbPreventiveExamBirthYear.setObjectName(_fromUtf8("cmbPreventiveExamBirthYear"))
        self.gridLayout_6.addWidget(self.cmbPreventiveExamBirthYear, 0, 1, 1, 1)
        self.gridLayout_4.addWidget(self.grpPreventiveExam, 3, 0, 1, 1)
        self.grpExtExam = QtGui.QGroupBox(self.tabCreate)
        self.grpExtExam.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpExtExam.sizePolicy().hasHeightForWidth())
        self.grpExtExam.setSizePolicy(sizePolicy)
        self.grpExtExam.setFlat(True)
        self.grpExtExam.setCheckable(True)
        self.grpExtExam.setChecked(False)
        self.grpExtExam.setObjectName(_fromUtf8("grpExtExam"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpExtExam)
        self.gridLayout_3.setSizeConstraint(QtGui.QLayout.SetMaximumSize)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblExtExamBirthYear = QtGui.QLabel(self.grpExtExam)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExtExamBirthYear.sizePolicy().hasHeightForWidth())
        self.lblExtExamBirthYear.setSizePolicy(sizePolicy)
        self.lblExtExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblExtExamBirthYear.setObjectName(_fromUtf8("lblExtExamBirthYear"))
        self.gridLayout_3.addWidget(self.lblExtExamBirthYear, 0, 0, 1, 1)
        self.cmbExtExamBirthYear = CMultiComboBox(self.grpExtExam)
        self.cmbExtExamBirthYear.setObjectName(_fromUtf8("cmbExtExamBirthYear"))
        self.gridLayout_3.addWidget(self.cmbExtExamBirthYear, 0, 1, 1, 2)
        self.gridLayout_4.addWidget(self.grpExtExam, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lblYear = QtGui.QLabel(self.tabCreate)
        self.lblYear.setObjectName(_fromUtf8("lblYear"))
        self.horizontalLayout_3.addWidget(self.lblYear)
        self.cmbYear = CListComboBox(self.tabCreate)
        self.cmbYear.setObjectName(_fromUtf8("cmbYear"))
        self.horizontalLayout_3.addWidget(self.cmbYear)
        self.rbtnQuarter = QtGui.QRadioButton(self.tabCreate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rbtnQuarter.sizePolicy().hasHeightForWidth())
        self.rbtnQuarter.setSizePolicy(sizePolicy)
        self.rbtnQuarter.setChecked(True)
        self.rbtnQuarter.setObjectName(_fromUtf8("rbtnQuarter"))
        self.buttonGroup_2 = QtGui.QButtonGroup(ExchangeDialog)
        self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2"))
        self.buttonGroup_2.addButton(self.rbtnQuarter)
        self.horizontalLayout_3.addWidget(self.rbtnQuarter)
        self.cmbQuarter = CEnumComboBox(self.tabCreate)
        self.cmbQuarter.setObjectName(_fromUtf8("cmbQuarter"))
        self.horizontalLayout_3.addWidget(self.cmbQuarter)
        self.lblQuarter_2 = QtGui.QLabel(self.tabCreate)
        self.lblQuarter_2.setText(_fromUtf8(""))
        self.lblQuarter_2.setObjectName(_fromUtf8("lblQuarter_2"))
        self.horizontalLayout_3.addWidget(self.lblQuarter_2)
        self.rbtnMonth = QtGui.QRadioButton(self.tabCreate)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rbtnMonth.sizePolicy().hasHeightForWidth())
        self.rbtnMonth.setSizePolicy(sizePolicy)
        self.rbtnMonth.setObjectName(_fromUtf8("rbtnMonth"))
        self.buttonGroup_2.addButton(self.rbtnMonth)
        self.horizontalLayout_3.addWidget(self.rbtnMonth)
        self.cmbMonth = CEnumComboBox(self.tabCreate)
        self.cmbMonth.setEnabled(False)
        self.cmbMonth.setObjectName(_fromUtf8("cmbMonth"))
        self.horizontalLayout_3.addWidget(self.cmbMonth)
        self.chkClientAttachSynced = QtGui.QCheckBox(self.tabCreate)
        self.chkClientAttachSynced.setChecked(True)
        self.chkClientAttachSynced.setObjectName(_fromUtf8("chkClientAttachSynced"))
        self.horizontalLayout_3.addWidget(self.chkClientAttachSynced)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem6)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 0, 1, 1)
        self.grpExtExamDisabled = QtGui.QGroupBox(self.tabCreate)
        self.grpExtExamDisabled.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.grpExtExamDisabled.sizePolicy().hasHeightForWidth())
        self.grpExtExamDisabled.setSizePolicy(sizePolicy)
        self.grpExtExamDisabled.setFlat(True)
        self.grpExtExamDisabled.setCheckable(True)
        self.grpExtExamDisabled.setChecked(False)
        self.grpExtExamDisabled.setObjectName(_fromUtf8("grpExtExamDisabled"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpExtExamDisabled)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblSocStatusClass = QtGui.QLabel(self.grpExtExamDisabled)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblSocStatusClass.sizePolicy().hasHeightForWidth())
        self.lblSocStatusClass.setSizePolicy(sizePolicy)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout_2.addWidget(self.lblSocStatusClass, 0, 0, 1, 1)
        self.cmbSocStatusClass = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout_2.addWidget(self.cmbSocStatusClass, 0, 1, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(self.grpExtExamDisabled)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout_2.addWidget(self.lblSocStatusType, 1, 0, 1, 1)
        self.cmbSocStatusType = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout_2.addWidget(self.cmbSocStatusType, 1, 1, 1, 1)
        self.lblBenefitType = QtGui.QLabel(self.grpExtExamDisabled)
        self.lblBenefitType.setObjectName(_fromUtf8("lblBenefitType"))
        self.gridLayout_2.addWidget(self.lblBenefitType, 2, 0, 1, 1)
        self.cmbBenefitType = CRBMultiComboBox(self.grpExtExamDisabled)
        self.cmbBenefitType.setObjectName(_fromUtf8("cmbBenefitType"))
        self.gridLayout_2.addWidget(self.cmbBenefitType, 2, 1, 1, 1)
        self.gridLayout_4.addWidget(self.grpExtExamDisabled, 1, 0, 1, 1)
        self.grpExtExamDisabled.raise_()
        self.grpExtExam.raise_()
        self.grpPreventiveExam.raise_()
        self.tabWidget.addTab(self.tabCreate, _fromUtf8(""))
        self.tabShow = QtGui.QWidget()
        self.tabShow.setObjectName(_fromUtf8("tabShow"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabShow)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblClientExaminationPlan = CTableView(self.tabShow)
        self.tblClientExaminationPlan.setObjectName(_fromUtf8("tblClientExaminationPlan"))
        self.gridLayout_5.addWidget(self.tblClientExaminationPlan, 0, 0, 1, 1)
        self.gridTools = QtGui.QHBoxLayout()
        self.gridTools.setObjectName(_fromUtf8("gridTools"))
        self.btnReload = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnReload.sizePolicy().hasHeightForWidth())
        self.btnReload.setSizePolicy(sizePolicy)
        self.btnReload.setObjectName(_fromUtf8("btnReload"))
        self.gridTools.addWidget(self.btnReload)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridTools.addItem(spacerItem7)
        self.btnUpdateLists = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnUpdateLists.sizePolicy().hasHeightForWidth())
        self.btnUpdateLists.setSizePolicy(sizePolicy)
        self.btnUpdateLists.setObjectName(_fromUtf8("btnUpdateLists"))
        self.gridTools.addWidget(self.btnUpdateLists)
        self.btnGetFactInvoices = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnGetFactInvoices.sizePolicy().hasHeightForWidth())
        self.btnGetFactInvoices.setSizePolicy(sizePolicy)
        self.btnGetFactInvoices.setObjectName(_fromUtf8("btnGetFactInvoices"))
        self.gridTools.addWidget(self.btnGetFactInvoices)
        self.line_3 = QtGui.QFrame(self.tabShow)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName(_fromUtf8("line_3"))
        self.gridTools.addWidget(self.line_3)
        self.btnSendPlanList = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSendPlanList.sizePolicy().hasHeightForWidth())
        self.btnSendPlanList.setSizePolicy(sizePolicy)
        self.btnSendPlanList.setObjectName(_fromUtf8("btnSendPlanList"))
        self.gridTools.addWidget(self.btnSendPlanList)
        self.btnSendPlanExecs = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSendPlanExecs.sizePolicy().hasHeightForWidth())
        self.btnSendPlanExecs.setSizePolicy(sizePolicy)
        self.btnSendPlanExecs.setFlat(False)
        self.btnSendPlanExecs.setObjectName(_fromUtf8("btnSendPlanExecs"))
        self.gridTools.addWidget(self.btnSendPlanExecs)
        self.btnGetFactInfos = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnGetFactInfos.sizePolicy().hasHeightForWidth())
        self.btnGetFactInfos.setSizePolicy(sizePolicy)
        self.btnGetFactInfos.setObjectName(_fromUtf8("btnGetFactInfos"))
        self.gridTools.addWidget(self.btnGetFactInfos)
        self.line_4 = QtGui.QFrame(self.tabShow)
        self.line_4.setFrameShape(QtGui.QFrame.VLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName(_fromUtf8("line_4"))
        self.gridTools.addWidget(self.line_4)
        self.btnExportToFile = QtGui.QPushButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnExportToFile.sizePolicy().hasHeightForWidth())
        self.btnExportToFile.setSizePolicy(sizePolicy)
        self.btnExportToFile.setObjectName(_fromUtf8("btnExportToFile"))
        self.gridTools.addWidget(self.btnExportToFile)
        self.gridLayout_5.addLayout(self.gridTools, 7, 0, 1, 1)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.lblCount = QtGui.QLabel(self.tabShow)
        self.lblCount.setObjectName(_fromUtf8("lblCount"))
        self.horizontalLayout_4.addWidget(self.lblCount)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem8)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.gridLayout_9 = QtGui.QGridLayout()
        self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9"))
        self.cmbMonthFilter = CEnumComboBox(self.tabShow)
        self.cmbMonthFilter.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbMonthFilter.sizePolicy().hasHeightForWidth())
        self.cmbMonthFilter.setSizePolicy(sizePolicy)
        self.cmbMonthFilter.setObjectName(_fromUtf8("cmbMonthFilter"))
        self.gridLayout_9.addWidget(self.cmbMonthFilter, 0, 7, 1, 1)
        self.cmbExamKind = CEnumComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbExamKind.sizePolicy().hasHeightForWidth())
        self.cmbExamKind.setSizePolicy(sizePolicy)
        self.cmbExamKind.setObjectName(_fromUtf8("cmbExamKind"))
        self.gridLayout_9.addWidget(self.cmbExamKind, 0, 1, 1, 1)
        self.lblExamKind = QtGui.QLabel(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExamKind.sizePolicy().hasHeightForWidth())
        self.lblExamKind.setSizePolicy(sizePolicy)
        self.lblExamKind.setObjectName(_fromUtf8("lblExamKind"))
        self.gridLayout_9.addWidget(self.lblExamKind, 0, 0, 1, 1)
        self.label = QtGui.QLabel(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_9.addWidget(self.label, 0, 2, 1, 1)
        self.radioButton_2 = QtGui.QRadioButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth())
        self.radioButton_2.setSizePolicy(sizePolicy)
        self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
        self.buttonGroup = QtGui.QButtonGroup(ExchangeDialog)
        self.buttonGroup.setObjectName(_fromUtf8("buttonGroup"))
        self.buttonGroup.addButton(self.radioButton_2)
        self.gridLayout_9.addWidget(self.radioButton_2, 0, 6, 1, 1)
        self.radioButton = QtGui.QRadioButton(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radioButton.sizePolicy().hasHeightForWidth())
        self.radioButton.setSizePolicy(sizePolicy)
        self.radioButton.setChecked(True)
        self.radioButton.setObjectName(_fromUtf8("radioButton"))
        self.buttonGroup.addButton(self.radioButton)
        self.gridLayout_9.addWidget(self.radioButton, 0, 4, 1, 1)
        self.cmbYearFilter = CListComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbYearFilter.sizePolicy().hasHeightForWidth())
        self.cmbYearFilter.setSizePolicy(sizePolicy)
        self.cmbYearFilter.setObjectName(_fromUtf8("cmbYearFilter"))
        self.gridLayout_9.addWidget(self.cmbYearFilter, 0, 3, 1, 1)
        self.cmbQuarterFilter = CEnumComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbQuarterFilter.sizePolicy().hasHeightForWidth())
        self.cmbQuarterFilter.setSizePolicy(sizePolicy)
        self.cmbQuarterFilter.setObjectName(_fromUtf8("cmbQuarterFilter"))
        self.gridLayout_9.addWidget(self.cmbQuarterFilter, 0, 5, 1, 1)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_9.addItem(spacerItem9, 0, 11, 1, 1)
        self.chkNotFinished = QtGui.QCheckBox(self.tabShow)
        self.chkNotFinished.setObjectName(_fromUtf8("chkNotFinished"))
        self.gridLayout_9.addWidget(self.chkNotFinished, 0, 8, 1, 1)
        self.chkHasErrors = QtGui.QCheckBox(self.tabShow)
        self.chkHasErrors.setObjectName(_fromUtf8("chkHasErrors"))
        self.gridLayout_9.addWidget(self.chkHasErrors, 0, 9, 1, 1)
        self.chkSendSelected = QtGui.QCheckBox(self.tabShow)
        self.chkSendSelected.setObjectName(_fromUtf8("chkSendSelected"))
        self.gridLayout_9.addWidget(self.chkSendSelected, 0, 10, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_9)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.lblOrgStructureFilter = QtGui.QLabel(self.tabShow)
        self.lblOrgStructureFilter.setObjectName(_fromUtf8("lblOrgStructureFilter"))
        self.horizontalLayout_5.addWidget(self.lblOrgStructureFilter)
        self.cmbOrgStructureFilter = COrgStructureComboBox(self.tabShow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOrgStructureFilter.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructureFilter.setSizePolicy(sizePolicy)
        self.cmbOrgStructureFilter.setObjectName(_fromUtf8("cmbOrgStructureFilter"))
        self.horizontalLayout_5.addWidget(self.cmbOrgStructureFilter)
        spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem10)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.gridLayout_5.addLayout(self.verticalLayout_4, 3, 0, 1, 1)
        self.tabWidget.addTab(self.tabShow, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ExchangeDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.radioButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarterFilter.setEnabled)
        QtCore.QObject.connect(self.radioButton_2, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonthFilter.setEnabled)
        QtCore.QObject.connect(self.rbtnQuarter, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarter.setEnabled)
        QtCore.QObject.connect(self.rbtnMonth, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonth.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ExchangeDialog)
        ExchangeDialog.setTabOrder(self.tabWidget, self.edtPlanningYear)
        ExchangeDialog.setTabOrder(self.edtPlanningYear, self.cmbPlanningMonth)
        ExchangeDialog.setTabOrder(self.cmbPlanningMonth, self.btnGetPlanQuantities)
        ExchangeDialog.setTabOrder(self.btnGetPlanQuantities, self.tblPlanQuantities)
        ExchangeDialog.setTabOrder(self.tblPlanQuantities, self.btnGetPlanDates)
        ExchangeDialog.setTabOrder(self.btnGetPlanDates, self.btnSendPlanDates)
        ExchangeDialog.setTabOrder(self.btnSendPlanDates, self.tblPlanDates)
        ExchangeDialog.setTabOrder(self.tblPlanDates, self.btnGetContacts)
        ExchangeDialog.setTabOrder(self.btnGetContacts, self.btnSendContacts)
        ExchangeDialog.setTabOrder(self.btnSendContacts, self.tblContacts)
        ExchangeDialog.setTabOrder(self.tblContacts, self.btnClose)
        ExchangeDialog.setTabOrder(self.btnClose, self.cmbYear)
        ExchangeDialog.setTabOrder(self.cmbYear, self.rbtnQuarter)
        ExchangeDialog.setTabOrder(self.rbtnQuarter, self.cmbQuarter)
        ExchangeDialog.setTabOrder(self.cmbQuarter, self.rbtnMonth)
        ExchangeDialog.setTabOrder(self.rbtnMonth, self.cmbMonth)
        ExchangeDialog.setTabOrder(self.cmbMonth, self.chkClientAttachSynced)
        ExchangeDialog.setTabOrder(self.chkClientAttachSynced, self.grpExtExamDisabled)
        ExchangeDialog.setTabOrder(self.grpExtExamDisabled, self.cmbSocStatusClass)
        ExchangeDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType)
        ExchangeDialog.setTabOrder(self.cmbSocStatusType, self.cmbBenefitType)
        ExchangeDialog.setTabOrder(self.cmbBenefitType, self.grpExtExam)
        ExchangeDialog.setTabOrder(self.grpExtExam, self.cmbExtExamBirthYear)
        ExchangeDialog.setTabOrder(self.cmbExtExamBirthYear, self.grpPreventiveExam)
        ExchangeDialog.setTabOrder(self.grpPreventiveExam, self.cmbPreventiveExamBirthYear)
        ExchangeDialog.setTabOrder(self.cmbPreventiveExamBirthYear, self.btnCreate)
        ExchangeDialog.setTabOrder(self.btnCreate, self.btnShow)
        ExchangeDialog.setTabOrder(self.btnShow, self.tblClientExaminationPlan)
        ExchangeDialog.setTabOrder(self.tblClientExaminationPlan, self.cmbExamKind)
        ExchangeDialog.setTabOrder(self.cmbExamKind, self.cmbYearFilter)
        ExchangeDialog.setTabOrder(self.cmbYearFilter, self.radioButton)
        ExchangeDialog.setTabOrder(self.radioButton, self.cmbQuarterFilter)
        ExchangeDialog.setTabOrder(self.cmbQuarterFilter, self.radioButton_2)
        ExchangeDialog.setTabOrder(self.radioButton_2, self.cmbMonthFilter)
        ExchangeDialog.setTabOrder(self.cmbMonthFilter, self.chkNotFinished)
        ExchangeDialog.setTabOrder(self.chkNotFinished, self.chkHasErrors)
        ExchangeDialog.setTabOrder(self.chkHasErrors, self.cmbOrgStructureFilter)
        ExchangeDialog.setTabOrder(self.cmbOrgStructureFilter, self.btnReload)
        ExchangeDialog.setTabOrder(self.btnReload, self.btnUpdateLists)
        ExchangeDialog.setTabOrder(self.btnUpdateLists, self.btnGetFactInvoices)
        ExchangeDialog.setTabOrder(self.btnGetFactInvoices, self.btnSendPlanList)
        ExchangeDialog.setTabOrder(self.btnSendPlanList, self.btnSendPlanExecs)
        ExchangeDialog.setTabOrder(self.btnSendPlanExecs, self.btnGetFactInfos)
        ExchangeDialog.setTabOrder(self.btnGetFactInfos, self.btnExportToFile)
예제 #6
0
class Ui_PersonsListDialog(object):
    def setupUi(self, PersonsListDialog):
        PersonsListDialog.setObjectName(_fromUtf8("PersonsListDialog"))
        PersonsListDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PersonsListDialog.resize(908, 717)
        PersonsListDialog.setSizeGripEnabled(True)
        PersonsListDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(PersonsListDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblItems = CTableView(PersonsListDialog)
        self.tblItems.setTabKeyNavigation(False)
        self.tblItems.setAlternatingRowColors(True)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 30, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(PersonsListDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.chkOnlyOwn = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyOwn.setChecked(True)
        self.chkOnlyOwn.setObjectName(_fromUtf8("chkOnlyOwn"))
        self.hboxlayout.addWidget(self.chkOnlyOwn)
        self.chkOnlyWorking = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyWorking.setChecked(True)
        self.chkOnlyWorking.setObjectName(_fromUtf8("chkOnlyWorking"))
        self.hboxlayout.addWidget(self.chkOnlyWorking)
        self.chkOnlyResearcher = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyResearcher.setObjectName(_fromUtf8("chkOnlyResearcher"))
        self.hboxlayout.addWidget(self.chkOnlyResearcher)
        self.btnSync = QtGui.QPushButton(PersonsListDialog)
        self.btnSync.setObjectName(_fromUtf8("btnSync"))
        self.hboxlayout.addWidget(self.btnSync)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(PersonsListDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.hboxlayout.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.hboxlayout, 32, 0, 1, 2)
        self.tabWidget = QtGui.QTabWidget(PersonsListDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabWidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabCommon = QtGui.QWidget()
        self.tabCommon.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabCommon.setObjectName(_fromUtf8("tabCommon"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabCommon)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkSpec = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpec.sizePolicy().hasHeightForWidth())
        self.chkSpec.setSizePolicy(sizePolicy)
        self.chkSpec.setObjectName(_fromUtf8("chkSpec"))
        self.gridLayout_2.addWidget(self.chkSpec, 11, 0, 1, 1)
        self.chkUserRightsProfile = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkUserRightsProfile.sizePolicy().hasHeightForWidth())
        self.chkUserRightsProfile.setSizePolicy(sizePolicy)
        self.chkUserRightsProfile.setObjectName(
            _fromUtf8("chkUserRightsProfile"))
        self.gridLayout_2.addWidget(self.chkUserRightsProfile, 4, 2, 1, 1)
        self.chkLPU = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkLPU.sizePolicy().hasHeightForWidth())
        self.chkLPU.setSizePolicy(sizePolicy)
        self.chkLPU.setObjectName(_fromUtf8("chkLPU"))
        self.gridLayout_2.addWidget(self.chkLPU, 5, 2, 1, 1)
        self.chkAcademicDegree = QtGui.QCheckBox(self.tabCommon)
        self.chkAcademicDegree.setObjectName(_fromUtf8("chkAcademicDegree"))
        self.gridLayout_2.addWidget(self.chkAcademicDegree, 11, 2, 1, 1)
        self.edtFirstName = QtGui.QLineEdit(self.tabCommon)
        self.edtFirstName.setEnabled(False)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout_2.addWidget(self.edtFirstName, 5, 1, 1, 1)
        self.cmbAcademicDegree = CEnumComboBox(self.tabCommon)
        self.cmbAcademicDegree.setEnabled(False)
        self.cmbAcademicDegree.setObjectName(_fromUtf8("cmbAcademicDegree"))
        self.gridLayout_2.addWidget(self.cmbAcademicDegree, 11, 3, 1, 1)
        self.cmbOccupationType = CEnumComboBox(self.tabCommon)
        self.cmbOccupationType.setEnabled(False)
        self.cmbOccupationType.setObjectName(_fromUtf8("cmbOccupationType"))
        self.gridLayout_2.addWidget(self.cmbOccupationType, 1, 3, 1, 1)
        self.chkIsReservist = QtGui.QCheckBox(self.tabCommon)
        self.chkIsReservist.setObjectName(_fromUtf8("chkIsReservist"))
        self.gridLayout_2.addWidget(self.chkIsReservist, 7, 2, 1, 1)
        self.cmbActivity = CRBComboBox(self.tabCommon)
        self.cmbActivity.setEnabled(False)
        self.cmbActivity.setObjectName(_fromUtf8("cmbActivity"))
        self.gridLayout_2.addWidget(self.cmbActivity, 13, 1, 1, 1)
        self.chkFirstName = QtGui.QCheckBox(self.tabCommon)
        self.chkFirstName.setObjectName(_fromUtf8("chkFirstName"))
        self.gridLayout_2.addWidget(self.chkFirstName, 5, 0, 1, 1)
        self.cmbUserRightsProfile = CRBComboBox(self.tabCommon)
        self.cmbUserRightsProfile.setEnabled(False)
        self.cmbUserRightsProfile.setObjectName(
            _fromUtf8("cmbUserRightsProfile"))
        self.gridLayout_2.addWidget(self.cmbUserRightsProfile, 4, 3, 1, 1)
        self.chkOccupationType = QtGui.QCheckBox(self.tabCommon)
        self.chkOccupationType.setObjectName(_fromUtf8("chkOccupationType"))
        self.gridLayout_2.addWidget(self.chkOccupationType, 1, 2, 1, 1)
        self.chkActivity = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkActivity.sizePolicy().hasHeightForWidth())
        self.chkActivity.setSizePolicy(sizePolicy)
        self.chkActivity.setObjectName(_fromUtf8("chkActivity"))
        self.gridLayout_2.addWidget(self.chkActivity, 13, 0, 1, 1)
        self.chkLastName = QtGui.QCheckBox(self.tabCommon)
        self.chkLastName.setObjectName(_fromUtf8("chkLastName"))
        self.gridLayout_2.addWidget(self.chkLastName, 4, 0, 1, 1)
        self.cmbIsReservist = CEnumComboBox(self.tabCommon)
        self.cmbIsReservist.setEnabled(False)
        self.cmbIsReservist.setObjectName(_fromUtf8("cmbIsReservist"))
        self.gridLayout_2.addWidget(self.cmbIsReservist, 7, 3, 1, 1)
        self.edtLastName = QtGui.QLineEdit(self.tabCommon)
        self.edtLastName.setEnabled(False)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout_2.addWidget(self.edtLastName, 4, 1, 1, 1)
        self.boxStrPodr = COrgStructureComboBox(self.tabCommon)
        self.boxStrPodr.setEnabled(False)
        self.boxStrPodr.setObjectName(_fromUtf8("boxStrPodr"))
        self.gridLayout_2.addWidget(self.boxStrPodr, 9, 1, 1, 1)
        self.edtPatrName = QtGui.QLineEdit(self.tabCommon)
        self.edtPatrName.setEnabled(False)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout_2.addWidget(self.edtPatrName, 7, 1, 1, 1)
        self.cmbEmploymentType = CEnumComboBox(self.tabCommon)
        self.cmbEmploymentType.setEnabled(False)
        self.cmbEmploymentType.setObjectName(_fromUtf8("cmbEmploymentType"))
        self.gridLayout_2.addWidget(self.cmbEmploymentType, 9, 3, 1, 1)
        self.chkCode = QtGui.QCheckBox(self.tabCommon)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout_2.addWidget(self.chkCode, 1, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(self.tabCommon)
        self.edtCode.setEnabled(False)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout_2.addWidget(self.edtCode, 1, 1, 1, 1)
        self.edtFedCode = QtGui.QLineEdit(self.tabCommon)
        self.edtFedCode.setEnabled(False)
        self.edtFedCode.setObjectName(_fromUtf8("edtFedCode"))
        self.gridLayout_2.addWidget(self.edtFedCode, 13, 3, 1, 1)
        self.chkStrPodr = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStrPodr.sizePolicy().hasHeightForWidth())
        self.chkStrPodr.setSizePolicy(sizePolicy)
        self.chkStrPodr.setObjectName(_fromUtf8("chkStrPodr"))
        self.gridLayout_2.addWidget(self.chkStrPodr, 9, 0, 1, 1)
        self.chkEmploymentType = QtGui.QCheckBox(self.tabCommon)
        self.chkEmploymentType.setObjectName(_fromUtf8("chkEmploymentType"))
        self.gridLayout_2.addWidget(self.chkEmploymentType, 9, 2, 1, 1)
        self.chkFedCode = QtGui.QCheckBox(self.tabCommon)
        self.chkFedCode.setObjectName(_fromUtf8("chkFedCode"))
        self.gridLayout_2.addWidget(self.chkFedCode, 13, 2, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.tabCommon)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_2.addWidget(self.cmbSpeciality, 11, 1, 1, 1)
        self.chkPatrName = QtGui.QCheckBox(self.tabCommon)
        self.chkPatrName.setObjectName(_fromUtf8("chkPatrName"))
        self.gridLayout_2.addWidget(self.chkPatrName, 7, 0, 1, 1)
        self.cmbOrg = CPolyclinicExtendedComboBox(self.tabCommon)
        self.cmbOrg.setEnabled(False)
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_2.addWidget(self.cmbOrg, 5, 3, 1, 1)
        self.tabWidget.addTab(self.tabCommon, _fromUtf8(""))
        self.tabPrivateInform = QtGui.QWidget()
        self.tabPrivateInform.setObjectName(_fromUtf8("tabPrivateInform"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabPrivateInform)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.chkMaritalStatus = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkMaritalStatus.setObjectName(_fromUtf8("chkMaritalStatus"))
        self.gridLayout_5.addWidget(self.chkMaritalStatus, 1, 0, 1, 1)
        self.chkBirthDate = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate"))
        self.gridLayout_5.addWidget(self.chkBirthDate, 4, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabPrivateInform)
        self.edtBirthDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBirthDate.sizePolicy().hasHeightForWidth())
        self.edtBirthDate.setSizePolicy(sizePolicy)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout_5.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabPrivateInform)
        self.cmbSex.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.cmbSex, 3, 1, 1, 1)
        self.chkCitizenship = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkCitizenship.setObjectName(_fromUtf8("chkCitizenship"))
        self.gridLayout_5.addWidget(self.chkCitizenship, 2, 0, 1, 1)
        self.cmbRegistryType = CEnumComboBox(self.tabPrivateInform)
        self.cmbRegistryType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRegistryType.sizePolicy().hasHeightForWidth())
        self.cmbRegistryType.setSizePolicy(sizePolicy)
        self.cmbRegistryType.setObjectName(_fromUtf8("cmbRegistryType"))
        self.gridLayout_5.addWidget(self.cmbRegistryType, 0, 1, 1, 1)
        self.cmbCitizenship = CRBComboBox(self.tabPrivateInform)
        self.cmbCitizenship.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCitizenship.sizePolicy().hasHeightForWidth())
        self.cmbCitizenship.setSizePolicy(sizePolicy)
        self.cmbCitizenship.setObjectName(_fromUtf8("cmbCitizenship"))
        self.gridLayout_5.addWidget(self.cmbCitizenship, 2, 1, 1, 1)
        self.chkSex = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout_5.addWidget(self.chkSex, 3, 0, 1, 1)
        self.chkRegistryType = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkRegistryType.setObjectName(_fromUtf8("chkRegistryType"))
        self.gridLayout_5.addWidget(self.chkRegistryType, 0, 0, 1, 1)
        self.cmbMaritalStatus = CEnumComboBox(self.tabPrivateInform)
        self.cmbMaritalStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMaritalStatus.sizePolicy().hasHeightForWidth())
        self.cmbMaritalStatus.setSizePolicy(sizePolicy)
        self.cmbMaritalStatus.setObjectName(_fromUtf8("cmbMaritalStatus"))
        self.gridLayout_5.addWidget(self.cmbMaritalStatus, 1, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 2, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem3, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabPrivateInform, _fromUtf8(""))
        self.tabQualification = QtGui.QWidget()
        self.tabQualification.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabQualification.setObjectName(_fromUtf8("tabQualification"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabQualification)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.cmbCategory = CRBComboBox(self.tabQualification)
        self.cmbCategory.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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.gridLayout_3.addWidget(self.cmbCategory, 1, 1, 1, 1)
        self.cmbEducationType = CEnumComboBox(self.tabQualification)
        self.cmbEducationType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEducationType.sizePolicy().hasHeightForWidth())
        self.cmbEducationType.setSizePolicy(sizePolicy)
        self.cmbEducationType.setObjectName(_fromUtf8("cmbEducationType"))
        self.gridLayout_3.addWidget(self.cmbEducationType, 0, 1, 1, 1)
        self.chkCategory = QtGui.QCheckBox(self.tabQualification)
        self.chkCategory.setObjectName(_fromUtf8("chkCategory"))
        self.gridLayout_3.addWidget(self.chkCategory, 1, 0, 1, 1)
        self.chkEducationType = QtGui.QCheckBox(self.tabQualification)
        self.chkEducationType.setObjectName(_fromUtf8("chkEducationType"))
        self.gridLayout_3.addWidget(self.chkEducationType, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem5, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabQualification, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 3, 0, 1, 1)

        self.retranslateUi(PersonsListDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PersonsListDialog.close)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFedCode.setEnabled)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               self.edtFedCode.setFocus)
        QtCore.QObject.connect(self.chkStrPodr,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.boxStrPodr.setEnabled)
        QtCore.QObject.connect(self.chkSpec,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkPatrName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPatrName.setEnabled)
        QtCore.QObject.connect(self.chkActivity,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbActivity.setEnabled)
        QtCore.QObject.connect(self.chkFirstName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFirstName.setEnabled)
        QtCore.QObject.connect(self.chkLastName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtLastName.setEnabled)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtCode.setEnabled)
        QtCore.QObject.connect(self.chkOccupationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOccupationType.setEnabled)
        QtCore.QObject.connect(self.chkAcademicDegree,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAcademicDegree.setEnabled)
        QtCore.QObject.connect(self.chkEmploymentType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEmploymentType.setEnabled)
        QtCore.QObject.connect(self.chkIsReservist,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbIsReservist.setEnabled)
        QtCore.QObject.connect(self.chkLPU,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOrg.setEnabled)
        QtCore.QObject.connect(self.chkUserRightsProfile,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbUserRightsProfile.setEnabled)
        QtCore.QObject.connect(self.chkRegistryType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbRegistryType.setEnabled)
        QtCore.QObject.connect(self.chkMaritalStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMaritalStatus.setEnabled)
        QtCore.QObject.connect(self.chkCitizenship,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCitizenship.setEnabled)
        QtCore.QObject.connect(self.chkEducationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEducationType.setEnabled)
        QtCore.QObject.connect(self.chkCategory,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCategory.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkBirthDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBirthDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(PersonsListDialog)
        PersonsListDialog.setTabOrder(self.chkCode, self.edtCode)
        PersonsListDialog.setTabOrder(self.edtCode, self.chkLastName)
        PersonsListDialog.setTabOrder(self.chkLastName, self.edtLastName)
        PersonsListDialog.setTabOrder(self.edtLastName, self.chkFirstName)
        PersonsListDialog.setTabOrder(self.chkFirstName, self.edtFirstName)
        PersonsListDialog.setTabOrder(self.edtFirstName, self.chkPatrName)
        PersonsListDialog.setTabOrder(self.chkPatrName, self.edtPatrName)
        PersonsListDialog.setTabOrder(self.edtPatrName, self.chkStrPodr)
        PersonsListDialog.setTabOrder(self.chkStrPodr, self.boxStrPodr)
        PersonsListDialog.setTabOrder(self.boxStrPodr, self.chkSpec)
        PersonsListDialog.setTabOrder(self.chkSpec, self.cmbSpeciality)
        PersonsListDialog.setTabOrder(self.cmbSpeciality, self.chkActivity)
        PersonsListDialog.setTabOrder(self.chkActivity, self.cmbActivity)
        PersonsListDialog.setTabOrder(self.cmbActivity, self.chkOccupationType)
        PersonsListDialog.setTabOrder(self.chkOccupationType,
                                      self.cmbOccupationType)
        PersonsListDialog.setTabOrder(self.cmbOccupationType,
                                      self.chkUserRightsProfile)
        PersonsListDialog.setTabOrder(self.chkUserRightsProfile,
                                      self.cmbUserRightsProfile)
        PersonsListDialog.setTabOrder(self.cmbUserRightsProfile, self.chkLPU)
        PersonsListDialog.setTabOrder(self.chkLPU, self.cmbOrg)
        PersonsListDialog.setTabOrder(self.cmbOrg, self.chkIsReservist)
        PersonsListDialog.setTabOrder(self.chkIsReservist, self.cmbIsReservist)
        PersonsListDialog.setTabOrder(self.cmbIsReservist,
                                      self.chkEmploymentType)
        PersonsListDialog.setTabOrder(self.chkEmploymentType,
                                      self.cmbEmploymentType)
        PersonsListDialog.setTabOrder(self.cmbEmploymentType,
                                      self.chkAcademicDegree)
        PersonsListDialog.setTabOrder(self.chkAcademicDegree,
                                      self.cmbAcademicDegree)
        PersonsListDialog.setTabOrder(self.cmbAcademicDegree, self.chkFedCode)
        PersonsListDialog.setTabOrder(self.chkFedCode, self.edtFedCode)
        PersonsListDialog.setTabOrder(self.edtFedCode, self.tblItems)
        PersonsListDialog.setTabOrder(self.tblItems, self.chkOnlyOwn)
        PersonsListDialog.setTabOrder(self.chkOnlyOwn, self.chkOnlyWorking)
        PersonsListDialog.setTabOrder(self.chkOnlyWorking,
                                      self.chkOnlyResearcher)
        PersonsListDialog.setTabOrder(self.chkOnlyResearcher, self.btnSync)
        PersonsListDialog.setTabOrder(self.btnSync, self.buttonBox)
        PersonsListDialog.setTabOrder(self.buttonBox, self.chkRegistryType)
        PersonsListDialog.setTabOrder(self.chkRegistryType,
                                      self.cmbRegistryType)
        PersonsListDialog.setTabOrder(self.cmbRegistryType,
                                      self.chkMaritalStatus)
        PersonsListDialog.setTabOrder(self.chkMaritalStatus,
                                      self.cmbMaritalStatus)
        PersonsListDialog.setTabOrder(self.cmbMaritalStatus,
                                      self.chkCitizenship)
        PersonsListDialog.setTabOrder(self.chkCitizenship, self.cmbCitizenship)
        PersonsListDialog.setTabOrder(self.cmbCitizenship, self.chkSex)
        PersonsListDialog.setTabOrder(self.chkSex, self.cmbSex)
        PersonsListDialog.setTabOrder(self.cmbSex, self.chkBirthDate)
        PersonsListDialog.setTabOrder(self.chkBirthDate, self.edtBirthDate)
        PersonsListDialog.setTabOrder(self.edtBirthDate, self.chkEducationType)
        PersonsListDialog.setTabOrder(self.chkEducationType,
                                      self.cmbEducationType)
        PersonsListDialog.setTabOrder(self.cmbEducationType, self.chkCategory)
        PersonsListDialog.setTabOrder(self.chkCategory, self.cmbCategory)

    def retranslateUi(self, PersonsListDialog):
        PersonsListDialog.setWindowTitle(
            _translate("PersonsListDialog", "Список записей", None))
        self.tblItems.setWhatsThis(
            _translate("PersonsListDialog", "список записей", "ура!"))
        self.label.setText(_translate("PersonsListDialog", "всего: ", None))
        self.chkOnlyOwn.setText(
            _translate("PersonsListDialog", "Только свои", None))
        self.chkOnlyWorking.setText(
            _translate("PersonsListDialog", "Только работающие", None))
        self.chkOnlyResearcher.setText(
            _translate("PersonsListDialog", "Только главные исследователи",
                       None))
        self.btnSync.setText(
            _translate("PersonsListDialog", "Синхронизация", None))
        self.chkSpec.setText(
            _translate("PersonsListDialog", "Специальность", None))
        self.chkUserRightsProfile.setText(
            _translate("PersonsListDialog", "Профиль прав", None))
        self.chkLPU.setText(
            _translate("PersonsListDialog", "Внешнее ЛПУ", None))
        self.chkAcademicDegree.setText(
            _translate("PersonsListDialog", "Учёная степень", None))
        self.chkIsReservist.setText(
            _translate("PersonsListDialog", "Отношение к военной службе",
                       None))
        self.chkFirstName.setText(_translate("PersonsListDialog", "Имя", None))
        self.chkOccupationType.setText(
            _translate("PersonsListDialog", "Тип занятия должности", None))
        self.chkActivity.setText(
            _translate("PersonsListDialog", "Вид деятельности", None))
        self.chkLastName.setText(
            _translate("PersonsListDialog", "Фамилия", None))
        self.chkCode.setText(_translate("PersonsListDialog", "Код", None))
        self.chkStrPodr.setText(
            _translate("PersonsListDialog", "Структурное подразделение", None))
        self.chkEmploymentType.setText(
            _translate("PersonsListDialog", "Режим работы", None))
        self.chkFedCode.setText(
            _translate("PersonsListDialog", "Федеральный код", None))
        self.chkPatrName.setText(
            _translate("PersonsListDialog", "Отчество", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabCommon),
            _translate("PersonsListDialog", "Общее", None))
        self.chkMaritalStatus.setText(
            _translate("PersonsListDialog", "Семейное положение", None))
        self.chkBirthDate.setText(
            _translate("PersonsListDialog", "Дата рождения", None))
        self.cmbSex.setItemText(1, _translate("PersonsListDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("PersonsListDialog", "Ж", None))
        self.chkCitizenship.setText(
            _translate("PersonsListDialog", "Гражданство", None))
        self.chkSex.setText(_translate("PersonsListDialog", "Пол", None))
        self.chkRegistryType.setText(
            _translate("PersonsListDialog", "Тип регистрации", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabPrivateInform),
            _translate("PersonsListDialog", "Личное", None))
        self.chkCategory.setText(
            _translate("PersonsListDialog", "Категория", None))
        self.chkEducationType.setText(
            _translate("PersonsListDialog", "Тип образования", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabQualification),
            _translate("PersonsListDialog", "Квалификация", None))
예제 #7
0
    def setupUi(self, PersonsListDialog):
        PersonsListDialog.setObjectName(_fromUtf8("PersonsListDialog"))
        PersonsListDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PersonsListDialog.resize(908, 717)
        PersonsListDialog.setSizeGripEnabled(True)
        PersonsListDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(PersonsListDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblItems = CTableView(PersonsListDialog)
        self.tblItems.setTabKeyNavigation(False)
        self.tblItems.setAlternatingRowColors(True)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 30, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(PersonsListDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.chkOnlyOwn = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyOwn.setChecked(True)
        self.chkOnlyOwn.setObjectName(_fromUtf8("chkOnlyOwn"))
        self.hboxlayout.addWidget(self.chkOnlyOwn)
        self.chkOnlyWorking = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyWorking.setChecked(True)
        self.chkOnlyWorking.setObjectName(_fromUtf8("chkOnlyWorking"))
        self.hboxlayout.addWidget(self.chkOnlyWorking)
        self.chkOnlyResearcher = QtGui.QCheckBox(PersonsListDialog)
        self.chkOnlyResearcher.setObjectName(_fromUtf8("chkOnlyResearcher"))
        self.hboxlayout.addWidget(self.chkOnlyResearcher)
        self.btnSync = QtGui.QPushButton(PersonsListDialog)
        self.btnSync.setObjectName(_fromUtf8("btnSync"))
        self.hboxlayout.addWidget(self.btnSync)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(PersonsListDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.hboxlayout.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.hboxlayout, 32, 0, 1, 2)
        self.tabWidget = QtGui.QTabWidget(PersonsListDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabWidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabCommon = QtGui.QWidget()
        self.tabCommon.setFocusPolicy(QtCore.Qt.NoFocus)
        self.tabCommon.setObjectName(_fromUtf8("tabCommon"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabCommon)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.chkSpec = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpec.sizePolicy().hasHeightForWidth())
        self.chkSpec.setSizePolicy(sizePolicy)
        self.chkSpec.setObjectName(_fromUtf8("chkSpec"))
        self.gridLayout_2.addWidget(self.chkSpec, 11, 0, 1, 1)
        self.chkUserRightsProfile = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkUserRightsProfile.sizePolicy().hasHeightForWidth())
        self.chkUserRightsProfile.setSizePolicy(sizePolicy)
        self.chkUserRightsProfile.setObjectName(
            _fromUtf8("chkUserRightsProfile"))
        self.gridLayout_2.addWidget(self.chkUserRightsProfile, 4, 2, 1, 1)
        self.chkLPU = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkLPU.sizePolicy().hasHeightForWidth())
        self.chkLPU.setSizePolicy(sizePolicy)
        self.chkLPU.setObjectName(_fromUtf8("chkLPU"))
        self.gridLayout_2.addWidget(self.chkLPU, 5, 2, 1, 1)
        self.chkAcademicDegree = QtGui.QCheckBox(self.tabCommon)
        self.chkAcademicDegree.setObjectName(_fromUtf8("chkAcademicDegree"))
        self.gridLayout_2.addWidget(self.chkAcademicDegree, 11, 2, 1, 1)
        self.edtFirstName = QtGui.QLineEdit(self.tabCommon)
        self.edtFirstName.setEnabled(False)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout_2.addWidget(self.edtFirstName, 5, 1, 1, 1)
        self.cmbAcademicDegree = CEnumComboBox(self.tabCommon)
        self.cmbAcademicDegree.setEnabled(False)
        self.cmbAcademicDegree.setObjectName(_fromUtf8("cmbAcademicDegree"))
        self.gridLayout_2.addWidget(self.cmbAcademicDegree, 11, 3, 1, 1)
        self.cmbOccupationType = CEnumComboBox(self.tabCommon)
        self.cmbOccupationType.setEnabled(False)
        self.cmbOccupationType.setObjectName(_fromUtf8("cmbOccupationType"))
        self.gridLayout_2.addWidget(self.cmbOccupationType, 1, 3, 1, 1)
        self.chkIsReservist = QtGui.QCheckBox(self.tabCommon)
        self.chkIsReservist.setObjectName(_fromUtf8("chkIsReservist"))
        self.gridLayout_2.addWidget(self.chkIsReservist, 7, 2, 1, 1)
        self.cmbActivity = CRBComboBox(self.tabCommon)
        self.cmbActivity.setEnabled(False)
        self.cmbActivity.setObjectName(_fromUtf8("cmbActivity"))
        self.gridLayout_2.addWidget(self.cmbActivity, 13, 1, 1, 1)
        self.chkFirstName = QtGui.QCheckBox(self.tabCommon)
        self.chkFirstName.setObjectName(_fromUtf8("chkFirstName"))
        self.gridLayout_2.addWidget(self.chkFirstName, 5, 0, 1, 1)
        self.cmbUserRightsProfile = CRBComboBox(self.tabCommon)
        self.cmbUserRightsProfile.setEnabled(False)
        self.cmbUserRightsProfile.setObjectName(
            _fromUtf8("cmbUserRightsProfile"))
        self.gridLayout_2.addWidget(self.cmbUserRightsProfile, 4, 3, 1, 1)
        self.chkOccupationType = QtGui.QCheckBox(self.tabCommon)
        self.chkOccupationType.setObjectName(_fromUtf8("chkOccupationType"))
        self.gridLayout_2.addWidget(self.chkOccupationType, 1, 2, 1, 1)
        self.chkActivity = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkActivity.sizePolicy().hasHeightForWidth())
        self.chkActivity.setSizePolicy(sizePolicy)
        self.chkActivity.setObjectName(_fromUtf8("chkActivity"))
        self.gridLayout_2.addWidget(self.chkActivity, 13, 0, 1, 1)
        self.chkLastName = QtGui.QCheckBox(self.tabCommon)
        self.chkLastName.setObjectName(_fromUtf8("chkLastName"))
        self.gridLayout_2.addWidget(self.chkLastName, 4, 0, 1, 1)
        self.cmbIsReservist = CEnumComboBox(self.tabCommon)
        self.cmbIsReservist.setEnabled(False)
        self.cmbIsReservist.setObjectName(_fromUtf8("cmbIsReservist"))
        self.gridLayout_2.addWidget(self.cmbIsReservist, 7, 3, 1, 1)
        self.edtLastName = QtGui.QLineEdit(self.tabCommon)
        self.edtLastName.setEnabled(False)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout_2.addWidget(self.edtLastName, 4, 1, 1, 1)
        self.boxStrPodr = COrgStructureComboBox(self.tabCommon)
        self.boxStrPodr.setEnabled(False)
        self.boxStrPodr.setObjectName(_fromUtf8("boxStrPodr"))
        self.gridLayout_2.addWidget(self.boxStrPodr, 9, 1, 1, 1)
        self.edtPatrName = QtGui.QLineEdit(self.tabCommon)
        self.edtPatrName.setEnabled(False)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout_2.addWidget(self.edtPatrName, 7, 1, 1, 1)
        self.cmbEmploymentType = CEnumComboBox(self.tabCommon)
        self.cmbEmploymentType.setEnabled(False)
        self.cmbEmploymentType.setObjectName(_fromUtf8("cmbEmploymentType"))
        self.gridLayout_2.addWidget(self.cmbEmploymentType, 9, 3, 1, 1)
        self.chkCode = QtGui.QCheckBox(self.tabCommon)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout_2.addWidget(self.chkCode, 1, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(self.tabCommon)
        self.edtCode.setEnabled(False)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout_2.addWidget(self.edtCode, 1, 1, 1, 1)
        self.edtFedCode = QtGui.QLineEdit(self.tabCommon)
        self.edtFedCode.setEnabled(False)
        self.edtFedCode.setObjectName(_fromUtf8("edtFedCode"))
        self.gridLayout_2.addWidget(self.edtFedCode, 13, 3, 1, 1)
        self.chkStrPodr = QtGui.QCheckBox(self.tabCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStrPodr.sizePolicy().hasHeightForWidth())
        self.chkStrPodr.setSizePolicy(sizePolicy)
        self.chkStrPodr.setObjectName(_fromUtf8("chkStrPodr"))
        self.gridLayout_2.addWidget(self.chkStrPodr, 9, 0, 1, 1)
        self.chkEmploymentType = QtGui.QCheckBox(self.tabCommon)
        self.chkEmploymentType.setObjectName(_fromUtf8("chkEmploymentType"))
        self.gridLayout_2.addWidget(self.chkEmploymentType, 9, 2, 1, 1)
        self.chkFedCode = QtGui.QCheckBox(self.tabCommon)
        self.chkFedCode.setObjectName(_fromUtf8("chkFedCode"))
        self.gridLayout_2.addWidget(self.chkFedCode, 13, 2, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.tabCommon)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_2.addWidget(self.cmbSpeciality, 11, 1, 1, 1)
        self.chkPatrName = QtGui.QCheckBox(self.tabCommon)
        self.chkPatrName.setObjectName(_fromUtf8("chkPatrName"))
        self.gridLayout_2.addWidget(self.chkPatrName, 7, 0, 1, 1)
        self.cmbOrg = CPolyclinicExtendedComboBox(self.tabCommon)
        self.cmbOrg.setEnabled(False)
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_2.addWidget(self.cmbOrg, 5, 3, 1, 1)
        self.tabWidget.addTab(self.tabCommon, _fromUtf8(""))
        self.tabPrivateInform = QtGui.QWidget()
        self.tabPrivateInform.setObjectName(_fromUtf8("tabPrivateInform"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabPrivateInform)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.chkMaritalStatus = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkMaritalStatus.setObjectName(_fromUtf8("chkMaritalStatus"))
        self.gridLayout_5.addWidget(self.chkMaritalStatus, 1, 0, 1, 1)
        self.chkBirthDate = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate"))
        self.gridLayout_5.addWidget(self.chkBirthDate, 4, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabPrivateInform)
        self.edtBirthDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBirthDate.sizePolicy().hasHeightForWidth())
        self.edtBirthDate.setSizePolicy(sizePolicy)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout_5.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabPrivateInform)
        self.cmbSex.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.cmbSex, 3, 1, 1, 1)
        self.chkCitizenship = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkCitizenship.setObjectName(_fromUtf8("chkCitizenship"))
        self.gridLayout_5.addWidget(self.chkCitizenship, 2, 0, 1, 1)
        self.cmbRegistryType = CEnumComboBox(self.tabPrivateInform)
        self.cmbRegistryType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRegistryType.sizePolicy().hasHeightForWidth())
        self.cmbRegistryType.setSizePolicy(sizePolicy)
        self.cmbRegistryType.setObjectName(_fromUtf8("cmbRegistryType"))
        self.gridLayout_5.addWidget(self.cmbRegistryType, 0, 1, 1, 1)
        self.cmbCitizenship = CRBComboBox(self.tabPrivateInform)
        self.cmbCitizenship.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCitizenship.sizePolicy().hasHeightForWidth())
        self.cmbCitizenship.setSizePolicy(sizePolicy)
        self.cmbCitizenship.setObjectName(_fromUtf8("cmbCitizenship"))
        self.gridLayout_5.addWidget(self.cmbCitizenship, 2, 1, 1, 1)
        self.chkSex = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout_5.addWidget(self.chkSex, 3, 0, 1, 1)
        self.chkRegistryType = QtGui.QCheckBox(self.tabPrivateInform)
        self.chkRegistryType.setObjectName(_fromUtf8("chkRegistryType"))
        self.gridLayout_5.addWidget(self.chkRegistryType, 0, 0, 1, 1)
        self.cmbMaritalStatus = CEnumComboBox(self.tabPrivateInform)
        self.cmbMaritalStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMaritalStatus.sizePolicy().hasHeightForWidth())
        self.cmbMaritalStatus.setSizePolicy(sizePolicy)
        self.cmbMaritalStatus.setObjectName(_fromUtf8("cmbMaritalStatus"))
        self.gridLayout_5.addWidget(self.cmbMaritalStatus, 1, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 2, 1, 1)
        self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem3, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabPrivateInform, _fromUtf8(""))
        self.tabQualification = QtGui.QWidget()
        self.tabQualification.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabQualification.setObjectName(_fromUtf8("tabQualification"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabQualification)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.cmbCategory = CRBComboBox(self.tabQualification)
        self.cmbCategory.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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.gridLayout_3.addWidget(self.cmbCategory, 1, 1, 1, 1)
        self.cmbEducationType = CEnumComboBox(self.tabQualification)
        self.cmbEducationType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEducationType.sizePolicy().hasHeightForWidth())
        self.cmbEducationType.setSizePolicy(sizePolicy)
        self.cmbEducationType.setObjectName(_fromUtf8("cmbEducationType"))
        self.gridLayout_3.addWidget(self.cmbEducationType, 0, 1, 1, 1)
        self.chkCategory = QtGui.QCheckBox(self.tabQualification)
        self.chkCategory.setObjectName(_fromUtf8("chkCategory"))
        self.gridLayout_3.addWidget(self.chkCategory, 1, 0, 1, 1)
        self.chkEducationType = QtGui.QCheckBox(self.tabQualification)
        self.chkEducationType.setObjectName(_fromUtf8("chkEducationType"))
        self.gridLayout_3.addWidget(self.chkEducationType, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem5, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabQualification, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 3, 0, 1, 1)

        self.retranslateUi(PersonsListDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PersonsListDialog.close)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFedCode.setEnabled)
        QtCore.QObject.connect(self.chkFedCode,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               self.edtFedCode.setFocus)
        QtCore.QObject.connect(self.chkStrPodr,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.boxStrPodr.setEnabled)
        QtCore.QObject.connect(self.chkSpec,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkPatrName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtPatrName.setEnabled)
        QtCore.QObject.connect(self.chkActivity,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbActivity.setEnabled)
        QtCore.QObject.connect(self.chkFirstName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtFirstName.setEnabled)
        QtCore.QObject.connect(self.chkLastName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtLastName.setEnabled)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtCode.setEnabled)
        QtCore.QObject.connect(self.chkOccupationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOccupationType.setEnabled)
        QtCore.QObject.connect(self.chkAcademicDegree,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAcademicDegree.setEnabled)
        QtCore.QObject.connect(self.chkEmploymentType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEmploymentType.setEnabled)
        QtCore.QObject.connect(self.chkIsReservist,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbIsReservist.setEnabled)
        QtCore.QObject.connect(self.chkLPU,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOrg.setEnabled)
        QtCore.QObject.connect(self.chkUserRightsProfile,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbUserRightsProfile.setEnabled)
        QtCore.QObject.connect(self.chkRegistryType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbRegistryType.setEnabled)
        QtCore.QObject.connect(self.chkMaritalStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMaritalStatus.setEnabled)
        QtCore.QObject.connect(self.chkCitizenship,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCitizenship.setEnabled)
        QtCore.QObject.connect(self.chkEducationType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEducationType.setEnabled)
        QtCore.QObject.connect(self.chkCategory,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCategory.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkBirthDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBirthDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(PersonsListDialog)
        PersonsListDialog.setTabOrder(self.chkCode, self.edtCode)
        PersonsListDialog.setTabOrder(self.edtCode, self.chkLastName)
        PersonsListDialog.setTabOrder(self.chkLastName, self.edtLastName)
        PersonsListDialog.setTabOrder(self.edtLastName, self.chkFirstName)
        PersonsListDialog.setTabOrder(self.chkFirstName, self.edtFirstName)
        PersonsListDialog.setTabOrder(self.edtFirstName, self.chkPatrName)
        PersonsListDialog.setTabOrder(self.chkPatrName, self.edtPatrName)
        PersonsListDialog.setTabOrder(self.edtPatrName, self.chkStrPodr)
        PersonsListDialog.setTabOrder(self.chkStrPodr, self.boxStrPodr)
        PersonsListDialog.setTabOrder(self.boxStrPodr, self.chkSpec)
        PersonsListDialog.setTabOrder(self.chkSpec, self.cmbSpeciality)
        PersonsListDialog.setTabOrder(self.cmbSpeciality, self.chkActivity)
        PersonsListDialog.setTabOrder(self.chkActivity, self.cmbActivity)
        PersonsListDialog.setTabOrder(self.cmbActivity, self.chkOccupationType)
        PersonsListDialog.setTabOrder(self.chkOccupationType,
                                      self.cmbOccupationType)
        PersonsListDialog.setTabOrder(self.cmbOccupationType,
                                      self.chkUserRightsProfile)
        PersonsListDialog.setTabOrder(self.chkUserRightsProfile,
                                      self.cmbUserRightsProfile)
        PersonsListDialog.setTabOrder(self.cmbUserRightsProfile, self.chkLPU)
        PersonsListDialog.setTabOrder(self.chkLPU, self.cmbOrg)
        PersonsListDialog.setTabOrder(self.cmbOrg, self.chkIsReservist)
        PersonsListDialog.setTabOrder(self.chkIsReservist, self.cmbIsReservist)
        PersonsListDialog.setTabOrder(self.cmbIsReservist,
                                      self.chkEmploymentType)
        PersonsListDialog.setTabOrder(self.chkEmploymentType,
                                      self.cmbEmploymentType)
        PersonsListDialog.setTabOrder(self.cmbEmploymentType,
                                      self.chkAcademicDegree)
        PersonsListDialog.setTabOrder(self.chkAcademicDegree,
                                      self.cmbAcademicDegree)
        PersonsListDialog.setTabOrder(self.cmbAcademicDegree, self.chkFedCode)
        PersonsListDialog.setTabOrder(self.chkFedCode, self.edtFedCode)
        PersonsListDialog.setTabOrder(self.edtFedCode, self.tblItems)
        PersonsListDialog.setTabOrder(self.tblItems, self.chkOnlyOwn)
        PersonsListDialog.setTabOrder(self.chkOnlyOwn, self.chkOnlyWorking)
        PersonsListDialog.setTabOrder(self.chkOnlyWorking,
                                      self.chkOnlyResearcher)
        PersonsListDialog.setTabOrder(self.chkOnlyResearcher, self.btnSync)
        PersonsListDialog.setTabOrder(self.btnSync, self.buttonBox)
        PersonsListDialog.setTabOrder(self.buttonBox, self.chkRegistryType)
        PersonsListDialog.setTabOrder(self.chkRegistryType,
                                      self.cmbRegistryType)
        PersonsListDialog.setTabOrder(self.cmbRegistryType,
                                      self.chkMaritalStatus)
        PersonsListDialog.setTabOrder(self.chkMaritalStatus,
                                      self.cmbMaritalStatus)
        PersonsListDialog.setTabOrder(self.cmbMaritalStatus,
                                      self.chkCitizenship)
        PersonsListDialog.setTabOrder(self.chkCitizenship, self.cmbCitizenship)
        PersonsListDialog.setTabOrder(self.cmbCitizenship, self.chkSex)
        PersonsListDialog.setTabOrder(self.chkSex, self.cmbSex)
        PersonsListDialog.setTabOrder(self.cmbSex, self.chkBirthDate)
        PersonsListDialog.setTabOrder(self.chkBirthDate, self.edtBirthDate)
        PersonsListDialog.setTabOrder(self.edtBirthDate, self.chkEducationType)
        PersonsListDialog.setTabOrder(self.chkEducationType,
                                      self.cmbEducationType)
        PersonsListDialog.setTabOrder(self.cmbEducationType, self.chkCategory)
        PersonsListDialog.setTabOrder(self.chkCategory, self.cmbCategory)
예제 #8
0
    def setupUi(self, OrderListDialog):
        OrderListDialog.setObjectName(_fromUtf8("OrderListDialog"))
        OrderListDialog.resize(800, 600)
        self.gridLayout_2 = QtGui.QGridLayout(OrderListDialog)
        self.gridLayout_2.setMargin(6)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(OrderListDialog)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(OrderListDialog)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabOrder = QtGui.QWidget()
        self.tabOrder.setObjectName(_fromUtf8("tabOrder"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabOrder)
        self.gridLayout_3.setMargin(6)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.chkOrderError = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderError.setObjectName(_fromUtf8("chkOrderError"))
        self.horizontalLayout_6.addWidget(self.chkOrderError)
        self.edtOrderError = QtGui.QLineEdit(self.tabOrder)
        self.edtOrderError.setEnabled(False)
        self.edtOrderError.setObjectName(_fromUtf8("edtOrderError"))
        self.horizontalLayout_6.addWidget(self.edtOrderError)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.lblOrderCount = QtGui.QLabel(self.tabOrder)
        self.lblOrderCount.setObjectName(_fromUtf8("lblOrderCount"))
        self.gridLayout_3.addWidget(self.lblOrderCount, 1, 0, 1, 1)
        self.tblOrder = CTableView(self.tabOrder)
        self.tblOrder.setObjectName(_fromUtf8("tblOrder"))
        self.gridLayout_3.addWidget(self.tblOrder, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnOrderApply = QtGui.QPushButton(self.tabOrder)
        self.btnOrderApply.setObjectName(_fromUtf8("btnOrderApply"))
        self.horizontalLayout_2.addWidget(self.btnOrderApply)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label = QtGui.QLabel(self.tabOrder)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_5.addWidget(self.label)
        self.chkOrderDateFrom = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateFrom.setChecked(True)
        self.chkOrderDateFrom.setObjectName(_fromUtf8("chkOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateFrom)
        self.edtOrderDateFrom = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateFrom.sizePolicy().hasHeightForWidth())
        self.edtOrderDateFrom.setSizePolicy(sizePolicy)
        self.edtOrderDateFrom.setObjectName(_fromUtf8("edtOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateFrom)
        self.chkOrderDateTo = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateTo.setChecked(True)
        self.chkOrderDateTo.setObjectName(_fromUtf8("chkOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateTo)
        self.edtOrderDateTo = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateTo.sizePolicy().hasHeightForWidth())
        self.edtOrderDateTo.setSizePolicy(sizePolicy)
        self.edtOrderDateTo.setObjectName(_fromUtf8("edtOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateTo)
        self.lblOrderStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderStatus.setObjectName(_fromUtf8("lblOrderStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderStatus)
        self.cmbOrderStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderStatus.setSizePolicy(sizePolicy)
        self.cmbOrderStatus.setObjectName(_fromUtf8("cmbOrderStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderStatus)
        self.lblOrderSyncStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderSyncStatus.setObjectName(_fromUtf8("lblOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderSyncStatus)
        self.cmbOrderSyncStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderSyncStatus.setObjectName(_fromUtf8("cmbOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderSyncStatus)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrder, _fromUtf8(""))
        self.tabOrderResponse = QtGui.QWidget()
        self.tabOrderResponse.setObjectName(_fromUtf8("tabOrderResponse"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabOrderResponse)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.lblOrderResponseCount = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseCount.setObjectName(
            _fromUtf8("lblOrderResponseCount"))
        self.gridLayout_5.addWidget(self.lblOrderResponseCount, 1, 0, 1, 1)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.chkOrderResponseDate = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseDate.setChecked(True)
        self.chkOrderResponseDate.setObjectName(
            _fromUtf8("chkOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.chkOrderResponseDate)
        self.edtOrderResponseDate = CDateEdit(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderResponseDate.sizePolicy().hasHeightForWidth())
        self.edtOrderResponseDate.setSizePolicy(sizePolicy)
        self.edtOrderResponseDate.setObjectName(
            _fromUtf8("edtOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.edtOrderResponseDate)
        self.lblOrderResponseStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseStatus.setObjectName(
            _fromUtf8("lblOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseStatus)
        self.cmbOrderResponseStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseStatus.setObjectName(
            _fromUtf8("cmbOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseStatus)
        self.lblOrderResponseSyncStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseSyncStatus.setObjectName(
            _fromUtf8("lblOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseSyncStatus)
        self.cmbOrderResponseSyncStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseSyncStatus.setObjectName(
            _fromUtf8("cmbOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseSyncStatus)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem3)
        self.gridLayout_5.addLayout(self.horizontalLayout_7, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.btnOrderResponseApply = QtGui.QPushButton(self.tabOrderResponse)
        self.btnOrderResponseApply.setObjectName(
            _fromUtf8("btnOrderResponseApply"))
        self.horizontalLayout_3.addWidget(self.btnOrderResponseApply)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
        self.tblOrderResponse = CTableView(self.tabOrderResponse)
        self.tblOrderResponse.setObjectName(_fromUtf8("tblOrderResponse"))
        self.gridLayout_5.addWidget(self.tblOrderResponse, 0, 0, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.chkOrderResponseError = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseError.setObjectName(
            _fromUtf8("chkOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.chkOrderResponseError)
        self.edtOrderResponseError = QtGui.QLineEdit(self.tabOrderResponse)
        self.edtOrderResponseError.setObjectName(
            _fromUtf8("edtOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.edtOrderResponseError)
        self.gridLayout_5.addLayout(self.horizontalLayout_8, 3, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrderResponse, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(OrderListDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkOrderDateFrom,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderDateFrom.setEnabled)
        QtCore.QObject.connect(self.chkOrderResponseDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderResponseDate.setEnabled)
        QtCore.QObject.connect(self.chkOrderError,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderError.setEnabled)
        QtCore.QObject.connect(self.chkOrderResponseError,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderResponseError.setEnabled)
        QtCore.QObject.connect(self.chkOrderDateTo,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderDateTo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(OrderListDialog)
        OrderListDialog.setTabOrder(self.tabWidget, self.tblOrder)
        OrderListDialog.setTabOrder(self.tblOrder, self.chkOrderDateFrom)
        OrderListDialog.setTabOrder(self.chkOrderDateFrom,
                                    self.edtOrderDateFrom)
        OrderListDialog.setTabOrder(self.edtOrderDateFrom, self.chkOrderDateTo)
        OrderListDialog.setTabOrder(self.chkOrderDateTo, self.edtOrderDateTo)
        OrderListDialog.setTabOrder(self.edtOrderDateTo, self.cmbOrderStatus)
        OrderListDialog.setTabOrder(self.cmbOrderStatus,
                                    self.cmbOrderSyncStatus)
        OrderListDialog.setTabOrder(self.cmbOrderSyncStatus,
                                    self.chkOrderError)
        OrderListDialog.setTabOrder(self.chkOrderError, self.edtOrderError)
        OrderListDialog.setTabOrder(self.edtOrderError, self.btnOrderApply)
        OrderListDialog.setTabOrder(self.btnOrderApply, self.btnClose)
        OrderListDialog.setTabOrder(self.btnClose, self.tblOrderResponse)
        OrderListDialog.setTabOrder(self.tblOrderResponse,
                                    self.chkOrderResponseDate)
        OrderListDialog.setTabOrder(self.chkOrderResponseDate,
                                    self.edtOrderResponseDate)
        OrderListDialog.setTabOrder(self.edtOrderResponseDate,
                                    self.cmbOrderResponseStatus)
        OrderListDialog.setTabOrder(self.cmbOrderResponseStatus,
                                    self.cmbOrderResponseSyncStatus)
        OrderListDialog.setTabOrder(self.cmbOrderResponseSyncStatus,
                                    self.chkOrderResponseError)
        OrderListDialog.setTabOrder(self.chkOrderResponseError,
                                    self.edtOrderResponseError)
        OrderListDialog.setTabOrder(self.edtOrderResponseError,
                                    self.btnOrderResponseApply)
예제 #9
0
class Ui_OrderListDialog(object):
    def setupUi(self, OrderListDialog):
        OrderListDialog.setObjectName(_fromUtf8("OrderListDialog"))
        OrderListDialog.resize(800, 600)
        self.gridLayout_2 = QtGui.QGridLayout(OrderListDialog)
        self.gridLayout_2.setMargin(6)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(OrderListDialog)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(OrderListDialog)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabOrder = QtGui.QWidget()
        self.tabOrder.setObjectName(_fromUtf8("tabOrder"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabOrder)
        self.gridLayout_3.setMargin(6)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.chkOrderError = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderError.setObjectName(_fromUtf8("chkOrderError"))
        self.horizontalLayout_6.addWidget(self.chkOrderError)
        self.edtOrderError = QtGui.QLineEdit(self.tabOrder)
        self.edtOrderError.setEnabled(False)
        self.edtOrderError.setObjectName(_fromUtf8("edtOrderError"))
        self.horizontalLayout_6.addWidget(self.edtOrderError)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.lblOrderCount = QtGui.QLabel(self.tabOrder)
        self.lblOrderCount.setObjectName(_fromUtf8("lblOrderCount"))
        self.gridLayout_3.addWidget(self.lblOrderCount, 1, 0, 1, 1)
        self.tblOrder = CTableView(self.tabOrder)
        self.tblOrder.setObjectName(_fromUtf8("tblOrder"))
        self.gridLayout_3.addWidget(self.tblOrder, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnOrderApply = QtGui.QPushButton(self.tabOrder)
        self.btnOrderApply.setObjectName(_fromUtf8("btnOrderApply"))
        self.horizontalLayout_2.addWidget(self.btnOrderApply)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label = QtGui.QLabel(self.tabOrder)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_5.addWidget(self.label)
        self.chkOrderDateFrom = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateFrom.setChecked(True)
        self.chkOrderDateFrom.setObjectName(_fromUtf8("chkOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateFrom)
        self.edtOrderDateFrom = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateFrom.sizePolicy().hasHeightForWidth())
        self.edtOrderDateFrom.setSizePolicy(sizePolicy)
        self.edtOrderDateFrom.setObjectName(_fromUtf8("edtOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateFrom)
        self.chkOrderDateTo = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateTo.setChecked(True)
        self.chkOrderDateTo.setObjectName(_fromUtf8("chkOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateTo)
        self.edtOrderDateTo = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateTo.sizePolicy().hasHeightForWidth())
        self.edtOrderDateTo.setSizePolicy(sizePolicy)
        self.edtOrderDateTo.setObjectName(_fromUtf8("edtOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateTo)
        self.lblOrderStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderStatus.setObjectName(_fromUtf8("lblOrderStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderStatus)
        self.cmbOrderStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderStatus.setSizePolicy(sizePolicy)
        self.cmbOrderStatus.setObjectName(_fromUtf8("cmbOrderStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderStatus)
        self.lblOrderSyncStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderSyncStatus.setObjectName(_fromUtf8("lblOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderSyncStatus)
        self.cmbOrderSyncStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderSyncStatus.setObjectName(_fromUtf8("cmbOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderSyncStatus)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrder, _fromUtf8(""))
        self.tabOrderResponse = QtGui.QWidget()
        self.tabOrderResponse.setObjectName(_fromUtf8("tabOrderResponse"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabOrderResponse)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.lblOrderResponseCount = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseCount.setObjectName(
            _fromUtf8("lblOrderResponseCount"))
        self.gridLayout_5.addWidget(self.lblOrderResponseCount, 1, 0, 1, 1)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.chkOrderResponseDate = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseDate.setChecked(True)
        self.chkOrderResponseDate.setObjectName(
            _fromUtf8("chkOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.chkOrderResponseDate)
        self.edtOrderResponseDate = CDateEdit(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderResponseDate.sizePolicy().hasHeightForWidth())
        self.edtOrderResponseDate.setSizePolicy(sizePolicy)
        self.edtOrderResponseDate.setObjectName(
            _fromUtf8("edtOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.edtOrderResponseDate)
        self.lblOrderResponseStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseStatus.setObjectName(
            _fromUtf8("lblOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseStatus)
        self.cmbOrderResponseStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseStatus.setObjectName(
            _fromUtf8("cmbOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseStatus)
        self.lblOrderResponseSyncStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseSyncStatus.setObjectName(
            _fromUtf8("lblOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseSyncStatus)
        self.cmbOrderResponseSyncStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseSyncStatus.setObjectName(
            _fromUtf8("cmbOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseSyncStatus)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem3)
        self.gridLayout_5.addLayout(self.horizontalLayout_7, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.btnOrderResponseApply = QtGui.QPushButton(self.tabOrderResponse)
        self.btnOrderResponseApply.setObjectName(
            _fromUtf8("btnOrderResponseApply"))
        self.horizontalLayout_3.addWidget(self.btnOrderResponseApply)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
        self.tblOrderResponse = CTableView(self.tabOrderResponse)
        self.tblOrderResponse.setObjectName(_fromUtf8("tblOrderResponse"))
        self.gridLayout_5.addWidget(self.tblOrderResponse, 0, 0, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.chkOrderResponseError = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseError.setObjectName(
            _fromUtf8("chkOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.chkOrderResponseError)
        self.edtOrderResponseError = QtGui.QLineEdit(self.tabOrderResponse)
        self.edtOrderResponseError.setObjectName(
            _fromUtf8("edtOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.edtOrderResponseError)
        self.gridLayout_5.addLayout(self.horizontalLayout_8, 3, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrderResponse, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(OrderListDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.chkOrderDateFrom,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderDateFrom.setEnabled)
        QtCore.QObject.connect(self.chkOrderResponseDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderResponseDate.setEnabled)
        QtCore.QObject.connect(self.chkOrderError,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderError.setEnabled)
        QtCore.QObject.connect(self.chkOrderResponseError,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderResponseError.setEnabled)
        QtCore.QObject.connect(self.chkOrderDateTo,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtOrderDateTo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(OrderListDialog)
        OrderListDialog.setTabOrder(self.tabWidget, self.tblOrder)
        OrderListDialog.setTabOrder(self.tblOrder, self.chkOrderDateFrom)
        OrderListDialog.setTabOrder(self.chkOrderDateFrom,
                                    self.edtOrderDateFrom)
        OrderListDialog.setTabOrder(self.edtOrderDateFrom, self.chkOrderDateTo)
        OrderListDialog.setTabOrder(self.chkOrderDateTo, self.edtOrderDateTo)
        OrderListDialog.setTabOrder(self.edtOrderDateTo, self.cmbOrderStatus)
        OrderListDialog.setTabOrder(self.cmbOrderStatus,
                                    self.cmbOrderSyncStatus)
        OrderListDialog.setTabOrder(self.cmbOrderSyncStatus,
                                    self.chkOrderError)
        OrderListDialog.setTabOrder(self.chkOrderError, self.edtOrderError)
        OrderListDialog.setTabOrder(self.edtOrderError, self.btnOrderApply)
        OrderListDialog.setTabOrder(self.btnOrderApply, self.btnClose)
        OrderListDialog.setTabOrder(self.btnClose, self.tblOrderResponse)
        OrderListDialog.setTabOrder(self.tblOrderResponse,
                                    self.chkOrderResponseDate)
        OrderListDialog.setTabOrder(self.chkOrderResponseDate,
                                    self.edtOrderResponseDate)
        OrderListDialog.setTabOrder(self.edtOrderResponseDate,
                                    self.cmbOrderResponseStatus)
        OrderListDialog.setTabOrder(self.cmbOrderResponseStatus,
                                    self.cmbOrderResponseSyncStatus)
        OrderListDialog.setTabOrder(self.cmbOrderResponseSyncStatus,
                                    self.chkOrderResponseError)
        OrderListDialog.setTabOrder(self.chkOrderResponseError,
                                    self.edtOrderResponseError)
        OrderListDialog.setTabOrder(self.edtOrderResponseError,
                                    self.btnOrderResponseApply)

    def retranslateUi(self, OrderListDialog):
        OrderListDialog.setWindowTitle(
            _translate("OrderListDialog",
                       "Обмен данными лабораторных исследований", None))
        self.btnClose.setText(_translate("OrderListDialog", "Закрыть", None))
        self.chkOrderError.setText(
            _translate("OrderListDialog", "Текст ошибки", None))
        self.lblOrderCount.setText(
            _translate("OrderListDialog", "Записей в таблице: 0", None))
        self.btnOrderApply.setText(
            _translate("OrderListDialog", "Применить", None))
        self.label.setText(
            _translate("OrderListDialog", "Дата создания:", None))
        self.chkOrderDateFrom.setText(_translate("OrderListDialog", "c", None))
        self.edtOrderDateFrom.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.chkOrderDateTo.setText(_translate("OrderListDialog", "по", None))
        self.edtOrderDateTo.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.lblOrderStatus.setText(
            _translate("OrderListDialog", "Статус", None))
        self.lblOrderSyncStatus.setText(
            _translate("OrderListDialog", "Текущее состояние", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabOrder),
            _translate("OrderListDialog", "Заявки", None))
        self.lblOrderResponseCount.setText(
            _translate("OrderListDialog", "Записей в таблице: 0", None))
        self.chkOrderResponseDate.setText(
            _translate("OrderListDialog", "Дата создания", None))
        self.edtOrderResponseDate.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.lblOrderResponseStatus.setText(
            _translate("OrderListDialog", "Статус", None))
        self.lblOrderResponseSyncStatus.setText(
            _translate("OrderListDialog", "Текущее состояние", None))
        self.btnOrderResponseApply.setText(
            _translate("OrderListDialog", "Применить", None))
        self.chkOrderResponseError.setText(
            _translate("OrderListDialog", "Текст ошибки", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabOrderResponse),
            _translate("OrderListDialog", "Результаты", None))
예제 #10
0
 def createEditor(self, parent, item):
     editor = CEnumComboBox(parent)
     editor.setEnum(self._enumClass)
     return editor
예제 #11
0
    def setupUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setObjectName(_fromUtf8("TempInvalidEditDialog"))
        TempInvalidEditDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TempInvalidEditDialog.resize(1075, 553)
        self.gridLayout_2 = QtGui.QGridLayout(TempInvalidEditDialog)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblMainNumber = QtGui.QLabel(TempInvalidEditDialog)
        self.lblMainNumber.setEnabled(False)
        self.lblMainNumber.setObjectName(_fromUtf8("lblMainNumber"))
        self.gridLayout.addWidget(self.lblMainNumber, 7, 5, 1, 1)
        self.lblBusyness = QtGui.QLabel(TempInvalidEditDialog)
        self.lblBusyness.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblBusyness.setObjectName(_fromUtf8("lblBusyness"))
        self.gridLayout.addWidget(self.lblBusyness, 7, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 7)
        self.lblSerial = QtGui.QLabel(TempInvalidEditDialog)
        self.lblSerial.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 1, 0, 1, 1)
        self.edtDiagnosis = CICDCodeEditEx(TempInvalidEditDialog)
        self.edtDiagnosis.setEnabled(True)
        self.edtDiagnosis.setObjectName(_fromUtf8("edtDiagnosis"))
        self.gridLayout.addWidget(self.edtDiagnosis, 4, 1, 1, 2)
        self.lblDiseaseCharacter = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiseaseCharacter.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblDiseaseCharacter.setObjectName(_fromUtf8("lblDiseaseCharacter"))
        self.gridLayout.addWidget(self.lblDiseaseCharacter, 1, 5, 1, 1)
        self.cmbExtraReason = CRBComboBox(TempInvalidEditDialog)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 0, 6, 1, 1)
        self.lblPrev = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPrev.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblPrev.setObjectName(_fromUtf8("lblPrev"))
        self.gridLayout.addWidget(self.lblPrev, 2, 0, 1, 1)
        self.cmbReason = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbReason.sizePolicy().hasHeightForWidth())
        self.cmbReason.setSizePolicy(sizePolicy)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridLayout.addWidget(self.cmbReason, 0, 4, 1, 1)
        self.lblPrevNumberValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPrevNumberValue.sizePolicy().hasHeightForWidth())
        self.lblPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblPrevNumberValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblPrevNumberValue.setText(_fromUtf8(""))
        self.lblPrevNumberValue.setObjectName(_fromUtf8("lblPrevNumberValue"))
        self.gridLayout.addWidget(self.lblPrevNumberValue, 2, 1, 1, 2)
        self.lblReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblReason.setObjectName(_fromUtf8("lblReason"))
        self.gridLayout.addWidget(self.lblReason, 0, 3, 1, 1)
        self.lblCaseLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblCaseLength.setTextFormat(QtCore.Qt.AutoText)
        self.lblCaseLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblCaseLength.setObjectName(_fromUtf8("lblCaseLength"))
        self.gridLayout.addWidget(self.lblCaseLength, 5, 3, 1, 1)
        self.tblPeriods = CInDocTableView(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblPeriods.sizePolicy().hasHeightForWidth())
        self.tblPeriods.setSizePolicy(sizePolicy)
        self.tblPeriods.setObjectName(_fromUtf8("tblPeriods"))
        self.gridLayout.addWidget(self.tblPeriods, 8, 0, 1, 7)
        self.lblLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblLengthValue.sizePolicy().hasHeightForWidth())
        self.lblLengthValue.setSizePolicy(sizePolicy)
        self.lblLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblLengthValue.setText(_fromUtf8(""))
        self.lblLengthValue.setObjectName(_fromUtf8("lblLengthValue"))
        self.gridLayout.addWidget(self.lblLengthValue, 2, 4, 1, 1)
        self.cmbDoctype = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbDoctype.sizePolicy().hasHeightForWidth())
        self.cmbDoctype.setSizePolicy(sizePolicy)
        self.cmbDoctype.setObjectName(_fromUtf8("cmbDoctype"))
        self.gridLayout.addWidget(self.cmbDoctype, 0, 1, 1, 2)
        self.edtPlaceWork = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlaceWork.sizePolicy().hasHeightForWidth())
        self.edtPlaceWork.setSizePolicy(sizePolicy)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 7, 4, 1, 1)
        self.lblDiagnosis = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiagnosis.setEnabled(True)
        self.lblDiagnosis.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 4, 0, 1, 1)
        self.chkGovEmoploymentService = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkGovEmoploymentService.setTristate(False)
        self.chkGovEmoploymentService.setObjectName(_fromUtf8("chkGovEmoploymentService"))
        self.gridLayout.addWidget(self.chkGovEmoploymentService, 6, 0, 1, 7)
        self.lblPlaceWork = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPlaceWork.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 7, 3, 1, 1)
        self.lblExternalLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExternalLengthValue.sizePolicy().hasHeightForWidth())
        self.lblExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblExternalLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblExternalLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblExternalLengthValue.setText(_fromUtf8(""))
        self.lblExternalLengthValue.setObjectName(_fromUtf8("lblExternalLengthValue"))
        self.gridLayout.addWidget(self.lblExternalLengthValue, 2, 6, 1, 1)
        self.lblCaseBegDate = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseBegDate.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 5, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setMaxLength(16)
        self.edtNumber.setAlignment(QtCore.Qt.AlignCenter)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 1, 2, 1, 1)
        self.cmbBusyness = CEnumComboBox(TempInvalidEditDialog)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 7, 1, 1, 2)
        self.lblExternalLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExternalLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExternalLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblExternalLength.setObjectName(_fromUtf8("lblExternalLength"))
        self.gridLayout.addWidget(self.lblExternalLength, 2, 5, 1, 1)
        self.lblCaseLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCaseLengthValue.sizePolicy().hasHeightForWidth())
        self.lblCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblCaseLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblCaseLengthValue.setText(_fromUtf8(""))
        self.lblCaseLengthValue.setObjectName(_fromUtf8("lblCaseLengthValue"))
        self.gridLayout.addWidget(self.lblCaseLengthValue, 5, 4, 1, 1)
        self.lblDoctype = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDoctype.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDoctype.setObjectName(_fromUtf8("lblDoctype"))
        self.gridLayout.addWidget(self.lblDoctype, 0, 0, 1, 1)
        self.edtCaseBegDate = CDateEdit(TempInvalidEditDialog)
        self.edtCaseBegDate.setEnabled(False)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 5, 1, 1, 2)
        self.btnNewLN = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 1, 1, 1, 1)
        self.cmbDiseaseCharacter = CRBComboBox(TempInvalidEditDialog)
        self.cmbDiseaseCharacter.setObjectName(_fromUtf8("cmbDiseaseCharacter"))
        self.gridLayout.addWidget(self.cmbDiseaseCharacter, 1, 6, 1, 1)
        self.lblLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblLength.setObjectName(_fromUtf8("lblLength"))
        self.gridLayout.addWidget(self.lblLength, 2, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 15, 1, 1)
        self.lblExtraReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExtraReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 0, 5, 1, 1)
        self.chkInsuranceOfficeMark = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkInsuranceOfficeMark.setObjectName(_fromUtf8("chkInsuranceOfficeMark"))
        self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 4, 5, 1, 2)
        self.edtOtherAge = QtGui.QSpinBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtOtherAge.sizePolicy().hasHeightForWidth())
        self.edtOtherAge.setSizePolicy(sizePolicy)
        self.edtOtherAge.setObjectName(_fromUtf8("edtOtherAge"))
        self.gridLayout.addWidget(self.edtOtherAge, 3, 4, 1, 1)
        self.cmbOtherSex = QtGui.QComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbOtherSex.setSizePolicy(sizePolicy)
        self.cmbOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbOtherSex.setObjectName(_fromUtf8("cmbOtherSex"))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOtherSex, 3, 1, 1, 1)
        self.lblOtherSex = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherSex.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblOtherSex.setObjectName(_fromUtf8("lblOtherSex"))
        self.gridLayout.addWidget(self.lblOtherSex, 3, 0, 1, 1)
        self.lblOtherAge = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherAge.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblOtherAge.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblOtherAge.setObjectName(_fromUtf8("lblOtherAge"))
        self.gridLayout.addWidget(self.lblOtherAge, 3, 3, 1, 1)
        self.edtMainNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        self.edtMainNumber.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMainNumber.sizePolicy().hasHeightForWidth())
        self.edtMainNumber.setSizePolicy(sizePolicy)
        self.edtMainNumber.setObjectName(_fromUtf8("edtMainNumber"))
        self.gridLayout.addWidget(self.edtMainNumber, 7, 6, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 3)
        self.btnTempInvalidProlong = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnTempInvalidProlong.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnTempInvalidProlong.sizePolicy().hasHeightForWidth())
        self.btnTempInvalidProlong.setSizePolicy(sizePolicy)
        self.btnTempInvalidProlong.setObjectName(_fromUtf8("btnTempInvalidProlong"))
        self.gridLayout_2.addWidget(self.btnTempInvalidProlong, 1, 0, 1, 1)
        self.btnSendInFSS = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnSendInFSS.setObjectName(_fromUtf8("btnSendInFSS"))
        self.gridLayout_2.addWidget(self.btnSendInFSS, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidEditDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_2.addWidget(self.buttonBox, 1, 2, 1, 1)
        self.lblDiseaseCharacter.setBuddy(self.cmbDiseaseCharacter)
        self.lblReason.setBuddy(self.cmbReason)
        self.lblDiagnosis.setBuddy(self.edtDiagnosis)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblDoctype.setBuddy(self.cmbDoctype)
        self.lblOtherSex.setBuddy(self.cmbOtherSex)

        self.retranslateUi(TempInvalidEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidEditDialog)
        TempInvalidEditDialog.setTabOrder(self.cmbDoctype, self.edtDiagnosis)
        TempInvalidEditDialog.setTabOrder(self.edtDiagnosis, self.edtCaseBegDate)
        TempInvalidEditDialog.setTabOrder(self.edtCaseBegDate, self.cmbBusyness)
        TempInvalidEditDialog.setTabOrder(self.cmbBusyness, self.tblPeriods)
        TempInvalidEditDialog.setTabOrder(self.tblPeriods, self.btnTempInvalidProlong)
        TempInvalidEditDialog.setTabOrder(self.btnTempInvalidProlong, self.buttonBox)
예제 #12
0
class Ui_TempInvalidEditDialog(object):
    def setupUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setObjectName(_fromUtf8("TempInvalidEditDialog"))
        TempInvalidEditDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TempInvalidEditDialog.resize(1075, 553)
        self.gridLayout_2 = QtGui.QGridLayout(TempInvalidEditDialog)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblMainNumber = QtGui.QLabel(TempInvalidEditDialog)
        self.lblMainNumber.setEnabled(False)
        self.lblMainNumber.setObjectName(_fromUtf8("lblMainNumber"))
        self.gridLayout.addWidget(self.lblMainNumber, 7, 5, 1, 1)
        self.lblBusyness = QtGui.QLabel(TempInvalidEditDialog)
        self.lblBusyness.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblBusyness.setObjectName(_fromUtf8("lblBusyness"))
        self.gridLayout.addWidget(self.lblBusyness, 7, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 0, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 7)
        self.lblSerial = QtGui.QLabel(TempInvalidEditDialog)
        self.lblSerial.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 1, 0, 1, 1)
        self.edtDiagnosis = CICDCodeEditEx(TempInvalidEditDialog)
        self.edtDiagnosis.setEnabled(True)
        self.edtDiagnosis.setObjectName(_fromUtf8("edtDiagnosis"))
        self.gridLayout.addWidget(self.edtDiagnosis, 4, 1, 1, 2)
        self.lblDiseaseCharacter = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiseaseCharacter.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblDiseaseCharacter.setObjectName(_fromUtf8("lblDiseaseCharacter"))
        self.gridLayout.addWidget(self.lblDiseaseCharacter, 1, 5, 1, 1)
        self.cmbExtraReason = CRBComboBox(TempInvalidEditDialog)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 0, 6, 1, 1)
        self.lblPrev = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPrev.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblPrev.setObjectName(_fromUtf8("lblPrev"))
        self.gridLayout.addWidget(self.lblPrev, 2, 0, 1, 1)
        self.cmbReason = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbReason.sizePolicy().hasHeightForWidth())
        self.cmbReason.setSizePolicy(sizePolicy)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridLayout.addWidget(self.cmbReason, 0, 4, 1, 1)
        self.lblPrevNumberValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblPrevNumberValue.sizePolicy().hasHeightForWidth())
        self.lblPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblPrevNumberValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblPrevNumberValue.setText(_fromUtf8(""))
        self.lblPrevNumberValue.setObjectName(_fromUtf8("lblPrevNumberValue"))
        self.gridLayout.addWidget(self.lblPrevNumberValue, 2, 1, 1, 2)
        self.lblReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblReason.setObjectName(_fromUtf8("lblReason"))
        self.gridLayout.addWidget(self.lblReason, 0, 3, 1, 1)
        self.lblCaseLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblCaseLength.setTextFormat(QtCore.Qt.AutoText)
        self.lblCaseLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblCaseLength.setObjectName(_fromUtf8("lblCaseLength"))
        self.gridLayout.addWidget(self.lblCaseLength, 5, 3, 1, 1)
        self.tblPeriods = CInDocTableView(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblPeriods.sizePolicy().hasHeightForWidth())
        self.tblPeriods.setSizePolicy(sizePolicy)
        self.tblPeriods.setObjectName(_fromUtf8("tblPeriods"))
        self.gridLayout.addWidget(self.tblPeriods, 8, 0, 1, 7)
        self.lblLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblLengthValue.sizePolicy().hasHeightForWidth())
        self.lblLengthValue.setSizePolicy(sizePolicy)
        self.lblLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblLengthValue.setText(_fromUtf8(""))
        self.lblLengthValue.setObjectName(_fromUtf8("lblLengthValue"))
        self.gridLayout.addWidget(self.lblLengthValue, 2, 4, 1, 1)
        self.cmbDoctype = CRBComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbDoctype.sizePolicy().hasHeightForWidth())
        self.cmbDoctype.setSizePolicy(sizePolicy)
        self.cmbDoctype.setObjectName(_fromUtf8("cmbDoctype"))
        self.gridLayout.addWidget(self.cmbDoctype, 0, 1, 1, 2)
        self.edtPlaceWork = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlaceWork.sizePolicy().hasHeightForWidth())
        self.edtPlaceWork.setSizePolicy(sizePolicy)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 7, 4, 1, 1)
        self.lblDiagnosis = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDiagnosis.setEnabled(True)
        self.lblDiagnosis.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 4, 0, 1, 1)
        self.chkGovEmoploymentService = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkGovEmoploymentService.setTristate(False)
        self.chkGovEmoploymentService.setObjectName(_fromUtf8("chkGovEmoploymentService"))
        self.gridLayout.addWidget(self.chkGovEmoploymentService, 6, 0, 1, 7)
        self.lblPlaceWork = QtGui.QLabel(TempInvalidEditDialog)
        self.lblPlaceWork.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 7, 3, 1, 1)
        self.lblExternalLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblExternalLengthValue.sizePolicy().hasHeightForWidth())
        self.lblExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblExternalLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblExternalLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblExternalLengthValue.setText(_fromUtf8(""))
        self.lblExternalLengthValue.setObjectName(_fromUtf8("lblExternalLengthValue"))
        self.gridLayout.addWidget(self.lblExternalLengthValue, 2, 6, 1, 1)
        self.lblCaseBegDate = QtGui.QLabel(TempInvalidEditDialog)
        self.lblCaseBegDate.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 5, 0, 1, 1)
        self.edtNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setMaxLength(16)
        self.edtNumber.setAlignment(QtCore.Qt.AlignCenter)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 1, 2, 1, 1)
        self.cmbBusyness = CEnumComboBox(TempInvalidEditDialog)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 7, 1, 1, 2)
        self.lblExternalLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExternalLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExternalLength.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblExternalLength.setObjectName(_fromUtf8("lblExternalLength"))
        self.gridLayout.addWidget(self.lblExternalLength, 2, 5, 1, 1)
        self.lblCaseLengthValue = QtGui.QLabel(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCaseLengthValue.sizePolicy().hasHeightForWidth())
        self.lblCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblCaseLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblCaseLengthValue.setText(_fromUtf8(""))
        self.lblCaseLengthValue.setObjectName(_fromUtf8("lblCaseLengthValue"))
        self.gridLayout.addWidget(self.lblCaseLengthValue, 5, 4, 1, 1)
        self.lblDoctype = QtGui.QLabel(TempInvalidEditDialog)
        self.lblDoctype.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblDoctype.setObjectName(_fromUtf8("lblDoctype"))
        self.gridLayout.addWidget(self.lblDoctype, 0, 0, 1, 1)
        self.edtCaseBegDate = CDateEdit(TempInvalidEditDialog)
        self.edtCaseBegDate.setEnabled(False)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 5, 1, 1, 2)
        self.btnNewLN = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 1, 1, 1, 1)
        self.cmbDiseaseCharacter = CRBComboBox(TempInvalidEditDialog)
        self.cmbDiseaseCharacter.setObjectName(_fromUtf8("cmbDiseaseCharacter"))
        self.gridLayout.addWidget(self.cmbDiseaseCharacter, 1, 6, 1, 1)
        self.lblLength = QtGui.QLabel(TempInvalidEditDialog)
        self.lblLength.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblLength.setObjectName(_fromUtf8("lblLength"))
        self.gridLayout.addWidget(self.lblLength, 2, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 15, 1, 1)
        self.lblExtraReason = QtGui.QLabel(TempInvalidEditDialog)
        self.lblExtraReason.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 0, 5, 1, 1)
        self.chkInsuranceOfficeMark = QtGui.QCheckBox(TempInvalidEditDialog)
        self.chkInsuranceOfficeMark.setObjectName(_fromUtf8("chkInsuranceOfficeMark"))
        self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 4, 5, 1, 2)
        self.edtOtherAge = QtGui.QSpinBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtOtherAge.sizePolicy().hasHeightForWidth())
        self.edtOtherAge.setSizePolicy(sizePolicy)
        self.edtOtherAge.setObjectName(_fromUtf8("edtOtherAge"))
        self.gridLayout.addWidget(self.edtOtherAge, 3, 4, 1, 1)
        self.cmbOtherSex = QtGui.QComboBox(TempInvalidEditDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbOtherSex.setSizePolicy(sizePolicy)
        self.cmbOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbOtherSex.setObjectName(_fromUtf8("cmbOtherSex"))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.cmbOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOtherSex, 3, 1, 1, 1)
        self.lblOtherSex = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherSex.setMaximumSize(QtCore.QSize(107, 16777215))
        self.lblOtherSex.setObjectName(_fromUtf8("lblOtherSex"))
        self.gridLayout.addWidget(self.lblOtherSex, 3, 0, 1, 1)
        self.lblOtherAge = QtGui.QLabel(TempInvalidEditDialog)
        self.lblOtherAge.setMaximumSize(QtCore.QSize(102, 16777215))
        self.lblOtherAge.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblOtherAge.setObjectName(_fromUtf8("lblOtherAge"))
        self.gridLayout.addWidget(self.lblOtherAge, 3, 3, 1, 1)
        self.edtMainNumber = QtGui.QLineEdit(TempInvalidEditDialog)
        self.edtMainNumber.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMainNumber.sizePolicy().hasHeightForWidth())
        self.edtMainNumber.setSizePolicy(sizePolicy)
        self.edtMainNumber.setObjectName(_fromUtf8("edtMainNumber"))
        self.gridLayout.addWidget(self.edtMainNumber, 7, 6, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 3)
        self.btnTempInvalidProlong = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnTempInvalidProlong.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnTempInvalidProlong.sizePolicy().hasHeightForWidth())
        self.btnTempInvalidProlong.setSizePolicy(sizePolicy)
        self.btnTempInvalidProlong.setObjectName(_fromUtf8("btnTempInvalidProlong"))
        self.gridLayout_2.addWidget(self.btnTempInvalidProlong, 1, 0, 1, 1)
        self.btnSendInFSS = QtGui.QPushButton(TempInvalidEditDialog)
        self.btnSendInFSS.setObjectName(_fromUtf8("btnSendInFSS"))
        self.gridLayout_2.addWidget(self.btnSendInFSS, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidEditDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout_2.addWidget(self.buttonBox, 1, 2, 1, 1)
        self.lblDiseaseCharacter.setBuddy(self.cmbDiseaseCharacter)
        self.lblReason.setBuddy(self.cmbReason)
        self.lblDiagnosis.setBuddy(self.edtDiagnosis)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblDoctype.setBuddy(self.cmbDoctype)
        self.lblOtherSex.setBuddy(self.cmbOtherSex)

        self.retranslateUi(TempInvalidEditDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidEditDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidEditDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidEditDialog)
        TempInvalidEditDialog.setTabOrder(self.cmbDoctype, self.edtDiagnosis)
        TempInvalidEditDialog.setTabOrder(self.edtDiagnosis, self.edtCaseBegDate)
        TempInvalidEditDialog.setTabOrder(self.edtCaseBegDate, self.cmbBusyness)
        TempInvalidEditDialog.setTabOrder(self.cmbBusyness, self.tblPeriods)
        TempInvalidEditDialog.setTabOrder(self.tblPeriods, self.btnTempInvalidProlong)
        TempInvalidEditDialog.setTabOrder(self.btnTempInvalidProlong, self.buttonBox)

    def retranslateUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setWindowTitle(_translate("TempInvalidEditDialog", "Документ временной нетрудоспособности", None))
        self.lblMainNumber.setText(_translate("TempInvalidEditDialog", "Номер основного листка", None))
        self.lblBusyness.setText(_translate("TempInvalidEditDialog", "Занятость", None))
        self.lblSerial.setText(_translate("TempInvalidEditDialog", "Номер ЛН", None))
        self.lblDiseaseCharacter.setText(_translate("TempInvalidEditDialog", "Характер", None))
        self.lblPrev.setText(_translate("TempInvalidEditDialog", "Продлён", None))
        self.lblReason.setText(_translate("TempInvalidEditDialog", "Причина", None))
        self.lblCaseLength.setText(_translate("TempInvalidEditDialog", "Дней", None))
        self.lblDiagnosis.setText(_translate("TempInvalidEditDialog", "Диагноз", None))
        self.chkGovEmoploymentService.setText(_translate("TempInvalidEditDialog", "Состоит на учёте в государственных учереждения службы занятости", None))
        self.lblPlaceWork.setText(_translate("TempInvalidEditDialog", "Место работы", None))
        self.lblCaseBegDate.setText(_translate("TempInvalidEditDialog", "Дата начала ВУТ", None))
        self.lblExternalLength.setText(_translate("TempInvalidEditDialog", "вне ЛПУ", None))
        self.lblDoctype.setText(_translate("TempInvalidEditDialog", "Документ", None))
        self.edtCaseBegDate.setDisplayFormat(_translate("TempInvalidEditDialog", "dd.MM.yyyy", None))
        self.btnNewLN.setText(_translate("TempInvalidEditDialog", "Сформировать \n"
"новый номер ЛН", None))
        self.lblLength.setText(_translate("TempInvalidEditDialog", "Длительность", None))
        self.lblExtraReason.setText(_translate("TempInvalidEditDialog", "Доп.причина", None))
        self.chkInsuranceOfficeMark.setText(_translate("TempInvalidEditDialog", "Отметка страхового стола", None))
        self.cmbOtherSex.setItemText(1, _translate("TempInvalidEditDialog", "М", None))
        self.cmbOtherSex.setItemText(2, _translate("TempInvalidEditDialog", "Ж", None))
        self.lblOtherSex.setText(_translate("TempInvalidEditDialog", "Пол", None))
        self.lblOtherAge.setText(_translate("TempInvalidEditDialog", "Возраст", None))
        self.btnTempInvalidProlong.setText(_translate("TempInvalidEditDialog", "Продлить", None))
        self.btnSendInFSS.setText(_translate("TempInvalidEditDialog", "Подписать и отправить в ФСС", None))