Exemplo n.º 1
0
class Ui_PreCreateEventDialog(object):
    def setupUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setObjectName(_fromUtf8("PreCreateEventDialog"))
        PreCreateEventDialog.resize(713, 800)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            PreCreateEventDialog.sizePolicy().hasHeightForWidth())
        PreCreateEventDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(PreCreateEventDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(PreCreateEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabStandart = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabStandart.sizePolicy().hasHeightForWidth())
        self.tabStandart.setSizePolicy(sizePolicy)
        self.tabStandart.setObjectName(_fromUtf8("tabStandart"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabStandart)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.grpReferral = QtGui.QGroupBox(self.tabStandart)
        self.grpReferral.setFlat(True)
        self.grpReferral.setCheckable(True)
        self.grpReferral.setChecked(False)
        self.grpReferral.setObjectName(_fromUtf8("grpReferral"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grpReferral)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtFreeInput = QtGui.QLineEdit(self.grpReferral)
        self.edtFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFreeInput.sizePolicy().hasHeightForWidth())
        self.edtFreeInput.setSizePolicy(sizePolicy)
        self.edtFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.gridLayout_5.addWidget(self.edtFreeInput, 5, 1, 1, 2)
        self.lblDate = QtGui.QLabel(self.grpReferral)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout_5.addWidget(self.lblDate, 2, 0, 1, 1)
        self.lblReferralType = QtGui.QLabel(self.grpReferral)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout_5.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.edtDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout_5.addWidget(self.edtDate, 2, 1, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpReferral)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_5.addWidget(self.lblNumber, 1, 0, 1, 1)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpReferral)
        self.cmbRelegateOrg.setMinimumSize(QtCore.QSize(367, 0))
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_5.addWidget(self.cmbRelegateOrg, 4, 1, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpReferral)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_5.addWidget(self.lblRelegateOrg, 4, 0, 1, 1)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpReferral)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_5.addWidget(self.btnSelectRelegateOrg, 4, 3, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.grpReferral)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout_5.addWidget(self.lblPlannedDate, 3, 0, 1, 1)
        self.edtPlannedDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setToolTip(_fromUtf8(""))
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout_5.addWidget(self.edtPlannedDate, 3, 1, 1, 1)
        self.chkFreeInput = QtGui.QCheckBox(self.grpReferral)
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.gridLayout_5.addWidget(self.chkFreeInput, 5, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpReferral)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_5.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.edtPerson = QtGui.QLineEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPerson.sizePolicy().hasHeightForWidth())
        self.edtPerson.setSizePolicy(sizePolicy)
        self.edtPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout_5.addWidget(self.edtPerson, 6, 1, 1, 3)
        self.lblSpeciality = QtGui.QLabel(self.grpReferral)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_5.addWidget(self.lblSpeciality, 7, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_5.addWidget(self.cmbSpeciality, 7, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.grpReferral)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout_5.addWidget(self.lblDiagnosis, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_5.addWidget(self.cmbMKB, 8, 1, 1, 3)
        self.cmbReferralType = CRBComboBox(self.grpReferral)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout_5.addWidget(self.cmbReferralType, 0, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.grpReferral)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_5.addWidget(self.edtNumber, 1, 1, 1, 3)
        self.gridLayout_2.addWidget(self.grpReferral, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 5, 1, 1, 1)
        self.chkSelectPreviousActions = QtGui.QCheckBox(self.tabStandart)
        self.chkSelectPreviousActions.setEnabled(True)
        self.chkSelectPreviousActions.setObjectName(
            _fromUtf8("chkSelectPreviousActions"))
        self.gridLayout_2.addWidget(self.chkSelectPreviousActions, 5, 2, 1, 1)
        self.btnAppointment = QtGui.QPushButton(self.tabStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnAppointment.sizePolicy().hasHeightForWidth())
        self.btnAppointment.setSizePolicy(sizePolicy)
        self.btnAppointment.setObjectName(_fromUtf8("btnAppointment"))
        self.gridLayout_2.addWidget(self.btnAppointment, 5, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 1, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.tabStandart)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbOrg = CPolyclinicComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrg.sizePolicy().hasHeightForWidth())
        self.cmbOrg.setSizePolicy(sizePolicy)
        self.cmbOrg.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_4.addWidget(self.cmbOrg, 0, 2, 1, 9)
        self.lblExternalId = QtGui.QLabel(self.groupBox)
        self.lblExternalId.setObjectName(_fromUtf8("lblExternalId"))
        self.gridLayout_4.addWidget(self.lblExternalId, 8, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_4.addWidget(self.cmbPerson, 2, 2, 1, 9)
        self.lblPersonal = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout_4.addWidget(self.lblPersonal, 2, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout_4.addWidget(self.lblEventType, 1, 1, 1, 1)
        self.chkIncludeRedDays = QtGui.QCheckBox(self.groupBox)
        self.chkIncludeRedDays.setObjectName(_fromUtf8("chkIncludeRedDays"))
        self.gridLayout_4.addWidget(self.chkIncludeRedDays, 5, 1, 1, 1)
        self.chkAddVisits = QtGui.QCheckBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAddVisits.sizePolicy().hasHeightForWidth())
        self.chkAddVisits.setSizePolicy(sizePolicy)
        self.chkAddVisits.setObjectName(_fromUtf8("chkAddVisits"))
        self.gridLayout_4.addWidget(self.chkAddVisits, 5, 2, 1, 9)
        self.edtDays = QtGui.QSpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDays.sizePolicy().hasHeightForWidth())
        self.edtDays.setSizePolicy(sizePolicy)
        self.edtDays.setObjectName(_fromUtf8("edtDays"))
        self.gridLayout_4.addWidget(self.edtDays, 7, 2, 1, 1)
        self.lblOrg = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrg.sizePolicy().hasHeightForWidth())
        self.lblOrg.setSizePolicy(sizePolicy)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self.gridLayout_4.addWidget(self.lblOrg, 0, 1, 1, 1)
        self.lblCuratorId = QtGui.QLabel(self.groupBox)
        self.lblCuratorId.setObjectName(_fromUtf8("lblCuratorId"))
        self.gridLayout_4.addWidget(self.lblCuratorId, 10, 1, 1, 1)
        self.cmbCuratorId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCuratorId.sizePolicy().hasHeightForWidth())
        self.cmbCuratorId.setSizePolicy(sizePolicy)
        self.cmbCuratorId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbCuratorId.setObjectName(_fromUtf8("cmbCuratorId"))
        self.gridLayout_4.addWidget(self.cmbCuratorId, 10, 2, 1, 9)
        self.lblAssistantId = QtGui.QLabel(self.groupBox)
        self.lblAssistantId.setObjectName(_fromUtf8("lblAssistantId"))
        self.gridLayout_4.addWidget(self.lblAssistantId, 9, 1, 1, 1)
        self.edtExternalId = QtGui.QLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtExternalId.sizePolicy().hasHeightForWidth())
        self.edtExternalId.setSizePolicy(sizePolicy)
        self.edtExternalId.setMinimumSize(QtCore.QSize(401, 0))
        self.edtExternalId.setObjectName(_fromUtf8("edtExternalId"))
        self.gridLayout_4.addWidget(self.edtExternalId, 8, 2, 1, 9)
        self.lblDays = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDays.sizePolicy().hasHeightForWidth())
        self.lblDays.setSizePolicy(sizePolicy)
        self.lblDays.setObjectName(_fromUtf8("lblDays"))
        self.gridLayout_4.addWidget(self.lblDays, 7, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_4.addWidget(self.cmbEventType, 1, 2, 1, 9)
        self.cmbTissueType = CRBComboBox(self.groupBox)
        self.cmbTissueType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setMinimumSize(QtCore.QSize(401, 25))
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_4.addWidget(self.cmbTissueType, 11, 2, 1, 9)
        self.cmbAssistantId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAssistantId.sizePolicy().hasHeightForWidth())
        self.cmbAssistantId.setSizePolicy(sizePolicy)
        self.cmbAssistantId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbAssistantId.setObjectName(_fromUtf8("cmbAssistantId"))
        self.gridLayout_4.addWidget(self.cmbAssistantId, 9, 2, 1, 9)
        self.lblTissueType = QtGui.QLabel(self.groupBox)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_4.addWidget(self.lblTissueType, 11, 1, 1, 1)
        self.lblEventSetDate = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventSetDate.sizePolicy().hasHeightForWidth())
        self.lblEventSetDate.setSizePolicy(sizePolicy)
        self.lblEventSetDate.setObjectName(_fromUtf8("lblEventSetDate"))
        self.gridLayout_4.addWidget(self.lblEventSetDate, 4, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.groupBox)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_4.addWidget(self.lblOrgStructure, 3, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbOrgStructure, 3, 2, 1, 9)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblEventDateFrom = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateFrom.sizePolicy().hasHeightForWidth())
        self.lblEventDateFrom.setSizePolicy(sizePolicy)
        self.lblEventDateFrom.setObjectName(_fromUtf8("lblEventDateFrom"))
        self.horizontalLayout.addWidget(self.lblEventDateFrom)
        self.edtEventSetDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetDate.sizePolicy().hasHeightForWidth())
        self.edtEventSetDate.setSizePolicy(sizePolicy)
        self.edtEventSetDate.setCalendarPopup(True)
        self.edtEventSetDate.setObjectName(_fromUtf8("edtEventSetDate"))
        self.horizontalLayout.addWidget(self.edtEventSetDate)
        self.edtEventSetTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetTime.sizePolicy().hasHeightForWidth())
        self.edtEventSetTime.setSizePolicy(sizePolicy)
        self.edtEventSetTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventSetTime.setCurrentSectionIndex(0)
        self.edtEventSetTime.setObjectName(_fromUtf8("edtEventSetTime"))
        self.horizontalLayout.addWidget(self.edtEventSetTime)
        self.lblEventDateTo = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateTo.sizePolicy().hasHeightForWidth())
        self.lblEventDateTo.setSizePolicy(sizePolicy)
        self.lblEventDateTo.setObjectName(_fromUtf8("lblEventDateTo"))
        self.horizontalLayout.addWidget(self.lblEventDateTo)
        self.edtEventDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventDate.sizePolicy().hasHeightForWidth())
        self.edtEventDate.setSizePolicy(sizePolicy)
        self.edtEventDate.setCalendarPopup(True)
        self.edtEventDate.setObjectName(_fromUtf8("edtEventDate"))
        self.horizontalLayout.addWidget(self.edtEventDate)
        self.edtEventTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventTime.sizePolicy().hasHeightForWidth())
        self.edtEventTime.setSizePolicy(sizePolicy)
        self.edtEventTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventTime.setCurrentSectionIndex(0)
        self.edtEventTime.setObjectName(_fromUtf8("edtEventTime"))
        self.horizontalLayout.addWidget(self.edtEventTime)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_4.addLayout(self.horizontalLayout, 4, 2, 1, 9)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 3)
        self.btnAppointment.raise_()
        self.chkSelectPreviousActions.raise_()
        self.groupBox.raise_()
        self.grpReferral.raise_()
        self.tabWidget.addTab(self.tabStandart, _fromUtf8(""))
        self.tabNosology = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabNosology.sizePolicy().hasHeightForWidth())
        self.tabNosology.setSizePolicy(sizePolicy)
        self.tabNosology.setObjectName(_fromUtf8("tabNosology"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabNosology)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtNosologyDiagnosis = CICDCodeComboBoxEx(self.tabNosology)
        self.edtNosologyDiagnosis.setObjectName(
            _fromUtf8("edtNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.edtNosologyDiagnosis, 0, 1, 1, 1)
        self.lblNosologyDiagnosis = QtGui.QLabel(self.tabNosology)
        self.lblNosologyDiagnosis.setObjectName(
            _fromUtf8("lblNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.lblNosologyDiagnosis, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.tabWidget.addTab(self.tabNosology, _fromUtf8(""))
        self.tabArmyReferral = QtGui.QWidget()
        self.tabArmyReferral.setObjectName(_fromUtf8("tabArmyReferral"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabArmyReferral)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.grpArmyRefferel = QtGui.QGroupBox(self.tabArmyReferral)
        self.grpArmyRefferel.setCheckable(True)
        self.grpArmyRefferel.setChecked(False)
        self.grpArmyRefferel.setObjectName(_fromUtf8("grpArmyRefferel"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpArmyRefferel)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.edtArmyDate = CDateEdit(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout_6.addWidget(self.edtArmyDate, 1, 1, 1, 2)
        self.lblArmyDate = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout_6.addWidget(self.lblArmyDate, 1, 0, 1, 1)
        self.cmbArmyOrg = CArmyOrgComboBox(self.grpArmyRefferel)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.gridLayout_6.addWidget(self.cmbArmyOrg, 2, 1, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout_6.addWidget(self.cmbArmyNumber, 0, 1, 1, 2)
        self.lblArmyFreeInput = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout_6.addWidget(self.lblArmyFreeInput, 2, 0, 1, 1)
        self.lblArmyNumber = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout_6.addWidget(self.lblArmyNumber, 0, 0, 1, 1)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.grpArmyRefferel)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.gridLayout_6.addWidget(self.btnSelectArmyOrg, 2, 2, 1, 1)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.grpArmyRefferel)
        self.edtArmyFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyFreeInput.sizePolicy().hasHeightForWidth())
        self.edtArmyFreeInput.setSizePolicy(sizePolicy)
        self.edtArmyFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.gridLayout_6.addWidget(self.edtArmyFreeInput, 3, 1, 1, 2)
        self.chkArmyFreeInput = QtGui.QCheckBox(self.grpArmyRefferel)
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.gridLayout_6.addWidget(self.chkArmyFreeInput, 3, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem5, 4, 1, 1, 1)
        self.lblArmyNumber.raise_()
        self.cmbArmyNumber.raise_()
        self.lblArmyDate.raise_()
        self.edtArmyDate.raise_()
        self.lblArmyFreeInput.raise_()
        self.cmbArmyOrg.raise_()
        self.btnSelectArmyOrg.raise_()
        self.chkArmyFreeInput.raise_()
        self.edtArmyFreeInput.raise_()
        self.verticalLayout.addWidget(self.grpArmyRefferel)
        self.tabWidget.addTab(self.tabArmyReferral, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PreCreateEventDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblPerson.setBuddy(self.edtPerson)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblExternalId.setBuddy(self.edtExternalId)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrg.setBuddy(self.cmbOrg)
        self.lblCuratorId.setBuddy(self.cmbCuratorId)
        self.lblAssistantId.setBuddy(self.cmbAssistantId)
        self.lblDays.setBuddy(self.edtDays)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblEventSetDate.setBuddy(self.edtEventSetDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventDateTo.setBuddy(self.edtEventDate)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)

        self.retranslateUi(PreCreateEventDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PreCreateEventDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PreCreateEventDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreCreateEventDialog)
        PreCreateEventDialog.setTabOrder(self.tabWidget, self.cmbOrg)
        PreCreateEventDialog.setTabOrder(self.cmbOrg, self.cmbEventType)
        PreCreateEventDialog.setTabOrder(self.cmbEventType, self.cmbPerson)
        PreCreateEventDialog.setTabOrder(self.cmbPerson, self.cmbOrgStructure)
        PreCreateEventDialog.setTabOrder(self.cmbOrgStructure,
                                         self.edtEventSetDate)
        PreCreateEventDialog.setTabOrder(self.edtEventSetDate,
                                         self.edtEventSetTime)
        PreCreateEventDialog.setTabOrder(self.edtEventSetTime,
                                         self.edtEventDate)
        PreCreateEventDialog.setTabOrder(self.edtEventDate, self.edtEventTime)
        PreCreateEventDialog.setTabOrder(self.edtEventTime,
                                         self.chkIncludeRedDays)
        PreCreateEventDialog.setTabOrder(self.chkIncludeRedDays,
                                         self.chkAddVisits)
        PreCreateEventDialog.setTabOrder(self.chkAddVisits, self.edtDays)
        PreCreateEventDialog.setTabOrder(self.edtDays, self.edtExternalId)
        PreCreateEventDialog.setTabOrder(self.edtExternalId,
                                         self.cmbAssistantId)
        PreCreateEventDialog.setTabOrder(self.cmbAssistantId,
                                         self.cmbCuratorId)
        PreCreateEventDialog.setTabOrder(self.cmbCuratorId, self.cmbTissueType)
        PreCreateEventDialog.setTabOrder(self.cmbTissueType, self.grpReferral)
        PreCreateEventDialog.setTabOrder(self.grpReferral,
                                         self.cmbReferralType)
        PreCreateEventDialog.setTabOrder(self.cmbReferralType, self.edtNumber)
        PreCreateEventDialog.setTabOrder(self.edtNumber, self.edtDate)
        PreCreateEventDialog.setTabOrder(self.edtDate, self.edtPlannedDate)
        PreCreateEventDialog.setTabOrder(self.edtPlannedDate,
                                         self.cmbRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.cmbRelegateOrg,
                                         self.btnSelectRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectRelegateOrg,
                                         self.chkFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        PreCreateEventDialog.setTabOrder(self.edtFreeInput, self.edtPerson)
        PreCreateEventDialog.setTabOrder(self.edtPerson, self.cmbSpeciality)
        PreCreateEventDialog.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        PreCreateEventDialog.setTabOrder(self.cmbMKB, self.btnAppointment)
        PreCreateEventDialog.setTabOrder(self.btnAppointment,
                                         self.chkSelectPreviousActions)
        PreCreateEventDialog.setTabOrder(self.chkSelectPreviousActions,
                                         self.buttonBox)
        PreCreateEventDialog.setTabOrder(self.buttonBox,
                                         self.edtNosologyDiagnosis)
        PreCreateEventDialog.setTabOrder(self.edtNosologyDiagnosis,
                                         self.grpArmyRefferel)
        PreCreateEventDialog.setTabOrder(self.grpArmyRefferel,
                                         self.cmbArmyNumber)
        PreCreateEventDialog.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        PreCreateEventDialog.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        PreCreateEventDialog.setTabOrder(self.cmbArmyOrg,
                                         self.btnSelectArmyOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectArmyOrg,
                                         self.chkArmyFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkArmyFreeInput,
                                         self.edtArmyFreeInput)

    def retranslateUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setWindowTitle(
            _translate("PreCreateEventDialog", "Новое обращение", None))
        self.grpReferral.setTitle(
            _translate("PreCreateEventDialog", "Добавить направление из ЛПУ",
                       None))
        self.lblDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblReferralType.setText(
            _translate("PreCreateEventDialog", "Тип направления", None))
        self.lblNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.lblRelegateOrg.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.btnSelectRelegateOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.lblPlannedDate.setToolTip(
            _translate("PreCreateEventDialog",
                       "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(
            _translate("PreCreateEventDialog",
                       "Дата планируемой госпитализации", None))
        self.chkFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.lblPerson.setText(_translate("PreCreateEventDialog", "Врач",
                                          None))
        self.lblSpeciality.setText(
            _translate("PreCreateEventDialog", "Специальность", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "PreCreateEventDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.lblDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.chkSelectPreviousActions.setText(
            _translate("PreCreateEventDialog",
                       "Отметить действия добавленные в прошлый раз", None))
        self.btnAppointment.setText(
            _translate("PreCreateEventDialog", "Запись на прием в другое ЛПУ",
                       None))
        self.lblExternalId.setText(
            _translate("PreCreateEventDialog", "Внешний идентификатор", None))
        self.lblPersonal.setText(
            _translate("PreCreateEventDialog", "&Врач", None))
        self.lblEventType.setText(
            _translate("PreCreateEventDialog", "&Цель", None))
        self.chkIncludeRedDays.setText(
            _translate("PreCreateEventDialog", "включая выходные", None))
        self.chkAddVisits.setText(
            _translate("PreCreateEventDialog",
                       "Добавить визиты по длительности", None))
        self.lblOrg.setText(_translate("PreCreateEventDialog", "&ЛПУ", None))
        self.lblCuratorId.setText(
            _translate("PreCreateEventDialog", "Куратор", None))
        self.lblAssistantId.setText(
            _translate("PreCreateEventDialog", "Ассистент", None))
        self.lblDays.setText(_translate("PreCreateEventDialog", "Дней", None))
        self.lblTissueType.setText(
            _translate("PreCreateEventDialog", "Тип биоматериала", None))
        self.lblEventSetDate.setText(
            _translate("PreCreateEventDialog", "&Дата", None))
        self.lblOrgStructure.setText(
            _translate("PreCreateEventDialog", "&Подразделение", None))
        self.lblEventDateFrom.setText(
            _translate("PreCreateEventDialog", "с", None))
        self.edtEventSetTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.lblEventDateTo.setText(
            _translate("PreCreateEventDialog", "по", None))
        self.edtEventTime.setDisplayFormat(
            _translate("PreCreateEventDialog", "HH:mm", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabStandart),
            _translate("PreCreateEventDialog", "Стандартное", None))
        self.lblNosologyDiagnosis.setText(
            _translate("PreCreateEventDialog", "Диагноз", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabNosology),
            _translate("PreCreateEventDialog", "Нозология (ф.30)", None))
        self.grpArmyRefferel.setTitle(
            _translate("PreCreateEventDialog",
                       "Добавить направление из военкомата", None))
        self.lblArmyDate.setText(
            _translate("PreCreateEventDialog", "Дата выдачи направления",
                       None))
        self.lblArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Направитель", None))
        self.lblArmyNumber.setText(
            _translate("PreCreateEventDialog", "Номер направления", None))
        self.btnSelectArmyOrg.setText(
            _translate("PreCreateEventDialog", "...", None))
        self.chkArmyFreeInput.setText(
            _translate("PreCreateEventDialog", "Свободный ввод", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabArmyReferral),
            _translate("PreCreateEventDialog", "Направление из военкомата",
                       None))
Exemplo n.º 2
0
class Ui_KSGReselectionDialogForm(object):
    def setupUi(self, KSGReselectionDialogForm):
        KSGReselectionDialogForm.setObjectName(
            _fromUtf8("KSGReselectionDialogForm"))
        KSGReselectionDialogForm.resize(640, 590)
        self.gridLayout = QtGui.QGridLayout(KSGReselectionDialogForm)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(KSGReselectionDialogForm)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.begDate = CDateEdit(KSGReselectionDialogForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.begDate.sizePolicy().hasHeightForWidth())
        self.begDate.setSizePolicy(sizePolicy)
        self.begDate.setObjectName(_fromUtf8("begDate"))
        self.gridLayout.addWidget(self.begDate, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(KSGReselectionDialogForm)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.endDate = CDateEdit(KSGReselectionDialogForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.endDate.sizePolicy().hasHeightForWidth())
        self.endDate.setSizePolicy(sizePolicy)
        self.endDate.setObjectName(_fromUtf8("endDate"))
        self.gridLayout.addWidget(self.endDate, 1, 1, 1, 1)
        self.progressBar = QtGui.QProgressBar(KSGReselectionDialogForm)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 2, 0, 1, 2)
        self.logBrowser = QtGui.QTextBrowser(KSGReselectionDialogForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.logBrowser.sizePolicy().hasHeightForWidth())
        self.logBrowser.setSizePolicy(sizePolicy)
        self.logBrowser.setObjectName(_fromUtf8("logBrowser"))
        self.gridLayout.addWidget(self.logBrowser, 3, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.btnStart = QtGui.QPushButton(KSGReselectionDialogForm)
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.horizontalLayout.addWidget(self.btnStart)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(KSGReselectionDialogForm)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout.addLayout(self.horizontalLayout, 4, 0, 1, 2)

        self.retranslateUi(KSGReselectionDialogForm)
        QtCore.QMetaObject.connectSlotsByName(KSGReselectionDialogForm)

    def retranslateUi(self, KSGReselectionDialogForm):
        KSGReselectionDialogForm.setWindowTitle(
            _translate("KSGReselectionDialogForm",
                       "Перевыставление КСГ в обращениях", None))
        self.label.setText(
            _translate("KSGReselectionDialogForm", "Дата начала", None))
        self.label_2.setText(
            _translate("KSGReselectionDialogForm", "Дата окончания", None))
        self.btnStart.setText(
            _translate("KSGReselectionDialogForm", "Перевыставить", None))
        self.btnClose.setText(
            _translate("KSGReselectionDialogForm", "Закрыть", None))
Exemplo n.º 3
0
class Ui_ReportF14Children(object):
    def setupUi(self, ReportF14Children):
        ReportF14Children.setObjectName(_fromUtf8("ReportF14Children"))
        ReportF14Children.resize(445, 458)
        self.gridLayout = QtGui.QGridLayout(ReportF14Children)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEventType = QtGui.QLabel(ReportF14Children)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.label = QtGui.QLabel(ReportF14Children)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 7, 0, 1, 2)
        self.cmbFinance = CRBComboBox(ReportF14Children)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 7, 2, 1, 1)
        self.lblOrder = QtGui.QLabel(ReportF14Children)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 5, 0, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF14Children)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 2, 1, 1)
        self.cmbTypeHosp = QtGui.QComboBox(ReportF14Children)
        self.cmbTypeHosp.setObjectName(_fromUtf8("cmbTypeHosp"))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTypeHosp, 4, 2, 1, 1)
        self.edtBegDate = CDateEdit(ReportF14Children)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.cmbOrder = QtGui.QComboBox(ReportF14Children)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrder, 5, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportF14Children)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.lblEndDate = QtGui.QLabel(ReportF14Children)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.lstOrgStructure = CRBListBox(ReportF14Children)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 9, 0, 2, 3)
        self.chkOrgStructure = QtGui.QCheckBox(ReportF14Children)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 8, 0, 1, 2)
        self.edtEndDate = CDateEdit(ReportF14Children)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 1)
        self.lblTypeHosp = QtGui.QLabel(ReportF14Children)
        self.lblTypeHosp.setObjectName(_fromUtf8("lblTypeHosp"))
        self.gridLayout.addWidget(self.lblTypeHosp, 4, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportF14Children)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 2, 1, 1)
        self.cmbEventType = CRBComboBox(ReportF14Children)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 2, 1, 1)
        self.lblEventPerpose = QtGui.QLabel(ReportF14Children)
        self.lblEventPerpose.setObjectName(_fromUtf8("lblEventPerpose"))
        self.gridLayout.addWidget(self.lblEventPerpose, 3, 0, 1, 2)
        self.cmbEventPurpose = CRBComboBox(ReportF14Children)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 2, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

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

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

    def retranslateUi(self, ReferralPage):
        ReferralPage.setWindowTitle(_translate("ReferralPage", "Form", None))
        self.btnRefGenNumber.setText(
            _translate("ReferralPage", "Сформировать", None))
        self.lblRelegateMo.setText(
            _translate("ReferralPage", "Направлен в МО:", None))
        self.lblNotes.setText(_translate("ReferralPage", "Примечание:", None))
        self.lblRefBedProfile.setText(
            _translate("ReferralPage", "Профиль койки:", None))
        self.cmbRefHospType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbRefHospType.setItemText(
            1, _translate("ReferralPage", "Плановая", None))
        self.cmbRefHospType.setItemText(
            2, _translate("ReferralPage", "Экстренная", None))
        self.lblRefMKB.setText(_translate("ReferralPage", "Диагноз:", None))
        self.chkRefAgreement.setText(
            _translate("ReferralPage", "Согласие на превышение дней ожидания",
                       None))
        self.lblPerson.setText(_translate("ReferralPage", "Врач:", None))
        self.lblRefNumber.setText(
            _translate("ReferralPage", "Номер направления:", None))
        self.lblRefDate.setText(
            _translate("ReferralPage", "Дата направления:", None))
        self.lblRefHospType.setText(
            _translate("ReferralPage", "Тип госпитализации:", None))
        self.lblRefPlanned.setText(
            _translate("ReferralPage", "Дата планируемой госпитализации:",
                       None))
        self.lblMedProfile.setText(
            _translate("ReferralPage", "Специальность:", None))
        self.btnOrgFilter.setText(_translate("ReferralPage", "...", None))
        self.btnResetMo.setText(_translate("ReferralPage", "Очистить", None))
        self.lblOrgStructureProfile.setText(
            _translate("ReferralPage", "Профиль отделения:", None))
        self.cmbStatyonaryType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbStatyonaryType.setItemText(
            1, _translate("ReferralPage", "Стационар", None))
        self.cmbStatyonaryType.setItemText(
            2, _translate("ReferralPage", "Дневной стационар", None))
        self.lblStatyonaryType.setText(
            _translate("ReferralPage", "Тип стационара:", None))
        self.lblExamType.setText(
            _translate("ReferralPage", "Вид назначенного обследования:", None))
        self.cmbExamType.setItemText(
            0, _translate("ReferralPage", "не задано", None))
        self.cmbExamType.setItemText(
            1, _translate("ReferralPage", "инструментальная диагностика",
                          None))
        self.cmbExamType.setItemText(
            2, _translate("ReferralPage", "методы лучевой диагностики", None))
        self.btnAnotherLpu.setText(
            _translate("ReferralPage", "Запись в другое ЛПУ", None))
        self.btnGetMoList.setText(
            _translate("ReferralPage", "Запросить список МО", None))
        self.btnSendRef.setText(
            _translate("ReferralPage", "Отправить направление", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabReserved),
            _translate("ReferralPage", "Новое направление", None))
        self.btnUpdateTable.setText(
            _translate("ReferralPage", "Обновить сведения таблицы", None))
        self.btnUpdateStatuses.setText(
            _translate("ReferralPage", "Обновить статусы направлений ", None))
        self.btnCancellation.setText(
            _translate("ReferralPage", "Аннулировать направление", None))
        self.btnResultDocument.setText(
            _translate("ReferralPage", "Получить результирующий документ",
                       None))
        self.btnEditReferral.setText(
            _translate("ReferralPage", "Редактировать направление", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.history),
                                  _translate("ReferralPage", "История", None))
Exemplo n.º 5
0
class Ui_HospitalizationEventDialog(object):
    def setupUi(self, HospitalizationEventDialog):
        HospitalizationEventDialog.setObjectName(
            _fromUtf8("HospitalizationEventDialog"))
        HospitalizationEventDialog.resize(640, 450)
        self.gridLayout_2 = QtGui.QGridLayout(HospitalizationEventDialog)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tabWidget = QtGui.QTabWidget(HospitalizationEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabHospitalizationEvent = QtGui.QWidget()
        self.tabHospitalizationEvent.setObjectName(
            _fromUtf8("tabHospitalizationEvent"))
        self.vboxlayout = QtGui.QVBoxLayout(self.tabHospitalizationEvent)
        self.vboxlayout.setMargin(4)
        self.vboxlayout.setSpacing(4)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.tblHospitalizationEvent = CClientsTableView(
            self.tabHospitalizationEvent)
        self.tblHospitalizationEvent.setObjectName(
            _fromUtf8("tblHospitalizationEvent"))
        self.vboxlayout.addWidget(self.tblHospitalizationEvent)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.btnCommit = QtGui.QPushButton(self.tabHospitalizationEvent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnCommit.sizePolicy().hasHeightForWidth())
        self.btnCommit.setSizePolicy(sizePolicy)
        self.btnCommit.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.btnCommit.setObjectName(_fromUtf8("btnCommit"))
        self.horizontalLayout_3.addWidget(self.btnCommit)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.btnRegistry = QtGui.QPushButton(self.tabHospitalizationEvent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnRegistry.sizePolicy().hasHeightForWidth())
        self.btnRegistry.setSizePolicy(sizePolicy)
        self.btnRegistry.setMinimumSize(QtCore.QSize(100, 0))
        self.btnRegistry.setObjectName(_fromUtf8("btnRegistry"))
        self.horizontalLayout_3.addWidget(self.btnRegistry)
        self.vboxlayout.addLayout(self.horizontalLayout_3)
        self.tabWidget.addTab(self.tabHospitalizationEvent, _fromUtf8(""))
        self.tabSearch = QtGui.QWidget()
        self.tabSearch.setObjectName(_fromUtf8("tabSearch"))
        self.gridLayout = QtGui.QGridLayout(self.tabSearch)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblPolicy = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicy.sizePolicy().hasHeightForWidth())
        self.lblPolicy.setSizePolicy(sizePolicy)
        self.lblPolicy.setObjectName(_fromUtf8("lblPolicy"))
        self.gridLayout.addWidget(self.lblPolicy, 8, 0, 1, 1)
        self.lblClientId = QtGui.QLabel(self.tabSearch)
        self.lblClientId.setObjectName(_fromUtf8("lblClientId"))
        self.gridLayout.addWidget(self.lblClientId, 5, 0, 1, 1)
        self.cmbPolicyInsurer = CInsurerComboBox(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPolicyInsurer.sizePolicy().hasHeightForWidth())
        self.cmbPolicyInsurer.setSizePolicy(sizePolicy)
        self.cmbPolicyInsurer.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbPolicyInsurer.setObjectName(_fromUtf8("cmbPolicyInsurer"))
        self.gridLayout.addWidget(self.cmbPolicyInsurer, 9, 7, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(57, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 9, 12, 1, 1)
        self.lblContact = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContact.sizePolicy().hasHeightForWidth())
        self.lblContact.setSizePolicy(sizePolicy)
        self.lblContact.setObjectName(_fromUtf8("lblContact"))
        self.gridLayout.addWidget(self.lblContact, 15, 0, 1, 2)
        self.lblNumber = QtGui.QLabel(self.tabSearch)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 7, 10, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 7, 11, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(74, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 7, 12, 1, 1)
        self.edtRightSerial = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtRightSerial.sizePolicy().hasHeightForWidth())
        self.edtRightSerial.setSizePolicy(sizePolicy)
        self.edtRightSerial.setObjectName(_fromUtf8("edtRightSerial"))
        self.gridLayout.addWidget(self.edtRightSerial, 7, 9, 1, 1)
        self.lblSerial = QtGui.QLabel(self.tabSearch)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 7, 5, 1, 1)
        self.lblPatrName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPatrName.sizePolicy().hasHeightForWidth())
        self.lblPatrName.setSizePolicy(sizePolicy)
        self.lblPatrName.setObjectName(_fromUtf8("lblPatrName"))
        self.gridLayout.addWidget(self.lblPatrName, 3, 0, 1, 2)
        self.edtPatrName = QtGui.QLineEdit(self.tabSearch)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout.addWidget(self.edtPatrName, 3, 2, 1, 11)
        self.lblFirstName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFirstName.sizePolicy().hasHeightForWidth())
        self.lblFirstName.setSizePolicy(sizePolicy)
        self.lblFirstName.setObjectName(_fromUtf8("lblFirstName"))
        self.gridLayout.addWidget(self.lblFirstName, 2, 0, 1, 2)
        self.edtContact = QtGui.QLineEdit(self.tabSearch)
        self.edtContact.setObjectName(_fromUtf8("edtContact"))
        self.gridLayout.addWidget(self.edtContact, 15, 2, 1, 11)
        self.edtLastName = QtGui.QLineEdit(self.tabSearch)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout.addWidget(self.edtLastName, 1, 2, 1, 11)
        self.edtFirstName = QtGui.QLineEdit(self.tabSearch)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout.addWidget(self.edtFirstName, 2, 2, 1, 11)
        self.edtPolicySerial = CPolicySerialEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicySerial.sizePolicy().hasHeightForWidth())
        self.edtPolicySerial.setSizePolicy(sizePolicy)
        self.edtPolicySerial.setObjectName(_fromUtf8("edtPolicySerial"))
        self.gridLayout.addWidget(self.edtPolicySerial, 8, 7, 1, 3)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 8, 12, 1, 1)
        self.lblCompulsoryPolisNumber = QtGui.QLabel(self.tabSearch)
        self.lblCompulsoryPolisNumber.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblCompulsoryPolisNumber.setObjectName(
            _fromUtf8("lblCompulsoryPolisNumber"))
        self.gridLayout.addWidget(self.lblCompulsoryPolisNumber, 8, 10, 1, 1)
        self.edtPolicyNumber = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyNumber.sizePolicy().hasHeightForWidth())
        self.edtPolicyNumber.setSizePolicy(sizePolicy)
        self.edtPolicyNumber.setObjectName(_fromUtf8("edtPolicyNumber"))
        self.gridLayout.addWidget(self.edtPolicyNumber, 8, 11, 1, 1)
        self.lblPolicyInsurer = QtGui.QLabel(self.tabSearch)
        self.lblPolicyInsurer.setObjectName(_fromUtf8("lblPolicyInsurer"))
        self.gridLayout.addWidget(self.lblPolicyInsurer, 9, 5, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 141, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem4, 16, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem5 = QtGui.QSpacerItem(231, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem5)
        self.readEpoms = QtGui.QPushButton(self.tabSearch)
        self.readEpoms.setObjectName(_fromUtf8("readEpoms"))
        self.horizontalLayout.addWidget(self.readEpoms)
        self.btnReadOMSBarcode = QtGui.QPushButton(self.tabSearch)
        self.btnReadOMSBarcode.setObjectName(_fromUtf8("btnReadOMSBarcode"))
        self.horizontalLayout.addWidget(self.btnReadOMSBarcode)
        self.btnApply = QtGui.QPushButton(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnApply.sizePolicy().hasHeightForWidth())
        self.btnApply.setSizePolicy(sizePolicy)
        self.btnApply.setMinimumSize(QtCore.QSize(100, 0))
        self.btnApply.setObjectName(_fromUtf8("btnApply"))
        self.horizontalLayout.addWidget(self.btnApply)
        self.btnReset = QtGui.QPushButton(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnReset.sizePolicy().hasHeightForWidth())
        self.btnReset.setSizePolicy(sizePolicy)
        self.btnReset.setMinimumSize(QtCore.QSize(100, 0))
        self.btnReset.setObjectName(_fromUtf8("btnReset"))
        self.horizontalLayout.addWidget(self.btnReset)
        self.gridLayout.addLayout(self.horizontalLayout, 17, 0, 1, 13)
        self.lblPolicySerial = QtGui.QLabel(self.tabSearch)
        self.lblPolicySerial.setObjectName(_fromUtf8("lblPolicySerial"))
        self.gridLayout.addWidget(self.lblPolicySerial, 8, 5, 1, 1)
        self.edtLeftSerial = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeftSerial.sizePolicy().hasHeightForWidth())
        self.edtLeftSerial.setSizePolicy(sizePolicy)
        self.edtLeftSerial.setObjectName(_fromUtf8("edtLeftSerial"))
        self.gridLayout.addWidget(self.edtLeftSerial, 7, 7, 1, 1)
        self.lblLastName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLastName.sizePolicy().hasHeightForWidth())
        self.lblLastName.setSizePolicy(sizePolicy)
        self.lblLastName.setObjectName(_fromUtf8("lblLastName"))
        self.gridLayout.addWidget(self.lblLastName, 1, 0, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lblPolicyBegDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicyBegDate.sizePolicy().hasHeightForWidth())
        self.lblPolicyBegDate.setSizePolicy(sizePolicy)
        self.lblPolicyBegDate.setObjectName(_fromUtf8("lblPolicyBegDate"))
        self.horizontalLayout_2.addWidget(self.lblPolicyBegDate)
        self.edtPolicyBegDate = CDateEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyBegDate.sizePolicy().hasHeightForWidth())
        self.edtPolicyBegDate.setSizePolicy(sizePolicy)
        self.edtPolicyBegDate.setCalendarPopup(True)
        self.edtPolicyBegDate.setObjectName(_fromUtf8("edtPolicyBegDate"))
        self.horizontalLayout_2.addWidget(self.edtPolicyBegDate)
        self.lblPolicyEndDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicyEndDate.sizePolicy().hasHeightForWidth())
        self.lblPolicyEndDate.setSizePolicy(sizePolicy)
        self.lblPolicyEndDate.setObjectName(_fromUtf8("lblPolicyEndDate"))
        self.horizontalLayout_2.addWidget(self.lblPolicyEndDate)
        self.edtPolicyEndDate = CDateEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyEndDate.sizePolicy().hasHeightForWidth())
        self.edtPolicyEndDate.setSizePolicy(sizePolicy)
        self.edtPolicyEndDate.setCalendarPopup(True)
        self.edtPolicyEndDate.setObjectName(_fromUtf8("edtPolicyEndDate"))
        self.horizontalLayout_2.addWidget(self.edtPolicyEndDate)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem6)
        self.gridLayout.addLayout(self.horizontalLayout_2, 10, 5, 1, 8)
        self.cmbPolicyType = CRBComboBox(self.tabSearch)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.gridLayout.addWidget(self.cmbPolicyType, 8, 2, 1, 1)
        self.lblDocument = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDocument.sizePolicy().hasHeightForWidth())
        self.lblDocument.setSizePolicy(sizePolicy)
        self.lblDocument.setObjectName(_fromUtf8("lblDocument"))
        self.gridLayout.addWidget(self.lblDocument, 7, 0, 1, 1)
        self.edtClientId = CLineEdit(self.tabSearch)
        self.edtClientId.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtClientId.sizePolicy().hasHeightForWidth())
        self.edtClientId.setSizePolicy(sizePolicy)
        self.edtClientId.setMaxLength(16)
        self.edtClientId.setPlaceholderText(_fromUtf8(""))
        self.edtClientId.setObjectName(_fromUtf8("edtClientId"))
        self.gridLayout.addWidget(self.edtClientId, 5, 2, 1, 1)
        self.cmbDocType = CRBComboBox(self.tabSearch)
        self.cmbDocType.setObjectName(_fromUtf8("cmbDocType"))
        self.gridLayout.addWidget(self.cmbDocType, 7, 2, 1, 1)
        self.lblBirthDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBirthDate.sizePolicy().hasHeightForWidth())
        self.lblBirthDate.setSizePolicy(sizePolicy)
        self.lblBirthDate.setObjectName(_fromUtf8("lblBirthDate"))
        self.gridLayout.addWidget(self.lblBirthDate, 6, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabSearch)
        self.edtBirthDate.setCalendarPopup(True)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout.addWidget(self.edtBirthDate, 6, 2, 1, 1)
        self.lblSex = QtGui.QLabel(self.tabSearch)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 6, 10, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabSearch)
        self.cmbSex.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 6, 11, 1, 1)
        self.tabWidget.addTab(self.tabSearch, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.lblPolicy.setBuddy(self.edtPolicySerial)
        self.lblFirstName.setBuddy(self.edtFirstName)
        self.lblCompulsoryPolisNumber.setBuddy(self.edtPolicyNumber)
        self.lblPolicyInsurer.setBuddy(self.cmbPolicyInsurer)
        self.lblPolicySerial.setBuddy(self.edtPolicySerial)
        self.lblLastName.setBuddy(self.edtLastName)
        self.lblPolicyBegDate.setBuddy(self.edtPolicyBegDate)

        self.retranslateUi(HospitalizationEventDialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(HospitalizationEventDialog)
        HospitalizationEventDialog.setTabOrder(self.edtLastName,
                                               self.edtFirstName)
        HospitalizationEventDialog.setTabOrder(self.edtFirstName,
                                               self.edtPatrName)
        HospitalizationEventDialog.setTabOrder(self.edtPatrName,
                                               self.edtClientId)
        HospitalizationEventDialog.setTabOrder(self.edtClientId,
                                               self.edtBirthDate)
        HospitalizationEventDialog.setTabOrder(self.edtBirthDate, self.cmbSex)
        HospitalizationEventDialog.setTabOrder(self.cmbSex, self.cmbDocType)
        HospitalizationEventDialog.setTabOrder(self.cmbDocType,
                                               self.edtLeftSerial)
        HospitalizationEventDialog.setTabOrder(self.edtLeftSerial,
                                               self.edtRightSerial)
        HospitalizationEventDialog.setTabOrder(self.edtRightSerial,
                                               self.edtNumber)
        HospitalizationEventDialog.setTabOrder(self.edtNumber,
                                               self.cmbPolicyType)
        HospitalizationEventDialog.setTabOrder(self.cmbPolicyType,
                                               self.edtPolicySerial)
        HospitalizationEventDialog.setTabOrder(self.edtPolicySerial,
                                               self.edtPolicyNumber)
        HospitalizationEventDialog.setTabOrder(self.edtPolicyNumber,
                                               self.cmbPolicyInsurer)
        HospitalizationEventDialog.setTabOrder(self.cmbPolicyInsurer,
                                               self.edtPolicyBegDate)
        HospitalizationEventDialog.setTabOrder(self.edtPolicyBegDate,
                                               self.edtPolicyEndDate)
        HospitalizationEventDialog.setTabOrder(self.edtPolicyEndDate,
                                               self.edtContact)
        HospitalizationEventDialog.setTabOrder(self.edtContact, self.btnApply)
        HospitalizationEventDialog.setTabOrder(self.btnApply, self.btnReset)
        HospitalizationEventDialog.setTabOrder(self.btnReset, self.readEpoms)
        HospitalizationEventDialog.setTabOrder(self.readEpoms,
                                               self.btnReadOMSBarcode)
        HospitalizationEventDialog.setTabOrder(self.btnReadOMSBarcode,
                                               self.btnRegistry)
        HospitalizationEventDialog.setTabOrder(self.btnRegistry,
                                               self.btnCommit)
        HospitalizationEventDialog.setTabOrder(self.btnCommit, self.tabWidget)
        HospitalizationEventDialog.setTabOrder(self.tabWidget,
                                               self.tblHospitalizationEvent)

    def retranslateUi(self, HospitalizationEventDialog):
        HospitalizationEventDialog.setWindowTitle(
            _translate("HospitalizationEventDialog", "Госпитализация", None))
        self.btnCommit.setText(
            _translate("HospitalizationEventDialog",
                       "Госпитализировать (Пробел)", None))
        self.btnRegistry.setText(
            _translate("HospitalizationEventDialog", "Регистрация (F9)", None))
        self.btnRegistry.setShortcut(
            _translate("HospitalizationEventDialog", "F9", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabHospitalizationEvent),
            _translate("HospitalizationEventDialog", "Результат поиска", None))
        self.lblPolicy.setText(
            _translate("HospitalizationEventDialog", "Полис", None))
        self.lblClientId.setText(
            _translate("HospitalizationEventDialog", "Код пациента", None))
        self.lblContact.setText(
            _translate("HospitalizationEventDialog", "Контакт", None))
        self.lblNumber.setText(
            _translate("HospitalizationEventDialog", "Номер", None))
        self.lblSerial.setText(
            _translate("HospitalizationEventDialog", "Серия", None))
        self.lblPatrName.setText(
            _translate("HospitalizationEventDialog", "Отчество", None))
        self.lblFirstName.setText(
            _translate("HospitalizationEventDialog", "Имя", None))
        self.lblCompulsoryPolisNumber.setText(
            _translate("HospitalizationEventDialog", "Номер", None))
        self.lblPolicyInsurer.setText(
            _translate("HospitalizationEventDialog", "СМО", None))
        self.readEpoms.setText(
            _translate("HospitalizationEventDialog", "Считать данные с ЭПОМС",
                       None))
        self.btnReadOMSBarcode.setText(
            _translate("HospitalizationEventDialog", "Считать данные полиса",
                       None))
        self.btnApply.setText(
            _translate("HospitalizationEventDialog", "Искать", None))
        self.btnReset.setText(
            _translate("HospitalizationEventDialog", "Сбросить", None))
        self.lblPolicySerial.setText(
            _translate("HospitalizationEventDialog", "Серия", None))
        self.lblLastName.setText(
            _translate("HospitalizationEventDialog", "Фамилия", None))
        self.lblPolicyBegDate.setText(
            _translate("HospitalizationEventDialog", "Действителен с", None))
        self.lblPolicyEndDate.setText(
            _translate("HospitalizationEventDialog", "по", None))
        self.lblDocument.setText(
            _translate("HospitalizationEventDialog", "Документ", None))
        self.edtClientId.setToolTip(
            _translate("HospitalizationEventDialog",
                       "Код пациента в выбранной учетной системе", None))
        self.lblBirthDate.setText(
            _translate("HospitalizationEventDialog", "Дата рождения", None))
        self.edtBirthDate.setDisplayFormat(
            _translate("HospitalizationEventDialog", "dd.MM.yyyy", None))
        self.lblSex.setText(
            _translate("HospitalizationEventDialog", "Пол", None))
        self.cmbSex.setItemText(
            1, _translate("HospitalizationEventDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("HospitalizationEventDialog", "Ж", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabSearch),
            _translate("HospitalizationEventDialog", "&Поиск", None))
Exemplo n.º 6
0
class Ui_InvoiceDialog(object):
    def setupUi(self, InvoiceDialog):
        InvoiceDialog.setObjectName(_fromUtf8("InvoiceDialog"))
        InvoiceDialog.resize(542, 452)
        self.gridLayout = QtGui.QGridLayout(InvoiceDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.edtDate = CDateEdit(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.edtTime = QtGui.QTimeEdit(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTime.sizePolicy().hasHeightForWidth())
        self.edtTime.setSizePolicy(sizePolicy)
        self.edtTime.setObjectName(_fromUtf8("edtTime"))
        self.gridLayout.addWidget(self.edtTime, 0, 2, 1, 1)
        self.lblSupplier = QtGui.QLabel(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSupplier.sizePolicy().hasHeightForWidth())
        self.lblSupplier.setSizePolicy(sizePolicy)
        self.lblSupplier.setObjectName(_fromUtf8("lblSupplier"))
        self.gridLayout.addWidget(self.lblSupplier, 1, 0, 1, 1)
        self.cmbSupplier = CStorageComboBox(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSupplier.sizePolicy().hasHeightForWidth())
        self.cmbSupplier.setSizePolicy(sizePolicy)
        self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier"))
        self.gridLayout.addWidget(self.cmbSupplier, 1, 1, 1, 3)
        self.lblReceiver = QtGui.QLabel(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblReceiver.sizePolicy().hasHeightForWidth())
        self.lblReceiver.setSizePolicy(sizePolicy)
        self.lblReceiver.setObjectName(_fromUtf8("lblReceiver"))
        self.gridLayout.addWidget(self.lblReceiver, 3, 0, 1, 1)
        self.cmbReceiver = CStorageComboBox(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbReceiver.sizePolicy().hasHeightForWidth())
        self.cmbReceiver.setSizePolicy(sizePolicy)
        self.cmbReceiver.setObjectName(_fromUtf8("cmbReceiver"))
        self.gridLayout.addWidget(self.cmbReceiver, 3, 1, 1, 3)
        self.lblNote = QtGui.QLabel(InvoiceDialog)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 5, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(InvoiceDialog)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 5, 1, 1, 3)
        self.tblItems = CInDocTableView(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblItems.sizePolicy().hasHeightForWidth())
        self.tblItems.setSizePolicy(sizePolicy)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 6, 0, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(InvoiceDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 7, 0, 1, 4)
        self.lblSupplierPerson = QtGui.QLabel(InvoiceDialog)
        self.lblSupplierPerson.setObjectName(_fromUtf8("lblSupplierPerson"))
        self.gridLayout.addWidget(self.lblSupplierPerson, 2, 0, 1, 1)
        self.cmbSupplierPerson = CPersonComboBoxEx(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSupplierPerson.sizePolicy().hasHeightForWidth())
        self.cmbSupplierPerson.setSizePolicy(sizePolicy)
        self.cmbSupplierPerson.setObjectName(_fromUtf8("cmbSupplierPerson"))
        self.gridLayout.addWidget(self.cmbSupplierPerson, 2, 1, 1, 3)
        self.cmbReceiverPerson = CPersonComboBoxEx(InvoiceDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbReceiverPerson.sizePolicy().hasHeightForWidth())
        self.cmbReceiverPerson.setSizePolicy(sizePolicy)
        self.cmbReceiverPerson.setObjectName(_fromUtf8("cmbReceiverPerson"))
        self.gridLayout.addWidget(self.cmbReceiverPerson, 4, 1, 1, 3)
        self.lblReceiverPerson = QtGui.QLabel(InvoiceDialog)
        self.lblReceiverPerson.setObjectName(_fromUtf8("lblReceiverPerson"))
        self.gridLayout.addWidget(self.lblReceiverPerson, 4, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblSupplier.setBuddy(self.cmbSupplier)
        self.lblReceiver.setBuddy(self.cmbReceiver)
        self.lblNote.setBuddy(self.edtNote)
        self.lblSupplierPerson.setBuddy(self.cmbSupplierPerson)
        self.lblReceiverPerson.setBuddy(self.cmbReceiverPerson)

        self.retranslateUi(InvoiceDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               InvoiceDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               InvoiceDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(InvoiceDialog)
        InvoiceDialog.setTabOrder(self.edtDate, self.edtTime)
        InvoiceDialog.setTabOrder(self.edtTime, self.cmbSupplier)
        InvoiceDialog.setTabOrder(self.cmbSupplier, self.cmbSupplierPerson)
        InvoiceDialog.setTabOrder(self.cmbSupplierPerson, self.cmbReceiver)
        InvoiceDialog.setTabOrder(self.cmbReceiver, self.cmbReceiverPerson)
        InvoiceDialog.setTabOrder(self.cmbReceiverPerson, self.edtNote)
        InvoiceDialog.setTabOrder(self.edtNote, self.tblItems)
        InvoiceDialog.setTabOrder(self.tblItems, self.buttonBox)

    def retranslateUi(self, InvoiceDialog):
        InvoiceDialog.setWindowTitle(
            QtGui.QApplication.translate("InvoiceDialog",
                                         "Накладная на передачу ЛСиИМН", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtTime.setDisplayFormat(
            QtGui.QApplication.translate("InvoiceDialog", "HH:mm", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSupplier.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Поставщик", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblReceiver.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Получатель", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblNote.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Примечания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSupplierPerson.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Ответственный",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblReceiverPerson.setText(
            QtGui.QApplication.translate("InvoiceDialog", "Ответственный",
                                         None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 7
0
class Ui_ReportSalary_PerformerSetupDialog(object):
    def setupUi(self, ReportSalary_PerformerSetupDialog):
        ReportSalary_PerformerSetupDialog.setObjectName(_fromUtf8("ReportSalary_PerformerSetupDialog"))
        ReportSalary_PerformerSetupDialog.resize(400, 125)
        self.gridLayout = QtGui.QGridLayout(ReportSalary_PerformerSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(ReportSalary_PerformerSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportSalary_PerformerSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(ReportSalary_PerformerSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportSalary_PerformerSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.cmbType = QtGui.QComboBox(ReportSalary_PerformerSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbType.sizePolicy().hasHeightForWidth())
        self.cmbType.setSizePolicy(sizePolicy)
        self.cmbType.setObjectName(_fromUtf8("cmbType"))
        self.cmbType.addItem(_fromUtf8(""))
        self.cmbType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbType, 2, 0, 1, 1)
        self.cmbPerformer = CPersonComboBoxEx(ReportSalary_PerformerSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPerformer.sizePolicy().hasHeightForWidth())
        self.cmbPerformer.setSizePolicy(sizePolicy)
        self.cmbPerformer.setObjectName(_fromUtf8("cmbPerformer"))
        self.gridLayout.addWidget(self.cmbPerformer, 2, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportSalary_PerformerSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 0, 1, 1)

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

    def retranslateUi(self, ReportSalary_PerformerSetupDialog):
        ReportSalary_PerformerSetupDialog.setWindowTitle(_translate("ReportSalary_PerformerSetupDialog", "Dialog", None))
        self.label.setText(_translate("ReportSalary_PerformerSetupDialog", "Дата начала периода", None))
        self.label_2.setText(_translate("ReportSalary_PerformerSetupDialog", "Дата окончания периода", None))
        self.cmbType.setItemText(0, _translate("ReportSalary_PerformerSetupDialog", "Исполнитель", None))
        self.cmbType.setItemText(1, _translate("ReportSalary_PerformerSetupDialog", "Ассистент", None))
Exemplo n.º 8
0
class Ui_StockRequisitionDialog(object):
    def setupUi(self, StockRequisitionDialog):
        StockRequisitionDialog.setObjectName(
            _fromUtf8("StockRequisitionDialog"))
        StockRequisitionDialog.resize(542, 452)
        self.gridLayout = QtGui.QGridLayout(StockRequisitionDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.edtDate = CDateEdit(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.lblDeadline = QtGui.QLabel(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDeadline.sizePolicy().hasHeightForWidth())
        self.lblDeadline.setSizePolicy(sizePolicy)
        self.lblDeadline.setObjectName(_fromUtf8("lblDeadline"))
        self.gridLayout.addWidget(self.lblDeadline, 0, 2, 1, 1)
        self.edtDeadlineDate = CDateEdit(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDeadlineDate.sizePolicy().hasHeightForWidth())
        self.edtDeadlineDate.setSizePolicy(sizePolicy)
        self.edtDeadlineDate.setObjectName(_fromUtf8("edtDeadlineDate"))
        self.gridLayout.addWidget(self.edtDeadlineDate, 0, 3, 1, 1)
        self.edtDeadlineTime = QtGui.QTimeEdit(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDeadlineTime.sizePolicy().hasHeightForWidth())
        self.edtDeadlineTime.setSizePolicy(sizePolicy)
        self.edtDeadlineTime.setObjectName(_fromUtf8("edtDeadlineTime"))
        self.gridLayout.addWidget(self.edtDeadlineTime, 0, 4, 1, 1)
        self.chkRevoked = QtGui.QCheckBox(StockRequisitionDialog)
        self.chkRevoked.setObjectName(_fromUtf8("chkRevoked"))
        self.gridLayout.addWidget(self.chkRevoked, 0, 5, 1, 1)
        self.lblSupplier = QtGui.QLabel(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSupplier.sizePolicy().hasHeightForWidth())
        self.lblSupplier.setSizePolicy(sizePolicy)
        self.lblSupplier.setObjectName(_fromUtf8("lblSupplier"))
        self.gridLayout.addWidget(self.lblSupplier, 1, 0, 1, 1)
        self.cmbSupplier = CStorageComboBox(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSupplier.sizePolicy().hasHeightForWidth())
        self.cmbSupplier.setSizePolicy(sizePolicy)
        self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier"))
        self.gridLayout.addWidget(self.cmbSupplier, 1, 1, 1, 5)
        self.lblRecipient = QtGui.QLabel(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblRecipient.sizePolicy().hasHeightForWidth())
        self.lblRecipient.setSizePolicy(sizePolicy)
        self.lblRecipient.setObjectName(_fromUtf8("lblRecipient"))
        self.gridLayout.addWidget(self.lblRecipient, 2, 0, 1, 1)
        self.cmbRecipient = CStorageComboBox(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRecipient.sizePolicy().hasHeightForWidth())
        self.cmbRecipient.setSizePolicy(sizePolicy)
        self.cmbRecipient.setObjectName(_fromUtf8("cmbRecipient"))
        self.gridLayout.addWidget(self.cmbRecipient, 2, 1, 1, 5)
        self.lblNote = QtGui.QLabel(StockRequisitionDialog)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 3, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(StockRequisitionDialog)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 3, 1, 1, 5)
        self.tblItems = CInDocTableView(StockRequisitionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblItems.sizePolicy().hasHeightForWidth())
        self.tblItems.setSizePolicy(sizePolicy)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 4, 0, 1, 6)
        self.buttonBox = QtGui.QDialogButtonBox(StockRequisitionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 6)
        self.lblDate.setBuddy(self.edtDate)
        self.lblDeadline.setBuddy(self.edtDeadlineDate)
        self.lblSupplier.setBuddy(self.cmbSupplier)
        self.lblRecipient.setBuddy(self.cmbRecipient)
        self.lblNote.setBuddy(self.edtNote)

        self.retranslateUi(StockRequisitionDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StockRequisitionDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StockRequisitionDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StockRequisitionDialog)
        StockRequisitionDialog.setTabOrder(self.edtDate, self.edtDeadlineDate)
        StockRequisitionDialog.setTabOrder(self.edtDeadlineDate,
                                           self.edtDeadlineTime)
        StockRequisitionDialog.setTabOrder(self.edtDeadlineTime,
                                           self.chkRevoked)
        StockRequisitionDialog.setTabOrder(self.chkRevoked, self.cmbSupplier)
        StockRequisitionDialog.setTabOrder(self.cmbSupplier, self.cmbRecipient)
        StockRequisitionDialog.setTabOrder(self.cmbRecipient, self.edtNote)
        StockRequisitionDialog.setTabOrder(self.edtNote, self.tblItems)
        StockRequisitionDialog.setTabOrder(self.tblItems, self.buttonBox)

    def retranslateUi(self, StockRequisitionDialog):
        StockRequisitionDialog.setWindowTitle(
            QtGui.QApplication.translate("StockRequisitionDialog",
                                         "Требование на поставку ЛСиИМН", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(
            QtGui.QApplication.translate("StockRequisitionDialog", "Дата",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblDeadline.setText(
            QtGui.QApplication.translate("StockRequisitionDialog",
                                         "Срок исполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtDeadlineTime.setDisplayFormat(
            QtGui.QApplication.translate("StockRequisitionDialog", "HH:mm",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkRevoked.setText(
            QtGui.QApplication.translate("StockRequisitionDialog", "Отменено",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSupplier.setText(
            QtGui.QApplication.translate("StockRequisitionDialog", "Поставщик",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblRecipient.setText(
            QtGui.QApplication.translate("StockRequisitionDialog", "Заказчик",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblNote.setText(
            QtGui.QApplication.translate("StockRequisitionDialog",
                                         "Примечания", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 9
0
class Ui_ReportAttachedClientSetup(object):
    def setupUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setObjectName(
            _fromUtf8("ReportAttachedClientSetup"))
        ReportAttachedClientSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportAttachedClientSetup.resize(283, 163)
        ReportAttachedClientSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportAttachedClientSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtBegDate = CDateEdit(ReportAttachedClientSetup)
        self.edtBegDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(19, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAttachedClientSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportAttachedClientSetup)
        self.edtEndDate.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblBegDae = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblBegDae.setObjectName(_fromUtf8("lblBegDae"))
        self.gridLayout.addWidget(self.lblBegDae, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportAttachedClientSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        self.lblSubdivision = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblSubdivision.setObjectName(_fromUtf8("lblSubdivision"))
        self.gridLayout.addWidget(self.lblSubdivision, 3, 0, 1, 1)
        self.lblOrganisationAttachment = QtGui.QLabel(
            ReportAttachedClientSetup)
        self.lblOrganisationAttachment.setObjectName(
            _fromUtf8("lblOrganisationAttachment"))
        self.gridLayout.addWidget(self.lblOrganisationAttachment, 4, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportAttachedClientSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(ReportAttachedClientSetup)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 1, 1, 2)
        self.cmbOrganisationAttachment = CPolyclinicComboBox(
            ReportAttachedClientSetup)
        self.cmbOrganisationAttachment.setObjectName(
            _fromUtf8("cmbOrganisationAttachment"))
        self.gridLayout.addWidget(self.cmbOrganisationAttachment, 4, 1, 1, 2)
        self.lblBegDae.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)

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

    def retranslateUi(self, ReportAttachedClientSetup):
        ReportAttachedClientSetup.setWindowTitle(
            _translate("ReportAttachedClientSetup", "параметры отчёта", None))
        self.lblBegDae.setText(
            _translate("ReportAttachedClientSetup", "Дата начала", None))
        self.lblEndDate.setText(
            _translate("ReportAttachedClientSetup", "Дата окончания", None))
        self.lblSubdivision.setText(
            _translate("ReportAttachedClientSetup", "Подразделение", None))
        self.lblOrganisationAttachment.setText(
            _translate("ReportAttachedClientSetup", "ЛПУ прикрепления", None))
        self.lblEventType.setText(
            _translate("ReportAttachedClientSetup", "&Тип обращения", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportAttachedClientSetup",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
Exemplo n.º 10
0
class Ui_ReportMilitaryAge(object):
    def setupUi(self, ReportMilitaryAge):
        ReportMilitaryAge.setObjectName(_fromUtf8("ReportMilitaryAge"))
        ReportMilitaryAge.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportMilitaryAge.resize(442, 206)
        ReportMilitaryAge.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportMilitaryAge)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblOrgStructure = QtGui.QLabel(ReportMilitaryAge)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportMilitaryAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportMilitaryAge)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 5)
        self.cmbOrgStructure = COrgStructureComboBox(ReportMilitaryAge)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(ReportMilitaryAge)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 2)
        self.edtEndDate = CDateEdit(ReportMilitaryAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 3, 1, 2)
        self.lblEndDate = QtGui.QLabel(ReportMilitaryAge)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbAttach = QtGui.QComboBox(ReportMilitaryAge)
        self.cmbAttach.setObjectName(_fromUtf8("cmbAttach"))
        self.cmbAttach.addItem(_fromUtf8(""))
        self.cmbAttach.addItem(_fromUtf8(""))
        self.cmbAttach.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbAttach, 3, 1, 1, 4)
        self.label = QtGui.QLabel(ReportMilitaryAge)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 3, 0, 1, 1)
        self.chkGroupByArea = QtGui.QCheckBox(ReportMilitaryAge)
        self.chkGroupByArea.setObjectName(_fromUtf8("chkGroupByArea"))
        self.gridLayout.addWidget(self.chkGroupByArea, 4, 1, 1, 1)
        self.chkGroupByYear = QtGui.QCheckBox(ReportMilitaryAge)
        self.chkGroupByYear.setObjectName(_fromUtf8("chkGroupByYear"))
        self.gridLayout.addWidget(self.chkGroupByYear, 5, 1, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportMilitaryAge):
        ReportMilitaryAge.setWindowTitle(_translate("ReportMilitaryAge", "параметры отчёта", None))
        self.lblOrgStructure.setText(_translate("ReportMilitaryAge", "&Подразделение", None))
        self.lblBegDate.setText(_translate("ReportMilitaryAge", "Дата &начала периода", None))
        self.lblEndDate.setText(_translate("ReportMilitaryAge", "Дата &окончания периода", None))
        self.cmbAttach.setItemText(0, _translate("ReportMilitaryAge", "не задано", None))
        self.cmbAttach.setItemText(1, _translate("ReportMilitaryAge", "K", None))
        self.cmbAttach.setItemText(2, _translate("ReportMilitaryAge", "Д", None))
        self.label.setText(_translate("ReportMilitaryAge", "Тип наблюдения", None))
        self.chkGroupByArea.setText(_translate("ReportMilitaryAge", "Группировка по участку", None))
        self.chkGroupByYear.setText(_translate("ReportMilitaryAge", "Группировка по году рождения", None))
Exemplo n.º 11
0
class Ui_ProductionDialog(object):
    def setupUi(self, ProductionDialog):
        ProductionDialog.setObjectName(_fromUtf8("ProductionDialog"))
        ProductionDialog.resize(546, 477)
        self.gridLayout = QtGui.QGridLayout(ProductionDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.edtDate = CDateEdit(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.edtTime = QtGui.QTimeEdit(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtTime.sizePolicy().hasHeightForWidth())
        self.edtTime.setSizePolicy(sizePolicy)
        self.edtTime.setObjectName(_fromUtf8("edtTime"))
        self.gridLayout.addWidget(self.edtTime, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(311, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.lblSupplier = QtGui.QLabel(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblSupplier.sizePolicy().hasHeightForWidth())
        self.lblSupplier.setSizePolicy(sizePolicy)
        self.lblSupplier.setObjectName(_fromUtf8("lblSupplier"))
        self.gridLayout.addWidget(self.lblSupplier, 2, 0, 1, 1)
        self.cmbSupplier = CStorageComboBox(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSupplier.sizePolicy().hasHeightForWidth())
        self.cmbSupplier.setSizePolicy(sizePolicy)
        self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier"))
        self.gridLayout.addWidget(self.cmbSupplier, 2, 1, 1, 3)
        self.lblNote = QtGui.QLabel(ProductionDialog)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 4, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(ProductionDialog)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 4, 1, 1, 3)
        self.splitter = QtGui.QSplitter(ProductionDialog)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.groupBoxIn = QtGui.QGroupBox(self.splitter)
        self.groupBoxIn.setObjectName(_fromUtf8("groupBoxIn"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBoxIn)
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setMargin(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tblInItems = CInDocTableView(self.groupBoxIn)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblInItems.sizePolicy().hasHeightForWidth())
        self.tblInItems.setSizePolicy(sizePolicy)
        self.tblInItems.setObjectName(_fromUtf8("tblInItems"))
        self.verticalLayout_2.addWidget(self.tblInItems)
        self.groupBoxOut = QtGui.QGroupBox(self.splitter)
        self.groupBoxOut.setObjectName(_fromUtf8("groupBoxOut"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBoxOut)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblOutItems = CInDocTableView(self.groupBoxOut)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblOutItems.sizePolicy().hasHeightForWidth())
        self.tblOutItems.setSizePolicy(sizePolicy)
        self.tblOutItems.setObjectName(_fromUtf8("tblOutItems"))
        self.verticalLayout.addWidget(self.tblOutItems)
        self.gridLayout.addWidget(self.splitter, 5, 0, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(ProductionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 4)
        self.cmbSupplierPerson = CPersonComboBoxEx(ProductionDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSupplierPerson.sizePolicy().hasHeightForWidth())
        self.cmbSupplierPerson.setSizePolicy(sizePolicy)
        self.cmbSupplierPerson.setObjectName(_fromUtf8("cmbSupplierPerson"))
        self.gridLayout.addWidget(self.cmbSupplierPerson, 3, 1, 1, 3)
        self.lblSupplierPerson = QtGui.QLabel(ProductionDialog)
        self.lblSupplierPerson.setObjectName(_fromUtf8("lblSupplierPerson"))
        self.gridLayout.addWidget(self.lblSupplierPerson, 3, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblSupplier.setBuddy(self.cmbSupplier)
        self.lblNote.setBuddy(self.edtNote)
        self.lblSupplierPerson.setBuddy(self.cmbSupplierPerson)

        self.retranslateUi(ProductionDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ProductionDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ProductionDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ProductionDialog)
        ProductionDialog.setTabOrder(self.edtDate, self.edtTime)
        ProductionDialog.setTabOrder(self.edtTime, self.cmbSupplier)
        ProductionDialog.setTabOrder(self.cmbSupplier, self.cmbSupplierPerson)
        ProductionDialog.setTabOrder(self.cmbSupplierPerson, self.edtNote)
        ProductionDialog.setTabOrder(self.edtNote, self.tblInItems)
        ProductionDialog.setTabOrder(self.tblInItems, self.tblOutItems)
        ProductionDialog.setTabOrder(self.tblOutItems, self.buttonBox)

    def retranslateUi(self, ProductionDialog):
        ProductionDialog.setWindowTitle(QtGui.QApplication.translate("ProductionDialog", "Производство ЛСиИМН", None, QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(QtGui.QApplication.translate("ProductionDialog", "Дата", None, QtGui.QApplication.UnicodeUTF8))
        self.edtTime.setDisplayFormat(QtGui.QApplication.translate("ProductionDialog", "HH:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSupplier.setText(QtGui.QApplication.translate("ProductionDialog", "Подразденение", None, QtGui.QApplication.UnicodeUTF8))
        self.lblNote.setText(QtGui.QApplication.translate("ProductionDialog", "Примечания", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBoxIn.setTitle(QtGui.QApplication.translate("ProductionDialog", "Исходные материалы", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBoxOut.setTitle(QtGui.QApplication.translate("ProductionDialog", "Результат ", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSupplierPerson.setText(QtGui.QApplication.translate("ProductionDialog", "Ответственный", None, QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 12
0
class Ui_ReportSalary_ServiceSetupDialog(object):
    def setupUi(self, ReportSalary_ServiceSetupDialog):
        ReportSalary_ServiceSetupDialog.setObjectName(
            _fromUtf8("ReportSalary_ServiceSetupDialog"))
        ReportSalary_ServiceSetupDialog.resize(400, 144)
        self.formLayout = QtGui.QFormLayout(ReportSalary_ServiceSetupDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(ReportSalary_ServiceSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.edtBegDate = CDateEdit(ReportSalary_ServiceSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.edtBegDate)
        self.label_2 = QtGui.QLabel(ReportSalary_ServiceSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.edtEndDate = CDateEdit(ReportSalary_ServiceSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.edtEndDate)
        self.label_3 = QtGui.QLabel(ReportSalary_ServiceSetupDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbService = CActionTypeComboBox(ReportSalary_ServiceSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbService.sizePolicy().hasHeightForWidth())
        self.cmbService.setSizePolicy(sizePolicy)
        self.cmbService.setObjectName(_fromUtf8("cmbService"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.cmbService)
        self.label_4 = QtGui.QLabel(ReportSalary_ServiceSetupDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.chkGroup = QtGui.QCheckBox(ReportSalary_ServiceSetupDialog)
        self.chkGroup.setText(_fromUtf8(""))
        self.chkGroup.setObjectName(_fromUtf8("chkGroup"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.chkGroup)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.formLayout.setItem(4, QtGui.QFormLayout.LabelRole, spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportSalary_ServiceSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole,
                                  self.buttonBox)

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

    def retranslateUi(self, ReportSalary_ServiceSetupDialog):
        ReportSalary_ServiceSetupDialog.setWindowTitle(
            _translate("ReportSalary_ServiceSetupDialog", "Dialog", None))
        self.label.setText(
            _translate("ReportSalary_ServiceSetupDialog",
                       "Дата начала периода", None))
        self.label_2.setText(
            _translate("ReportSalary_ServiceSetupDialog",
                       "Дата окончания периода", None))
        self.label_3.setText(
            _translate("ReportSalary_ServiceSetupDialog", "Услуга", None))
        self.label_4.setText(
            _translate("ReportSalary_ServiceSetupDialog",
                       "Группировать по пациентам", None))
Exemplo n.º 13
0
class Ui_ReportAccount(object):
    def setupUi(self, ReportAccount):
        ReportAccount.setObjectName(_fromUtf8("ReportAccount"))
        ReportAccount.resize(400, 145)
        self.gridLayout = QtGui.QGridLayout(ReportAccount)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(ReportAccount)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.cmbInsurerFilterDialog = CInsurerComboBox(ReportAccount)
        self.cmbInsurerFilterDialog.setObjectName(
            _fromUtf8("cmbInsurerFilterDialog"))
        self.gridLayout.addWidget(self.cmbInsurerFilterDialog, 1, 1, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAccount)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 4)
        self.lblBegDate = QtGui.QLabel(ReportAccount)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportAccount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportAccount)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 2, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportAccount)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 2, 1, 1, 3)
        self.label_2 = QtGui.QLabel(ReportAccount)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
        self.cmbEventProfile = CRBComboBox(ReportAccount)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 3, 1, 1, 3)

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

    def retranslateUi(self, ReportAccount):
        ReportAccount.setWindowTitle(
            _translate("ReportAccount", "Dialog", None))
        self.label.setText(_translate("ReportAccount", "Плательщик", None))
        self.lblBegDate.setText(
            _translate("ReportAccount", "Расчетная дата", None))
        self.lblFinance.setText(
            _translate("ReportAccount", "Тип финансирования", None))
        self.label_2.setText(_translate("ReportAccount", "Вид помощи", None))
Exemplo n.º 14
0
class Ui_ReportControlPaymentAmount(object):
    def setupUi(self, ReportControlPaymentAmount):
        ReportControlPaymentAmount.setObjectName(
            _fromUtf8("ReportControlPaymentAmount"))
        ReportControlPaymentAmount.resize(428, 318)
        self.verticalLayout = QtGui.QVBoxLayout(ReportControlPaymentAmount)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.lblBegDate = QtGui.QLabel(ReportControlPaymentAmount)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole,
                                  self.lblBegDate)
        self.edtBegDate = CDateEdit(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.edtBegDate)
        self.lblEndDate = QtGui.QLabel(ReportControlPaymentAmount)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole,
                                  self.lblEndDate)
        self.edtEndDate = CDateEdit(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.edtEndDate)
        self.label = QtGui.QLabel(ReportControlPaymentAmount)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label)
        self.cmbFinance = CRBComboBox(ReportControlPaymentAmount)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFinance.sizePolicy().hasHeightForWidth())
        self.cmbFinance.setSizePolicy(sizePolicy)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.cmbFinance)
        self.label_2 = QtGui.QLabel(ReportControlPaymentAmount)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.SpanningRole,
                                  self.label_2)
        self.label_3 = QtGui.QLabel(ReportControlPaymentAmount)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbContract = CContractComboBox(ReportControlPaymentAmount)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.cmbContract)
        self.verticalLayout.addLayout(self.formLayout)
        self.tblNumbers = CTableView(ReportControlPaymentAmount)
        self.tblNumbers.setObjectName(_fromUtf8("tblNumbers"))
        self.verticalLayout.addWidget(self.tblNumbers)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(ReportControlPaymentAmount)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportControlPaymentAmount):
        ReportControlPaymentAmount.setWindowTitle(
            _translate("ReportControlPaymentAmount", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportControlPaymentAmount", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("ReportControlPaymentAmount", "Дата окончания периода",
                       None))
        self.label.setText(
            _translate("ReportControlPaymentAmount", "Тип финансирования",
                       None))
        self.label_2.setText(
            _translate("ReportControlPaymentAmount",
                       "Реестры с расчетными датами", None))
        self.label_3.setText(
            _translate("ReportControlPaymentAmount", "Договор", None))
Exemplo n.º 15
0
class Ui_FeedReportDialog(object):
    def setupUi(self, FeedReportDialog):
        FeedReportDialog.setObjectName(_fromUtf8("FeedReportDialog"))
        FeedReportDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        FeedReportDialog.resize(384, 169)
        FeedReportDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(FeedReportDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(FeedReportDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.label_2 = QtGui.QLabel(FeedReportDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.cmbIsFinal = QtGui.QComboBox(FeedReportDialog)
        self.cmbIsFinal.setObjectName(_fromUtf8("cmbIsFinal"))
        self.cmbIsFinal.addItem(_fromUtf8(""))
        self.cmbIsFinal.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsFinal, 1, 1, 1, 2)
        self.edtNameReg = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameReg.setObjectName(_fromUtf8("edtNameReg"))
        self.gridLayout.addWidget(self.edtNameReg, 2, 1, 1, 2)
        self.edtBegDate = CDateEdit(FeedReportDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(FeedReportDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.lblNameReg = QtGui.QLabel(FeedReportDialog)
        self.lblNameReg.setObjectName(_fromUtf8("lblNameReg"))
        self.gridLayout.addWidget(self.lblNameReg, 2, 0, 1, 1)
        self.edtNameDoctor = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameDoctor.setObjectName(_fromUtf8("edtNameDoctor"))
        self.gridLayout.addWidget(self.edtNameDoctor, 3, 1, 1, 2)
        self.lblNameDoctor = QtGui.QLabel(FeedReportDialog)
        self.lblNameDoctor.setObjectName(_fromUtf8("lblNameDoctor"))
        self.gridLayout.addWidget(self.lblNameDoctor, 3, 0, 1, 1)
        self.lblNameNurse = QtGui.QLabel(FeedReportDialog)
        self.lblNameNurse.setObjectName(_fromUtf8("lblNameNurse"))
        self.gridLayout.addWidget(self.lblNameNurse, 5, 0, 1, 1)
        self.edtNameNurse = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameNurse.setObjectName(_fromUtf8("edtNameNurse"))
        self.gridLayout.addWidget(self.edtNameNurse, 5, 1, 1, 2)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, FeedReportDialog):
        FeedReportDialog.setWindowTitle(
            _translate("FeedReportDialog", "параметры отчёта", None))
        self.label_2.setText(
            _translate("FeedReportDialog", "Порционник:", None))
        self.cmbIsFinal.setItemText(
            0, _translate("FeedReportDialog", "На 10:00", None))
        self.cmbIsFinal.setItemText(
            1, _translate("FeedReportDialog", "На 7:00", None))
        self.edtBegDate.setDisplayFormat(
            _translate("FeedReportDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("FeedReportDialog", "Порционник на дату", None))
        self.lblNameReg.setText(
            _translate("FeedReportDialog", "Регистратор", None))
        self.lblNameDoctor.setText(
            _translate("FeedReportDialog", "Дежурный врач", None))
        self.lblNameNurse.setText(
            _translate("FeedReportDialog", "Дежурная медсестра", None))
class Ui_ReportDeferredQueueCountSetupDialog(object):
    def setupUi(self, ReportDeferredQueueCountSetupDialog):
        ReportDeferredQueueCountSetupDialog.setObjectName(
            _fromUtf8("ReportDeferredQueueCountSetupDialog"))
        ReportDeferredQueueCountSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportDeferredQueueCountSetupDialog.resize(243, 107)
        ReportDeferredQueueCountSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(
            ReportDeferredQueueCountSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 5, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 3, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportDeferredQueueCountSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 5)
        self.lblEndDate = QtGui.QLabel(ReportDeferredQueueCountSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportDeferredQueueCountSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 3, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportDeferredQueueCountSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportDeferredQueueCountSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportDeferredQueueCountSetupDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 0, 1, 4)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportDeferredQueueCountSetupDialog):
        ReportDeferredQueueCountSetupDialog.setWindowTitle(
            _translate("ReportDeferredQueueCountSetupDialog",
                       "параметры отчёта", None))
        self.lblEndDate.setText(
            _translate("ReportDeferredQueueCountSetupDialog",
                       "Дата &окончания периода", None))
        self.lblBegDate.setText(
            _translate("ReportDeferredQueueCountSetupDialog",
                       "Дата &начала периода", None))
Exemplo n.º 17
0
class Ui_StationaryF30SetupDialog(object):
    def setupUi(self, StationaryF30SetupDialog):
        StationaryF30SetupDialog.setObjectName(
            _fromUtf8("StationaryF30SetupDialog"))
        StationaryF30SetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryF30SetupDialog.resize(438, 127)
        StationaryF30SetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryF30SetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbOrgStructure = COrgStructureComboBox(StationaryF30SetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 3)
        self.lblOrgStructure = QtGui.QLabel(StationaryF30SetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 2)
        self.edtEndDate = CDateEdit(StationaryF30SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryF30SetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 4)
        self.lblEndDate = QtGui.QLabel(StationaryF30SetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 2)
        self.cmbProfileBed = CRBComboBox(StationaryF30SetupDialog)
        self.cmbProfileBed.setObjectName(_fromUtf8("cmbProfileBed"))
        self.gridLayout.addWidget(self.cmbProfileBed, 2, 1, 1, 3)
        self.lblProfilBed = QtGui.QLabel(StationaryF30SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblProfilBed.sizePolicy().hasHeightForWidth())
        self.lblProfilBed.setSizePolicy(sizePolicy)
        self.lblProfilBed.setObjectName(_fromUtf8("lblProfilBed"))
        self.gridLayout.addWidget(self.lblProfilBed, 2, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryF30SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(StationaryF30SetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, StationaryF30SetupDialog):
        StationaryF30SetupDialog.setWindowTitle(
            _translate("StationaryF30SetupDialog", "параметры отчёта", None))
        self.lblOrgStructure.setText(
            _translate("StationaryF30SetupDialog", "&Подразделение", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF30SetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(
            _translate("StationaryF30SetupDialog", "Дата &окончания периода",
                       None))
        self.lblProfilBed.setText(
            _translate("StationaryF30SetupDialog", "Профиль койки", None))
        self.edtBegDate.setDisplayFormat(
            _translate("StationaryF30SetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("StationaryF30SetupDialog", "Дата &начала периода",
                       None))
Exemplo n.º 18
0
class Ui_StationaryAnalyticsSetupDialog(object):
    def setupUi(self, StationaryAnalyticsSetupDialog):
        StationaryAnalyticsSetupDialog.setObjectName(
            _fromUtf8("StationaryAnalyticsSetupDialog"))
        StationaryAnalyticsSetupDialog.resize(433, 366)
        self.gridLayout = QtGui.QGridLayout(StationaryAnalyticsSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblContract = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 3, 0, 1, 1)
        self.lblMedicalHistory = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblMedicalHistory.setObjectName(_fromUtf8("lblMedicalHistory"))
        self.gridLayout.addWidget(self.lblMedicalHistory, 5, 0, 1, 1)
        self.lblAmbCardType = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblAmbCardType.setObjectName(_fromUtf8("lblAmbCardType"))
        self.gridLayout.addWidget(self.lblAmbCardType, 4, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryAnalyticsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryAnalyticsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryAnalyticsSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 13, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 12, 0, 1, 4)
        self.cmbMedicalHistoryType = QtGui.QComboBox(
            StationaryAnalyticsSetupDialog)
        self.cmbMedicalHistoryType.setObjectName(
            _fromUtf8("cmbMedicalHistoryType"))
        self.cmbMedicalHistoryType.addItem(_fromUtf8(""))
        self.cmbMedicalHistoryType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbMedicalHistoryType, 5, 1, 1, 3)
        self.cmbAmbCardType = CRBComboBox(StationaryAnalyticsSetupDialog)
        self.cmbAmbCardType.setObjectName(_fromUtf8("cmbAmbCardType"))
        self.cmbAmbCardType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbAmbCardType, 4, 1, 1, 3)
        self.lblDiagType = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblDiagType.setObjectName(_fromUtf8("lblDiagType"))
        self.gridLayout.addWidget(self.lblDiagType, 6, 0, 1, 1)
        self.cmbDiagType = QtGui.QComboBox(StationaryAnalyticsSetupDialog)
        self.cmbDiagType.setObjectName(_fromUtf8("cmbDiagType"))
        self.cmbDiagType.addItem(_fromUtf8(""))
        self.cmbDiagType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbDiagType, 6, 1, 1, 3)
        self.lblFinance = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 2, 0, 1, 1)
        self.cmbFinance = CRBComboBox(StationaryAnalyticsSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 2, 1, 1, 3)
        self.cmbContract = CIndependentContractComboBox(
            StationaryAnalyticsSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 3, 1, 1, 3)
        self.chkQuotaClass = QtGui.QCheckBox(StationaryAnalyticsSetupDialog)
        self.chkQuotaClass.setObjectName(_fromUtf8("chkQuotaClass"))
        self.gridLayout.addWidget(self.chkQuotaClass, 7, 0, 1, 1)
        self.cmbQuotaClass = QtGui.QComboBox(StationaryAnalyticsSetupDialog)
        self.cmbQuotaClass.setEnabled(False)
        self.cmbQuotaClass.setObjectName(_fromUtf8("cmbQuotaClass"))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.cmbQuotaClass.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbQuotaClass, 7, 1, 1, 1)
        self.lblQuotaType = QtGui.QLabel(StationaryAnalyticsSetupDialog)
        self.lblQuotaType.setObjectName(_fromUtf8("lblQuotaType"))
        self.gridLayout.addWidget(self.lblQuotaType, 8, 0, 1, 1)
        self.cmbQuotaType = CRBComboBox(StationaryAnalyticsSetupDialog)
        self.cmbQuotaType.setObjectName(_fromUtf8("cmbQuotaType"))
        self.gridLayout.addWidget(self.cmbQuotaType, 8, 1, 1, 3)
        self.chkDetailClients = QtGui.QRadioButton(
            StationaryAnalyticsSetupDialog)
        self.chkDetailClients.setAutoExclusive(False)
        self.chkDetailClients.setObjectName(_fromUtf8("chkDetailClients"))
        self.gridLayout.addWidget(self.chkDetailClients, 9, 0, 1, 4)
        self.chkNurseChief = QtGui.QRadioButton(StationaryAnalyticsSetupDialog)
        self.chkNurseChief.setAutoExclusive(False)
        self.chkNurseChief.setObjectName(_fromUtf8("chkNurseChief"))
        self.gridLayout.addWidget(self.chkNurseChief, 10, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            StationaryAnalyticsSetupDialog)
        self.cmbOrgStructure.setEnabled(False)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 10, 1, 1, 3)
        self.chkFinance = QtGui.QCheckBox(StationaryAnalyticsSetupDialog)
        self.chkFinance.setEnabled(False)
        self.chkFinance.setObjectName(_fromUtf8("chkFinance"))
        self.gridLayout.addWidget(self.chkFinance, 11, 1, 1, 3)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

        self.retranslateUi(StationaryAnalyticsSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryAnalyticsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryAnalyticsSetupDialog.reject)
        QtCore.QObject.connect(self.chkQuotaClass,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbQuotaClass.setEnabled)
        QtCore.QObject.connect(self.chkNurseChief,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbOrgStructure.setEnabled)
        QtCore.QObject.connect(self.chkNurseChief,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkFinance.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(StationaryAnalyticsSetupDialog)
        StationaryAnalyticsSetupDialog.setTabOrder(self.edtBegDate,
                                                   self.edtEndDate)
        StationaryAnalyticsSetupDialog.setTabOrder(self.edtEndDate,
                                                   self.cmbFinance)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbFinance,
                                                   self.cmbContract)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbContract,
                                                   self.cmbAmbCardType)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbAmbCardType,
                                                   self.cmbMedicalHistoryType)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbMedicalHistoryType,
                                                   self.cmbDiagType)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbDiagType,
                                                   self.chkQuotaClass)
        StationaryAnalyticsSetupDialog.setTabOrder(self.chkQuotaClass,
                                                   self.cmbQuotaClass)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbQuotaClass,
                                                   self.cmbQuotaType)
        StationaryAnalyticsSetupDialog.setTabOrder(self.cmbQuotaType,
                                                   self.chkDetailClients)
        StationaryAnalyticsSetupDialog.setTabOrder(self.chkDetailClients,
                                                   self.buttonBox)

    def retranslateUi(self, StationaryAnalyticsSetupDialog):
        StationaryAnalyticsSetupDialog.setWindowTitle(
            _translate("StationaryAnalyticsSetupDialog", "Dialog", None))
        self.lblContract.setText(
            _translate("StationaryAnalyticsSetupDialog", "Контракт", None))
        self.lblMedicalHistory.setText(
            _translate("StationaryAnalyticsSetupDialog", "История болезни",
                       None))
        self.lblAmbCardType.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "Карта амбулаторного больного", None))
        self.lblEndDate.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "Дата &окончания периода", None))
        self.lblBegDate.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "Дата &начала периода", None))
        self.cmbMedicalHistoryType.setItemText(
            0,
            _translate("StationaryAnalyticsSetupDialog",
                       "идентификатор события", None))
        self.cmbMedicalHistoryType.setItemText(
            1,
            _translate("StationaryAnalyticsSetupDialog",
                       "внешний идентификатор события", None))
        self.cmbAmbCardType.setItemText(
            0,
            _translate("StationaryAnalyticsSetupDialog",
                       "идентификаторы пациента", None))
        self.lblDiagType.setText(
            _translate("StationaryAnalyticsSetupDialog", "Диагноз", None))
        self.cmbDiagType.setItemText(
            0,
            _translate("StationaryAnalyticsSetupDialog", "предварительный",
                       None))
        self.cmbDiagType.setItemText(
            1,
            _translate("StationaryAnalyticsSetupDialog", "заключительный",
                       None))
        self.lblFinance.setText(
            _translate("StationaryAnalyticsSetupDialog", "Тип финансирования",
                       None))
        self.chkQuotaClass.setText(
            _translate("StationaryAnalyticsSetupDialog", "Класс квоты", None))
        self.cmbQuotaClass.setItemText(
            0, _translate("StationaryAnalyticsSetupDialog", "ВТМП", None))
        self.cmbQuotaClass.setItemText(
            1, _translate("StationaryAnalyticsSetupDialog", "СМП", None))
        self.cmbQuotaClass.setItemText(
            2,
            _translate("StationaryAnalyticsSetupDialog", "Родовой сертификат",
                       None))
        self.cmbQuotaClass.setItemText(
            3, _translate("StationaryAnalyticsSetupDialog", "Платные", None))
        self.cmbQuotaClass.setItemText(
            4, _translate("StationaryAnalyticsSetupDialog", "ОМС", None))
        self.cmbQuotaClass.setItemText(
            5, _translate("StationaryAnalyticsSetupDialog", "ВМП из ОМС",
                          None))
        self.cmbQuotaClass.setItemText(
            6,
            _translate("StationaryAnalyticsSetupDialog", "ВМП сверх нормы",
                       None))
        self.cmbQuotaClass.setItemText(
            7, _translate("StationaryAnalyticsSetupDialog", "АКИ", None))
        self.lblQuotaType.setText(
            _translate("StationaryAnalyticsSetupDialog", "Тип квоты", None))
        self.chkDetailClients.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "Детализировать по пациентам", None))
        self.chkNurseChief.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "Сводка для старших сестер", None))
        self.chkFinance.setText(
            _translate("StationaryAnalyticsSetupDialog",
                       "без разбивки по источникам финансирования", None))
Exemplo n.º 19
0
class Ui_ReportBedspacePEOForm2Setup(object):
    def setupUi(self, ReportBedspacePEOForm2Setup):
        ReportBedspacePEOForm2Setup.setObjectName(
            _fromUtf8("ReportBedspacePEOForm2Setup"))
        ReportBedspacePEOForm2Setup.resize(398, 151)
        self.gridLayout = QtGui.QGridLayout(ReportBedspacePEOForm2Setup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportBedspacePEOForm2Setup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 2, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportBedspacePEOForm2Setup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportBedspacePEOForm2Setup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportBedspacePEOForm2Setup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 3, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportBedspacePEOForm2Setup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 3, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportBedspacePEOForm2Setup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportBedspacePEOForm2Setup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportBedspacePEOForm2Setup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 2, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportBedspacePEOForm2Setup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportBedspacePEOForm2Setup):
        ReportBedspacePEOForm2Setup.setWindowTitle(
            _translate("ReportBedspacePEOForm2Setup", "Dialog", None))
        self.lblEndDate.setText(
            _translate("ReportBedspacePEOForm2Setup",
                       "Дата &окончания периода", None))
        self.lblBegDate.setText(
            _translate("ReportBedspacePEOForm2Setup", "Дата &начала периода",
                       None))
        self.lblFinance.setText(
            _translate("ReportBedspacePEOForm2Setup", "Тип финансирования",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportBedspacePEOForm2Setup", "Подразделение", None))
Exemplo n.º 20
0
class Ui_RBSuiteReagentEditorDialog(object):
    def setupUi(self, RBSuiteReagentEditorDialog):
        RBSuiteReagentEditorDialog.setObjectName(
            _fromUtf8("RBSuiteReagentEditorDialog"))
        RBSuiteReagentEditorDialog.resize(626, 385)
        RBSuiteReagentEditorDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(RBSuiteReagentEditorDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(RBSuiteReagentEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 2)
        self.tabWidget = QtGui.QTabWidget(RBSuiteReagentEditorDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabSuiteReagent = QtGui.QWidget()
        self.tabSuiteReagent.setObjectName(_fromUtf8("tabSuiteReagent"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabSuiteReagent)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblCode = QtGui.QLabel(self.tabSuiteReagent)
        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_2.addWidget(self.lblCode, 0, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(self.tabSuiteReagent)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout_2.addWidget(self.edtCode, 0, 1, 1, 1)
        self.lblName = QtGui.QLabel(self.tabSuiteReagent)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout_2.addWidget(self.lblName, 1, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(self.tabSuiteReagent)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout_2.addWidget(self.edtName, 1, 1, 1, 1)
        self.lblRecipientPerson = QtGui.QLabel(self.tabSuiteReagent)
        self.lblRecipientPerson.setObjectName(_fromUtf8("lblRecipientPerson"))
        self.gridLayout_2.addWidget(self.lblRecipientPerson, 2, 0, 1, 1)
        self.cmbRecipientPerson = CPersonComboBoxEx(self.tabSuiteReagent)
        self.cmbRecipientPerson.setObjectName(_fromUtf8("cmbRecipientPerson"))
        self.gridLayout_2.addWidget(self.cmbRecipientPerson, 2, 1, 1, 1)
        self.lblReleaseDate = QtGui.QLabel(self.tabSuiteReagent)
        self.lblReleaseDate.setObjectName(_fromUtf8("lblReleaseDate"))
        self.gridLayout_2.addWidget(self.lblReleaseDate, 3, 0, 1, 1)
        self.edtReleaseDate = CDateEdit(self.tabSuiteReagent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtReleaseDate.sizePolicy().hasHeightForWidth())
        self.edtReleaseDate.setSizePolicy(sizePolicy)
        self.edtReleaseDate.setObjectName(_fromUtf8("edtReleaseDate"))
        self.gridLayout_2.addWidget(self.edtReleaseDate, 3, 1, 1, 1)
        self.lblSupplyDate = QtGui.QLabel(self.tabSuiteReagent)
        self.lblSupplyDate.setObjectName(_fromUtf8("lblSupplyDate"))
        self.gridLayout_2.addWidget(self.lblSupplyDate, 4, 0, 1, 1)
        self.edtSupplyDate = CDateEdit(self.tabSuiteReagent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSupplyDate.sizePolicy().hasHeightForWidth())
        self.edtSupplyDate.setSizePolicy(sizePolicy)
        self.edtSupplyDate.setObjectName(_fromUtf8("edtSupplyDate"))
        self.gridLayout_2.addWidget(self.edtSupplyDate, 4, 1, 1, 1)
        self.lblExpiryDate = QtGui.QLabel(self.tabSuiteReagent)
        self.lblExpiryDate.setObjectName(_fromUtf8("lblExpiryDate"))
        self.gridLayout_2.addWidget(self.lblExpiryDate, 6, 0, 1, 1)
        self.edtExpiryDate = CDateEdit(self.tabSuiteReagent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtExpiryDate.sizePolicy().hasHeightForWidth())
        self.edtExpiryDate.setSizePolicy(sizePolicy)
        self.edtExpiryDate.setObjectName(_fromUtf8("edtExpiryDate"))
        self.gridLayout_2.addWidget(self.edtExpiryDate, 6, 1, 1, 1)
        self.lblPlanTestQuantity = QtGui.QLabel(self.tabSuiteReagent)
        self.lblPlanTestQuantity.setObjectName(
            _fromUtf8("lblPlanTestQuantity"))
        self.gridLayout_2.addWidget(self.lblPlanTestQuantity, 7, 0, 1, 1)
        self.edtPlanTestQuantity = QtGui.QSpinBox(self.tabSuiteReagent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPlanTestQuantity.sizePolicy().hasHeightForWidth())
        self.edtPlanTestQuantity.setSizePolicy(sizePolicy)
        self.edtPlanTestQuantity.setObjectName(
            _fromUtf8("edtPlanTestQuantity"))
        self.gridLayout_2.addWidget(self.edtPlanTestQuantity, 7, 1, 1, 1)
        self.lblManufacturer = QtGui.QLabel(self.tabSuiteReagent)
        self.lblManufacturer.setObjectName(_fromUtf8("lblManufacturer"))
        self.gridLayout_2.addWidget(self.lblManufacturer, 8, 0, 1, 1)
        self.edtManufacturer = QtGui.QLineEdit(self.tabSuiteReagent)
        self.edtManufacturer.setObjectName(_fromUtf8("edtManufacturer"))
        self.gridLayout_2.addWidget(self.edtManufacturer, 8, 1, 1, 1)
        self.lblStorageConditions = QtGui.QLabel(self.tabSuiteReagent)
        self.lblStorageConditions.setObjectName(
            _fromUtf8("lblStorageConditions"))
        self.gridLayout_2.addWidget(self.lblStorageConditions, 9, 0, 1, 1)
        self.edtStorageConditions = QtGui.QLineEdit(self.tabSuiteReagent)
        self.edtStorageConditions.setObjectName(
            _fromUtf8("edtStorageConditions"))
        self.gridLayout_2.addWidget(self.edtStorageConditions, 9, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 10, 1, 1, 1)
        self.lblStartOperationDate = QtGui.QLabel(self.tabSuiteReagent)
        self.lblStartOperationDate.setObjectName(
            _fromUtf8("lblStartOperationDate"))
        self.gridLayout_2.addWidget(self.lblStartOperationDate, 5, 0, 1, 1)
        self.edtStartOperationDate = CDateEdit(self.tabSuiteReagent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtStartOperationDate.sizePolicy().hasHeightForWidth())
        self.edtStartOperationDate.setSizePolicy(sizePolicy)
        self.edtStartOperationDate.setObjectName(
            _fromUtf8("edtStartOperationDate"))
        self.gridLayout_2.addWidget(self.edtStartOperationDate, 5, 1, 1, 1)
        self.tabWidget.addTab(self.tabSuiteReagent, _fromUtf8(""))
        self.tabtTests = QtGui.QWidget()
        self.tabtTests.setObjectName(_fromUtf8("tabtTests"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabtTests)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblTests = CInDocTableView(self.tabtTests)
        self.tblTests.setObjectName(_fromUtf8("tblTests"))
        self.verticalLayout.addWidget(self.tblTests)
        self.tabWidget.addTab(self.tabtTests, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 1, 1, 1)

        self.retranslateUi(RBSuiteReagentEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               RBSuiteReagentEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               RBSuiteReagentEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(RBSuiteReagentEditorDialog)
        RBSuiteReagentEditorDialog.setTabOrder(self.tabWidget, self.edtCode)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtCode, self.edtName)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtName,
                                               self.cmbRecipientPerson)
        RBSuiteReagentEditorDialog.setTabOrder(self.cmbRecipientPerson,
                                               self.edtReleaseDate)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtReleaseDate,
                                               self.edtSupplyDate)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtSupplyDate,
                                               self.edtStartOperationDate)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtStartOperationDate,
                                               self.edtExpiryDate)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtExpiryDate,
                                               self.edtPlanTestQuantity)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtPlanTestQuantity,
                                               self.edtManufacturer)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtManufacturer,
                                               self.edtStorageConditions)
        RBSuiteReagentEditorDialog.setTabOrder(self.edtStorageConditions,
                                               self.tblTests)
        RBSuiteReagentEditorDialog.setTabOrder(self.tblTests, self.buttonBox)

    def retranslateUi(self, RBSuiteReagentEditorDialog):
        RBSuiteReagentEditorDialog.setWindowTitle(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCode.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog", "Код",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblName.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Наименование", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblRecipientPerson.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Ответственный", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblReleaseDate.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Дата выпуска", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSupplyDate.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Дата поступления", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblExpiryDate.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Срок годности", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPlanTestQuantity.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Плановое количество тестов", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblManufacturer.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Производитель", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblStorageConditions.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Условия хранения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblStartOperationDate.setText(
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "Дата передачи в работу", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabSuiteReagent),
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "&Набор", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabtTests),
            QtGui.QApplication.translate("RBSuiteReagentEditorDialog",
                                         "&Тесты", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 21
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(919, 628)
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.sptTopLevel = QtGui.QSplitter(Dialog)
        self.sptTopLevel.setOrientation(QtCore.Qt.Vertical)
        self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel"))
        self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tabWidget = QtGui.QTabWidget(self.sptTopLevel)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout = QtGui.QGridLayout(self.tabToken)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea = QtGui.QScrollArea(self.tabToken)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(
            0, 0, 867, 1115))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.layoutWidget = QtGui.QWidget(self.splitter_3)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.grpBase = QtGui.QGroupBox(self.layoutWidget)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblNextDate = QtGui.QLabel(self.grpBase)
        self.lblNextDate.setObjectName(_fromUtf8("lblNextDate"))
        self.gridLayout_2.addWidget(self.lblNextDate, 5, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 4, 0, 1, 1)
        self.cmbContract = CContractComboBox(self.grpBase)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.cmbContract.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 3)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 3, 0, 1, 1)
        self.lblResult = QtGui.QLabel(self.grpBase)
        self.lblResult.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_2.addWidget(self.lblResult, 8, 2, 1, 1)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbResult, 9, 0, 1, 3)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 3)
        self.chkPrimary = QtGui.QCheckBox(self.grpBase)
        self.chkPrimary.setObjectName(_fromUtf8("chkPrimary"))
        self.gridLayout_2.addWidget(self.chkPrimary, 8, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 16, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 3)
        self.chkZNOMorph = QtGui.QCheckBox(self.grpBase)
        self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph"))
        self.gridLayout_2.addWidget(self.chkZNOMorph, 14, 0, 1, 3)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3)
        self.cmbGoal = CRBComboBox(self.grpBase)
        self.cmbGoal.setObjectName(_fromUtf8("cmbGoal"))
        self.gridLayout_2.addWidget(self.cmbGoal, 10, 1, 1, 2)
        self.lblGoal = QtGui.QLabel(self.grpBase)
        self.lblGoal.setObjectName(_fromUtf8("lblGoal"))
        self.gridLayout_2.addWidget(self.lblGoal, 10, 0, 1, 1)
        self.chkZNOFirst = QtGui.QCheckBox(self.grpBase)
        self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst"))
        self.gridLayout_2.addWidget(self.chkZNOFirst, 15, 0, 1, 3)
        self.chkDispByMobileTeam = QtGui.QCheckBox(self.grpBase)
        self.chkDispByMobileTeam.setToolTip(_fromUtf8(""))
        self.chkDispByMobileTeam.setWhatsThis(_fromUtf8(""))
        self.chkDispByMobileTeam.setObjectName(
            _fromUtf8("chkDispByMobileTeam"))
        self.gridLayout_2.addWidget(self.chkDispByMobileTeam, 11, 0, 1, 3)
        self.gbLittleStrangerFlag = QtGui.QGroupBox(self.grpBase)
        self.gbLittleStrangerFlag.setCheckable(True)
        self.gbLittleStrangerFlag.setChecked(False)
        self.gbLittleStrangerFlag.setObjectName(
            _fromUtf8("gbLittleStrangerFlag"))
        self.gridLayout_5 = QtGui.QGridLayout(self.gbLittleStrangerFlag)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.lblChildBirthDate = QtGui.QLabel(self.gbLittleStrangerFlag)
        self.lblChildBirthDate.setObjectName(_fromUtf8("lblChildBirthDate"))
        self.gridLayout_5.addWidget(self.lblChildBirthDate, 1, 0, 1, 1)
        self.lblChildSex = QtGui.QLabel(self.gbLittleStrangerFlag)
        self.lblChildSex.setObjectName(_fromUtf8("lblChildSex"))
        self.gridLayout_5.addWidget(self.lblChildSex, 0, 2, 1, 1)
        self.cmbChildSex = QtGui.QComboBox(self.gbLittleStrangerFlag)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbChildSex.sizePolicy().hasHeightForWidth())
        self.cmbChildSex.setSizePolicy(sizePolicy)
        self.cmbChildSex.setObjectName(_fromUtf8("cmbChildSex"))
        self.cmbChildSex.addItem(_fromUtf8(""))
        self.cmbChildSex.setItemText(0, _fromUtf8(""))
        self.cmbChildSex.addItem(_fromUtf8(""))
        self.cmbChildSex.addItem(_fromUtf8(""))
        self.gridLayout_5.addWidget(self.cmbChildSex, 0, 3, 1, 1)
        self.chkMultipleBirths = QtGui.QCheckBox(self.gbLittleStrangerFlag)
        self.chkMultipleBirths.setObjectName(_fromUtf8("chkMultipleBirths"))
        self.gridLayout_5.addWidget(self.chkMultipleBirths, 4, 0, 1, 2)
        self.edtChildBirthDate = CDateEdit(self.gbLittleStrangerFlag)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtChildBirthDate.sizePolicy().hasHeightForWidth())
        self.edtChildBirthDate.setSizePolicy(sizePolicy)
        self.edtChildBirthDate.setCalendarPopup(True)
        self.edtChildBirthDate.setObjectName(_fromUtf8("edtChildBirthDate"))
        self.gridLayout_5.addWidget(self.edtChildBirthDate, 1, 2, 1, 2)
        self.lblChildNumber = QtGui.QLabel(self.gbLittleStrangerFlag)
        self.lblChildNumber.setObjectName(_fromUtf8("lblChildNumber"))
        self.gridLayout_5.addWidget(self.lblChildNumber, 0, 0, 1, 1)
        self.sbChildNumber = QtGui.QSpinBox(self.gbLittleStrangerFlag)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.sbChildNumber.sizePolicy().hasHeightForWidth())
        self.sbChildNumber.setSizePolicy(sizePolicy)
        self.sbChildNumber.setMinimum(1)
        self.sbChildNumber.setObjectName(_fromUtf8("sbChildNumber"))
        self.gridLayout_5.addWidget(self.sbChildNumber, 0, 1, 1, 1)
        self.lblBirthWeight = QtGui.QLabel(self.gbLittleStrangerFlag)
        self.lblBirthWeight.setObjectName(_fromUtf8("lblBirthWeight"))
        self.gridLayout_5.addWidget(self.lblBirthWeight, 2, 0, 1, 2)
        self.sbBirthWeight = QtGui.QDoubleSpinBox(self.gbLittleStrangerFlag)
        self.sbBirthWeight.setMaximum(9999.99)
        self.sbBirthWeight.setObjectName(_fromUtf8("sbBirthWeight"))
        self.gridLayout_5.addWidget(self.sbBirthWeight, 2, 2, 1, 2)
        self.gridLayout_2.addWidget(self.gbLittleStrangerFlag, 12, 0, 1, 3)
        self.frmBegDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmBegDateTime.sizePolicy().hasHeightForWidth())
        self.frmBegDateTime.setSizePolicy(sizePolicy)
        self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmBegDateTime.setLineWidth(0)
        self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frmBegDateTime)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.edtBegDate = CDateEdit(self.frmBegDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout_5.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegTime.sizePolicy().hasHeightForWidth())
        self.edtBegTime.setSizePolicy(sizePolicy)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_5.addWidget(self.edtBegTime)
        self.gridLayout_2.addWidget(self.frmBegDateTime, 3, 1, 1, 2)
        self.frmNextDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmNextDateTime.sizePolicy().hasHeightForWidth())
        self.frmNextDateTime.setSizePolicy(sizePolicy)
        self.frmNextDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmNextDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmNextDateTime.setLineWidth(0)
        self.frmNextDateTime.setObjectName(_fromUtf8("frmNextDateTime"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmNextDateTime)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.edtNextDate = CDateEdit(self.frmNextDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtNextDate.sizePolicy().hasHeightForWidth())
        self.edtNextDate.setSizePolicy(sizePolicy)
        self.edtNextDate.setCalendarPopup(True)
        self.edtNextDate.setObjectName(_fromUtf8("edtNextDate"))
        self.horizontalLayout_3.addWidget(self.edtNextDate)
        self.gridLayout_2.addWidget(self.frmNextDateTime, 5, 1, 1, 2)
        self.frmEndDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmEndDateTime.sizePolicy().hasHeightForWidth())
        self.frmEndDateTime.setSizePolicy(sizePolicy)
        self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmEndDateTime.setLineWidth(0)
        self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.edtEndDate = CDateEdit(self.frmEndDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout_2.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndTime.sizePolicy().hasHeightForWidth())
        self.edtEndTime.setSizePolicy(sizePolicy)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_2.addWidget(self.edtEndTime)
        self.gridLayout_2.addWidget(self.frmEndDateTime, 4, 1, 1, 2)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 3)
        self.horizontalLayout_4.addWidget(self.grpBase)
        self.grpWork = QtGui.QGroupBox(self.layoutWidget)
        self.grpWork.setObjectName(_fromUtf8("grpWork"))
        self._2 = QtGui.QGridLayout(self.grpWork)
        self._2.setMargin(4)
        self._2.setSpacing(4)
        self._2.setObjectName(_fromUtf8("_2"))
        self.btnSelectWorkOrganisation = QtGui.QToolButton(self.grpWork)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnSelectWorkOrganisation.sizePolicy().hasHeightForWidth())
        self.btnSelectWorkOrganisation.setSizePolicy(sizePolicy)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self._2.addWidget(self.btnSelectWorkOrganisation, 0, 3, 1, 1)
        self.cmbWorkOKVED = COKVEDComboBox(self.grpWork)
        self.cmbWorkOKVED.setObjectName(_fromUtf8("cmbWorkOKVED"))
        self._2.addWidget(self.cmbWorkOKVED, 5, 1, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(111, 21, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self._2.addItem(spacerItem1, 8, 0, 1, 2)
        self.edtPrevDate = CDateEdit(self.grpWork)
        self.edtPrevDate.setCalendarPopup(True)
        self.edtPrevDate.setObjectName(_fromUtf8("edtPrevDate"))
        self._2.addWidget(self.edtPrevDate, 7, 2, 1, 2)
        self.edtWorkStage = QtGui.QSpinBox(self.grpWork)
        self.edtWorkStage.setObjectName(_fromUtf8("edtWorkStage"))
        self._2.addWidget(self.edtWorkStage, 6, 1, 1, 3)
        self.lblWorkPost = QtGui.QLabel(self.grpWork)
        self.lblWorkPost.setObjectName(_fromUtf8("lblWorkPost"))
        self._2.addWidget(self.lblWorkPost, 4, 0, 1, 1)
        self.lblWorkOKVED = QtGui.QLabel(self.grpWork)
        self.lblWorkOKVED.setObjectName(_fromUtf8("lblWorkOKVED"))
        self._2.addWidget(self.lblWorkOKVED, 5, 0, 1, 1)
        self.label_7 = QtGui.QLabel(self.grpWork)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self._2.addWidget(self.label_7, 7, 0, 1, 2)
        self.lblWorkStage = QtGui.QLabel(self.grpWork)
        self.lblWorkStage.setObjectName(_fromUtf8("lblWorkStage"))
        self._2.addWidget(self.lblWorkStage, 6, 0, 1, 1)
        self.lblKPP = QtGui.QLabel(self.grpWork)
        self.lblKPP.setObjectName(_fromUtf8("lblKPP"))
        self._2.addWidget(self.lblKPP, 2, 0, 1, 4)
        self.lblINN = QtGui.QLabel(self.grpWork)
        self.lblINN.setObjectName(_fromUtf8("lblINN"))
        self._2.addWidget(self.lblINN, 1, 0, 1, 4)
        self.edtWorkPost = QtGui.QLineEdit(self.grpWork)
        self.edtWorkPost.setObjectName(_fromUtf8("edtWorkPost"))
        self._2.addWidget(self.edtWorkPost, 4, 1, 1, 3)
        self.cmbWorkOrganisation = COrgComboBox(self.grpWork)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self._2.addWidget(self.cmbWorkOrganisation, 0, 0, 1, 3)
        self.lblOGRN = QtGui.QLabel(self.grpWork)
        self.lblOGRN.setObjectName(_fromUtf8("lblOGRN"))
        self._2.addWidget(self.lblOGRN, 3, 0, 1, 4)
        self.horizontalLayout_4.addWidget(self.grpWork)
        self.tblWorkHurt = QtGui.QGroupBox(self.layoutWidget)
        self.tblWorkHurt.setObjectName(_fromUtf8("tblWorkHurt"))
        self._3 = QtGui.QGridLayout(self.tblWorkHurt)
        self._3.setMargin(0)
        self._3.setSpacing(0)
        self._3.setObjectName(_fromUtf8("_3"))
        self.splitter = QtGui.QSplitter(self.tblWorkHurt)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.tblWorkHurts = CWorkHurtTableView(self.splitter)
        self.tblWorkHurts.setObjectName(_fromUtf8("tblWorkHurts"))
        self.tblWorkHurtFactors = CInDocTableView(self.splitter)
        self.tblWorkHurtFactors.setObjectName(_fromUtf8("tblWorkHurtFactors"))
        self._3.addWidget(self.splitter, 0, 0, 1, 1)
        self.horizontalLayout_4.addWidget(self.tblWorkHurt)
        self.splitter_2 = QtGui.QSplitter(self.splitter_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_2.sizePolicy().hasHeightForWidth())
        self.splitter_2.setSizePolicy(sizePolicy)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.grpInspections = QtGui.QGroupBox(self.splitter_2)
        self.grpInspections.setObjectName(_fromUtf8("grpInspections"))
        self._4 = QtGui.QVBoxLayout(self.grpInspections)
        self._4.setMargin(4)
        self._4.setSpacing(4)
        self._4.setObjectName(_fromUtf8("_4"))
        self.tblFinalDiagnostics = CInDocTableView(self.grpInspections)
        self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100))
        self.tblFinalDiagnostics.setObjectName(
            _fromUtf8("tblFinalDiagnostics"))
        self._4.addWidget(self.tblFinalDiagnostics)
        self.grpActions = QtGui.QGroupBox(self.splitter_2)
        self.grpActions.setObjectName(_fromUtf8("grpActions"))
        self._5 = QtGui.QGridLayout(self.grpActions)
        self._5.setMargin(4)
        self._5.setSpacing(4)
        self._5.setObjectName(_fromUtf8("_5"))
        self.tblActions = CInDocTableView(self.grpActions)
        self.tblActions.setMinimumSize(QtCore.QSize(0, 100))
        self.tblActions.setObjectName(_fromUtf8("tblActions"))
        self._5.addWidget(self.tblActions, 0, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.splitter_3)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabMes = CFastEventMesPage()
        self.tabMes.setObjectName(_fromUtf8("tabMes"))
        self.tabWidget.addTab(self.tabMes, _fromUtf8(""))
        self.tabStatus = CFastActionsPage()
        self.tabStatus.setObjectName(_fromUtf8("tabStatus"))
        self.tabWidget.addTab(self.tabStatus, _fromUtf8(""))
        self.tabDiagnostic = CFastActionsPage()
        self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic"))
        self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8(""))
        self.tabCure = CFastActionsPage()
        self.tabCure.setObjectName(_fromUtf8("tabCure"))
        self.tabWidget.addTab(self.tabCure, _fromUtf8(""))
        self.tabMisc = CFastActionsPage()
        self.tabMisc.setObjectName(_fromUtf8("tabMisc"))
        self.tabWidget.addTab(self.tabMisc, _fromUtf8(""))
        self.tabCash = CFastEventCashPage()
        self.tabCash.setObjectName(_fromUtf8("tabCash"))
        self.tabWidget.addTab(self.tabCash, _fromUtf8(""))
        self.tabReferral = CReferralPage()
        self.tabReferral.setObjectName(_fromUtf8("tabReferral"))
        self.tabWidget.addTab(self.tabReferral, _fromUtf8(""))
        self.tabNotes = CFastEventNotesPage()
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout.addWidget(self.sptTopLevel)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblProlongateEvent = QtGui.QLabel(Dialog)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(Dialog)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout.addWidget(self.buttonBox)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout.addWidget(self.statusBar)
        self.lblNextDate.setBuddy(self.edtNextDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblGoal.setBuddy(self.cmbGoal)
        self.lblChildBirthDate.setBuddy(self.edtChildBirthDate)
        self.lblChildSex.setBuddy(self.cmbChildSex)
        self.lblChildNumber.setBuddy(self.sbChildNumber)
        self.lblBirthWeight.setBuddy(self.sbBirthWeight)
        self.lblWorkPost.setBuddy(self.edtWorkPost)
        self.lblWorkOKVED.setBuddy(self.cmbWorkOKVED)
        self.label_7.setBuddy(self.edtPrevDate)
        self.lblWorkStage.setBuddy(self.edtWorkStage)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               Dialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.tabWidget, self.scrollArea)
        Dialog.setTabOrder(self.scrollArea, self.cmbContract)
        Dialog.setTabOrder(self.cmbContract, self.chkIsClosed)
        Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed)
        Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate)
        Dialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        Dialog.setTabOrder(self.edtBegTime, self.edtEndDate)
        Dialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        Dialog.setTabOrder(self.edtEndTime, self.edtNextDate)
        Dialog.setTabOrder(self.edtNextDate, self.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.chkPrimary)
        Dialog.setTabOrder(self.chkPrimary, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.cmbGoal)
        Dialog.setTabOrder(self.cmbGoal, self.chkDispByMobileTeam)
        Dialog.setTabOrder(self.chkDispByMobileTeam, self.gbLittleStrangerFlag)
        Dialog.setTabOrder(self.gbLittleStrangerFlag, self.sbChildNumber)
        Dialog.setTabOrder(self.sbChildNumber, self.cmbChildSex)
        Dialog.setTabOrder(self.cmbChildSex, self.edtChildBirthDate)
        Dialog.setTabOrder(self.edtChildBirthDate, self.sbBirthWeight)
        Dialog.setTabOrder(self.sbBirthWeight, self.chkMultipleBirths)
        Dialog.setTabOrder(self.chkMultipleBirths, self.chkZNOMorph)
        Dialog.setTabOrder(self.chkZNOMorph, self.chkZNOFirst)
        Dialog.setTabOrder(self.chkZNOFirst, self.cmbWorkOrganisation)
        Dialog.setTabOrder(self.cmbWorkOrganisation,
                           self.btnSelectWorkOrganisation)
        Dialog.setTabOrder(self.btnSelectWorkOrganisation, self.edtWorkPost)
        Dialog.setTabOrder(self.edtWorkPost, self.cmbWorkOKVED)
        Dialog.setTabOrder(self.cmbWorkOKVED, self.edtWorkStage)
        Dialog.setTabOrder(self.edtWorkStage, self.edtPrevDate)
        Dialog.setTabOrder(self.edtPrevDate, self.tblWorkHurts)
        Dialog.setTabOrder(self.tblWorkHurts, self.tblWorkHurtFactors)
        Dialog.setTabOrder(self.tblWorkHurtFactors, self.tblFinalDiagnostics)
        Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblActions)
        Dialog.setTabOrder(self.tblActions, self.buttonBox)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.txtClientInfoBrowser.setWhatsThis(
            _translate("Dialog", "Описание пациента", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "Dialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpBase.setTitle(_translate("Dialog", "&ф.131", None))
        self.lblNextDate.setText(_translate("Dialog", "След.явка", None))
        self.lblEndDate.setText(_translate("Dialog", "Выполнено", None))
        self.cmbContract.setWhatsThis(
            _translate(
                "Dialog",
                "номер, дата и основание договора в рамках которого производится осмотр",
                None))
        self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None))
        self.lblBegDate.setText(_translate("Dialog", "Назначено", None))
        self.lblResult.setText(_translate("Dialog", "Результа&т", None))
        self.cmbResult.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None))
        self.cmbPerson.setWhatsThis(
            _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.chkPrimary.setText(_translate("Dialog", "Пе&рвичный", None))
        self.lblPerson.setText(_translate("Dialog", "Ответственный", None))
        self.chkZNOMorph.setToolTip(
            _translate("Dialog", "ЗНО потдверждён морфологически", None))
        self.chkZNOMorph.setText(
            _translate("Dialog", "ЗНО подтв. морф-ки", None))
        self.chkExposeConfirmed.setText(
            _translate("Dialog", "Добавить к выставлению", None))
        self.cmbGoal.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.lblGoal.setText(_translate("Dialog", "Цель", None))
        self.chkZNOFirst.setToolTip(
            _translate("Dialog", "ЗНО установлен впервые", None))
        self.chkZNOFirst.setText(_translate("Dialog", "ЗНО уст. впервые",
                                            None))
        self.chkDispByMobileTeam.setText(
            _translate("Dialog", "Диспансеризация(проф.осмотр) проведена МВБ",
                       None))
        self.gbLittleStrangerFlag.setTitle(
            _translate("Dialog", "Признак новорожденного", None))
        self.lblChildBirthDate.setText(
            _translate("Dialog", "Дата рождения", None))
        self.lblChildSex.setText(_translate("Dialog", "Пол", None))
        self.cmbChildSex.setItemText(1, _translate("Dialog", "М", None))
        self.cmbChildSex.setItemText(2, _translate("Dialog", "Ж", None))
        self.chkMultipleBirths.setText(
            _translate("Dialog", "Многоплодные роды", None))
        self.lblChildNumber.setText(
            _translate("Dialog", "По счету в семье", None))
        self.lblBirthWeight.setText(
            _translate("Dialog", "Вес при рождении", None))
        self.edtBegDate.setWhatsThis(
            _translate("Dialog", "дата начала осмотра", None))
        self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.edtEndDate.setWhatsThis(
            _translate("Dialog", "дата окончания осмотра", None))
        self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None))
        self.grpWork.setTitle(_translate("Dialog", "&Занятость", None))
        self.btnSelectWorkOrganisation.setText(
            _translate("Dialog", "...", None))
        self.lblWorkPost.setText(_translate("Dialog", "Должность", None))
        self.lblWorkOKVED.setText(_translate("Dialog", "ОКВЭД", None))
        self.label_7.setText(_translate("Dialog", "Дата период.осмотра", None))
        self.lblWorkStage.setText(_translate("Dialog", "стаж", None))
        self.lblKPP.setText(_translate("Dialog", "КПП", None))
        self.lblINN.setText(_translate("Dialog", "ИНН", None))
        self.cmbWorkOrganisation.setWhatsThis(
            _translate("Dialog", "место работы пациента", None))
        self.lblOGRN.setText(_translate("Dialog", "ОГРН", None))
        self.tblWorkHurt.setTitle(_translate("Dialog", "&Вредность", None))
        self.tblWorkHurtFactors.setWhatsThis(
            _translate("Dialog", "вредные факторы работы пациента", None))
        self.grpInspections.setTitle(_translate("Dialog", "&Осмотр", None))
        self.grpActions.setTitle(_translate("Dialog", "&Мероприятия", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken),
                                  _translate("Dialog", "Стат.&учёт", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMes),
                                  _translate("Dialog", "Стандарт", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabStatus),
                                  _translate("Dialog", "&Статус", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDiagnostic),
                                  _translate("Dialog", "&Диагностика", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCure),
                                  _translate("Dialog", "&Лечение", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMisc),
                                  _translate("Dialog", "&Мероприятия", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash),
                                  _translate("Dialog", "Оплата", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabReferral),
                                  _translate("Dialog", "Направления", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes),
                                  _translate("Dialog", "Приме&чания", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.",
                                               None))
Exemplo n.º 22
0
class Ui_ExportPrimaryDocInXmlDialog(object):
    def setupUi(self, ExportPrimaryDocInXmlDialog):
        ExportPrimaryDocInXmlDialog.setObjectName(
            _fromUtf8("ExportPrimaryDocInXmlDialog"))
        ExportPrimaryDocInXmlDialog.resize(538, 678)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ExportPrimaryDocInXmlDialog.sizePolicy().hasHeightForWidth())
        ExportPrimaryDocInXmlDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(ExportPrimaryDocInXmlDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDateFrom = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateFrom.sizePolicy().hasHeightForWidth())
        self.lblDateFrom.setSizePolicy(sizePolicy)
        self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom"))
        self.gridLayout.addWidget(self.lblDateFrom, 0, 0, 1, 1)
        self.edtDateFrom = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateFrom.sizePolicy().hasHeightForWidth())
        self.edtDateFrom.setSizePolicy(sizePolicy)
        self.edtDateFrom.setObjectName(_fromUtf8("edtDateFrom"))
        self.gridLayout.addWidget(self.edtDateFrom, 0, 3, 1, 3)
        self.lblDateTo = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateTo.sizePolicy().hasHeightForWidth())
        self.lblDateTo.setSizePolicy(sizePolicy)
        self.lblDateTo.setObjectName(_fromUtf8("lblDateTo"))
        self.gridLayout.addWidget(self.lblDateTo, 1, 0, 1, 1)
        self.edtDateTo = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateTo.sizePolicy().hasHeightForWidth())
        self.edtDateTo.setSizePolicy(sizePolicy)
        self.edtDateTo.setObjectName(_fromUtf8("edtDateTo"))
        self.gridLayout.addWidget(self.edtDateTo, 1, 3, 1, 3)
        self.lblFilePath = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblFilePath.setObjectName(_fromUtf8("lblFilePath"))
        self.gridLayout.addWidget(self.lblFilePath, 2, 0, 1, 1)
        self.edtFilePath = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtFilePath.setObjectName(_fromUtf8("edtFilePath"))
        self.gridLayout.addWidget(self.edtFilePath, 2, 3, 1, 6)
        self.btnOpenFilePath = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnOpenFilePath.sizePolicy().hasHeightForWidth())
        self.btnOpenFilePath.setSizePolicy(sizePolicy)
        self.btnOpenFilePath.setObjectName(_fromUtf8("btnOpenFilePath"))
        self.gridLayout.addWidget(self.btnOpenFilePath, 2, 9, 1, 1)
        self.chkOnlyMes = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkOnlyMes.sizePolicy().hasHeightForWidth())
        self.chkOnlyMes.setSizePolicy(sizePolicy)
        self.chkOnlyMes.setChecked(True)
        self.chkOnlyMes.setObjectName(_fromUtf8("chkOnlyMes"))
        self.gridLayout.addWidget(self.chkOnlyMes, 4, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 3, 1, 7)
        self.lblEventType = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.lblEventProfile = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 7, 0, 1, 1)
        self.cmbEventProfile = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 7, 3, 1, 7)
        self.lblMes = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 8, 0, 1, 1)
        self.cmbMes = CMESComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 8, 3, 1, 7)
        self.line = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 9, 0, 2, 10)
        self.chkSpeciality = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpeciality.sizePolicy().hasHeightForWidth())
        self.chkSpeciality.setSizePolicy(sizePolicy)
        self.chkSpeciality.setObjectName(_fromUtf8("chkSpeciality"))
        self.gridLayout.addWidget(self.chkSpeciality, 11, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 10, 3, 2, 7)
        self.chkDoctor = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkDoctor.sizePolicy().hasHeightForWidth())
        self.chkDoctor.setSizePolicy(sizePolicy)
        self.chkDoctor.setObjectName(_fromUtf8("chkDoctor"))
        self.gridLayout.addWidget(self.chkDoctor, 12, 0, 1, 1)
        self.cmbDoctor = CPersonComboBoxEx(ExportPrimaryDocInXmlDialog)
        self.cmbDoctor.setEnabled(False)
        self.cmbDoctor.setObjectName(_fromUtf8("cmbDoctor"))
        self.gridLayout.addWidget(self.cmbDoctor, 12, 3, 1, 7)
        self.chkSex = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSex.sizePolicy().hasHeightForWidth())
        self.chkSex.setSizePolicy(sizePolicy)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 13, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSex.setEnabled(False)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 13, 3, 1, 1)
        self.chkAge = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAge.sizePolicy().hasHeightForWidth())
        self.chkAge.setSizePolicy(sizePolicy)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 14, 0, 1, 1)
        self.edtAgeBegin = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeBegin.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeBegin.sizePolicy().hasHeightForWidth())
        self.edtAgeBegin.setSizePolicy(sizePolicy)
        self.edtAgeBegin.setMaximum(150)
        self.edtAgeBegin.setObjectName(_fromUtf8("edtAgeBegin"))
        self.gridLayout.addWidget(self.edtAgeBegin, 14, 4, 1, 2)
        self.label_5 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 14, 6, 1, 1)
        self.edtAgeEnd = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeEnd.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeEnd.sizePolicy().hasHeightForWidth())
        self.edtAgeEnd.setSizePolicy(sizePolicy)
        self.edtAgeEnd.setMaximum(150)
        self.edtAgeEnd.setProperty("value", 150)
        self.edtAgeEnd.setObjectName(_fromUtf8("edtAgeEnd"))
        self.gridLayout.addWidget(self.edtAgeEnd, 14, 7, 1, 1)
        self.label = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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.addWidget(self.label, 14, 8, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 14, 9, 1, 1)
        self.chkExportClientData = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportClientData.sizePolicy().hasHeightForWidth())
        self.chkExportClientData.setSizePolicy(sizePolicy)
        self.chkExportClientData.setChecked(True)
        self.chkExportClientData.setObjectName(
            _fromUtf8("chkExportClientData"))
        self.gridLayout.addWidget(self.chkExportClientData, 16, 0, 1, 7)
        self.chkExportActions = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportActions.sizePolicy().hasHeightForWidth())
        self.chkExportActions.setSizePolicy(sizePolicy)
        self.chkExportActions.setChecked(True)
        self.chkExportActions.setObjectName(_fromUtf8("chkExportActions"))
        self.gridLayout.addWidget(self.chkExportActions, 17, 0, 1, 3)
        self.chkExportVisits = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportVisits.sizePolicy().hasHeightForWidth())
        self.chkExportVisits.setSizePolicy(sizePolicy)
        self.chkExportVisits.setChecked(True)
        self.chkExportVisits.setObjectName(_fromUtf8("chkExportVisits"))
        self.gridLayout.addWidget(self.chkExportVisits, 18, 0, 1, 3)
        self.chkExportTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportTempInvalid.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportTempInvalid.sizePolicy().hasHeightForWidth())
        self.chkExportTempInvalid.setSizePolicy(sizePolicy)
        self.chkExportTempInvalid.setObjectName(
            _fromUtf8("chkExportTempInvalid"))
        self.gridLayout.addWidget(self.chkExportTempInvalid, 19, 0, 1, 3)
        self.progressBar = CProgressBar(ExportPrimaryDocInXmlDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 24, 0, 1, 10)
        self.chkMakeRar = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkMakeRar.sizePolicy().hasHeightForWidth())
        self.chkMakeRar.setSizePolicy(sizePolicy)
        self.chkMakeRar.setObjectName(_fromUtf8("chkMakeRar"))
        self.gridLayout.addWidget(self.chkMakeRar, 25, 0, 1, 1)
        self.chkSendEmail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSendEmail.sizePolicy().hasHeightForWidth())
        self.chkSendEmail.setSizePolicy(sizePolicy)
        self.chkSendEmail.setObjectName(_fromUtf8("chkSendEmail"))
        self.gridLayout.addWidget(self.chkSendEmail, 26, 0, 1, 1)
        self.edtSendEmail = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtSendEmail.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSendEmail.sizePolicy().hasHeightForWidth())
        self.edtSendEmail.setSizePolicy(sizePolicy)
        self.edtSendEmail.setObjectName(_fromUtf8("edtSendEmail"))
        self.gridLayout.addWidget(self.edtSendEmail, 26, 3, 1, 7)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 27, 0, 1, 1)
        self.btnStart = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 27, 6, 1, 3)
        self.btnClose = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 27, 9, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 28, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 3, 1, 7)
        self.label_2 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 14, 3, 1, 1)
        self.chkInsurer = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkInsurer.sizePolicy().hasHeightForWidth())
        self.chkInsurer.setSizePolicy(sizePolicy)
        self.chkInsurer.setObjectName(_fromUtf8("chkInsurer"))
        self.gridLayout.addWidget(self.chkInsurer, 15, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbInsurer.setEnabled(False)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 15, 3, 1, 6)
        self.cmbPolicyType = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbPolicyType.setEnabled(False)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPolicyType, 15, 9, 1, 1)
        self.lblDetail = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblDetail.setObjectName(_fromUtf8("lblDetail"))
        self.gridLayout.addWidget(self.lblDetail, 23, 0, 1, 3)
        self.line_2 = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 22, 0, 1, 10)
        self.chkOnlyNomenclativeActions = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyNomenclativeActions.setObjectName(
            _fromUtf8("chkOnlyNomenclativeActions"))
        self.gridLayout.addWidget(self.chkOnlyNomenclativeActions, 17, 6, 1, 4)
        self.chkActionExecPerson = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkActionExecPerson.setChecked(True)
        self.chkActionExecPerson.setObjectName(
            _fromUtf8("chkActionExecPerson"))
        self.gridLayout.addWidget(self.chkActionExecPerson, 17, 3, 1, 2)
        self.chkExportOnlyExecutedTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportOnlyExecutedTempInvalid.setEnabled(False)
        self.chkExportOnlyExecutedTempInvalid.setChecked(True)
        self.chkExportOnlyExecutedTempInvalid.setObjectName(
            _fromUtf8("chkExportOnlyExecutedTempInvalid"))
        self.gridLayout.addWidget(self.chkExportOnlyExecutedTempInvalid, 19, 3,
                                  1, 7)
        self.label_3 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 3)
        self.cmbPersonSpecialityCode = QtGui.QComboBox(
            ExportPrimaryDocInXmlDialog)
        self.cmbPersonSpecialityCode.setObjectName(
            _fromUtf8("cmbPersonSpecialityCode"))
        self.gridLayout.addWidget(self.cmbPersonSpecialityCode, 3, 3, 1, 2)
        self.chkDocumentDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkDocumentDetail.setObjectName(_fromUtf8("chkDocumentDetail"))
        self.gridLayout.addWidget(self.chkDocumentDetail, 23, 6, 1, 2)
        self.chkPolicyDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkPolicyDetail.setObjectName(_fromUtf8("chkPolicyDetail"))
        self.gridLayout.addWidget(self.chkPolicyDetail, 23, 4, 1, 1)
        self.chkAddressDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkAddressDetail.setObjectName(_fromUtf8("chkAddressDetail"))
        self.gridLayout.addWidget(self.chkAddressDetail, 23, 3, 1, 1)
        self.chkOnlyEndDiagnostic = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyEndDiagnostic.setChecked(True)
        self.chkOnlyEndDiagnostic.setObjectName(
            _fromUtf8("chkOnlyEndDiagnostic"))
        self.gridLayout.addWidget(self.chkOnlyEndDiagnostic, 20, 0, 1, 10)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(ExportPrimaryDocInXmlDialog)
        QtCore.QObject.connect(self.chkSendEmail,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtSendEmail.setEnabled)
        QtCore.QObject.connect(self.chkSpeciality,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkDoctor,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbDoctor.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtAgeBegin.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtAgeEnd.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventPurpose.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventType.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventProfile.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbMes.setEnabled)
        QtCore.QObject.connect(
            self.chkExportTempInvalid,
            QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
            self.chkExportOnlyExecutedTempInvalid.setEnabled)
        QtCore.QObject.connect(self.chkExportActions,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.chkOnlyNomenclativeActions.setEnabled)
        QtCore.QObject.connect(self.chkInsurer,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbInsurer.setEnabled)
        QtCore.QObject.connect(self.chkInsurer,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyType.setEnabled)
        QtCore.QObject.connect(self.chkExportActions,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.chkActionExecPerson.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ExportPrimaryDocInXmlDialog)

    def retranslateUi(self, ExportPrimaryDocInXmlDialog):
        ExportPrimaryDocInXmlDialog.setWindowTitle(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDateFrom.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDateTo.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilePath.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Файл экспорта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnOpenFilePath.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "...",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyMes.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Назначение события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Профиль МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkSpeciality.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkDoctor.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkSex.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Пол",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "М",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Ж",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkAge.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "по",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "лет",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkExportClientData.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Выгружать персональные данные пациента", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkExportActions.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportVisits.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать визиты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportTempInvalid.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать ВУТ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkMakeRar.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Архивировать в rar", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkSendEmail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Переслать по почте", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnStart.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Начать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Закрыть", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkInsurer.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Страховая компания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            0,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Не задано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            1,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "ОМС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            2,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "ДМС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Детализировать: ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyNomenclativeActions.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только номенклатурные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionExecPerson.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать испольнителя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportOnlyExecutedTempInvalid.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только законченые", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Интерпретация кода специальности врача", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkDocumentDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Документ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkPolicyDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Полис", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkAddressDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Адрес", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyEndDiagnostic.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Выгружать только заключительный диагноз", None,
                QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 23
0
class Ui_StatReportF131RaionSetupDialog(object):
    def setupUi(self, StatReportF131RaionSetupDialog):
        StatReportF131RaionSetupDialog.setObjectName(
            _fromUtf8("StatReportF131RaionSetupDialog"))
        StatReportF131RaionSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        StatReportF131RaionSetupDialog.resize(311, 253)
        StatReportF131RaionSetupDialog.setSizeGripEnabled(True)
        StatReportF131RaionSetupDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(StatReportF131RaionSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        self.cmbEventType = CRBComboBox(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 1)
        self.chkOnlyPayedEvents = QtGui.QCheckBox(
            StatReportF131RaionSetupDialog)
        self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents"))
        self.gridLayout.addWidget(self.chkOnlyPayedEvents, 3, 1, 1, 1)
        self.lblBegPayDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegPayDate.sizePolicy().hasHeightForWidth())
        self.lblBegPayDate.setSizePolicy(sizePolicy)
        self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate"))
        self.gridLayout.addWidget(self.lblBegPayDate, 4, 0, 1, 1)
        self.edtBegPayDate = CDateEdit(StatReportF131RaionSetupDialog)
        self.edtBegPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegPayDate.sizePolicy().hasHeightForWidth())
        self.edtBegPayDate.setSizePolicy(sizePolicy)
        self.edtBegPayDate.setCalendarPopup(True)
        self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate"))
        self.gridLayout.addWidget(self.edtBegPayDate, 4, 1, 1, 1)
        self.lblEndPayDate = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndPayDate.sizePolicy().hasHeightForWidth())
        self.lblEndPayDate.setSizePolicy(sizePolicy)
        self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate"))
        self.gridLayout.addWidget(self.lblEndPayDate, 5, 0, 1, 1)
        self.edtEndPayDate = CDateEdit(StatReportF131RaionSetupDialog)
        self.edtEndPayDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndPayDate.sizePolicy().hasHeightForWidth())
        self.edtEndPayDate.setSizePolicy(sizePolicy)
        self.edtEndPayDate.setCalendarPopup(True)
        self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate"))
        self.gridLayout.addWidget(self.edtEndPayDate, 5, 1, 1, 1)
        self.label = QtGui.QLabel(StatReportF131RaionSetupDialog)
        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.addWidget(self.label, 6, 0, 1, 1)
        self.cmbRaion = QtGui.QComboBox(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbRaion.sizePolicy().hasHeightForWidth())
        self.cmbRaion.setSizePolicy(sizePolicy)
        self.cmbRaion.setObjectName(_fromUtf8("cmbRaion"))
        self.gridLayout.addWidget(self.cmbRaion, 6, 1, 1, 1)
        self.label_2 = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 7, 0, 1, 1)
        self.cmbPermanentAttach = QtGui.QComboBox(
            StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPermanentAttach.sizePolicy().hasHeightForWidth())
        self.cmbPermanentAttach.setSizePolicy(sizePolicy)
        self.cmbPermanentAttach.setObjectName(_fromUtf8("cmbPermanentAttach"))
        self.gridLayout.addWidget(self.cmbPermanentAttach, 7, 1, 1, 1)
        self.lblYearForDD = QtGui.QLabel(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblYearForDD.sizePolicy().hasHeightForWidth())
        self.lblYearForDD.setSizePolicy(sizePolicy)
        self.lblYearForDD.setObjectName(_fromUtf8("lblYearForDD"))
        self.gridLayout.addWidget(self.lblYearForDD, 8, 0, 1, 1)
        self.ledtYearForDD = QtGui.QLineEdit(StatReportF131RaionSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ledtYearForDD.sizePolicy().hasHeightForWidth())
        self.ledtYearForDD.setSizePolicy(sizePolicy)
        self.ledtYearForDD.setMaxLength(10)
        self.ledtYearForDD.setObjectName(_fromUtf8("ledtYearForDD"))
        self.gridLayout.addWidget(self.ledtYearForDD, 8, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StatReportF131RaionSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegPayDate.setBuddy(self.edtBegPayDate)
        self.lblEndPayDate.setBuddy(self.edtEndPayDate)

        self.retranslateUi(StatReportF131RaionSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StatReportF131RaionSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StatReportF131RaionSetupDialog.reject)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndPayDate.setEnabled)
        QtCore.QObject.connect(self.chkOnlyPayedEvents,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegPayDate.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(StatReportF131RaionSetupDialog)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtBegDate,
                                                   self.edtEndDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtEndDate,
                                                   self.cmbEventType)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbEventType,
                                                   self.chkOnlyPayedEvents)
        StatReportF131RaionSetupDialog.setTabOrder(self.chkOnlyPayedEvents,
                                                   self.edtBegPayDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtBegPayDate,
                                                   self.edtEndPayDate)
        StatReportF131RaionSetupDialog.setTabOrder(self.edtEndPayDate,
                                                   self.cmbRaion)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbRaion,
                                                   self.cmbPermanentAttach)
        StatReportF131RaionSetupDialog.setTabOrder(self.cmbPermanentAttach,
                                                   self.ledtYearForDD)
        StatReportF131RaionSetupDialog.setTabOrder(self.ledtYearForDD,
                                                   self.buttonBox)

    def retranslateUi(self, StatReportF131RaionSetupDialog):
        StatReportF131RaionSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyPayedEvents.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Только опла&ченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegPayDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Оплачено в период с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndPayDate.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Район", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Прикрепление к", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblYearForDD.setText(
            QtGui.QApplication.translate("StatReportF131RaionSetupDialog",
                                         "Префикс формы 131", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 24
0
class Ui_ItemFinderDialog(object):
    def setupUi(self, ItemFinderDialog):
        ItemFinderDialog.setObjectName(_fromUtf8("ItemFinderDialog"))
        ItemFinderDialog.resize(560, 370)
        ItemFinderDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ItemFinderDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtCode = QtGui.QLineEdit(ItemFinderDialog)
        self.edtCode.setEnabled(False)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 2)
        self.chkPrim = QtGui.QCheckBox(ItemFinderDialog)
        self.chkPrim.setEnabled(False)
        self.chkPrim.setObjectName(_fromUtf8("chkPrim"))
        self.gridLayout.addWidget(self.chkPrim, 0, 3, 1, 4)
        self.btnSelectService = QtGui.QToolButton(ItemFinderDialog)
        self.btnSelectService.setEnabled(False)
        self.btnSelectService.setObjectName(_fromUtf8("btnSelectService"))
        self.gridLayout.addWidget(self.btnSelectService, 8, 6, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbBegAgeUnit = QtGui.QComboBox(ItemFinderDialog)
        self.cmbBegAgeUnit.setEnabled(False)
        self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit"))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.setItemText(0, _fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.cmbBegAgeUnit.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.cmbBegAgeUnit)
        self.edtBegAgeCount = QtGui.QLineEdit(ItemFinderDialog)
        self.edtBegAgeCount.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegAgeCount.sizePolicy().hasHeightForWidth())
        self.edtBegAgeCount.setSizePolicy(sizePolicy)
        self.edtBegAgeCount.setMaxLength(3)
        self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount"))
        self.horizontalLayout.addWidget(self.edtBegAgeCount)
        self.lblAgeSep = QtGui.QLabel(ItemFinderDialog)
        self.lblAgeSep.setEnabled(False)
        self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep"))
        self.horizontalLayout.addWidget(self.lblAgeSep)
        self.cmbEndAgeUnit = QtGui.QComboBox(ItemFinderDialog)
        self.cmbEndAgeUnit.setEnabled(False)
        self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit"))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.setItemText(0, _fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.cmbEndAgeUnit.addItem(_fromUtf8(""))
        self.horizontalLayout.addWidget(self.cmbEndAgeUnit)
        self.edtEndAgeCount = QtGui.QLineEdit(ItemFinderDialog)
        self.edtEndAgeCount.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndAgeCount.sizePolicy().hasHeightForWidth())
        self.edtEndAgeCount.setSizePolicy(sizePolicy)
        self.edtEndAgeCount.setMaxLength(3)
        self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount"))
        self.horizontalLayout.addWidget(self.edtEndAgeCount)
        self.gridLayout.addLayout(self.horizontalLayout, 7, 1, 1, 3)
        self.cmbService = CRBComboBox(ItemFinderDialog)
        self.cmbService.setEnabled(False)
        self.cmbService.setObjectName(_fromUtf8("cmbService"))
        self.gridLayout.addWidget(self.cmbService, 8, 1, 1, 5)
        spacerItem = QtGui.QSpacerItem(173, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 7, 5, 1, 2)
        self.cmbMKBSubclass = CRBComboBox(ItemFinderDialog)
        self.cmbMKBSubclass.setEnabled(False)
        self.cmbMKBSubclass.setObjectName(_fromUtf8("cmbMKBSubclass"))
        self.gridLayout.addWidget(self.cmbMKBSubclass, 3, 1, 1, 6)
        self.cmbCharacters = QtGui.QComboBox(ItemFinderDialog)
        self.cmbCharacters.setEnabled(False)
        self.cmbCharacters.setObjectName(_fromUtf8("cmbCharacters"))
        self.gridLayout.addWidget(self.cmbCharacters, 4, 1, 1, 6)
        self.edtDuration = QtGui.QSpinBox(ItemFinderDialog)
        self.edtDuration.setEnabled(False)
        self.edtDuration.setMaximum(999)
        self.edtDuration.setObjectName(_fromUtf8("edtDuration"))
        self.gridLayout.addWidget(self.edtDuration, 5, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(289, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 5, 2, 1, 5)
        self.cmbSex = QtGui.QComboBox(ItemFinderDialog)
        self.cmbSex.setEnabled(False)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 6, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(289, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 6, 2, 1, 5)
        self.buttonBox = QtGui.QDialogButtonBox(ItemFinderDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 13, 0, 1, 7)
        self.edtEndDate = CDateEdit(ItemFinderDialog)
        self.edtEndDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setDate(QtCore.QDate(2200, 1, 1))
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 9, 5, 1, 1)
        self.edtBegDate = CDateEdit(ItemFinderDialog)
        self.edtBegDate.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 9, 1, 1, 1)
        self.chkSex = QtGui.QCheckBox(ItemFinderDialog)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 6, 0, 1, 1)
        self.chkMKBSubclass = QtGui.QCheckBox(ItemFinderDialog)
        self.chkMKBSubclass.setObjectName(_fromUtf8("chkMKBSubclass"))
        self.gridLayout.addWidget(self.chkMKBSubclass, 3, 0, 1, 1)
        self.chkCode = QtGui.QCheckBox(ItemFinderDialog)
        self.chkCode.setObjectName(_fromUtf8("chkCode"))
        self.gridLayout.addWidget(self.chkCode, 0, 0, 1, 1)
        self.chkName = QtGui.QCheckBox(ItemFinderDialog)
        self.chkName.setObjectName(_fromUtf8("chkName"))
        self.gridLayout.addWidget(self.chkName, 1, 0, 2, 1)
        self.chkCharacters = QtGui.QCheckBox(ItemFinderDialog)
        self.chkCharacters.setObjectName(_fromUtf8("chkCharacters"))
        self.gridLayout.addWidget(self.chkCharacters, 4, 0, 1, 1)
        self.chkDuration = QtGui.QCheckBox(ItemFinderDialog)
        self.chkDuration.setObjectName(_fromUtf8("chkDuration"))
        self.gridLayout.addWidget(self.chkDuration, 5, 0, 1, 1)
        self.chkService = QtGui.QCheckBox(ItemFinderDialog)
        self.chkService.setObjectName(_fromUtf8("chkService"))
        self.gridLayout.addWidget(self.chkService, 8, 0, 1, 1)
        self.chkEndDate = QtGui.QCheckBox(ItemFinderDialog)
        self.chkEndDate.setObjectName(_fromUtf8("chkEndDate"))
        self.gridLayout.addWidget(self.chkEndDate, 9, 4, 1, 1)
        self.chkAge = QtGui.QCheckBox(ItemFinderDialog)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 7, 0, 1, 1)
        self.edtName = QtGui.QTextEdit(ItemFinderDialog)
        self.edtName.setEnabled(False)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 1, 1, 1, 6)
        self.chkBegDate = QtGui.QCheckBox(ItemFinderDialog)
        self.chkBegDate.setObjectName(_fromUtf8("chkBegDate"))
        self.gridLayout.addWidget(self.chkBegDate, 9, 0, 1, 1)
        self.chkOMSMTR = QtGui.QCheckBox(ItemFinderDialog)
        self.chkOMSMTR.setObjectName(_fromUtf8("chkOMSMTR"))
        self.gridLayout.addWidget(self.chkOMSMTR, 10, 0, 1, 1)
        self.chkMTR = QtGui.QCheckBox(ItemFinderDialog)
        self.chkMTR.setEnabled(False)
        self.chkMTR.setObjectName(_fromUtf8("chkMTR"))
        self.gridLayout.addWidget(self.chkMTR, 10, 2, 1, 1)
        self.chkOMS = QtGui.QCheckBox(ItemFinderDialog)
        self.chkOMS.setEnabled(False)
        self.chkOMS.setObjectName(_fromUtf8("chkOMS"))
        self.gridLayout.addWidget(self.chkOMS, 10, 1, 1, 1)
        self.lblAgeSep.setBuddy(self.cmbEndAgeUnit)

        self.retranslateUi(ItemFinderDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ItemFinderDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ItemFinderDialog.reject)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtCode.setEnabled)
        QtCore.QObject.connect(self.chkCode,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkPrim.setEnabled)
        QtCore.QObject.connect(self.chkMKBSubclass,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBSubclass.setEnabled)
        QtCore.QObject.connect(self.chkCharacters,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbCharacters.setEnabled)
        QtCore.QObject.connect(self.chkDuration,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtDuration.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbBegAgeUnit.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegAgeCount.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblAgeSep.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbEndAgeUnit.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndAgeCount.setEnabled)
        QtCore.QObject.connect(self.chkService,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbService.setEnabled)
        QtCore.QObject.connect(self.chkService,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.btnSelectService.setEnabled)
        QtCore.QObject.connect(self.chkBegDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtBegDate.setEnabled)
        QtCore.QObject.connect(self.chkEndDate,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtEndDate.setEnabled)
        QtCore.QObject.connect(self.chkName,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtName.setEnabled)
        QtCore.QObject.connect(self.chkOMSMTR,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkOMS.setEnabled)
        QtCore.QObject.connect(self.chkOMSMTR,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkMTR.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ItemFinderDialog)
        ItemFinderDialog.setTabOrder(self.edtCode, self.chkPrim)
        ItemFinderDialog.setTabOrder(self.chkPrim, self.edtName)
        ItemFinderDialog.setTabOrder(self.edtName, self.cmbMKBSubclass)
        ItemFinderDialog.setTabOrder(self.cmbMKBSubclass, self.cmbCharacters)
        ItemFinderDialog.setTabOrder(self.cmbCharacters, self.edtDuration)
        ItemFinderDialog.setTabOrder(self.edtDuration, self.cmbSex)
        ItemFinderDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit)
        ItemFinderDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount)
        ItemFinderDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit)
        ItemFinderDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount)
        ItemFinderDialog.setTabOrder(self.edtEndAgeCount, self.cmbService)
        ItemFinderDialog.setTabOrder(self.cmbService, self.btnSelectService)
        ItemFinderDialog.setTabOrder(self.btnSelectService, self.buttonBox)

    def retranslateUi(self, ItemFinderDialog):
        ItemFinderDialog.setWindowTitle(
            _translate("ItemFinderDialog", "ChangeMe!", None))
        self.chkPrim.setWhatsThis(
            _translate("ItemFinderDialog",
                       "В справочнике МКБ обычно отмечается звёздочкой", None))
        self.chkPrim.setText(
            _translate("ItemFinderDialog", "уточняется в других рубриках",
                       None))
        self.btnSelectService.setText(
            _translate("ItemFinderDialog", "...", None))
        self.cmbBegAgeUnit.setItemText(
            1, _translate("ItemFinderDialog", "Д", None))
        self.cmbBegAgeUnit.setItemText(
            2, _translate("ItemFinderDialog", "Н", None))
        self.cmbBegAgeUnit.setItemText(
            3, _translate("ItemFinderDialog", "М", None))
        self.cmbBegAgeUnit.setItemText(
            4, _translate("ItemFinderDialog", "Г", None))
        self.edtBegAgeCount.setInputMask(
            _translate("ItemFinderDialog", "000; ", None))
        self.lblAgeSep.setText(_translate("ItemFinderDialog", "по", None))
        self.cmbEndAgeUnit.setItemText(
            1, _translate("ItemFinderDialog", "Д", None))
        self.cmbEndAgeUnit.setItemText(
            2, _translate("ItemFinderDialog", "Н", None))
        self.cmbEndAgeUnit.setItemText(
            3, _translate("ItemFinderDialog", "М", None))
        self.cmbEndAgeUnit.setItemText(
            4, _translate("ItemFinderDialog", "Г", None))
        self.edtEndAgeCount.setInputMask(
            _translate("ItemFinderDialog", "000; ", None))
        self.cmbMKBSubclass.setWhatsThis(
            _translate(
                "ItemFinderDialog",
                "Последующее уточнение кода диагноза, не предписанное справочником МКБ",
                None))
        self.cmbCharacters.setWhatsThis(
            _translate(
                "ItemFinderDialog",
                "Допустимый характер заболевания, применяется для контроля ввода",
                None))
        self.cmbSex.setItemText(1, _translate("ItemFinderDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("ItemFinderDialog", "Ж", None))
        self.chkSex.setText(_translate("ItemFinderDialog", "&Пол", None))
        self.chkMKBSubclass.setText(
            _translate("ItemFinderDialog", "Cу&бклассификация\n"
                       "МКБ по 5 знаку", None))
        self.chkCode.setText(_translate("ItemFinderDialog", "Код", None))
        self.chkName.setText(
            _translate("ItemFinderDialog", "Наименование", None))
        self.chkCharacters.setText(
            _translate("ItemFinderDialog", "&Характер", None))
        self.chkDuration.setText(
            _translate("ItemFinderDialog", "&Длительность", None))
        self.chkService.setText(_translate("ItemFinderDialog", "&Услуга",
                                           None))
        self.chkEndDate.setText(
            _translate("ItemFinderDialog", "Дата окончания:", None))
        self.chkAge.setText(_translate("ItemFinderDialog", "&Возраст", None))
        self.chkBegDate.setText(
            _translate("ItemFinderDialog", "Дата начала:", None))
        self.chkOMSMTR.setText(
            _translate("ItemFinderDialog", "Краевой/Инокрай", None))
        self.chkMTR.setText(_translate("ItemFinderDialog", "Инокраевой", None))
        self.chkOMS.setText(_translate("ItemFinderDialog", "Краевой", None))
Exemplo n.º 25
0
class Ui_SocStatusSetupDialog(object):
    def setupUi(self, SocStatusSetupDialog):
        SocStatusSetupDialog.setObjectName(_fromUtf8("SocStatusSetupDialog"))
        SocStatusSetupDialog.resize(607, 403)
        self.gridLayout_2 = QtGui.QGridLayout(SocStatusSetupDialog)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.edtBegDate = CDateEdit(SocStatusSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_2.addWidget(self.edtBegDate, 0, 3, 1, 2)
        spacerItem = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 5, 1, 2)
        self.lblEndDate = QtGui.QLabel(SocStatusSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 1, 2, 1, 1)
        self.groupBox = QtGui.QGroupBox(SocStatusSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setSpacing(4)
        self.verticalLayout.setMargin(4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.btnStatusInPeriod = QtGui.QRadioButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStatusInPeriod.sizePolicy().hasHeightForWidth())
        self.btnStatusInPeriod.setSizePolicy(sizePolicy)
        self.btnStatusInPeriod.setChecked(True)
        self.btnStatusInPeriod.setObjectName(_fromUtf8("btnStatusInPeriod"))
        self.verticalLayout.addWidget(self.btnStatusInPeriod)
        self.btnStatusStart = QtGui.QRadioButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStatusStart.sizePolicy().hasHeightForWidth())
        self.btnStatusStart.setSizePolicy(sizePolicy)
        self.btnStatusStart.setObjectName(_fromUtf8("btnStatusStart"))
        self.verticalLayout.addWidget(self.btnStatusStart)
        self.btnStatusFinish = QtGui.QRadioButton(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStatusFinish.sizePolicy().hasHeightForWidth())
        self.btnStatusFinish.setSizePolicy(sizePolicy)
        self.btnStatusFinish.setObjectName(_fromUtf8("btnStatusFinish"))
        self.verticalLayout.addWidget(self.btnStatusFinish)
        self.gridLayout_2.addWidget(self.groupBox, 2, 2, 1, 5)
        self.frmAge = QtGui.QFrame(SocStatusSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self._2 = QtGui.QHBoxLayout(self.frmAge)
        self._2.setSpacing(4)
        self._2.setMargin(0)
        self._2.setObjectName(_fromUtf8("_2"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self._2.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAgeTo.sizePolicy().hasHeightForWidth())
        self.lblAgeTo.setSizePolicy(sizePolicy)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self._2.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self._2.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAgeYears.sizePolicy().hasHeightForWidth())
        self.lblAgeYears.setSizePolicy(sizePolicy)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self._2.addWidget(self.lblAgeYears)
        self.gridLayout_2.addWidget(self.frmAge, 5, 3, 1, 3)
        self.grbOrgStructure = QtGui.QGroupBox(SocStatusSetupDialog)
        self.grbOrgStructure.setCheckable(True)
        self.grbOrgStructure.setChecked(False)
        self.grbOrgStructure.setObjectName(_fromUtf8("grbOrgStructure"))
        self.gridLayout = QtGui.QGridLayout(self.grbOrgStructure)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblOrgStructure = QtGui.QLabel(self.grbOrgStructure)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.grbOrgStructure)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 0, 1, 1, 1)
        self.lblAreaAddressType = QtGui.QLabel(self.grbOrgStructure)
        self.lblAreaAddressType.setObjectName(_fromUtf8("lblAreaAddressType"))
        self.gridLayout.addWidget(self.lblAreaAddressType, 1, 0, 1, 1)
        self.cmbAreaAddressType = QtGui.QComboBox(self.grbOrgStructure)
        self.cmbAreaAddressType.setObjectName(_fromUtf8("cmbAreaAddressType"))
        self.cmbAreaAddressType.addItem(_fromUtf8(""))
        self.cmbAreaAddressType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbAreaAddressType, 1, 1, 1, 1)
        self.gridLayout_2.addWidget(self.grbOrgStructure, 6, 2, 1, 5)
        self.treeItems = CTreeView(SocStatusSetupDialog)
        self.treeItems.setObjectName(_fromUtf8("treeItems"))
        self.gridLayout_2.addWidget(self.treeItems, 0, 0, 13, 1)
        self.lblBegDate = QtGui.QLabel(SocStatusSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 1, 5, 1, 2)
        self.edtEndDate = CDateEdit(SocStatusSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_2.addWidget(self.edtEndDate, 1, 3, 1, 2)
        self.chkOnlyPermanentAttach = QtGui.QCheckBox(SocStatusSetupDialog)
        self.chkOnlyPermanentAttach.setObjectName(
            _fromUtf8("chkOnlyPermanentAttach"))
        self.gridLayout_2.addWidget(self.chkOnlyPermanentAttach, 3, 2, 1, 5)
        self.cmbSex = QtGui.QComboBox(SocStatusSetupDialog)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbSex, 4, 3, 1, 1)
        self.lblSex = QtGui.QLabel(SocStatusSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout_2.addWidget(self.lblSex, 4, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(96, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 4, 4, 1, 3)
        self.lblAge = QtGui.QLabel(SocStatusSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout_2.addWidget(self.lblAge, 5, 2, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(4, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem3, 5, 6, 1, 1)
        self.chkAddMKB = QtGui.QCheckBox(SocStatusSetupDialog)
        self.chkAddMKB.setObjectName(_fromUtf8("chkAddMKB"))
        self.gridLayout_2.addWidget(self.chkAddMKB, 8, 2, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(SocStatusSetupDialog)
        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, 13, 0, 1, 7)
        self.chkGroupBySocStatus = QtGui.QCheckBox(SocStatusSetupDialog)
        self.chkGroupBySocStatus.setObjectName(
            _fromUtf8("chkGroupBySocStatus"))
        self.gridLayout_2.addWidget(self.chkGroupBySocStatus, 10, 2, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(20, 87, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem4, 12, 2, 1, 5)
        self.chkAddDeathDate = QtGui.QCheckBox(SocStatusSetupDialog)
        self.chkAddDeathDate.setObjectName(_fromUtf8("chkAddDeathDate"))
        self.gridLayout_2.addWidget(self.chkAddDeathDate, 9, 2, 1, 2)
        self.lstItems = CRBListBox(SocStatusSetupDialog)
        self.lstItems.setObjectName(_fromUtf8("lstItems"))
        self.gridLayout_2.addWidget(self.lstItems, 0, 1, 13, 1)
        self.chkOutcome = QtGui.QCheckBox(SocStatusSetupDialog)
        self.chkOutcome.setObjectName(_fromUtf8("chkOutcome"))
        self.gridLayout_2.addWidget(self.chkOutcome, 11, 2, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)

        self.retranslateUi(SocStatusSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               SocStatusSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               SocStatusSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SocStatusSetupDialog)
        SocStatusSetupDialog.setTabOrder(self.treeItems, self.edtBegDate)
        SocStatusSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        SocStatusSetupDialog.setTabOrder(self.edtEndDate,
                                         self.btnStatusInPeriod)
        SocStatusSetupDialog.setTabOrder(self.btnStatusInPeriod,
                                         self.btnStatusStart)
        SocStatusSetupDialog.setTabOrder(self.btnStatusStart,
                                         self.btnStatusFinish)
        SocStatusSetupDialog.setTabOrder(self.btnStatusFinish,
                                         self.chkOnlyPermanentAttach)
        SocStatusSetupDialog.setTabOrder(self.chkOnlyPermanentAttach,
                                         self.cmbSex)
        SocStatusSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        SocStatusSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        SocStatusSetupDialog.setTabOrder(self.edtAgeTo, self.grbOrgStructure)
        SocStatusSetupDialog.setTabOrder(self.grbOrgStructure,
                                         self.cmbOrgStructure)
        SocStatusSetupDialog.setTabOrder(self.cmbOrgStructure,
                                         self.cmbAreaAddressType)
        SocStatusSetupDialog.setTabOrder(self.cmbAreaAddressType,
                                         self.chkAddMKB)
        SocStatusSetupDialog.setTabOrder(self.chkAddMKB,
                                         self.chkGroupBySocStatus)
        SocStatusSetupDialog.setTabOrder(self.chkGroupBySocStatus,
                                         self.buttonBox)

    def retranslateUi(self, SocStatusSetupDialog):
        SocStatusSetupDialog.setWindowTitle(
            _translate("SocStatusSetupDialog", "Dialog", None))
        self.lblEndDate.setText(
            _translate("SocStatusSetupDialog", "Дата &окончания периода",
                       None))
        self.groupBox.setTitle(
            _translate("SocStatusSetupDialog", "способ фильтрации", None))
        self.btnStatusInPeriod.setText(
            _translate("SocStatusSetupDialog", "статус присутствует в периоде",
                       None))
        self.btnStatusStart.setText(
            _translate("SocStatusSetupDialog",
                       "статус начал действовать в периоде", None))
        self.btnStatusFinish.setText(
            _translate("SocStatusSetupDialog",
                       "статус прекратил действовать в периоде", None))
        self.lblAgeTo.setText(_translate("SocStatusSetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("SocStatusSetupDialog", "лет", None))
        self.grbOrgStructure.setTitle(
            _translate("SocStatusSetupDialog", "зона обслуживания", None))
        self.lblOrgStructure.setText(
            _translate("SocStatusSetupDialog", "Подразделение", None))
        self.lblAreaAddressType.setText(
            _translate("SocStatusSetupDialog", "Участок по адресу", None))
        self.cmbAreaAddressType.setItemText(
            0, _translate("SocStatusSetupDialog", "проживания", None))
        self.cmbAreaAddressType.setItemText(
            1, _translate("SocStatusSetupDialog", "регистрации", None))
        self.lblBegDate.setText(
            _translate("SocStatusSetupDialog", "Дата &начала периода", None))
        self.chkOnlyPermanentAttach.setText(
            _translate("SocStatusSetupDialog", "&Прикреплённые к базовому ЛПУ",
                       None))
        self.cmbSex.setItemText(1, _translate("SocStatusSetupDialog", "М",
                                              None))
        self.cmbSex.setItemText(2, _translate("SocStatusSetupDialog", "Ж",
                                              None))
        self.lblSex.setText(_translate("SocStatusSetupDialog", "По&л", None))
        self.lblAge.setText(
            _translate("SocStatusSetupDialog", "Возраст с", None))
        self.chkAddMKB.setText(
            _translate("SocStatusSetupDialog",
                       "Добавить графу \"Заболевание\"", None))
        self.chkGroupBySocStatus.setText(
            _translate("SocStatusSetupDialog", "Группировать по соц. статусу",
                       None))
        self.chkAddDeathDate.setText(
            _translate("SocStatusSetupDialog",
                       "Добавить графу \"Дата смерти\"", None))
        self.chkOutcome.setText(
            _translate("SocStatusSetupDialog", "Исключить выбывших", None))
Exemplo n.º 26
0
class Ui_ReportPrimaryEventsOnkoSetupDialog(object):
    def setupUi(self, ReportPrimaryEventsOnkoSetupDialog):
        ReportPrimaryEventsOnkoSetupDialog.setObjectName(
            _fromUtf8("ReportPrimaryEventsOnkoSetupDialog"))
        ReportPrimaryEventsOnkoSetupDialog.resize(450, 250)
        self.gridLayout = QtGui.QGridLayout(ReportPrimaryEventsOnkoSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportPrimaryEventsOnkoSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportPrimaryEventsOnkoSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportPrimaryEventsOnkoSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 2, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportPrimaryEventsOnkoSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, ReportPrimaryEventsOnkoSetupDialog):
        ReportPrimaryEventsOnkoSetupDialog.setWindowTitle(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog",
                       "Дата начала периода", None))
        self.edtBegDate.setDisplayFormat(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "dd.MM.yyyy",
                       None))
        self.lblEndDate.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog",
                       "Дата окончания периода", None))
        self.edtEndDate.setDisplayFormat(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "dd.MM.yyyy",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "Подразделение",
                       None))
Exemplo n.º 27
0
class Ui_ReportExemptionRecipesSetup(object):
    def setupUi(self, ReportExemptionRecipesSetup):
        ReportExemptionRecipesSetup.setObjectName(
            _fromUtf8("ReportExemptionRecipesSetup"))
        ReportExemptionRecipesSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportExemptionRecipesSetup.resize(462, 418)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportExemptionRecipesSetup.sizePolicy().hasHeightForWidth())
        ReportExemptionRecipesSetup.setSizePolicy(sizePolicy)
        ReportExemptionRecipesSetup.setSizeGripEnabled(True)
        ReportExemptionRecipesSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportExemptionRecipesSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblRecipeStatus = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblRecipeStatus.setObjectName(_fromUtf8("lblRecipeStatus"))
        self.gridLayout.addWidget(self.lblRecipeStatus, 13, 0, 1, 1)
        self.edtMKBTo = CICDCodeEdit(ReportExemptionRecipesSetup)
        self.edtMKBTo.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 7, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 14, 2, 1, 1)
        self.chkOnlyVK = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkOnlyVK.setObjectName(_fromUtf8("chkOnlyVK"))
        self.gridLayout.addWidget(self.chkOnlyVK, 14, 0, 1, 1)
        self.btnCancel = QtGui.QPushButton(ReportExemptionRecipesSetup)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.gridLayout.addWidget(self.btnCancel, 17, 2, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(ReportExemptionRecipesSetup)
        self.edtMKBFrom.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 7, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportExemptionRecipesSetup)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 12, 1, 1, 5)
        self.edtEndDate = CDateEdit(ReportExemptionRecipesSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 1, 1, 2)
        self.cmbSortBy = CGroupByExemptionRecipesComboBox(
            ReportExemptionRecipesSetup)
        self.cmbSortBy.setObjectName(_fromUtf8("cmbSortBy"))
        self.gridLayout.addWidget(self.cmbSortBy, 15, 1, 1, 5)
        self.btnOk = QtGui.QPushButton(ReportExemptionRecipesSetup)
        self.btnOk.setObjectName(_fromUtf8("btnOk"))
        self.gridLayout.addWidget(self.btnOk, 17, 4, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 14, 4, 1, 1)
        self.cmbRecipeStatus = CRecipeStatusComboBox(
            ReportExemptionRecipesSetup)
        self.cmbRecipeStatus.setObjectName(_fromUtf8("cmbRecipeStatus"))
        self.gridLayout.addWidget(self.cmbRecipeStatus, 13, 1, 1, 5)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 3, 3, 1, 3)
        self.lblSocStatusType = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 6, 0, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportExemptionRecipesSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 1, 3, 1, 3)
        self.lblSortBy = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblSortBy.setObjectName(_fromUtf8("lblSortBy"))
        self.gridLayout.addWidget(self.lblSortBy, 15, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 12, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportExemptionRecipesSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 11, 1, 1, 5)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 7, 4, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem5, 16, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.cmbFinance = CRBComboBox(ReportExemptionRecipesSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 1, 1, 5)
        self.lblOrgStructure = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 11, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportExemptionRecipesSetup)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 6, 1, 1, 5)
        self.lblEndDate = QtGui.QLabel(ReportExemptionRecipesSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.edtClientId = QtGui.QLineEdit(ReportExemptionRecipesSetup)
        self.edtClientId.setEnabled(False)
        self.edtClientId.setObjectName(_fromUtf8("edtClientId"))
        self.gridLayout.addWidget(self.edtClientId, 9, 1, 1, 4)
        self.edtDrugCount = QtGui.QSpinBox(ReportExemptionRecipesSetup)
        self.edtDrugCount.setEnabled(False)
        self.edtDrugCount.setMaximum(9999)
        self.edtDrugCount.setObjectName(_fromUtf8("edtDrugCount"))
        self.gridLayout.addWidget(self.edtDrugCount, 10, 1, 1, 4)
        self.chkClientId = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkClientId.setObjectName(_fromUtf8("chkClientId"))
        self.gridLayout.addWidget(self.chkClientId, 9, 0, 1, 1)
        self.chkDrugCount = QtGui.QCheckBox(ReportExemptionRecipesSetup)
        self.chkDrugCount.setObjectName(_fromUtf8("chkDrugCount"))
        self.gridLayout.addWidget(self.chkDrugCount, 10, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblBegDate_2.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ReportExemptionRecipesSetup)
        QtCore.QObject.connect(self.btnCancel,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportExemptionRecipesSetup.reject)
        QtCore.QObject.connect(self.btnOk,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportExemptionRecipesSetup.accept)
        QtCore.QObject.connect(self.chkClientId,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtClientId.setEnabled)
        QtCore.QObject.connect(self.chkDrugCount,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.edtDrugCount.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ReportExemptionRecipesSetup)
        ReportExemptionRecipesSetup.setTabOrder(self.edtBegDate,
                                                self.edtEndDate)
        ReportExemptionRecipesSetup.setTabOrder(self.edtEndDate,
                                                self.cmbFinance)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbFinance,
                                                self.cmbSocStatusType)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbSocStatusType,
                                                self.edtMKBFrom)
        ReportExemptionRecipesSetup.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        ReportExemptionRecipesSetup.setTabOrder(self.edtMKBTo,
                                                self.chkClientId)
        ReportExemptionRecipesSetup.setTabOrder(self.chkClientId,
                                                self.edtClientId)
        ReportExemptionRecipesSetup.setTabOrder(self.edtClientId,
                                                self.chkDrugCount)
        ReportExemptionRecipesSetup.setTabOrder(self.chkDrugCount,
                                                self.edtDrugCount)
        ReportExemptionRecipesSetup.setTabOrder(self.edtDrugCount,
                                                self.cmbOrgStructure)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbOrgStructure,
                                                self.cmbPerson)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbPerson,
                                                self.cmbRecipeStatus)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbRecipeStatus,
                                                self.chkOnlyVK)
        ReportExemptionRecipesSetup.setTabOrder(self.chkOnlyVK, self.cmbSortBy)
        ReportExemptionRecipesSetup.setTabOrder(self.cmbSortBy, self.btnOk)
        ReportExemptionRecipesSetup.setTabOrder(self.btnOk, self.btnCancel)

    def retranslateUi(self, ReportExemptionRecipesSetup):
        ReportExemptionRecipesSetup.setWindowTitle(
            _translate("ReportExemptionRecipesSetup", "параметры отчёта",
                       None))
        self.lblRecipeStatus.setText(
            _translate("ReportExemptionRecipesSetup", "Статус рецепта", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportExemptionRecipesSetup", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportExemptionRecipesSetup", ".", None))
        self.chkOnlyVK.setText(
            _translate("ReportExemptionRecipesSetup", "Только по решению ВК",
                       None))
        self.btnCancel.setText(
            _translate("ReportExemptionRecipesSetup", "Отмена", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportExemptionRecipesSetup", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportExemptionRecipesSetup", ".", None))
        self.btnOk.setText(
            _translate("ReportExemptionRecipesSetup", "ОК", None))
        self.lblSocStatusType.setText(
            _translate("ReportExemptionRecipesSetup",
                       "Код льготной категории граждан", None))
        self.lblFinance.setText(
            _translate("ReportExemptionRecipesSetup",
                       "Источник финанисирования", None))
        self.lblMKB.setText(
            _translate("ReportExemptionRecipesSetup", "Коды диагнозов по МКБ",
                       None))
        self.lblSortBy.setText(
            _translate("ReportExemptionRecipesSetup", "Группировать по", None))
        self.lblPerson.setText(
            _translate("ReportExemptionRecipesSetup", "Врач", None))
        self.lblBegDate.setText(
            _translate("ReportExemptionRecipesSetup", "с", None))
        self.lblBegDate_2.setText(
            _translate("ReportExemptionRecipesSetup", "Дата выписки рецепта:",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportExemptionRecipesSetup", "Подразделение", None))
        self.lblEndDate.setText(
            _translate("ReportExemptionRecipesSetup", "по", None))
        self.chkClientId.setText(
            _translate("ReportExemptionRecipesSetup", "Код пациента", None))
        self.chkDrugCount.setText(
            _translate("ReportExemptionRecipesSetup", "Количество единиц",
                       None))
Exemplo n.º 28
0
class Ui_TempInvalidCheckDialog(object):
    def setupUi(self, TempInvalidCheckDialog):
        TempInvalidCheckDialog.setObjectName(
            _fromUtf8("TempInvalidCheckDialog"))
        TempInvalidCheckDialog.resize(589, 538)
        self.gridLayout = QtGui.QGridLayout(TempInvalidCheckDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(349, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 3)
        self.label_3 = QtGui.QLabel(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.boxDocTypes = QtGui.QComboBox(TempInvalidCheckDialog)
        self.boxDocTypes.setObjectName(_fromUtf8("boxDocTypes"))
        self.boxDocTypes.addItem(_fromUtf8(""))
        self.boxDocTypes.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.boxDocTypes, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(349, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 3)
        self.checkExpert = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkExpert.sizePolicy().hasHeightForWidth())
        self.checkExpert.setSizePolicy(sizePolicy)
        self.checkExpert.setObjectName(_fromUtf8("checkExpert"))
        self.gridLayout.addWidget(self.checkExpert, 3, 0, 1, 5)
        self.checkDocum = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkDocum.sizePolicy().hasHeightForWidth())
        self.checkDocum.setSizePolicy(sizePolicy)
        self.checkDocum.setObjectName(_fromUtf8("checkDocum"))
        self.gridLayout.addWidget(self.checkDocum, 4, 0, 1, 5)
        self.checkDur = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkDur.sizePolicy().hasHeightForWidth())
        self.checkDur.setSizePolicy(sizePolicy)
        self.checkDur.setObjectName(_fromUtf8("checkDur"))
        self.gridLayout.addWidget(self.checkDur, 5, 0, 1, 5)
        self.progressBar = CProgressBar(TempInvalidCheckDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 6, 0, 1, 5)
        self.log = QtGui.QListWidget(TempInvalidCheckDialog)
        self.log.setObjectName(_fromUtf8("log"))
        self.gridLayout.addWidget(self.log, 7, 0, 1, 5)
        self.labelInfo = QtGui.QLabel(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.labelInfo.sizePolicy().hasHeightForWidth())
        self.labelInfo.setSizePolicy(sizePolicy)
        self.labelInfo.setText(_fromUtf8(""))
        self.labelInfo.setObjectName(_fromUtf8("labelInfo"))
        self.gridLayout.addWidget(self.labelInfo, 8, 0, 1, 3)
        self.btnStart = QtGui.QPushButton(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setMinimumSize(QtCore.QSize(100, 0))
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 8, 3, 1, 1)
        self.btnClose = QtGui.QPushButton(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setMinimumSize(QtCore.QSize(100, 0))
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 8, 4, 1, 1)
        self.frmDateRange = QtGui.QWidget(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDateRange.sizePolicy().hasHeightForWidth())
        self.frmDateRange.setSizePolicy(sizePolicy)
        self.frmDateRange.setObjectName(_fromUtf8("frmDateRange"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmDateRange)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       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.horizontalLayout.addWidget(self.label)
        self.dateEdit_1 = CDateEdit(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEdit_1.sizePolicy().hasHeightForWidth())
        self.dateEdit_1.setSizePolicy(sizePolicy)
        self.dateEdit_1.setCalendarPopup(True)
        self.dateEdit_1.setDate(QtCore.QDate(2000, 1, 1))
        self.dateEdit_1.setObjectName(_fromUtf8("dateEdit_1"))
        self.horizontalLayout.addWidget(self.dateEdit_1)
        self.label_2 = QtGui.QLabel(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.dateEdit_2 = CDateEdit(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEdit_2.sizePolicy().hasHeightForWidth())
        self.dateEdit_2.setSizePolicy(sizePolicy)
        self.dateEdit_2.setCalendarPopup(True)
        self.dateEdit_2.setDate(QtCore.QDate(2000, 1, 1))
        self.dateEdit_2.setObjectName(_fromUtf8("dateEdit_2"))
        self.horizontalLayout.addWidget(self.dateEdit_2)
        self.gridLayout.addWidget(self.frmDateRange, 0, 0, 1, 2)

        self.retranslateUi(TempInvalidCheckDialog)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidCheckDialog)
        TempInvalidCheckDialog.setTabOrder(self.dateEdit_1, self.dateEdit_2)
        TempInvalidCheckDialog.setTabOrder(self.dateEdit_2, self.boxDocTypes)
        TempInvalidCheckDialog.setTabOrder(self.boxDocTypes, self.checkExpert)
        TempInvalidCheckDialog.setTabOrder(self.checkExpert, self.checkDocum)
        TempInvalidCheckDialog.setTabOrder(self.checkDocum, self.checkDur)
        TempInvalidCheckDialog.setTabOrder(self.checkDur, self.log)
        TempInvalidCheckDialog.setTabOrder(self.log, self.btnStart)
        TempInvalidCheckDialog.setTabOrder(self.btnStart, self.btnClose)

    def retranslateUi(self, TempInvalidCheckDialog):
        TempInvalidCheckDialog.setWindowTitle(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "логический контроль ВУТ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "тип документа", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.boxDocTypes.setItemText(
            0,
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "больничный лист", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.boxDocTypes.setItemText(
            1,
            QtGui.QApplication.translate("TempInvalidCheckDialog", "справка",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.checkExpert.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "выполнять экспертизу", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.checkDocum.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "проверять документ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.checkDur.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "проверять длительность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnStart.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "начать проверку", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "прервать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dateEdit_1.setDisplayFormat(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dateEdit_2.setDisplayFormat(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 29
0
class Ui_ReportOrgByDoctorSetupDialog(object):
    def setupUi(self, ReportOrgByDoctorSetupDialog):
        ReportOrgByDoctorSetupDialog.setObjectName(
            _fromUtf8("ReportOrgByDoctorSetupDialog"))
        ReportOrgByDoctorSetupDialog.resize(400, 203)
        self.formLayout = QtGui.QFormLayout(ReportOrgByDoctorSetupDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.edtBegDate = CDateEdit(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.edtBegDate)
        self.label_2 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.edtEndDate = CDateEdit(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole,
                                  self.edtEndDate)
        self.label_3 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbOrganisation = COrgComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrganisation.sizePolicy().hasHeightForWidth())
        self.cmbOrganisation.setSizePolicy(sizePolicy)
        self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.cmbOrganisation)
        self.label_4 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.cmbOrgStruct = COrgStructureComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStruct.sizePolicy().hasHeightForWidth())
        self.cmbOrgStruct.setSizePolicy(sizePolicy)
        self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.cmbOrgStruct)
        self.label_5 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5)
        self.cmbContract = CContractComboBox(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbContract.sizePolicy().hasHeightForWidth())
        self.cmbContract.setSizePolicy(sizePolicy)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole,
                                  self.cmbContract)
        spacerItem = QtGui.QSpacerItem(290, 0, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.formLayout.setItem(6, QtGui.QFormLayout.FieldRole, spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(ReportOrgByDoctorSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole,
                                  self.buttonBox)
        self.cmbPerson = CPersonComboBoxEx(ReportOrgByDoctorSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole,
                                  self.cmbPerson)
        self.label_6 = QtGui.QLabel(ReportOrgByDoctorSetupDialog)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)

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

    def retranslateUi(self, ReportOrgByDoctorSetupDialog):
        ReportOrgByDoctorSetupDialog.setWindowTitle(
            _translate("ReportOrgByDoctorSetupDialog", "Dialog", None))
        self.label.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Дата начала", None))
        self.label_2.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Дата окончания", None))
        self.label_3.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Плательщик", None))
        self.label_4.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Подразделение", None))
        self.label_5.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Договор", None))
        self.label_6.setText(
            _translate("ReportOrgByDoctorSetupDialog", "Сотрудник", None))
Exemplo n.º 30
0
class Ui_ReportFeedDistributionSetup(object):
    def setupUi(self, ReportFeedDistributionSetup):
        ReportFeedDistributionSetup.setObjectName(
            _fromUtf8("ReportFeedDistributionSetup"))
        ReportFeedDistributionSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportFeedDistributionSetup.resize(436, 192)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportFeedDistributionSetup.sizePolicy().hasHeightForWidth())
        ReportFeedDistributionSetup.setSizePolicy(sizePolicy)
        ReportFeedDistributionSetup.setSizeGripEnabled(True)
        ReportFeedDistributionSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportFeedDistributionSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportFeedDistributionSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 0, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 10, 0, 1, 5)
        self.lblFinance = QtGui.QLabel(ReportFeedDistributionSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 7, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportFeedDistributionSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 7, 1, 1, 4)
        self.edtBegDate = CDateEdit(ReportFeedDistributionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(ReportFeedDistributionSetup)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 3, 1, 2)
        self.cmbEventType = CRBComboBox(ReportFeedDistributionSetup)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 4)
        self.edtEndDate = CDateEdit(ReportFeedDistributionSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportFeedDistributionSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportFeedDistributionSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportFeedDistributionSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportFeedDistributionSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 4)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportFeedDistributionSetup):
        ReportFeedDistributionSetup.setWindowTitle(
            _translate("ReportFeedDistributionSetup", "параметры отчёта",
                       None))
        self.lblFinance.setText(
            _translate("ReportFeedDistributionSetup", "Тип финанисирования",
                       None))
        self.lblEventType.setText(
            _translate("ReportFeedDistributionSetup", "&Тип обращения", None))
        self.lblBegDate.setText(
            _translate("ReportFeedDistributionSetup", "Дата &начала периода",
                       None))
        self.lblEndDate.setText(
            _translate("ReportFeedDistributionSetup",
                       "Дата &окончания периода", None))
        self.lblOrgStructure.setText(
            _translate("ReportFeedDistributionSetup", "Подразделение", None))