Exemple #1
0
class Ui_TestDialog(object):
    def setupUi(self, TestDialog):
        TestDialog.setObjectName(_fromUtf8("TestDialog"))
        TestDialog.resize(400, 103)
        self.gridlayout = QtGui.QGridLayout(TestDialog)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.edtD3 = CICDCodeEditEx(TestDialog)
        self.edtD3.setObjectName(_fromUtf8("edtD3"))
        self.gridlayout.addWidget(self.edtD3, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(241, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TestDialog)
        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, 2)

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

    def retranslateUi(self, TestDialog):
        TestDialog.setWindowTitle(QtGui.QApplication.translate("TestDialog", "Коды МКБ", None, QtGui.QApplication.UnicodeUTF8))
Exemple #2
0
class Ui_ChangeMKBEditDialog(object):
    def setupUi(self, ChangeMKBEditDialog):
        ChangeMKBEditDialog.setObjectName(_fromUtf8("ChangeMKBEditDialog"))
        ChangeMKBEditDialog.resize(168, 62)
        self.gridLayout = QtGui.QGridLayout(ChangeMKBEditDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(ChangeMKBEditDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(ChangeMKBEditDialog)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridLayout.addWidget(self.edtMKB, 0, 1, 1, 1)
        self.edtMKBEx = CICDCodeEditEx(ChangeMKBEditDialog)
        self.edtMKBEx.setObjectName(_fromUtf8("edtMKBEx"))
        self.gridLayout.addWidget(self.edtMKBEx, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(61, 17, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 19, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ChangeMKBEditDialog)
        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, 4)
        self.label.setBuddy(self.edtMKB)

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

    def retranslateUi(self, ChangeMKBEditDialog):
        ChangeMKBEditDialog.setWindowTitle(
            QtGui.QApplication.translate("ChangeMKBEditDialog", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ChangeMKBEditDialog", "Код МКБ",
                                         None, QtGui.QApplication.UnicodeUTF8))
Exemple #3
0
class Ui_EdtReferralDialog(object):
    def setupUi(self, EdtReferralDialog):
        EdtReferralDialog.setObjectName(_fromUtf8("EdtReferralDialog"))
        EdtReferralDialog.resize(248, 504)
        self.gridLayout = QtGui.QGridLayout(EdtReferralDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbSpeciality = CRBComboBox(EdtReferralDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 19, 0, 1, 2)
        self.cmbReferralType = CRBComboBox(EdtReferralDialog)
        self.cmbReferralType.setEnabled(False)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 1, 0, 1, 2)
        self.lblReferralType = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.lblReferralNumber = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralNumber.setObjectName(_fromUtf8("lblReferralNumber"))
        self.gridLayout.addWidget(self.lblReferralNumber, 2, 0, 1, 1)
        self.edtReferralNumber = QtGui.QLineEdit(EdtReferralDialog)
        self.edtReferralNumber.setObjectName(_fromUtf8("edtReferralNumber"))
        self.gridLayout.addWidget(self.edtReferralNumber, 3, 0, 1, 2)
        self.lblReferralDate = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralDate.setObjectName(_fromUtf8("lblReferralDate"))
        self.gridLayout.addWidget(self.lblReferralDate, 4, 0, 1, 1)
        self.edtReferralDate = QtGui.QDateEdit(EdtReferralDialog)
        self.edtReferralDate.setObjectName(_fromUtf8("edtReferralDate"))
        self.gridLayout.addWidget(self.edtReferralDate, 4, 1, 1, 1)
        self.lblReferralHospDate = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralHospDate.setObjectName(
            _fromUtf8("lblReferralHospDate"))
        self.gridLayout.addWidget(self.lblReferralHospDate, 5, 0, 1, 1)
        self.edtReferralPlanedDate = QtGui.QDateEdit(EdtReferralDialog)
        self.edtReferralPlanedDate.setObjectName(
            _fromUtf8("edtReferralPlanedDate"))
        self.gridLayout.addWidget(self.edtReferralPlanedDate, 5, 1, 1, 1)
        self.lblRelegateMO = QtGui.QLabel(EdtReferralDialog)
        self.lblRelegateMO.setObjectName(_fromUtf8("lblRelegateMO"))
        self.gridLayout.addWidget(self.lblRelegateMO, 6, 0, 1, 1)
        self.cmbRelegateMo = COrgComboBox(EdtReferralDialog)
        self.cmbRelegateMo.setObjectName(_fromUtf8("cmbRelegateMo"))
        self.gridLayout.addWidget(self.cmbRelegateMo, 7, 0, 1, 2)
        self.lblReferralMKB = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralMKB.setObjectName(_fromUtf8("lblReferralMKB"))
        self.gridLayout.addWidget(self.lblReferralMKB, 8, 0, 1, 1)
        self.cmbReferralMKB = CICDCodeEditEx(EdtReferralDialog)
        self.cmbReferralMKB.setObjectName(_fromUtf8("cmbReferralMKB"))
        self.gridLayout.addWidget(self.cmbReferralMKB, 9, 0, 1, 2)
        self.lblClinicType = QtGui.QLabel(EdtReferralDialog)
        self.lblClinicType.setObjectName(_fromUtf8("lblClinicType"))
        self.gridLayout.addWidget(self.lblClinicType, 10, 0, 1, 1)
        self.cmbClinicType = QtGui.QComboBox(EdtReferralDialog)
        self.cmbClinicType.setObjectName(_fromUtf8("cmbClinicType"))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbClinicType, 11, 0, 1, 2)
        self.lblReferralSpeciality = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralSpeciality.setObjectName(
            _fromUtf8("lblReferralSpeciality"))
        self.gridLayout.addWidget(self.lblReferralSpeciality, 18, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(EdtReferralDialog)
        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, 20, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(EdtReferralDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 12, 0, 1, 1)
        self.lblOrgStructureProfile = QtGui.QLabel(EdtReferralDialog)
        self.lblOrgStructureProfile.setObjectName(
            _fromUtf8("lblOrgStructureProfile"))
        self.gridLayout.addWidget(self.lblOrgStructureProfile, 16, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(EdtReferralDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 13, 0, 1, 2)
        self.lblBedProfile = QtGui.QLabel(EdtReferralDialog)
        self.lblBedProfile.setObjectName(_fromUtf8("lblBedProfile"))
        self.gridLayout.addWidget(self.lblBedProfile, 14, 0, 1, 1)
        self.cmbBedProfile = CRBComboBox(EdtReferralDialog)
        self.cmbBedProfile.setObjectName(_fromUtf8("cmbBedProfile"))
        self.gridLayout.addWidget(self.cmbBedProfile, 15, 0, 1, 2)
        self.cmbOrgStructure = CRBComboBox(EdtReferralDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 17, 0, 1, 2)

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

    def retranslateUi(self, EdtReferralDialog):
        EdtReferralDialog.setWindowTitle(
            _translate("EdtReferralDialog", "Редактирования направления",
                       None))
        self.lblReferralType.setText(
            _translate("EdtReferralDialog", "Тип направления:", None))
        self.lblReferralNumber.setText(
            _translate("EdtReferralDialog", "Номер направления:", None))
        self.lblReferralDate.setText(
            _translate("EdtReferralDialog", "Дата выдачи направления:", None))
        self.lblReferralHospDate.setText(
            _translate("EdtReferralDialog", "Планируемая дата:", None))
        self.lblRelegateMO.setText(
            _translate("EdtReferralDialog", "Направлен в МО:", None))
        self.lblReferralMKB.setText(
            _translate("EdtReferralDialog", "Код МКБ:", None))
        self.lblClinicType.setText(
            _translate("EdtReferralDialog", "Тип стационара:", None))
        self.cmbClinicType.setItemText(
            0, _translate("EdtReferralDialog", "не задано", None))
        self.cmbClinicType.setItemText(
            1, _translate("EdtReferralDialog", "стационар", None))
        self.cmbClinicType.setItemText(
            2, _translate("EdtReferralDialog", "дневной стационар", None))
        self.lblReferralSpeciality.setText(
            _translate("EdtReferralDialog", "Специальность:", None))
        self.lblPerson.setText(_translate("EdtReferralDialog", "Врач:", None))
        self.lblOrgStructureProfile.setText(
            _translate("EdtReferralDialog", "Профиль отделения:", None))
        self.lblBedProfile.setText(
            _translate("EdtReferralDialog", "Профиль койки:", None))
Exemple #4
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))
Exemple #5
0
    def setupUi(self, PreCreateEventDialog):
        PreCreateEventDialog.setObjectName(_fromUtf8("PreCreateEventDialog"))
        PreCreateEventDialog.resize(713, 800)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            PreCreateEventDialog.sizePolicy().hasHeightForWidth())
        PreCreateEventDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(PreCreateEventDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(PreCreateEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabStandart = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabStandart.sizePolicy().hasHeightForWidth())
        self.tabStandart.setSizePolicy(sizePolicy)
        self.tabStandart.setObjectName(_fromUtf8("tabStandart"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabStandart)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.grpReferral = QtGui.QGroupBox(self.tabStandart)
        self.grpReferral.setFlat(True)
        self.grpReferral.setCheckable(True)
        self.grpReferral.setChecked(False)
        self.grpReferral.setObjectName(_fromUtf8("grpReferral"))
        self.gridLayout_5 = QtGui.QGridLayout(self.grpReferral)
        self.gridLayout_5.setMargin(4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.edtFreeInput = QtGui.QLineEdit(self.grpReferral)
        self.edtFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFreeInput.sizePolicy().hasHeightForWidth())
        self.edtFreeInput.setSizePolicy(sizePolicy)
        self.edtFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.gridLayout_5.addWidget(self.edtFreeInput, 5, 1, 1, 2)
        self.lblDate = QtGui.QLabel(self.grpReferral)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout_5.addWidget(self.lblDate, 2, 0, 1, 1)
        self.lblReferralType = QtGui.QLabel(self.grpReferral)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout_5.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.edtDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout_5.addWidget(self.edtDate, 2, 1, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpReferral)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_5.addWidget(self.lblNumber, 1, 0, 1, 1)
        self.cmbRelegateOrg = CPolyclinicComboBox(self.grpReferral)
        self.cmbRelegateOrg.setMinimumSize(QtCore.QSize(367, 0))
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.gridLayout_5.addWidget(self.cmbRelegateOrg, 4, 1, 1, 2)
        self.lblRelegateOrg = QtGui.QLabel(self.grpReferral)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout_5.addWidget(self.lblRelegateOrg, 4, 0, 1, 1)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.grpReferral)
        self.btnSelectRelegateOrg.setObjectName(
            _fromUtf8("btnSelectRelegateOrg"))
        self.gridLayout_5.addWidget(self.btnSelectRelegateOrg, 4, 3, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.grpReferral)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout_5.addWidget(self.lblPlannedDate, 3, 0, 1, 1)
        self.edtPlannedDate = CDateEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setToolTip(_fromUtf8(""))
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout_5.addWidget(self.edtPlannedDate, 3, 1, 1, 1)
        self.chkFreeInput = QtGui.QCheckBox(self.grpReferral)
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.gridLayout_5.addWidget(self.chkFreeInput, 5, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(self.grpReferral)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_5.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.edtPerson = QtGui.QLineEdit(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPerson.sizePolicy().hasHeightForWidth())
        self.edtPerson.setSizePolicy(sizePolicy)
        self.edtPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout_5.addWidget(self.edtPerson, 6, 1, 1, 3)
        self.lblSpeciality = QtGui.QLabel(self.grpReferral)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout_5.addWidget(self.lblSpeciality, 7, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout_5.addWidget(self.cmbSpeciality, 7, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.grpReferral)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout_5.addWidget(self.lblDiagnosis, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.grpReferral)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_5.addWidget(self.cmbMKB, 8, 1, 1, 3)
        self.cmbReferralType = CRBComboBox(self.grpReferral)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout_5.addWidget(self.cmbReferralType, 0, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.grpReferral)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_5.addWidget(self.edtNumber, 1, 1, 1, 3)
        self.gridLayout_2.addWidget(self.grpReferral, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 5, 1, 1, 1)
        self.chkSelectPreviousActions = QtGui.QCheckBox(self.tabStandart)
        self.chkSelectPreviousActions.setEnabled(True)
        self.chkSelectPreviousActions.setObjectName(
            _fromUtf8("chkSelectPreviousActions"))
        self.gridLayout_2.addWidget(self.chkSelectPreviousActions, 5, 2, 1, 1)
        self.btnAppointment = QtGui.QPushButton(self.tabStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnAppointment.sizePolicy().hasHeightForWidth())
        self.btnAppointment.setSizePolicy(sizePolicy)
        self.btnAppointment.setObjectName(_fromUtf8("btnAppointment"))
        self.gridLayout_2.addWidget(self.btnAppointment, 5, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem1, 4, 1, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.tabStandart)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.cmbOrg = CPolyclinicComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrg.sizePolicy().hasHeightForWidth())
        self.cmbOrg.setSizePolicy(sizePolicy)
        self.cmbOrg.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrg.setObjectName(_fromUtf8("cmbOrg"))
        self.gridLayout_4.addWidget(self.cmbOrg, 0, 2, 1, 9)
        self.lblExternalId = QtGui.QLabel(self.groupBox)
        self.lblExternalId.setObjectName(_fromUtf8("lblExternalId"))
        self.gridLayout_4.addWidget(self.lblExternalId, 8, 1, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPerson.sizePolicy().hasHeightForWidth())
        self.cmbPerson.setSizePolicy(sizePolicy)
        self.cmbPerson.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_4.addWidget(self.cmbPerson, 2, 2, 1, 9)
        self.lblPersonal = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout_4.addWidget(self.lblPersonal, 2, 1, 1, 1)
        self.lblEventType = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout_4.addWidget(self.lblEventType, 1, 1, 1, 1)
        self.chkIncludeRedDays = QtGui.QCheckBox(self.groupBox)
        self.chkIncludeRedDays.setObjectName(_fromUtf8("chkIncludeRedDays"))
        self.gridLayout_4.addWidget(self.chkIncludeRedDays, 5, 1, 1, 1)
        self.chkAddVisits = QtGui.QCheckBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAddVisits.sizePolicy().hasHeightForWidth())
        self.chkAddVisits.setSizePolicy(sizePolicy)
        self.chkAddVisits.setObjectName(_fromUtf8("chkAddVisits"))
        self.gridLayout_4.addWidget(self.chkAddVisits, 5, 2, 1, 9)
        self.edtDays = QtGui.QSpinBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDays.sizePolicy().hasHeightForWidth())
        self.edtDays.setSizePolicy(sizePolicy)
        self.edtDays.setObjectName(_fromUtf8("edtDays"))
        self.gridLayout_4.addWidget(self.edtDays, 7, 2, 1, 1)
        self.lblOrg = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrg.sizePolicy().hasHeightForWidth())
        self.lblOrg.setSizePolicy(sizePolicy)
        self.lblOrg.setObjectName(_fromUtf8("lblOrg"))
        self.gridLayout_4.addWidget(self.lblOrg, 0, 1, 1, 1)
        self.lblCuratorId = QtGui.QLabel(self.groupBox)
        self.lblCuratorId.setObjectName(_fromUtf8("lblCuratorId"))
        self.gridLayout_4.addWidget(self.lblCuratorId, 10, 1, 1, 1)
        self.cmbCuratorId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCuratorId.sizePolicy().hasHeightForWidth())
        self.cmbCuratorId.setSizePolicy(sizePolicy)
        self.cmbCuratorId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbCuratorId.setObjectName(_fromUtf8("cmbCuratorId"))
        self.gridLayout_4.addWidget(self.cmbCuratorId, 10, 2, 1, 9)
        self.lblAssistantId = QtGui.QLabel(self.groupBox)
        self.lblAssistantId.setObjectName(_fromUtf8("lblAssistantId"))
        self.gridLayout_4.addWidget(self.lblAssistantId, 9, 1, 1, 1)
        self.edtExternalId = QtGui.QLineEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtExternalId.sizePolicy().hasHeightForWidth())
        self.edtExternalId.setSizePolicy(sizePolicy)
        self.edtExternalId.setMinimumSize(QtCore.QSize(401, 0))
        self.edtExternalId.setObjectName(_fromUtf8("edtExternalId"))
        self.gridLayout_4.addWidget(self.edtExternalId, 8, 2, 1, 9)
        self.lblDays = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDays.sizePolicy().hasHeightForWidth())
        self.lblDays.setSizePolicy(sizePolicy)
        self.lblDays.setObjectName(_fromUtf8("lblDays"))
        self.gridLayout_4.addWidget(self.lblDays, 7, 1, 1, 1)
        self.cmbEventType = CRBComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbEventType.sizePolicy().hasHeightForWidth())
        self.cmbEventType.setSizePolicy(sizePolicy)
        self.cmbEventType.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout_4.addWidget(self.cmbEventType, 1, 2, 1, 9)
        self.cmbTissueType = CRBComboBox(self.groupBox)
        self.cmbTissueType.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setMinimumSize(QtCore.QSize(401, 25))
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_4.addWidget(self.cmbTissueType, 11, 2, 1, 9)
        self.cmbAssistantId = CPersonComboBoxEx(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAssistantId.sizePolicy().hasHeightForWidth())
        self.cmbAssistantId.setSizePolicy(sizePolicy)
        self.cmbAssistantId.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbAssistantId.setObjectName(_fromUtf8("cmbAssistantId"))
        self.gridLayout_4.addWidget(self.cmbAssistantId, 9, 2, 1, 9)
        self.lblTissueType = QtGui.QLabel(self.groupBox)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_4.addWidget(self.lblTissueType, 11, 1, 1, 1)
        self.lblEventSetDate = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventSetDate.sizePolicy().hasHeightForWidth())
        self.lblEventSetDate.setSizePolicy(sizePolicy)
        self.lblEventSetDate.setObjectName(_fromUtf8("lblEventSetDate"))
        self.gridLayout_4.addWidget(self.lblEventSetDate, 4, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.groupBox)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout_4.addWidget(self.lblOrgStructure, 3, 1, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbOrgStructure, 3, 2, 1, 9)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblEventDateFrom = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateFrom.sizePolicy().hasHeightForWidth())
        self.lblEventDateFrom.setSizePolicy(sizePolicy)
        self.lblEventDateFrom.setObjectName(_fromUtf8("lblEventDateFrom"))
        self.horizontalLayout.addWidget(self.lblEventDateFrom)
        self.edtEventSetDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetDate.sizePolicy().hasHeightForWidth())
        self.edtEventSetDate.setSizePolicy(sizePolicy)
        self.edtEventSetDate.setCalendarPopup(True)
        self.edtEventSetDate.setObjectName(_fromUtf8("edtEventSetDate"))
        self.horizontalLayout.addWidget(self.edtEventSetDate)
        self.edtEventSetTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventSetTime.sizePolicy().hasHeightForWidth())
        self.edtEventSetTime.setSizePolicy(sizePolicy)
        self.edtEventSetTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventSetTime.setCurrentSectionIndex(0)
        self.edtEventSetTime.setObjectName(_fromUtf8("edtEventSetTime"))
        self.horizontalLayout.addWidget(self.edtEventSetTime)
        self.lblEventDateTo = QtGui.QLabel(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventDateTo.sizePolicy().hasHeightForWidth())
        self.lblEventDateTo.setSizePolicy(sizePolicy)
        self.lblEventDateTo.setObjectName(_fromUtf8("lblEventDateTo"))
        self.horizontalLayout.addWidget(self.lblEventDateTo)
        self.edtEventDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventDate.sizePolicy().hasHeightForWidth())
        self.edtEventDate.setSizePolicy(sizePolicy)
        self.edtEventDate.setCalendarPopup(True)
        self.edtEventDate.setObjectName(_fromUtf8("edtEventDate"))
        self.horizontalLayout.addWidget(self.edtEventDate)
        self.edtEventTime = QtGui.QTimeEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEventTime.sizePolicy().hasHeightForWidth())
        self.edtEventTime.setSizePolicy(sizePolicy)
        self.edtEventTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEventTime.setCurrentSectionIndex(0)
        self.edtEventTime.setObjectName(_fromUtf8("edtEventTime"))
        self.horizontalLayout.addWidget(self.edtEventTime)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout_4.addLayout(self.horizontalLayout, 4, 2, 1, 9)
        self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 3)
        self.btnAppointment.raise_()
        self.chkSelectPreviousActions.raise_()
        self.groupBox.raise_()
        self.grpReferral.raise_()
        self.tabWidget.addTab(self.tabStandart, _fromUtf8(""))
        self.tabNosology = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabNosology.sizePolicy().hasHeightForWidth())
        self.tabNosology.setSizePolicy(sizePolicy)
        self.tabNosology.setObjectName(_fromUtf8("tabNosology"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabNosology)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtNosologyDiagnosis = CICDCodeComboBoxEx(self.tabNosology)
        self.edtNosologyDiagnosis.setObjectName(
            _fromUtf8("edtNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.edtNosologyDiagnosis, 0, 1, 1, 1)
        self.lblNosologyDiagnosis = QtGui.QLabel(self.tabNosology)
        self.lblNosologyDiagnosis.setObjectName(
            _fromUtf8("lblNosologyDiagnosis"))
        self.gridLayout_3.addWidget(self.lblNosologyDiagnosis, 0, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1)
        self.tabWidget.addTab(self.tabNosology, _fromUtf8(""))
        self.tabArmyReferral = QtGui.QWidget()
        self.tabArmyReferral.setObjectName(_fromUtf8("tabArmyReferral"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabArmyReferral)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.grpArmyRefferel = QtGui.QGroupBox(self.tabArmyReferral)
        self.grpArmyRefferel.setCheckable(True)
        self.grpArmyRefferel.setChecked(False)
        self.grpArmyRefferel.setObjectName(_fromUtf8("grpArmyRefferel"))
        self.gridLayout_6 = QtGui.QGridLayout(self.grpArmyRefferel)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.edtArmyDate = CDateEdit(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout_6.addWidget(self.edtArmyDate, 1, 1, 1, 2)
        self.lblArmyDate = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout_6.addWidget(self.lblArmyDate, 1, 0, 1, 1)
        self.cmbArmyOrg = CArmyOrgComboBox(self.grpArmyRefferel)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.gridLayout_6.addWidget(self.cmbArmyOrg, 2, 1, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.grpArmyRefferel)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setMinimumSize(QtCore.QSize(401, 0))
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout_6.addWidget(self.cmbArmyNumber, 0, 1, 1, 2)
        self.lblArmyFreeInput = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout_6.addWidget(self.lblArmyFreeInput, 2, 0, 1, 1)
        self.lblArmyNumber = QtGui.QLabel(self.grpArmyRefferel)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout_6.addWidget(self.lblArmyNumber, 0, 0, 1, 1)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.grpArmyRefferel)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.gridLayout_6.addWidget(self.btnSelectArmyOrg, 2, 2, 1, 1)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.grpArmyRefferel)
        self.edtArmyFreeInput.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtArmyFreeInput.sizePolicy().hasHeightForWidth())
        self.edtArmyFreeInput.setSizePolicy(sizePolicy)
        self.edtArmyFreeInput.setMinimumSize(QtCore.QSize(373, 24))
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.gridLayout_6.addWidget(self.edtArmyFreeInput, 3, 1, 1, 2)
        self.chkArmyFreeInput = QtGui.QCheckBox(self.grpArmyRefferel)
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.gridLayout_6.addWidget(self.chkArmyFreeInput, 3, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_6.addItem(spacerItem5, 4, 1, 1, 1)
        self.lblArmyNumber.raise_()
        self.cmbArmyNumber.raise_()
        self.lblArmyDate.raise_()
        self.edtArmyDate.raise_()
        self.lblArmyFreeInput.raise_()
        self.cmbArmyOrg.raise_()
        self.btnSelectArmyOrg.raise_()
        self.chkArmyFreeInput.raise_()
        self.edtArmyFreeInput.raise_()
        self.verticalLayout.addWidget(self.grpArmyRefferel)
        self.tabWidget.addTab(self.tabArmyReferral, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 1, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PreCreateEventDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblPerson.setBuddy(self.edtPerson)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblExternalId.setBuddy(self.edtExternalId)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrg.setBuddy(self.cmbOrg)
        self.lblCuratorId.setBuddy(self.cmbCuratorId)
        self.lblAssistantId.setBuddy(self.cmbAssistantId)
        self.lblDays.setBuddy(self.edtDays)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblEventSetDate.setBuddy(self.edtEventSetDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblEventDateTo.setBuddy(self.edtEventDate)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)

        self.retranslateUi(PreCreateEventDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PreCreateEventDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PreCreateEventDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PreCreateEventDialog)
        PreCreateEventDialog.setTabOrder(self.tabWidget, self.cmbOrg)
        PreCreateEventDialog.setTabOrder(self.cmbOrg, self.cmbEventType)
        PreCreateEventDialog.setTabOrder(self.cmbEventType, self.cmbPerson)
        PreCreateEventDialog.setTabOrder(self.cmbPerson, self.cmbOrgStructure)
        PreCreateEventDialog.setTabOrder(self.cmbOrgStructure,
                                         self.edtEventSetDate)
        PreCreateEventDialog.setTabOrder(self.edtEventSetDate,
                                         self.edtEventSetTime)
        PreCreateEventDialog.setTabOrder(self.edtEventSetTime,
                                         self.edtEventDate)
        PreCreateEventDialog.setTabOrder(self.edtEventDate, self.edtEventTime)
        PreCreateEventDialog.setTabOrder(self.edtEventTime,
                                         self.chkIncludeRedDays)
        PreCreateEventDialog.setTabOrder(self.chkIncludeRedDays,
                                         self.chkAddVisits)
        PreCreateEventDialog.setTabOrder(self.chkAddVisits, self.edtDays)
        PreCreateEventDialog.setTabOrder(self.edtDays, self.edtExternalId)
        PreCreateEventDialog.setTabOrder(self.edtExternalId,
                                         self.cmbAssistantId)
        PreCreateEventDialog.setTabOrder(self.cmbAssistantId,
                                         self.cmbCuratorId)
        PreCreateEventDialog.setTabOrder(self.cmbCuratorId, self.cmbTissueType)
        PreCreateEventDialog.setTabOrder(self.cmbTissueType, self.grpReferral)
        PreCreateEventDialog.setTabOrder(self.grpReferral,
                                         self.cmbReferralType)
        PreCreateEventDialog.setTabOrder(self.cmbReferralType, self.edtNumber)
        PreCreateEventDialog.setTabOrder(self.edtNumber, self.edtDate)
        PreCreateEventDialog.setTabOrder(self.edtDate, self.edtPlannedDate)
        PreCreateEventDialog.setTabOrder(self.edtPlannedDate,
                                         self.cmbRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.cmbRelegateOrg,
                                         self.btnSelectRelegateOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectRelegateOrg,
                                         self.chkFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        PreCreateEventDialog.setTabOrder(self.edtFreeInput, self.edtPerson)
        PreCreateEventDialog.setTabOrder(self.edtPerson, self.cmbSpeciality)
        PreCreateEventDialog.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        PreCreateEventDialog.setTabOrder(self.cmbMKB, self.btnAppointment)
        PreCreateEventDialog.setTabOrder(self.btnAppointment,
                                         self.chkSelectPreviousActions)
        PreCreateEventDialog.setTabOrder(self.chkSelectPreviousActions,
                                         self.buttonBox)
        PreCreateEventDialog.setTabOrder(self.buttonBox,
                                         self.edtNosologyDiagnosis)
        PreCreateEventDialog.setTabOrder(self.edtNosologyDiagnosis,
                                         self.grpArmyRefferel)
        PreCreateEventDialog.setTabOrder(self.grpArmyRefferel,
                                         self.cmbArmyNumber)
        PreCreateEventDialog.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        PreCreateEventDialog.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        PreCreateEventDialog.setTabOrder(self.cmbArmyOrg,
                                         self.btnSelectArmyOrg)
        PreCreateEventDialog.setTabOrder(self.btnSelectArmyOrg,
                                         self.chkArmyFreeInput)
        PreCreateEventDialog.setTabOrder(self.chkArmyFreeInput,
                                         self.edtArmyFreeInput)
class Ui_TissueJournalTotalEditorDialog(object):
    def setupUi(self, TissueJournalTotalEditorDialog):
        TissueJournalTotalEditorDialog.setObjectName(
            _fromUtf8("TissueJournalTotalEditorDialog"))
        TissueJournalTotalEditorDialog.resize(498, 267)
        TissueJournalTotalEditorDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(TissueJournalTotalEditorDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbPersonInJournal = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInJournal.setEnabled(False)
        self.cmbPersonInJournal.setObjectName(_fromUtf8("cmbPersonInJournal"))
        self.gridLayout.addWidget(self.cmbPersonInJournal, 1, 1, 1, 2)
        self.cmbAssistantInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction.setEnabled(False)
        self.cmbAssistantInAction.setObjectName(
            _fromUtf8("cmbAssistantInAction"))
        self.gridLayout.addWidget(self.cmbAssistantInAction, 3, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TissueJournalTotalEditorDialog)
        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)
        self.chkPersonInJournal = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkPersonInJournal.sizePolicy().hasHeightForWidth())
        self.chkPersonInJournal.setSizePolicy(sizePolicy)
        self.chkPersonInJournal.setObjectName(_fromUtf8("chkPersonInJournal"))
        self.gridLayout.addWidget(self.chkPersonInJournal, 1, 0, 1, 1)
        self.chkAssistantInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAssistantInAction.sizePolicy().hasHeightForWidth())
        self.chkAssistantInAction.setSizePolicy(sizePolicy)
        self.chkAssistantInAction.setObjectName(
            _fromUtf8("chkAssistantInAction"))
        self.gridLayout.addWidget(self.chkAssistantInAction, 3, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStatus.sizePolicy().hasHeightForWidth())
        self.chkStatus.setSizePolicy(sizePolicy)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout.addWidget(self.chkStatus, 0, 0, 1, 1)
        self.cmbStatus = QtGui.QComboBox(TissueJournalTotalEditorDialog)
        self.cmbStatus.setEnabled(False)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 0, 1, 1, 2)
        self.chkPersonInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        self.chkPersonInAction.setObjectName(_fromUtf8("chkPersonInAction"))
        self.gridLayout.addWidget(self.chkPersonInAction, 2, 0, 1, 1)
        self.cmbPersonInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInAction.setEnabled(False)
        self.cmbPersonInAction.setObjectName(_fromUtf8("cmbPersonInAction"))
        self.gridLayout.addWidget(self.cmbPersonInAction, 2, 1, 1, 2)
        self.chkMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 7, 0, 1, 1)
        self.chkMorphologyMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMorphologyMKB.setObjectName(_fromUtf8("chkMorphologyMKB"))
        self.gridLayout.addWidget(self.chkMorphologyMKB, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(TissueJournalTotalEditorDialog)
        self.cmbMKB.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 7, 1, 1, 1)
        self.cmbMorphologyMKB = CICDMorphologyCodeEditEx(
            TissueJournalTotalEditorDialog)
        self.cmbMorphologyMKB.setEnabled(False)
        self.cmbMorphologyMKB.setObjectName(_fromUtf8("cmbMorphologyMKB"))
        self.gridLayout.addWidget(self.cmbMorphologyMKB, 8, 1, 1, 1)
        self.lblMKBText = QtGui.QLabel(TissueJournalTotalEditorDialog)
        self.lblMKBText.setText(_fromUtf8(""))
        self.lblMKBText.setObjectName(_fromUtf8("lblMKBText"))
        self.gridLayout.addWidget(self.lblMKBText, 7, 2, 1, 1)
        self.lblMorphologyMKBText = QtGui.QLabel(
            TissueJournalTotalEditorDialog)
        self.lblMorphologyMKBText.setText(_fromUtf8(""))
        self.lblMorphologyMKBText.setObjectName(
            _fromUtf8("lblMorphologyMKBText"))
        self.gridLayout.addWidget(self.lblMorphologyMKBText, 8, 2, 1, 1)
        self.cmbAssistantInAction2 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction2.setEnabled(False)
        self.cmbAssistantInAction2.setObjectName(
            _fromUtf8("cmbAssistantInAction2"))
        self.gridLayout.addWidget(self.cmbAssistantInAction2, 4, 1, 1, 2)
        self.cmbAssistantInAction3 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction3.setEnabled(False)
        self.cmbAssistantInAction3.setObjectName(
            _fromUtf8("cmbAssistantInAction3"))
        self.gridLayout.addWidget(self.cmbAssistantInAction3, 5, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 0, 1, 1)

        self.retranslateUi(TissueJournalTotalEditorDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TissueJournalTotalEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TissueJournalTotalEditorDialog.reject)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkPersonInJournal,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInJournal.setEnabled)
        QtCore.QObject.connect(self.chkPersonInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInAction.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction.setEnabled)
        QtCore.QObject.connect(self.chkMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKB.setEnabled)
        QtCore.QObject.connect(self.chkMorphologyMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMorphologyMKB.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction2.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction3.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(TissueJournalTotalEditorDialog)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkStatus,
                                                   self.cmbStatus)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbStatus,
                                                   self.chkPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInJournal,
                                                   self.cmbPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInJournal,
                                                   self.chkPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInAction,
                                                   self.cmbPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInAction,
                                                   self.chkAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkAssistantInAction,
                                                   self.cmbAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbAssistantInAction,
                                                   self.chkMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMKB, self.cmbMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMKB,
                                                   self.chkMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMorphologyMKB,
                                                   self.cmbMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMorphologyMKB,
                                                   self.buttonBox)

    def retranslateUi(self, TissueJournalTotalEditorDialog):
        TissueJournalTotalEditorDialog.setWindowTitle(
            _translate("TissueJournalTotalEditorDialog",
                       "Изменить атрибуты выбранных Действий", None))
        self.chkPersonInJournal.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ответственный в журнале", None))
        self.chkAssistantInAction.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ассистент в действии", None))
        self.chkStatus.setText(
            _translate("TissueJournalTotalEditorDialog", "Статус", None))
        self.cmbStatus.setItemText(
            0, _translate("TissueJournalTotalEditorDialog", "Начато", None))
        self.cmbStatus.setItemText(
            1, _translate("TissueJournalTotalEditorDialog", "Ожидание", None))
        self.cmbStatus.setItemText(
            2, _translate("TissueJournalTotalEditorDialog", "Закончено", None))
        self.cmbStatus.setItemText(
            3, _translate("TissueJournalTotalEditorDialog", "Отменено", None))
        self.cmbStatus.setItemText(
            4,
            _translate("TissueJournalTotalEditorDialog", "Без результата",
                       None))
        self.cmbStatus.setItemText(
            5, _translate("TissueJournalTotalEditorDialog", "Назначено", None))
        self.chkPersonInAction.setText(
            _translate("TissueJournalTotalEditorDialog",
                       "Ответственный в действии", None))
        self.chkMKB.setText(
            _translate("TissueJournalTotalEditorDialog", "МКБ", None))
        self.chkMorphologyMKB.setText(
            _translate("TissueJournalTotalEditorDialog", "Морфология МКБ",
                       None))
Exemple #7
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(828, 577)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabToken)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        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, 796, 452))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.splitter_2 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_2)
        self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised)
        self.frameBaseAndDiagnosises.setObjectName(
            _fromUtf8("frameBaseAndDiagnosises"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frameBaseAndDiagnosises)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.wdgActions = CActionsWidget(self.frameBaseAndDiagnosises)
        self.wdgActions.setObjectName(_fromUtf8("wdgActions"))
        self.horizontalLayout.addWidget(self.wdgActions)
        self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.frmBegDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmBegDateTime.sizePolicy().hasHeightForWidth())
        self.frmBegDateTime.setSizePolicy(sizePolicy)
        self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmBegDateTime.setLineWidth(0)
        self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmBegDateTime)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        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_3.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_3.addWidget(self.edtBegTime)
        self.gridLayout_2.addWidget(self.frmBegDateTime, 3, 1, 1, 3)
        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_4 = QtGui.QHBoxLayout(self.frmEndDateTime)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        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_4.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_4.addWidget(self.edtEndTime)
        self.gridLayout_2.addWidget(self.frmEndDateTime, 4, 1, 1, 3)
        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_5 = QtGui.QHBoxLayout(self.frmNextDateTime)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.gridLayout_2.addWidget(self.frmNextDateTime, 5, 1, 1, 3)
        self.groupBox = QtGui.QGroupBox(self.grpBase)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblMKB = QtGui.QLabel(self.groupBox)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout_3.addWidget(self.lblMKB, 0, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.groupBox)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_3.addWidget(self.cmbMKB, 0, 1, 1, 1)
        self.lblDiagnosticResult = QtGui.QLabel(self.groupBox)
        self.lblDiagnosticResult.setObjectName(
            _fromUtf8("lblDiagnosticResult"))
        self.gridLayout_3.addWidget(self.lblDiagnosticResult, 1, 0, 1, 1)
        self.cmbDiagnosticResult = CRBComboBox(self.groupBox)
        self.cmbDiagnosticResult.setObjectName(
            _fromUtf8("cmbDiagnosticResult"))
        self.gridLayout_3.addWidget(self.cmbDiagnosticResult, 1, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 18, 0, 1, 4)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 4, 0, 1, 1)
        self.cmbPrimary = QtGui.QComboBox(self.grpBase)
        self.cmbPrimary.setObjectName(_fromUtf8("cmbPrimary"))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPrimary, 9, 0, 1, 3)
        self.lblGoal = QtGui.QLabel(self.grpBase)
        self.lblGoal.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignVCenter)
        self.lblGoal.setObjectName(_fromUtf8("lblGoal"))
        self.gridLayout_2.addWidget(self.lblGoal, 13, 0, 1, 1)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 4)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbResult, 12, 0, 1, 4)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 3, 0, 1, 1)
        self.cmbOrder = CRBComboBox(self.grpBase)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbOrder, 10, 0, 1, 4)
        self.cmbGoal = CRBComboBox(self.grpBase)
        self.cmbGoal.setObjectName(_fromUtf8("cmbGoal"))
        self.gridLayout_2.addWidget(self.cmbGoal, 13, 1, 1, 3)
        self.cmbContract = CContractComboBox(self.grpBase)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.cmbContract.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 4)
        self.lblResult = QtGui.QLabel(self.grpBase)
        self.lblResult.setAlignment(QtCore.Qt.AlignLeading
                                    | QtCore.Qt.AlignLeft
                                    | QtCore.Qt.AlignVCenter)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_2.addWidget(self.lblResult, 11, 0, 1, 4)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 17, 0, 1, 4)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout_2.addWidget(self.lblOrder, 9, 3, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 4)
        self.btnDentalFormula = QtGui.QPushButton(self.grpBase)
        self.btnDentalFormula.setObjectName(_fromUtf8("btnDentalFormula"))
        self.gridLayout_2.addWidget(self.btnDentalFormula, 19, 0, 1, 4)
        self.btnAddAction = QtGui.QPushButton(self.grpBase)
        self.btnAddAction.setObjectName(_fromUtf8("btnAddAction"))
        self.gridLayout_2.addWidget(self.btnAddAction, 20, 0, 1, 4)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 4)
        self.horizontalLayout.addWidget(self.grpBase)
        self.verticalLayout_3.addWidget(self.splitter_2)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabAmbCard = CFastAmbCardPage()
        self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard"))
        self.tabWidget.addTab(self.tabAmbCard, _fromUtf8(""))
        self.tabReferral = CReferralPage()
        self.tabReferral.setObjectName(_fromUtf8("tabReferral"))
        self.tabWidget.addTab(self.tabReferral, _fromUtf8(""))
        self.tabTempInvalidEtc = QtGui.QWidget()
        self.tabTempInvalidEtc.setObjectName(_fromUtf8("tabTempInvalidEtc"))
        self.gridLayout = QtGui.QGridLayout(self.tabTempInvalidEtc)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea_2 = QtGui.QScrollArea(self.tabTempInvalidEtc)
        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, 796, 452))
        self.scrollAreaWidgetContents_2.setObjectName(
            _fromUtf8("scrollAreaWidgetContents_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout_6.setMargin(0)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.tabTempInvalidAndAegrotat = QtGui.QTabWidget(
            self.scrollAreaWidgetContents_2)
        self.tabTempInvalidAndAegrotat.setObjectName(
            _fromUtf8("tabTempInvalidAndAegrotat"))
        self.tabTempInvalid = QtGui.QWidget()
        self.tabTempInvalid.setObjectName(_fromUtf8("tabTempInvalid"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabTempInvalid)
        self.verticalLayout_5.setMargin(4)
        self.verticalLayout_5.setSpacing(4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.grpTempInvalid = CTempInvalid(self.tabTempInvalid)
        self.grpTempInvalid.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpTempInvalid.sizePolicy().hasHeightForWidth())
        self.grpTempInvalid.setSizePolicy(sizePolicy)
        self.grpTempInvalid.setCheckable(True)
        self.grpTempInvalid.setChecked(False)
        self.grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid"))
        self.verticalLayout_5.addWidget(self.grpTempInvalid)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid,
                                              _fromUtf8(""))
        self.tabTempInvalidS = QtGui.QWidget()
        self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabTempInvalidS)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.grpDisability = CTempInvalid(self.tabTempInvalidS)
        self.grpDisability.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpDisability.sizePolicy().hasHeightForWidth())
        self.grpDisability.setSizePolicy(sizePolicy)
        self.grpDisability.setCheckable(True)
        self.grpDisability.setChecked(False)
        self.grpDisability.setObjectName(_fromUtf8("grpDisability"))
        self.gridLayout_5.addWidget(self.grpDisability, 0, 0, 1, 1)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS,
                                              _fromUtf8(""))
        self.tabTempInvalidDisability = QtGui.QWidget()
        self.tabTempInvalidDisability.setObjectName(
            _fromUtf8("tabTempInvalidDisability"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabTempInvalidDisability)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.grpVitalRestriction = CTempInvalid(self.tabTempInvalidDisability)
        self.grpVitalRestriction.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpVitalRestriction.sizePolicy().hasHeightForWidth())
        self.grpVitalRestriction.setSizePolicy(sizePolicy)
        self.grpVitalRestriction.setCheckable(True)
        self.grpVitalRestriction.setChecked(False)
        self.grpVitalRestriction.setObjectName(
            _fromUtf8("grpVitalRestriction"))
        self.gridLayout_6.addWidget(self.grpVitalRestriction, 0, 0, 1, 1)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability,
                                              _fromUtf8(""))
        self.verticalLayout_6.addWidget(self.tabTempInvalidAndAegrotat)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout.addWidget(self.scrollArea_2, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabTempInvalidEtc, _fromUtf8(""))
        self.tabCash = CFastEventCashPage()
        self.tabCash.setObjectName(_fromUtf8("tabCash"))
        self.tabWidget.addTab(self.tabCash, _fromUtf8(""))
        self.tabNotes = CFastEventNotesPage()
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.widget = QtGui.QWidget(Dialog)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.lblProlongateEvent = QtGui.QLabel(self.widget)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout_6.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(self.widget)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout_6.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_6.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout_2.addWidget(self.statusBar)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblGoal.setBuddy(self.cmbGoal)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblOrder.setBuddy(self.cmbOrder)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        self.tabTempInvalidAndAegrotat.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.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbPrimary)
        Dialog.setTabOrder(self.cmbPrimary, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.cmbGoal)
        Dialog.setTabOrder(self.cmbGoal, self.cmbMKB)
        Dialog.setTabOrder(self.cmbMKB, self.cmbDiagnosticResult)
        Dialog.setTabOrder(self.cmbDiagnosticResult, self.btnDentalFormula)
        Dialog.setTabOrder(self.btnDentalFormula, self.buttonBox)
        Dialog.setTabOrder(self.buttonBox, self.tabTempInvalidAndAegrotat)
        Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.scrollArea_2)
        Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid)
Exemple #8
0
    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)
Exemple #9
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(560, 487)
        Dialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.edtBegTime = QtGui.QTimeEdit(Dialog)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridlayout.addWidget(self.edtBegTime, 2, 2, 1, 1)
        self.label_11 = QtGui.QLabel(Dialog)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridlayout.addWidget(self.label_11, 3, 0, 1, 1)
        self.lblTraumaType = QtGui.QLabel(Dialog)
        self.lblTraumaType.setObjectName(_fromUtf8("lblTraumaType"))
        self.gridlayout.addWidget(self.lblTraumaType, 6, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 2, 3, 1, 2)
        self.edtCardNo = QtGui.QLineEdit(Dialog)
        self.edtCardNo.setObjectName(_fromUtf8("edtCardNo"))
        self.gridlayout.addWidget(self.edtCardNo, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 8, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 6, 4, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(Dialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 3)
        self.edtEndDate = CDateEdit(Dialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 3, 1, 1, 1)
        self.edtBegDate = CDateEdit(Dialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 2, 1, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(Dialog)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridlayout.addWidget(self.edtEndTime, 3, 2, 1, 1)
        self.lblCardNo = QtGui.QLabel(Dialog)
        self.lblCardNo.setObjectName(_fromUtf8("lblCardNo"))
        self.gridlayout.addWidget(self.lblCardNo, 1, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(Dialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        self.lblOrder = QtGui.QLabel(Dialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridlayout.addWidget(self.lblOrder, 5, 0, 1, 1)
        self.txtClientInfoBrowser = CTextBrowser(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.gridlayout.addWidget(self.txtClientInfoBrowser, 0, 0, 1, 5)
        self.label_12 = QtGui.QLabel(Dialog)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridlayout.addWidget(self.label_12, 2, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 1, 2, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem4, 3, 3, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 7, 4, 1, 1)
        self.cmbTraumaType = CRBComboBox(Dialog)
        self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType"))
        self.gridlayout.addWidget(self.cmbTraumaType, 6, 1, 1, 3)
        self.edtMKBEx = CICDCodeEditEx(Dialog)
        self.edtMKBEx.setObjectName(_fromUtf8("edtMKBEx"))
        self.gridlayout.addWidget(self.edtMKBEx, 7, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem6, 4, 4, 1, 1)
        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.gridlayout.addWidget(self.buttonBox, 10, 0, 1, 5)
        self.cmbResult = CRBComboBox(Dialog)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.gridlayout.addWidget(self.cmbResult, 8, 1, 1, 3)
        self.lblResult = QtGui.QLabel(Dialog)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridlayout.addWidget(self.lblResult, 8, 0, 1, 1)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.gridlayout.addWidget(self.statusBar, 11, 0, 1, 5)
        self.lblMKB = QtGui.QLabel(Dialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(Dialog)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridlayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem7, 5, 4, 1, 1)
        self.cmbOrder = CRBComboBox(Dialog)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbOrder, 5, 1, 1, 3)
        self.lblLock = QtGui.QLabel(Dialog)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridlayout.addWidget(self.lblLock, 9, 0, 1, 1)
        self.chkLock = QtGui.QCheckBox(Dialog)
        self.chkLock.setEnabled(False)
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridlayout.addWidget(self.chkLock, 9, 1, 1, 4)
        self.label_11.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.label_12.setBuddy(self.edtBegDate)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblLock.setBuddy(self.chkLock)

        self.retranslateUi(Dialog)
        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.txtClientInfoBrowser, self.edtCardNo)
        Dialog.setTabOrder(self.edtCardNo, 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.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbTraumaType)
        Dialog.setTabOrder(self.cmbTraumaType, self.edtMKB)
        Dialog.setTabOrder(self.edtMKB, self.edtMKBEx)
        Dialog.setTabOrder(self.edtMKBEx, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.buttonBox)
Exemple #10
0
class Ui_TestDialog(object):
    def setupUi(self, TestDialog):
        TestDialog.setObjectName(_fromUtf8("TestDialog"))
        TestDialog.resize(400, 364)
        self.gridLayout = QtGui.QGridLayout(TestDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAge = QtGui.QLabel(TestDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAge = QtGui.QSpinBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAge.sizePolicy().hasHeightForWidth())
        self.edtAge.setSizePolicy(sizePolicy)
        self.edtAge.setMaximum(150)
        self.edtAge.setObjectName(_fromUtf8("edtAge"))
        self.gridLayout.addWidget(self.edtAge, 1, 1, 1, 1)
        self.lblSpeciality = QtGui.QLabel(TestDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(TestDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(TestDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKB.sizePolicy().hasHeightForWidth())
        self.edtMKB.setSizePolicy(sizePolicy)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridLayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        self.lblMES = QtGui.QLabel(TestDialog)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 8, 0, 1, 1)
        self.cmbMES = CMESComboBox(TestDialog)
        self.cmbMES.setObjectName(_fromUtf8("cmbMES"))
        self.gridLayout.addWidget(self.cmbMES, 8, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TestDialog)
        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, 3)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 7, 2, 1, 1)
        self.cmbEventProfile = CRBComboBox(TestDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 3, 1, 1, 2)
        self.lblEventProfile = QtGui.QLabel(TestDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 3, 0, 1, 1)
        self.lblSex = QtGui.QLabel(TestDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 0, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 0, 1, 1, 1)
        self.lblMESCodeTemplate = QtGui.QLabel(TestDialog)
        self.lblMESCodeTemplate.setObjectName(_fromUtf8("lblMESCodeTemplate"))
        self.gridLayout.addWidget(self.lblMESCodeTemplate, 4, 0, 1, 1)
        self.lblMESNameTemplate = QtGui.QLabel(TestDialog)
        self.lblMESNameTemplate.setObjectName(_fromUtf8("lblMESNameTemplate"))
        self.gridLayout.addWidget(self.lblMESNameTemplate, 5, 0, 1, 1)
        self.edtMESCodeTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESCodeTemplate.setObjectName(_fromUtf8("edtMESCodeTemplate"))
        self.gridLayout.addWidget(self.edtMESCodeTemplate, 4, 1, 1, 1)
        self.edtMESNameTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESNameTemplate.setObjectName(_fromUtf8("edtMESNameTemplate"))
        self.gridLayout.addWidget(self.edtMESNameTemplate, 5, 1, 1, 1)
        self.lblAge.setBuddy(self.edtAge)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblMES.setBuddy(self.cmbMES)
        self.lblEventProfile.setBuddy(self.cmbEventProfile)
        self.lblSex.setBuddy(self.cmbSex)

        self.retranslateUi(TestDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TestDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TestDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TestDialog)
        TestDialog.setTabOrder(self.cmbSex, self.edtAge)
        TestDialog.setTabOrder(self.edtAge, self.cmbEventProfile)
        TestDialog.setTabOrder(self.cmbEventProfile, self.edtMESCodeTemplate)
        TestDialog.setTabOrder(self.edtMESCodeTemplate,
                               self.edtMESNameTemplate)
        TestDialog.setTabOrder(self.edtMESNameTemplate, self.cmbSpeciality)
        TestDialog.setTabOrder(self.cmbSpeciality, self.edtMKB)
        TestDialog.setTabOrder(self.edtMKB, self.cmbMES)
        TestDialog.setTabOrder(self.cmbMES, self.buttonBox)

    def retranslateUi(self, TestDialog):
        TestDialog.setWindowTitle(
            QtGui.QApplication.translate("TestDialog", "Испытание МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("TestDialog", "&Возраст пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("TestDialog", "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "TestDialog",
                "<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, QtGui.QApplication.UnicodeUTF8))
        self.lblMKB.setText(
            QtGui.QApplication.translate("TestDialog", "Код &диагноза", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMES.setText(
            QtGui.QApplication.translate("TestDialog", "С&тандарт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventProfile.setWhatsThis(
            QtGui.QApplication.translate(
                "TestDialog",
                "<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, QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("TestDialog", "Профиль события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("TestDialog", "&Пол пациента", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("TestDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("TestDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMESCodeTemplate.setText(
            QtGui.QApplication.translate("TestDialog", "Шаблон кода  МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblMESNameTemplate.setText(
            QtGui.QApplication.translate("TestDialog",
                                         "Шаблон наименования МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemple #11
0
    def setupUi(self, TestDialog):
        TestDialog.setObjectName(_fromUtf8("TestDialog"))
        TestDialog.resize(400, 364)
        self.gridLayout = QtGui.QGridLayout(TestDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAge = QtGui.QLabel(TestDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAge = QtGui.QSpinBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAge.sizePolicy().hasHeightForWidth())
        self.edtAge.setSizePolicy(sizePolicy)
        self.edtAge.setMaximum(150)
        self.edtAge.setObjectName(_fromUtf8("edtAge"))
        self.gridLayout.addWidget(self.edtAge, 1, 1, 1, 1)
        self.lblSpeciality = QtGui.QLabel(TestDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(TestDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(TestDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKB.sizePolicy().hasHeightForWidth())
        self.edtMKB.setSizePolicy(sizePolicy)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridLayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        self.lblMES = QtGui.QLabel(TestDialog)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 8, 0, 1, 1)
        self.cmbMES = CMESComboBox(TestDialog)
        self.cmbMES.setObjectName(_fromUtf8("cmbMES"))
        self.gridLayout.addWidget(self.cmbMES, 8, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TestDialog)
        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, 3)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 7, 2, 1, 1)
        self.cmbEventProfile = CRBComboBox(TestDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 3, 1, 1, 2)
        self.lblEventProfile = QtGui.QLabel(TestDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 3, 0, 1, 1)
        self.lblSex = QtGui.QLabel(TestDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 0, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 0, 1, 1, 1)
        self.lblMESCodeTemplate = QtGui.QLabel(TestDialog)
        self.lblMESCodeTemplate.setObjectName(_fromUtf8("lblMESCodeTemplate"))
        self.gridLayout.addWidget(self.lblMESCodeTemplate, 4, 0, 1, 1)
        self.lblMESNameTemplate = QtGui.QLabel(TestDialog)
        self.lblMESNameTemplate.setObjectName(_fromUtf8("lblMESNameTemplate"))
        self.gridLayout.addWidget(self.lblMESNameTemplate, 5, 0, 1, 1)
        self.edtMESCodeTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESCodeTemplate.setObjectName(_fromUtf8("edtMESCodeTemplate"))
        self.gridLayout.addWidget(self.edtMESCodeTemplate, 4, 1, 1, 1)
        self.edtMESNameTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESNameTemplate.setObjectName(_fromUtf8("edtMESNameTemplate"))
        self.gridLayout.addWidget(self.edtMESNameTemplate, 5, 1, 1, 1)
        self.lblAge.setBuddy(self.edtAge)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblMES.setBuddy(self.cmbMES)
        self.lblEventProfile.setBuddy(self.cmbEventProfile)
        self.lblSex.setBuddy(self.cmbSex)

        self.retranslateUi(TestDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TestDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TestDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TestDialog)
        TestDialog.setTabOrder(self.cmbSex, self.edtAge)
        TestDialog.setTabOrder(self.edtAge, self.cmbEventProfile)
        TestDialog.setTabOrder(self.cmbEventProfile, self.edtMESCodeTemplate)
        TestDialog.setTabOrder(self.edtMESCodeTemplate,
                               self.edtMESNameTemplate)
        TestDialog.setTabOrder(self.edtMESNameTemplate, self.cmbSpeciality)
        TestDialog.setTabOrder(self.cmbSpeciality, self.edtMKB)
        TestDialog.setTabOrder(self.edtMKB, self.cmbMES)
        TestDialog.setTabOrder(self.cmbMES, self.buttonBox)
Exemple #12
0
 def __init__(self, parent):
     CICDCodeEditEx.__init__(self, parent)
     self._lineEdit.installEventFilter(self)
Exemple #13
0
    def setupUi(self, ActionsWidget):
        ActionsWidget.setObjectName(_fromUtf8("ActionsWidget"))
        ActionsWidget.resize(924, 825)
        self.verticalLayout = QtGui.QVBoxLayout(ActionsWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.frame = QtGui.QFrame(ActionsWidget)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.gridLayout_4 = QtGui.QGridLayout(self.frame)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_4.addWidget(self.label_3, 0, 0, 1, 1)
        self.lblActionUET = QtGui.QLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblActionUET.sizePolicy().hasHeightForWidth())
        self.lblActionUET.setSizePolicy(sizePolicy)
        self.lblActionUET.setMinimumSize(QtCore.QSize(50, 0))
        self.lblActionUET.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblActionUET.setFrameShadow(QtGui.QFrame.Raised)
        self.lblActionUET.setObjectName(_fromUtf8("lblActionUET"))
        self.gridLayout_4.addWidget(self.lblActionUET, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.frame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_4.addWidget(self.label, 1, 0, 1, 1)
        self.lblEventUET = QtGui.QLabel(self.frame)
        self.lblEventUET.setMinimumSize(QtCore.QSize(50, 0))
        self.lblEventUET.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventUET.setFrameShadow(QtGui.QFrame.Raised)
        self.lblEventUET.setObjectName(_fromUtf8("lblEventUET"))
        self.gridLayout_4.addWidget(self.lblEventUET, 1, 1, 1, 1)
        self.horizontalLayout.addWidget(self.frame)
        self.attrsAP = QtGui.QFrame(ActionsWidget)
        self.attrsAP.setEnabled(False)
        self.attrsAP.setFrameShape(QtGui.QFrame.StyledPanel)
        self.attrsAP.setFrameShadow(QtGui.QFrame.Sunken)
        self.attrsAP.setObjectName(_fromUtf8("attrsAP"))
        self.gridLayout_3 = QtGui.QGridLayout(self.attrsAP)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.cmbAPSetPerson = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAPSetPerson.sizePolicy().hasHeightForWidth())
        self.cmbAPSetPerson.setSizePolicy(sizePolicy)
        self.cmbAPSetPerson.setObjectName(_fromUtf8("cmbAPSetPerson"))
        self.cmbAPSetPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPSetPerson, 0, 7, 1, 1)
        self.lblAPEndDate = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAPEndDate.sizePolicy().hasHeightForWidth())
        self.lblAPEndDate.setSizePolicy(sizePolicy)
        self.lblAPEndDate.setObjectName(_fromUtf8("lblAPEndDate"))
        self.gridLayout_3.addWidget(self.lblAPEndDate, 3, 1, 1, 1)
        self.cmbAPPerson = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAPPerson.sizePolicy().hasHeightForWidth())
        self.cmbAPPerson.setSizePolicy(sizePolicy)
        self.cmbAPPerson.setObjectName(_fromUtf8("cmbAPPerson"))
        self.cmbAPPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPPerson, 3, 7, 1, 1)
        self.lblAPBegDate = QtGui.QLabel(self.attrsAP)
        self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate"))
        self.gridLayout_3.addWidget(self.lblAPBegDate, 0, 1, 1, 1)
        self.lblAPPerson = QtGui.QLabel(self.attrsAP)
        self.lblAPPerson.setObjectName(_fromUtf8("lblAPPerson"))
        self.gridLayout_3.addWidget(self.lblAPPerson, 3, 6, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setMargin(0)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.edtAPEndDate = CDateEdit(self.attrsAP)
        self.edtAPEndDate.setCalendarPopup(True)
        self.edtAPEndDate.setObjectName(_fromUtf8("edtAPEndDate"))
        self.horizontalLayout_8.addWidget(self.edtAPEndDate)
        self.edtAPEndTime = QtGui.QTimeEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAPEndTime.sizePolicy().hasHeightForWidth())
        self.edtAPEndTime.setSizePolicy(sizePolicy)
        self.edtAPEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPEndTime.setObjectName(_fromUtf8("edtAPEndTime"))
        self.horizontalLayout_8.addWidget(self.edtAPEndTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_8, 3, 2, 1, 1)
        self.lblAPSetPerson = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblAPSetPerson.sizePolicy().hasHeightForWidth())
        self.lblAPSetPerson.setSizePolicy(sizePolicy)
        self.lblAPSetPerson.setObjectName(_fromUtf8("lblAPSetPerson"))
        self.gridLayout_3.addWidget(self.lblAPSetPerson, 0, 6, 1, 1)
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setMargin(0)
        self.horizontalLayout_11.setObjectName(
            _fromUtf8("horizontalLayout_11"))
        self.edtAPBegDate = CDateEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAPBegDate.sizePolicy().hasHeightForWidth())
        self.edtAPBegDate.setSizePolicy(sizePolicy)
        self.edtAPBegDate.setCalendarPopup(True)
        self.edtAPBegDate.setObjectName(_fromUtf8("edtAPBegDate"))
        self.horizontalLayout_11.addWidget(self.edtAPBegDate)
        self.edtAPBegTime = QtGui.QTimeEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAPBegTime.sizePolicy().hasHeightForWidth())
        self.edtAPBegTime.setSizePolicy(sizePolicy)
        self.edtAPBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPBegTime.setObjectName(_fromUtf8("edtAPBegTime"))
        self.horizontalLayout_11.addWidget(self.edtAPBegTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_11, 0, 2, 1, 1)
        self.lblAPStatus = QtGui.QLabel(self.attrsAP)
        self.lblAPStatus.setObjectName(_fromUtf8("lblAPStatus"))
        self.gridLayout_3.addWidget(self.lblAPStatus, 0, 8, 1, 1)
        self.cmbAPStatus = QtGui.QComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbAPStatus.sizePolicy().hasHeightForWidth())
        self.cmbAPStatus.setSizePolicy(sizePolicy)
        self.cmbAPStatus.setObjectName(_fromUtf8("cmbAPStatus"))
        self.gridLayout_3.addWidget(self.cmbAPStatus, 0, 9, 1, 1)
        self.lblMKB = QtGui.QLabel(self.attrsAP)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout_3.addWidget(self.lblMKB, 3, 8, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.attrsAP)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_3.addWidget(self.cmbMKB, 3, 9, 1, 1)
        self.horizontalLayout.addWidget(self.attrsAP)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.scrollArea = QtGui.QScrollArea(ActionsWidget)
        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, 912, 715))
        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.splitterAP = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitterAP.sizePolicy().hasHeightForWidth())
        self.splitterAP.setSizePolicy(sizePolicy)
        self.splitterAP.setOrientation(QtCore.Qt.Horizontal)
        self.splitterAP.setChildrenCollapsible(False)
        self.splitterAP.setObjectName(_fromUtf8("splitterAP"))
        self.tblAPActions = CActionsTreeView(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblAPActions.sizePolicy().hasHeightForWidth())
        self.tblAPActions.setSizePolicy(sizePolicy)
        self.tblAPActions.setMinimumSize(QtCore.QSize(150, 0))
        self.tblAPActions.setAnimated(True)
        self.tblAPActions.setObjectName(_fromUtf8("tblAPActions"))
        self.frameAP = QtGui.QFrame(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frameAP.sizePolicy().hasHeightForWidth())
        self.frameAP.setSizePolicy(sizePolicy)
        self.frameAP.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frameAP.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameAP.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameAP.setObjectName(_fromUtf8("frameAP"))
        self.gridLayout = QtGui.QGridLayout(self.frameAP)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblAPProps = CExActionPropertiesTableView(self.frameAP)
        self.tblAPProps.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblAPProps.sizePolicy().hasHeightForWidth())
        self.tblAPProps.setSizePolicy(sizePolicy)
        self.tblAPProps.setMinimumSize(QtCore.QSize(0, 250))
        self.tblAPProps.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setHorizontalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setObjectName(_fromUtf8("tblAPProps"))
        self.gridLayout.addWidget(self.tblAPProps, 18, 0, 1, 2)
        self.frmAPButtonsBar = QtGui.QFrame(self.frameAP)
        self.frmAPButtonsBar.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAPButtonsBar.setFrameShadow(QtGui.QFrame.Plain)
        self.frmAPButtonsBar.setLineWidth(0)
        self.frmAPButtonsBar.setObjectName(_fromUtf8("frmAPButtonsBar"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmAPButtonsBar)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAPPrint = CPrintButton(self.frmAPButtonsBar)
        self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint"))
        self.horizontalLayout_4.addWidget(self.btnAPPrint)
        self.btnAPLoadTemplate = CActionTemplateChooseButton(
            self.frmAPButtonsBar)
        self.btnAPLoadTemplate.setObjectName(_fromUtf8("btnAPLoadTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadTemplate)
        self.btnAPSaveAsTemplate = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPSaveAsTemplate.setObjectName(
            _fromUtf8("btnAPSaveAsTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPSaveAsTemplate)
        self.btnAPLoadPrevAction = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPLoadPrevAction.setEnabled(False)
        self.btnAPLoadPrevAction.setObjectName(
            _fromUtf8("btnAPLoadPrevAction"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadPrevAction)
        spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAPButtonsBar, 19, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.splitterAP)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)

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

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

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

    def retranslateUi(self, TempInvalidEditDialog):
        TempInvalidEditDialog.setWindowTitle(_translate("TempInvalidEditDialog", "Документ временной нетрудоспособности", None))
        self.lblMainNumber.setText(_translate("TempInvalidEditDialog", "Номер основного листка", None))
        self.lblBusyness.setText(_translate("TempInvalidEditDialog", "Занятость", None))
        self.lblSerial.setText(_translate("TempInvalidEditDialog", "Номер ЛН", None))
        self.lblDiseaseCharacter.setText(_translate("TempInvalidEditDialog", "Характер", None))
        self.lblPrev.setText(_translate("TempInvalidEditDialog", "Продлён", None))
        self.lblReason.setText(_translate("TempInvalidEditDialog", "Причина", None))
        self.lblCaseLength.setText(_translate("TempInvalidEditDialog", "Дней", None))
        self.lblDiagnosis.setText(_translate("TempInvalidEditDialog", "Диагноз", None))
        self.chkGovEmoploymentService.setText(_translate("TempInvalidEditDialog", "Состоит на учёте в государственных учереждения службы занятости", None))
        self.lblPlaceWork.setText(_translate("TempInvalidEditDialog", "Место работы", None))
        self.lblCaseBegDate.setText(_translate("TempInvalidEditDialog", "Дата начала ВУТ", None))
        self.lblExternalLength.setText(_translate("TempInvalidEditDialog", "вне ЛПУ", None))
        self.lblDoctype.setText(_translate("TempInvalidEditDialog", "Документ", None))
        self.edtCaseBegDate.setDisplayFormat(_translate("TempInvalidEditDialog", "dd.MM.yyyy", None))
        self.btnNewLN.setText(_translate("TempInvalidEditDialog", "Сформировать \n"
"новый номер ЛН", None))
        self.lblLength.setText(_translate("TempInvalidEditDialog", "Длительность", None))
        self.lblExtraReason.setText(_translate("TempInvalidEditDialog", "Доп.причина", None))
        self.chkInsuranceOfficeMark.setText(_translate("TempInvalidEditDialog", "Отметка страхового стола", None))
        self.cmbOtherSex.setItemText(1, _translate("TempInvalidEditDialog", "М", None))
        self.cmbOtherSex.setItemText(2, _translate("TempInvalidEditDialog", "Ж", None))
        self.lblOtherSex.setText(_translate("TempInvalidEditDialog", "Пол", None))
        self.lblOtherAge.setText(_translate("TempInvalidEditDialog", "Возраст", None))
        self.btnTempInvalidProlong.setText(_translate("TempInvalidEditDialog", "Продлить", None))
        self.btnSendInFSS.setText(_translate("TempInvalidEditDialog", "Подписать и отправить в ФСС", None))
Exemple #17
0
    def setupUi(self, EdtReferralDialog):
        EdtReferralDialog.setObjectName(_fromUtf8("EdtReferralDialog"))
        EdtReferralDialog.resize(248, 504)
        self.gridLayout = QtGui.QGridLayout(EdtReferralDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbSpeciality = CRBComboBox(EdtReferralDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 19, 0, 1, 2)
        self.cmbReferralType = CRBComboBox(EdtReferralDialog)
        self.cmbReferralType.setEnabled(False)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 1, 0, 1, 2)
        self.lblReferralType = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralType.setObjectName(_fromUtf8("lblReferralType"))
        self.gridLayout.addWidget(self.lblReferralType, 0, 0, 1, 1)
        self.lblReferralNumber = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralNumber.setObjectName(_fromUtf8("lblReferralNumber"))
        self.gridLayout.addWidget(self.lblReferralNumber, 2, 0, 1, 1)
        self.edtReferralNumber = QtGui.QLineEdit(EdtReferralDialog)
        self.edtReferralNumber.setObjectName(_fromUtf8("edtReferralNumber"))
        self.gridLayout.addWidget(self.edtReferralNumber, 3, 0, 1, 2)
        self.lblReferralDate = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralDate.setObjectName(_fromUtf8("lblReferralDate"))
        self.gridLayout.addWidget(self.lblReferralDate, 4, 0, 1, 1)
        self.edtReferralDate = QtGui.QDateEdit(EdtReferralDialog)
        self.edtReferralDate.setObjectName(_fromUtf8("edtReferralDate"))
        self.gridLayout.addWidget(self.edtReferralDate, 4, 1, 1, 1)
        self.lblReferralHospDate = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralHospDate.setObjectName(
            _fromUtf8("lblReferralHospDate"))
        self.gridLayout.addWidget(self.lblReferralHospDate, 5, 0, 1, 1)
        self.edtReferralPlanedDate = QtGui.QDateEdit(EdtReferralDialog)
        self.edtReferralPlanedDate.setObjectName(
            _fromUtf8("edtReferralPlanedDate"))
        self.gridLayout.addWidget(self.edtReferralPlanedDate, 5, 1, 1, 1)
        self.lblRelegateMO = QtGui.QLabel(EdtReferralDialog)
        self.lblRelegateMO.setObjectName(_fromUtf8("lblRelegateMO"))
        self.gridLayout.addWidget(self.lblRelegateMO, 6, 0, 1, 1)
        self.cmbRelegateMo = COrgComboBox(EdtReferralDialog)
        self.cmbRelegateMo.setObjectName(_fromUtf8("cmbRelegateMo"))
        self.gridLayout.addWidget(self.cmbRelegateMo, 7, 0, 1, 2)
        self.lblReferralMKB = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralMKB.setObjectName(_fromUtf8("lblReferralMKB"))
        self.gridLayout.addWidget(self.lblReferralMKB, 8, 0, 1, 1)
        self.cmbReferralMKB = CICDCodeEditEx(EdtReferralDialog)
        self.cmbReferralMKB.setObjectName(_fromUtf8("cmbReferralMKB"))
        self.gridLayout.addWidget(self.cmbReferralMKB, 9, 0, 1, 2)
        self.lblClinicType = QtGui.QLabel(EdtReferralDialog)
        self.lblClinicType.setObjectName(_fromUtf8("lblClinicType"))
        self.gridLayout.addWidget(self.lblClinicType, 10, 0, 1, 1)
        self.cmbClinicType = QtGui.QComboBox(EdtReferralDialog)
        self.cmbClinicType.setObjectName(_fromUtf8("cmbClinicType"))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.cmbClinicType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbClinicType, 11, 0, 1, 2)
        self.lblReferralSpeciality = QtGui.QLabel(EdtReferralDialog)
        self.lblReferralSpeciality.setObjectName(
            _fromUtf8("lblReferralSpeciality"))
        self.gridLayout.addWidget(self.lblReferralSpeciality, 18, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(EdtReferralDialog)
        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, 20, 0, 1, 2)
        self.lblPerson = QtGui.QLabel(EdtReferralDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 12, 0, 1, 1)
        self.lblOrgStructureProfile = QtGui.QLabel(EdtReferralDialog)
        self.lblOrgStructureProfile.setObjectName(
            _fromUtf8("lblOrgStructureProfile"))
        self.gridLayout.addWidget(self.lblOrgStructureProfile, 16, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(EdtReferralDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 13, 0, 1, 2)
        self.lblBedProfile = QtGui.QLabel(EdtReferralDialog)
        self.lblBedProfile.setObjectName(_fromUtf8("lblBedProfile"))
        self.gridLayout.addWidget(self.lblBedProfile, 14, 0, 1, 1)
        self.cmbBedProfile = CRBComboBox(EdtReferralDialog)
        self.cmbBedProfile.setObjectName(_fromUtf8("cmbBedProfile"))
        self.gridLayout.addWidget(self.cmbBedProfile, 15, 0, 1, 2)
        self.cmbOrgStructure = CRBComboBox(EdtReferralDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 17, 0, 1, 2)

        self.retranslateUi(EdtReferralDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               EdtReferralDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               EdtReferralDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EdtReferralDialog)
Exemple #18
0
    def setupUi(self, ActionsPageWidget):
        ActionsPageWidget.setObjectName(_fromUtf8("ActionsPageWidget"))
        ActionsPageWidget.resize(1021, 825)
        self.verticalLayout = QtGui.QVBoxLayout(ActionsPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.attrsAP = QtGui.QFrame(ActionsPageWidget)
        self.attrsAP.setObjectName(_fromUtf8("attrsAP"))
        self.gridLayout_3 = QtGui.QGridLayout(self.attrsAP)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setMargin(0)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.edtAPBegDate = CDateEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegDate.sizePolicy().hasHeightForWidth())
        self.edtAPBegDate.setSizePolicy(sizePolicy)
        self.edtAPBegDate.setCalendarPopup(True)
        self.edtAPBegDate.setObjectName(_fromUtf8("edtAPBegDate"))
        self.horizontalLayout_11.addWidget(self.edtAPBegDate)
        self.edtAPBegTime = QtGui.QTimeEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegTime.sizePolicy().hasHeightForWidth())
        self.edtAPBegTime.setSizePolicy(sizePolicy)
        self.edtAPBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPBegTime.setObjectName(_fromUtf8("edtAPBegTime"))
        self.horizontalLayout_11.addWidget(self.edtAPBegTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_11, 1, 1, 1, 1)
        self.lblAPEndDate = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPEndDate.sizePolicy().hasHeightForWidth())
        self.lblAPEndDate.setSizePolicy(sizePolicy)
        self.lblAPEndDate.setObjectName(_fromUtf8("lblAPEndDate"))
        self.gridLayout_3.addWidget(self.lblAPEndDate, 1, 4, 1, 1)
        self.mkbLayout = QtGui.QWidget(self.attrsAP)
        self.mkbLayout.setObjectName(_fromUtf8("mkbLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.mkbLayout)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.cmbHMPMethod = CRBComboBox(self.mkbLayout)
        self.cmbHMPMethod.setObjectName(_fromUtf8("cmbHMPMethod"))
        self.horizontalLayout_2.addWidget(self.cmbHMPMethod)
        self.gridLayout_3.addWidget(self.mkbLayout, 6, 5, 1, 1)
        self.lblAPOffice = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPOffice.sizePolicy().hasHeightForWidth())
        self.lblAPOffice.setSizePolicy(sizePolicy)
        self.lblAPOffice.setObjectName(_fromUtf8("lblAPOffice"))
        self.gridLayout_3.addWidget(self.lblAPOffice, 1, 2, 1, 1)
        self.lblAPDirectionDate = QtGui.QLabel(self.attrsAP)
        self.lblAPDirectionDate.setObjectName(_fromUtf8("lblAPDirectionDate"))
        self.gridLayout_3.addWidget(self.lblAPDirectionDate, 0, 4, 1, 1)
        self.lblAPStatus = QtGui.QLabel(self.attrsAP)
        self.lblAPStatus.setObjectName(_fromUtf8("lblAPStatus"))
        self.gridLayout_3.addWidget(self.lblAPStatus, 0, 0, 1, 1)
        self.lblAPOrg = QtGui.QLabel(self.attrsAP)
        self.lblAPOrg.setObjectName(_fromUtf8("lblAPOrg"))
        self.gridLayout_3.addWidget(self.lblAPOrg, 2, 0, 1, 1)
        self.lblAPBegDate = QtGui.QLabel(self.attrsAP)
        self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate"))
        self.gridLayout_3.addWidget(self.lblAPBegDate, 1, 0, 1, 1)
        self.cmbAPSetPerson = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPSetPerson.sizePolicy().hasHeightForWidth())
        self.cmbAPSetPerson.setSizePolicy(sizePolicy)
        self.cmbAPSetPerson.setObjectName(_fromUtf8("cmbAPSetPerson"))
        self.cmbAPSetPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPSetPerson, 0, 7, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.btnPlanNextAction = QtGui.QToolButton(self.attrsAP)
        self.btnPlanNextAction.setEnabled(True)
        self.btnPlanNextAction.setObjectName(_fromUtf8("btnPlanNextAction"))
        self.horizontalLayout_5.addWidget(self.btnPlanNextAction)
        self.btnNextAction = QtGui.QPushButton(self.attrsAP)
        self.btnNextAction.setEnabled(True)
        self.btnNextAction.setObjectName(_fromUtf8("btnNextAction"))
        self.horizontalLayout_5.addWidget(self.btnNextAction)
        self.btnReanimation = QtGui.QPushButton(self.attrsAP)
        self.btnReanimation.setObjectName(_fromUtf8("btnReanimation"))
        self.horizontalLayout_5.addWidget(self.btnReanimation)
        self.btnMaternityWard = QtGui.QPushButton(self.attrsAP)
        self.btnMaternityWard.setObjectName(_fromUtf8("btnMaternityWard"))
        self.horizontalLayout_5.addWidget(self.btnMaternityWard)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 4, 1, 2)
        self.cmbAPPerson = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPPerson.setObjectName(_fromUtf8("cmbAPPerson"))
        self.cmbAPPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPPerson, 1, 7, 1, 1)
        self.lblAPPerson = QtGui.QLabel(self.attrsAP)
        self.lblAPPerson.setObjectName(_fromUtf8("lblAPPerson"))
        self.gridLayout_3.addWidget(self.lblAPPerson, 1, 6, 1, 1)
        self.lblAPSetPerson = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPSetPerson.sizePolicy().hasHeightForWidth())
        self.lblAPSetPerson.setSizePolicy(sizePolicy)
        self.lblAPSetPerson.setObjectName(_fromUtf8("lblAPSetPerson"))
        self.gridLayout_3.addWidget(self.lblAPSetPerson, 0, 6, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setMargin(0)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.edtAPEndDate = CDateEdit(self.attrsAP)
        self.edtAPEndDate.setCalendarPopup(True)
        self.edtAPEndDate.setObjectName(_fromUtf8("edtAPEndDate"))
        self.horizontalLayout_8.addWidget(self.edtAPEndDate)
        self.edtAPEndTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPEndTime.setObjectName(_fromUtf8("edtAPEndTime"))
        self.horizontalLayout_8.addWidget(self.edtAPEndTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_8, 1, 5, 1, 1)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setMargin(0)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.edtAPDirectionDate = CDateEdit(self.attrsAP)
        self.edtAPDirectionDate.setCalendarPopup(True)
        self.edtAPDirectionDate.setObjectName(_fromUtf8("edtAPDirectionDate"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionDate)
        self.edtAPDirectionTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPDirectionTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPDirectionTime.setObjectName(_fromUtf8("edtAPDirectionTime"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 0, 5, 1, 1)
        self.edtAPOffice = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPOffice.sizePolicy().hasHeightForWidth())
        self.edtAPOffice.setSizePolicy(sizePolicy)
        self.edtAPOffice.setMaxLength(16)
        self.edtAPOffice.setObjectName(_fromUtf8("edtAPOffice"))
        self.gridLayout_3.addWidget(self.edtAPOffice, 1, 3, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.cmbAPStatus = QtGui.QComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPStatus.sizePolicy().hasHeightForWidth())
        self.cmbAPStatus.setSizePolicy(sizePolicy)
        self.cmbAPStatus.setObjectName(_fromUtf8("cmbAPStatus"))
        self.horizontalLayout_3.addWidget(self.cmbAPStatus)
        self.chkAPIsUrgent = QtGui.QCheckBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAPIsUrgent.sizePolicy().hasHeightForWidth())
        self.chkAPIsUrgent.setSizePolicy(sizePolicy)
        self.chkAPIsUrgent.setObjectName(_fromUtf8("chkAPIsUrgent"))
        self.horizontalLayout_3.addWidget(self.chkAPIsUrgent)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 1, 1, 3)
        self.lblAPAssistant = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant.setObjectName(_fromUtf8("lblAPAssistant"))
        self.gridLayout_3.addWidget(self.lblAPAssistant, 3, 0, 1, 1)
        self.cmbAPAssistant = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPAssistant.sizePolicy().hasHeightForWidth())
        self.cmbAPAssistant.setSizePolicy(sizePolicy)
        self.cmbAPAssistant.setObjectName(_fromUtf8("cmbAPAssistant"))
        self.cmbAPAssistant.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPAssistant, 3, 1, 1, 3)
        self.cmbAPAssistant3 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant3.setObjectName(_fromUtf8("cmbAPAssistant3"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant3, 3, 7, 1, 1)
        self.cmbAPAssistant2 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant2.setObjectName(_fromUtf8("cmbAPAssistant2"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant2, 3, 5, 1, 1)
        self.lblAPAssistant2 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant2.setObjectName(_fromUtf8("lblAPAssistant2"))
        self.gridLayout_3.addWidget(self.lblAPAssistant2, 3, 4, 1, 1)
        self.lblAPAssistant3 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant3.setObjectName(_fromUtf8("lblAPAssistant3"))
        self.gridLayout_3.addWidget(self.lblAPAssistant3, 3, 6, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblAPAmount = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPAmount.sizePolicy().hasHeightForWidth())
        self.lblAPAmount.setSizePolicy(sizePolicy)
        self.lblAPAmount.setObjectName(_fromUtf8("lblAPAmount"))
        self.horizontalLayout.addWidget(self.lblAPAmount)
        self.edtAPAmount = QtGui.QDoubleSpinBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPAmount.sizePolicy().hasHeightForWidth())
        self.edtAPAmount.setSizePolicy(sizePolicy)
        self.edtAPAmount.setMaximum(999.99)
        self.edtAPAmount.setObjectName(_fromUtf8("edtAPAmount"))
        self.horizontalLayout.addWidget(self.edtAPAmount)
        self.lblAPUet = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPUet.sizePolicy().hasHeightForWidth())
        self.lblAPUet.setSizePolicy(sizePolicy)
        self.lblAPUet.setObjectName(_fromUtf8("lblAPUet"))
        self.horizontalLayout.addWidget(self.lblAPUet)
        self.edtAPUet = QtGui.QDoubleSpinBox(self.attrsAP)
        self.edtAPUet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPUet.sizePolicy().hasHeightForWidth())
        self.edtAPUet.setSizePolicy(sizePolicy)
        self.edtAPUet.setSingleStep(0.5)
        self.edtAPUet.setObjectName(_fromUtf8("edtAPUet"))
        self.horizontalLayout.addWidget(self.edtAPUet)
        self.lblAPNote = QtGui.QLabel(self.attrsAP)
        self.lblAPNote.setObjectName(_fromUtf8("lblAPNote"))
        self.horizontalLayout.addWidget(self.lblAPNote)
        self.edtAPNote = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPNote.sizePolicy().hasHeightForWidth())
        self.edtAPNote.setSizePolicy(sizePolicy)
        self.edtAPNote.setObjectName(_fromUtf8("edtAPNote"))
        self.horizontalLayout.addWidget(self.edtAPNote)
        self.lblAPMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMKB.setSizePolicy(sizePolicy)
        self.lblAPMKB.setObjectName(_fromUtf8("lblAPMKB"))
        self.horizontalLayout.addWidget(self.lblAPMKB)
        self.cmbAPMKB = CICDCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMKB.setSizePolicy(sizePolicy)
        self.cmbAPMKB.setObjectName(_fromUtf8("cmbAPMKB"))
        self.horizontalLayout.addWidget(self.cmbAPMKB)
        self.lblAPMKBText = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKBText.sizePolicy().hasHeightForWidth())
        self.lblAPMKBText.setSizePolicy(sizePolicy)
        self.lblAPMKBText.setText(_fromUtf8(""))
        self.lblAPMKBText.setWordWrap(True)
        self.lblAPMKBText.setObjectName(_fromUtf8("lblAPMKBText"))
        self.horizontalLayout.addWidget(self.lblAPMKBText)
        self.gridLayout_3.addLayout(self.horizontalLayout, 5, 0, 1, 8)
        self.grpAPOrg = QtGui.QWidget(self.attrsAP)
        self.grpAPOrg.setObjectName(_fromUtf8("grpAPOrg"))
        self._2 = QtGui.QHBoxLayout(self.grpAPOrg)
        self._2.setMargin(1)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbAPOrg = CPolyclinicExtendedComboBox(self.grpAPOrg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPOrg.sizePolicy().hasHeightForWidth())
        self.cmbAPOrg.setSizePolicy(sizePolicy)
        self.cmbAPOrg.setObjectName(_fromUtf8("cmbAPOrg"))
        self.cmbAPOrg.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbAPOrg)
        self.btnAPSelectOrg = QtGui.QToolButton(self.grpAPOrg)
        self.btnAPSelectOrg.setObjectName(_fromUtf8("btnAPSelectOrg"))
        self._2.addWidget(self.btnAPSelectOrg)
        self.gridLayout_3.addWidget(self.grpAPOrg, 2, 1, 1, 3)
        self.cmbAPMorphologyMKB = CICDMorphologyCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.cmbAPMorphologyMKB.setMinimumSize(QtCore.QSize(0, 0))
        self.cmbAPMorphologyMKB.setObjectName(_fromUtf8("cmbAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.cmbAPMorphologyMKB, 2, 7, 1, 1)
        self.lblAPMorphologyMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.lblAPMorphologyMKB.setObjectName(_fromUtf8("lblAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.lblAPMorphologyMKB, 2, 6, 1, 1)
        self.lblHMPKind = QtGui.QLabel(self.attrsAP)
        self.lblHMPKind.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPKind.setObjectName(_fromUtf8("lblHMPKind"))
        self.gridLayout_3.addWidget(self.lblHMPKind, 6, 0, 1, 1)
        self.cmbHMPKind = CRBComboBox(self.attrsAP)
        self.cmbHMPKind.setObjectName(_fromUtf8("cmbHMPKind"))
        self.gridLayout_3.addWidget(self.cmbHMPKind, 6, 1, 1, 3)
        self.lblHMPMethod = QtGui.QLabel(self.attrsAP)
        self.lblHMPMethod.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPMethod.setObjectName(_fromUtf8("lblHMPMethod"))
        self.gridLayout_3.addWidget(self.lblHMPMethod, 6, 4, 1, 1)
        self.lblActionMes = QtGui.QLabel(self.attrsAP)
        self.lblActionMes.setObjectName(_fromUtf8("lblActionMes"))
        self.gridLayout_3.addWidget(self.lblActionMes, 6, 6, 1, 1)
        self.cmbActionMes = CMESComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbActionMes.sizePolicy().hasHeightForWidth())
        self.cmbActionMes.setSizePolicy(sizePolicy)
        self.cmbActionMes.setObjectName(_fromUtf8("cmbActionMes"))
        self.gridLayout_3.addWidget(self.cmbActionMes, 6, 7, 1, 1)
        self.verticalLayout.addWidget(self.attrsAP)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.btnToggleAttrsAP = QtGui.QPushButton(ActionsPageWidget)
        self.btnToggleAttrsAP.setMinimumSize(QtCore.QSize(0, 0))
        self.btnToggleAttrsAP.setMaximumSize(QtCore.QSize(40, 20))
        self.btnToggleAttrsAP.setCheckable(True)
        self.btnToggleAttrsAP.setChecked(False)
        self.btnToggleAttrsAP.setObjectName(_fromUtf8("btnToggleAttrsAP"))
        self.horizontalLayout_7.addWidget(self.btnToggleAttrsAP)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.scrollArea = QtGui.QScrollArea(ActionsPageWidget)
        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, 1009, 547))
        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.splitterAP = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitterAP.sizePolicy().hasHeightForWidth())
        self.splitterAP.setSizePolicy(sizePolicy)
        self.splitterAP.setOrientation(QtCore.Qt.Horizontal)
        self.splitterAP.setChildrenCollapsible(False)
        self.splitterAP.setObjectName(_fromUtf8("splitterAP"))
        self.tblAPActions = CActionsTableView(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblAPActions.sizePolicy().hasHeightForWidth())
        self.tblAPActions.setSizePolicy(sizePolicy)
        self.tblAPActions.setMinimumSize(QtCore.QSize(150, 0))
        self.tblAPActions.setObjectName(_fromUtf8("tblAPActions"))
        self.frameAP = QtGui.QFrame(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frameAP.sizePolicy().hasHeightForWidth())
        self.frameAP.setSizePolicy(sizePolicy)
        self.frameAP.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frameAP.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameAP.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameAP.setObjectName(_fromUtf8("frameAP"))
        self.gridLayout = QtGui.QGridLayout(self.frameAP)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblAPProps = CExActionPropertiesTableView(self.frameAP)
        self.tblAPProps.setEnabled(False)
        self.tblAPProps.setMinimumSize(QtCore.QSize(0, 250))
        self.tblAPProps.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setObjectName(_fromUtf8("tblAPProps"))
        self.gridLayout.addWidget(self.tblAPProps, 18, 0, 1, 2)
        self.frmAPButtonsBar = QtGui.QFrame(self.frameAP)
        self.frmAPButtonsBar.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAPButtonsBar.setFrameShadow(QtGui.QFrame.Plain)
        self.frmAPButtonsBar.setLineWidth(0)
        self.frmAPButtonsBar.setObjectName(_fromUtf8("frmAPButtonsBar"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmAPButtonsBar)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAPPrint = CPrintButton(self.frmAPButtonsBar)
        self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint"))
        self.horizontalLayout_4.addWidget(self.btnAPPrint)
        self.btnAPLoadTemplate = CActionTemplateChooseButton(self.frmAPButtonsBar)
        self.btnAPLoadTemplate.setObjectName(_fromUtf8("btnAPLoadTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadTemplate)
        self.btnAPSaveAsTemplate = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPSaveAsTemplate.setObjectName(_fromUtf8("btnAPSaveAsTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPSaveAsTemplate)
        self.btnAPLoadPrevAction = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPLoadPrevAction.setEnabled(False)
        self.btnAPLoadPrevAction.setObjectName(_fromUtf8("btnAPLoadPrevAction"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadPrevAction)
        spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAPButtonsBar, 19, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.splitterAP)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)

        self.retranslateUi(ActionsPageWidget)
        QtCore.QObject.connect(self.btnToggleAttrsAP, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.attrsAP.setHidden)
        QtCore.QMetaObject.connectSlotsByName(ActionsPageWidget)
        ActionsPageWidget.setTabOrder(self.cmbAPStatus, self.chkAPIsUrgent)
        ActionsPageWidget.setTabOrder(self.chkAPIsUrgent, self.edtAPDirectionDate)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionDate, self.edtAPDirectionTime)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionTime, self.cmbAPSetPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPSetPerson, self.edtAPBegDate)
        ActionsPageWidget.setTabOrder(self.edtAPBegDate, self.edtAPBegTime)
        ActionsPageWidget.setTabOrder(self.edtAPBegTime, self.edtAPOffice)
        ActionsPageWidget.setTabOrder(self.edtAPOffice, self.edtAPEndDate)
        ActionsPageWidget.setTabOrder(self.edtAPEndDate, self.edtAPEndTime)
        ActionsPageWidget.setTabOrder(self.edtAPEndTime, self.cmbAPPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPPerson, self.cmbAPOrg)
        ActionsPageWidget.setTabOrder(self.cmbAPOrg, self.btnAPSelectOrg)
        ActionsPageWidget.setTabOrder(self.btnAPSelectOrg, self.btnPlanNextAction)
        ActionsPageWidget.setTabOrder(self.btnPlanNextAction, self.btnNextAction)
        ActionsPageWidget.setTabOrder(self.btnNextAction, self.btnReanimation)
        ActionsPageWidget.setTabOrder(self.btnReanimation, self.btnMaternityWard)
        ActionsPageWidget.setTabOrder(self.btnMaternityWard, self.cmbAPMorphologyMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMorphologyMKB, self.cmbAPAssistant)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant, self.cmbAPAssistant2)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant2, self.cmbAPAssistant3)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant3, self.edtAPAmount)
        ActionsPageWidget.setTabOrder(self.edtAPAmount, self.edtAPUet)
        ActionsPageWidget.setTabOrder(self.edtAPUet, self.edtAPNote)
        ActionsPageWidget.setTabOrder(self.edtAPNote, self.cmbAPMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMKB, self.cmbHMPKind)
        ActionsPageWidget.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod)
        ActionsPageWidget.setTabOrder(self.cmbHMPMethod, self.cmbActionMes)
        ActionsPageWidget.setTabOrder(self.cmbActionMes, self.btnToggleAttrsAP)
        ActionsPageWidget.setTabOrder(self.btnToggleAttrsAP, self.scrollArea)
        ActionsPageWidget.setTabOrder(self.scrollArea, self.tblAPActions)
        ActionsPageWidget.setTabOrder(self.tblAPActions, self.tblAPProps)
        ActionsPageWidget.setTabOrder(self.tblAPProps, self.btnAPPrint)
        ActionsPageWidget.setTabOrder(self.btnAPPrint, self.btnAPLoadTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPLoadTemplate, self.btnAPSaveAsTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPSaveAsTemplate, self.btnAPLoadPrevAction)
Exemple #19
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))
class Ui_ReportVisitsByClientTypeSetupDialog(object):
    def setupUi(self, ReportVisitsByClientTypeSetupDialog):
        ReportVisitsByClientTypeSetupDialog.setObjectName(
            _fromUtf8("ReportVisitsByClientTypeSetupDialog"))
        ReportVisitsByClientTypeSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportVisitsByClientTypeSetupDialog.resize(363, 321)
        ReportVisitsByClientTypeSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(
            ReportVisitsByClientTypeSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCitizen = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCitizen.sizePolicy().hasHeightForWidth())
        self.lblCitizen.setSizePolicy(sizePolicy)
        self.lblCitizen.setObjectName(_fromUtf8("lblCitizen"))
        self.gridLayout.addWidget(self.lblCitizen, 6, 0, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.lblMKBTo = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBTo.sizePolicy().hasHeightForWidth())
        self.lblMKBTo.setSizePolicy(sizePolicy)
        self.lblMKBTo.setObjectName(_fromUtf8("lblMKBTo"))
        self.gridLayout.addWidget(self.lblMKBTo, 5, 5, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.lblEndDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.cmbMKBFrom = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFrom.sizePolicy().hasHeightForWidth())
        self.cmbMKBFrom.setSizePolicy(sizePolicy)
        self.cmbMKBFrom.setObjectName(_fromUtf8("cmbMKBFrom"))
        self.gridLayout.addWidget(self.cmbMKBFrom, 5, 3, 1, 1)
        self.lblMKBRange = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBRange.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBRange.sizePolicy().hasHeightForWidth())
        self.lblMKBRange.setSizePolicy(sizePolicy)
        self.lblMKBRange.setObjectName(_fromUtf8("lblMKBRange"))
        self.gridLayout.addWidget(self.lblMKBRange, 5, 1, 1, 1)
        self.lblMKBFrom = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBFrom.sizePolicy().hasHeightForWidth())
        self.lblMKBFrom.setSizePolicy(sizePolicy)
        self.lblMKBFrom.setObjectName(_fromUtf8("lblMKBFrom"))
        self.gridLayout.addWidget(self.lblMKBFrom, 5, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportVisitsByClientTypeSetupDialog)
        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, 5)
        self.edtBegDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        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, 2, 1, 5)
        self.cmbIsPrimary = QtGui.QComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsPrimary, 3, 2, 1, 5)
        self.chbMKBFilter = QtGui.QCheckBox(
            ReportVisitsByClientTypeSetupDialog)
        self.chbMKBFilter.setText(_fromUtf8(""))
        self.chbMKBFilter.setObjectName(_fromUtf8("chbMKBFilter"))
        self.gridLayout.addWidget(self.chbMKBFilter, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 4, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 2, 1, 5)
        self.lblPrimaryStatus = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPrimaryStatus.sizePolicy().hasHeightForWidth())
        self.lblPrimaryStatus.setSizePolicy(sizePolicy)
        self.lblPrimaryStatus.setObjectName(_fromUtf8("lblPrimaryStatus"))
        self.gridLayout.addWidget(self.lblPrimaryStatus, 3, 0, 1, 2)
        self.edtEndDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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, 5)
        self.cmbMKBTo = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBTo.sizePolicy().hasHeightForWidth())
        self.cmbMKBTo.setSizePolicy(sizePolicy)
        self.cmbMKBTo.setObjectName(_fromUtf8("cmbMKBTo"))
        self.gridLayout.addWidget(self.cmbMKBTo, 5, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ReportVisitsByClientTypeSetupDialog)
        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, 2, 1, 5)
        self.cmbCitizen = QtGui.QComboBox(ReportVisitsByClientTypeSetupDialog)
        self.cmbCitizen.setObjectName(_fromUtf8("cmbCitizen"))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCitizen, 6, 2, 1, 5)
        self.lblCitizen.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblMKBRange.setBuddy(self.cmbOrgStructure)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPrimaryStatus.setBuddy(self.cmbEventType)

        self.retranslateUi(ReportVisitsByClientTypeSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportVisitsByClientTypeSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportVisitsByClientTypeSetupDialog.reject)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBRange.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBTo.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBTo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(
            ReportVisitsByClientTypeSetupDialog)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtBegDate, self.edtEndDate)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtEndDate, self.cmbEventType)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.cmbEventType, self.cmbOrgStructure)

    def retranslateUi(self, ReportVisitsByClientTypeSetupDialog):
        ReportVisitsByClientTypeSetupDialog.setWindowTitle(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "параметры отчёта", None))
        self.lblCitizen.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Житель", None))
        self.lblBegDate.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Дата &начала периода", None))
        self.lblMKBTo.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "по", None))
        self.lblEventType.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Тип обращения",
                       None))
        self.lblEndDate.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Дата &окончания периода", None))
        self.lblMKBRange.setText(
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "&Диапазон диагнозов:", None))
        self.lblMKBFrom.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "с", None))
        self.cmbIsPrimary.setItemText(
            0,
            _translate("ReportVisitsByClientTypeSetupDialog", "Не заполнять",
                       None))
        self.cmbIsPrimary.setItemText(
            1,
            _translate("ReportVisitsByClientTypeSetupDialog", "Первичное",
                       None))
        self.cmbIsPrimary.setItemText(
            2,
            _translate("ReportVisitsByClientTypeSetupDialog", "Повторное",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Подразделение",
                       None))
        self.lblPrimaryStatus.setText(
            _translate("ReportVisitsByClientTypeSetupDialog", "&Вид обращения",
                       None))
        self.cmbCitizen.setItemText(
            0,
            _translate("ReportVisitsByClientTypeSetupDialog", "Не заполнять",
                       None))
        self.cmbCitizen.setItemText(
            1,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Житель Санкт-Петербурга", None))
        self.cmbCitizen.setItemText(
            2,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Житель Лен. области", None))
        self.cmbCitizen.setItemText(
            3,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Иногородний житель", None))
        self.cmbCitizen.setItemText(
            4,
            _translate("ReportVisitsByClientTypeSetupDialog", "Иностранец",
                       None))
        self.cmbCitizen.setItemText(
            5,
            _translate("ReportVisitsByClientTypeSetupDialog",
                       "Сельский житель", None))
Exemple #21
0
class Ui_EventNotesPageWidget(object):
    def setupUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setObjectName(_fromUtf8("EventNotesPageWidget"))
        EventNotesPageWidget.resize(732, 659)
        self.verticalLayout = QtGui.QVBoxLayout(EventNotesPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(EventNotesPageWidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMain)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabMain)
        self.scrollArea.setMinimumSize(QtCore.QSize(700, 0))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 680, 1010))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbCureType = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureType.sizePolicy().hasHeightForWidth())
        self.cmbCureType.setSizePolicy(sizePolicy)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout.addWidget(self.cmbCureType, 28, 1, 1, 3)
        self.edtPlannedDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout.addWidget(self.edtPlannedDate, 10, 1, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.scrollAreaWidgetContents)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 15, 1, 1, 3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbRelegateOrg = CPolyclinicComboBox(self.scrollAreaWidgetContents)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.horizontalLayout.addWidget(self.cmbRelegateOrg)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectRelegateOrg.setObjectName(_fromUtf8("btnSelectRelegateOrg"))
        self.horizontalLayout.addWidget(self.btnSelectRelegateOrg)
        self.gridLayout.addLayout(self.horizontalLayout, 11, 1, 1, 3)
        self.lblRelegateOrg = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout.addWidget(self.lblRelegateOrg, 11, 0, 1, 1)
        self.cmbCureMethod = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureMethod.sizePolicy().hasHeightForWidth())
        self.cmbCureMethod.setSizePolicy(sizePolicy)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout.addWidget(self.cmbCureMethod, 29, 1, 1, 3)
        self.lblEventCreateDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreateDateTime.setObjectName(_fromUtf8("lblEventCreateDateTime"))
        self.gridLayout.addWidget(self.lblEventCreateDateTime, 23, 0, 1, 1)
        self.lblArmyDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout.addWidget(self.lblArmyDate, 18, 0, 1, 1)
        self.lblEventCuratorIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCuratorIdValue.setObjectName(_fromUtf8("lblEventCuratorIdValue"))
        self.gridLayout.addWidget(self.lblEventCuratorIdValue, 22, 0, 1, 1)
        self.lblEventCreatePersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreatePersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreatePersonValue.setSizePolicy(sizePolicy)
        self.lblEventCreatePersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreatePersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreatePersonValue.setText(_fromUtf8(""))
        self.lblEventCreatePersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreatePersonValue.setObjectName(_fromUtf8("lblEventCreatePersonValue"))
        self.gridLayout.addWidget(self.lblEventCreatePersonValue, 24, 1, 1, 3)
        self.chkLock = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLock.setEnabled(False)
        self.chkLock.setText(_fromUtf8(""))
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridLayout.addWidget(self.chkLock, 32, 1, 1, 3)
        self.edtPerson = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPerson.setMinimumSize(QtCore.QSize(347, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout.addWidget(self.edtPerson, 13, 1, 1, 3)
        self.chkArmyReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyReferral.setObjectName(_fromUtf8("chkArmyReferral"))
        self.gridLayout.addWidget(self.chkArmyReferral, 16, 0, 1, 4)
        self.edtPrevEventInfo = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPrevEventInfo.setEnabled(False)
        self.edtPrevEventInfo.setObjectName(_fromUtf8("edtPrevEventInfo"))
        self.gridLayout.addWidget(self.edtPrevEventInfo, 2, 1, 1, 3)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventAssistantIdValue.setObjectName(_fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout.addWidget(self.lblEventAssistantIdValue, 21, 0, 1, 1)
        self.lblEventCreatePerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreatePerson.setObjectName(_fromUtf8("lblEventCreatePerson"))
        self.gridLayout.addWidget(self.lblEventCreatePerson, 24, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbClientPolicy = CClientPolicyComboBox(self.scrollAreaWidgetContents)
        self.cmbClientPolicy.setObjectName(_fromUtf8("cmbClientPolicy"))
        self.gridLayout.addWidget(self.cmbClientPolicy, 4, 1, 1, 3)
        self.lblArmyNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout.addWidget(self.lblArmyNumber, 17, 0, 1, 1)
        self.lblNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 8, 0, 1, 1)
        self.cmbEventCurator = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventCurator.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventCurator.sizePolicy().hasHeightForWidth())
        self.cmbEventCurator.setSizePolicy(sizePolicy)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout.addWidget(self.cmbEventCurator, 22, 1, 1, 3)
        self.lblCureType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout.addWidget(self.lblCureType, 28, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(321, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 3)
        self.lblClientPolicy = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblClientPolicy.setObjectName(_fromUtf8("lblClientPolicy"))
        self.gridLayout.addWidget(self.lblClientPolicy, 4, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.cmbArmyOrg = CArmyOrgComboBox(self.scrollAreaWidgetContents)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.horizontalLayout_4.addWidget(self.cmbArmyOrg)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.horizontalLayout_4.addWidget(self.btnSelectArmyOrg)
        self.gridLayout.addLayout(self.horizontalLayout_4, 19, 1, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.chkArmyFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyFreeInput.setText(_fromUtf8(""))
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.chkArmyFreeInput)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtArmyFreeInput.setEnabled(False)
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.edtArmyFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_3, 20, 1, 1, 3)
        self.cmbEventAssistant = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventAssistant.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventAssistant.sizePolicy().hasHeightForWidth())
        self.cmbEventAssistant.setSizePolicy(sizePolicy)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout.addWidget(self.cmbEventAssistant, 21, 1, 1, 3)
        self.lblPrevEvent = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPrevEvent.setObjectName(_fromUtf8("lblPrevEvent"))
        self.gridLayout.addWidget(self.lblPrevEvent, 2, 0, 1, 1)
        self.cmbPatientModel = CModelPatientComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPatientModel.sizePolicy().hasHeightForWidth())
        self.cmbPatientModel.setSizePolicy(sizePolicy)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout.addWidget(self.cmbPatientModel, 27, 1, 1, 3)
        self.edtDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 9, 1, 1, 3)
        self.btnExternalIdupd = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnExternalIdupd.setVisible(False)
        self.btnExternalIdupd.setObjectName(_fromUtf8("btnExternalIdupd"))
        self.gridLayout.addWidget(self.btnExternalIdupd, 3, 1, 1, 1)
        self.lblEventExternalId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventExternalId.setObjectName(_fromUtf8("lblEventExternalId"))
        self.gridLayout.addWidget(self.lblEventExternalId, 1, 0, 1, 1)
        self.lblEventNote = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventNote.sizePolicy().hasHeightForWidth())
        self.lblEventNote.setSizePolicy(sizePolicy)
        self.lblEventNote.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblEventNote.setObjectName(_fromUtf8("lblEventNote"))
        self.gridLayout.addWidget(self.lblEventNote, 31, 0, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout.addWidget(self.lblPlannedDate, 10, 0, 1, 1)
        self.lblEventModifyPersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyPersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyPersonValue.setSizePolicy(sizePolicy)
        self.lblEventModifyPersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyPersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyPersonValue.setText(_fromUtf8(""))
        self.lblEventModifyPersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyPersonValue.setObjectName(_fromUtf8("lblEventModifyPersonValue"))
        self.gridLayout.addWidget(self.lblEventModifyPersonValue, 26, 1, 1, 3)
        self.lblCureMethod = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout.addWidget(self.lblCureMethod, 29, 0, 1, 1)
        self.chkLPUReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLPUReferral.setObjectName(_fromUtf8("chkLPUReferral"))
        self.gridLayout.addWidget(self.chkLPUReferral, 6, 0, 1, 4)
        self.edtEventNote = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.edtEventNote.setObjectName(_fromUtf8("edtEventNote"))
        self.gridLayout.addWidget(self.edtEventNote, 31, 1, 1, 3)
        self.lblDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 9, 0, 1, 1)
        self.edtEventExternalIdValue = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtEventExternalIdValue.setEnabled(False)
        self.edtEventExternalIdValue.setObjectName(_fromUtf8("edtEventExternalIdValue"))
        self.gridLayout.addWidget(self.edtEventExternalIdValue, 1, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 15, 0, 1, 1)
        self.lblEventModifyDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyDateTime.setObjectName(_fromUtf8("lblEventModifyDateTime"))
        self.gridLayout.addWidget(self.lblEventModifyDateTime, 25, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout.addWidget(self.lblPatientModel, 27, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkFreeInput.setText(_fromUtf8(""))
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.horizontalLayout_2.addWidget(self.chkFreeInput)
        self.edtFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtFreeInput.setEnabled(False)
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.horizontalLayout_2.addWidget(self.edtFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_2, 12, 1, 1, 3)
        self.lblEventCreateDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreateDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreateDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventCreateDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreateDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreateDateTimeValue.setText(_fromUtf8(""))
        self.lblEventCreateDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreateDateTimeValue.setObjectName(_fromUtf8("lblEventCreateDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventCreateDateTimeValue, 23, 1, 1, 3)
        self.lblArmyFreeInput = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout.addWidget(self.lblArmyFreeInput, 19, 0, 1, 1)
        self.lblEventId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout.addWidget(self.lblEventId, 0, 0, 1, 1)
        self.lblEventIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventIdValue.sizePolicy().hasHeightForWidth())
        self.lblEventIdValue.setSizePolicy(sizePolicy)
        self.lblEventIdValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventIdValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventIdValue.setText(_fromUtf8(""))
        self.lblEventIdValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventIdValue.setObjectName(_fromUtf8("lblEventIdValue"))
        self.gridLayout.addWidget(self.lblEventIdValue, 0, 1, 1, 3)
        self.lblLock = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblLock.setEnabled(False)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridLayout.addWidget(self.lblLock, 32, 0, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout.addWidget(self.cmbArmyNumber, 17, 1, 1, 3)
        self.lblEventModifyDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventModifyDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyDateTimeValue.setText(_fromUtf8(""))
        self.lblEventModifyDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyDateTimeValue.setObjectName(_fromUtf8("lblEventModifyDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventModifyDateTimeValue, 25, 1, 1, 3)
        self.lblEventModifyPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyPerson.setObjectName(_fromUtf8("lblEventModifyPerson"))
        self.gridLayout.addWidget(self.lblEventModifyPerson, 26, 0, 1, 1)
        self.edtArmyDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout.addWidget(self.edtArmyDate, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 13, 0, 1, 1)
        self.lblRefType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRefType.setObjectName(_fromUtf8("lblRefType"))
        self.gridLayout.addWidget(self.lblRefType, 7, 0, 1, 1)
        self.cmbReferralType = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 7, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 8, 1, 1, 3)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_2.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabIEMK = QtGui.QWidget()
        self.tabIEMK.setObjectName(_fromUtf8("tabIEMK"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabIEMK)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.txtBrowserIEMKHistoryLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKHistoryLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKHistoryLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKHistoryLog.setObjectName(_fromUtf8("txtBrowserIEMKHistoryLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKHistoryLog, 1, 0, 1, 4)
        self.btnSendCase = QtGui.QPushButton(self.tabIEMK)
        self.btnSendCase.setObjectName(_fromUtf8("btnSendCase"))
        self.gridLayout_3.addWidget(self.btnSendCase, 9, 2, 1, 2)
        self.btnSendClient = QtGui.QPushButton(self.tabIEMK)
        self.btnSendClient.setObjectName(_fromUtf8("btnSendClient"))
        self.gridLayout_3.addWidget(self.btnSendClient, 9, 0, 1, 2)
        self.label = QtGui.QLabel(self.tabIEMK)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 4)
        self.chkWebEpicrisis = QtGui.QCheckBox(self.tabIEMK)
        self.chkWebEpicrisis.setObjectName(_fromUtf8("chkWebEpicrisis"))
        self.gridLayout_3.addWidget(self.chkWebEpicrisis, 8, 0, 1, 4)
        self.txtBrowserIEMKCurrentLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKCurrentLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKCurrentLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKCurrentLog.setObjectName(_fromUtf8("txtBrowserIEMKCurrentLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKCurrentLog, 3, 0, 1, 4)
        self.label_3 = QtGui.QLabel(self.tabIEMK)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 4, 0, 1, 1)
        self.edtCaseURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtCaseURL.setObjectName(_fromUtf8("edtCaseURL"))
        self.gridLayout_3.addWidget(self.edtCaseURL, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(self.tabIEMK)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 2, 0, 1, 4)
        self.edtPixURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtPixURL.setObjectName(_fromUtf8("edtPixURL"))
        self.gridLayout_3.addWidget(self.edtPixURL, 5, 1, 1, 3)
        self.label_4 = QtGui.QLabel(self.tabIEMK)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 5, 0, 1, 1)
        self.btnCreateService = QtGui.QPushButton(self.tabIEMK)
        self.btnCreateService.setObjectName(_fromUtf8("btnCreateService"))
        self.gridLayout_3.addWidget(self.btnCreateService, 7, 0, 1, 4)
        self.label_5 = QtGui.QLabel(self.tabIEMK)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 6, 0, 1, 1)
        self.edtGUID = QtGui.QLineEdit(self.tabIEMK)
        self.edtGUID.setObjectName(_fromUtf8("edtGUID"))
        self.gridLayout_3.addWidget(self.edtGUID, 6, 1, 1, 3)
        self.tabWidget.addTab(self.tabIEMK, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblEventCuratorIdValue.setBuddy(self.cmbEventCurator)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblEventExternalId.setBuddy(self.edtEventExternalIdValue)
        self.lblEventNote.setBuddy(self.edtEventNote)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblDate.setBuddy(self.edtDate)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblLock.setBuddy(self.chkLock)
        self.lblPerson.setBuddy(self.edtPerson)

        self.retranslateUi(EventNotesPageWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(EventNotesPageWidget)
        EventNotesPageWidget.setTabOrder(self.edtEventExternalIdValue, self.edtPrevEventInfo)
        EventNotesPageWidget.setTabOrder(self.edtPrevEventInfo, self.cmbClientPolicy)
        EventNotesPageWidget.setTabOrder(self.cmbClientPolicy, self.chkLPUReferral)
        EventNotesPageWidget.setTabOrder(self.chkLPUReferral, self.cmbReferralType)
        EventNotesPageWidget.setTabOrder(self.cmbReferralType, self.edtNumber)
        EventNotesPageWidget.setTabOrder(self.edtNumber, self.edtDate)
        EventNotesPageWidget.setTabOrder(self.edtDate, self.edtPlannedDate)
        EventNotesPageWidget.setTabOrder(self.edtPlannedDate, self.cmbRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectRelegateOrg, self.chkFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtFreeInput, self.edtPerson)
        EventNotesPageWidget.setTabOrder(self.edtPerson, self.cmbSpeciality)
        EventNotesPageWidget.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        EventNotesPageWidget.setTabOrder(self.cmbMKB, self.chkArmyReferral)
        EventNotesPageWidget.setTabOrder(self.chkArmyReferral, self.cmbArmyNumber)
        EventNotesPageWidget.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        EventNotesPageWidget.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        EventNotesPageWidget.setTabOrder(self.cmbArmyOrg, self.btnSelectArmyOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectArmyOrg, self.chkArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkArmyFreeInput, self.edtArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtArmyFreeInput, self.cmbEventAssistant)
        EventNotesPageWidget.setTabOrder(self.cmbEventAssistant, self.cmbEventCurator)
        EventNotesPageWidget.setTabOrder(self.cmbEventCurator, self.chkLock)
        EventNotesPageWidget.setTabOrder(self.chkLock, self.cmbCureType)
        EventNotesPageWidget.setTabOrder(self.cmbCureType, self.cmbPatientModel)
        EventNotesPageWidget.setTabOrder(self.cmbPatientModel, self.cmbCureMethod)
        EventNotesPageWidget.setTabOrder(self.cmbCureMethod, self.edtEventNote)

    def retranslateUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setWindowTitle(_translate("EventNotesPageWidget", "Form", None))
        self.edtPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.btnSelectRelegateOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblRelegateOrg.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventCreateDateTime.setText(_translate("EventNotesPageWidget", "Дата и время создания", None))
        self.lblArmyDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblEventCuratorIdValue.setText(_translate("EventNotesPageWidget", "Куратор", None))
        self.chkArmyReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из военкомата", None))
        self.lblEventAssistantIdValue.setText(_translate("EventNotesPageWidget", "Ассистент", None))
        self.lblEventCreatePerson.setText(_translate("EventNotesPageWidget", "Автор", None))
        self.lblSpeciality.setText(_translate("EventNotesPageWidget", "Специальность", None))
        self.lblArmyNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblNumber.setText(_translate("EventNotesPageWidget", "Номер направления", None))
        self.lblCureType.setText(_translate("EventNotesPageWidget", "Вид лечения", None))
        self.cmbSpeciality.setWhatsThis(_translate("EventNotesPageWidget", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None))
        self.lblClientPolicy.setText(_translate("EventNotesPageWidget", "Полис пациента", None))
        self.btnSelectArmyOrg.setText(_translate("EventNotesPageWidget", "...", None))
        self.lblPrevEvent.setText(_translate("EventNotesPageWidget", "Предыдущее событие", None))
        self.btnExternalIdupd.setText(_translate("EventNotesPageWidget", "Обновить внешний индентификатор записи", None))
        self.lblEventExternalId.setText(_translate("EventNotesPageWidget", "Внешний идентификатор записи", None))
        self.lblEventNote.setText(_translate("EventNotesPageWidget", "Примечания", None))
        self.lblPlannedDate.setToolTip(_translate("EventNotesPageWidget", "Заполняется только для направлений на ВМП", None))
        self.lblPlannedDate.setText(_translate("EventNotesPageWidget", "Дата планируемой госпитализации", None))
        self.lblCureMethod.setText(_translate("EventNotesPageWidget", "Метод лечения", None))
        self.chkLPUReferral.setText(_translate("EventNotesPageWidget", "Прикрепить направление из ЛПУ", None))
        self.lblDate.setText(_translate("EventNotesPageWidget", "Дата выдачи направления", None))
        self.lblDiagnosis.setText(_translate("EventNotesPageWidget", "Диагноз", None))
        self.lblEventModifyDateTime.setText(_translate("EventNotesPageWidget", "Дата и время последнего изменения", None))
        self.lblPatientModel.setText(_translate("EventNotesPageWidget", "Модель пациента", None))
        self.lblArmyFreeInput.setText(_translate("EventNotesPageWidget", "Направитель", None))
        self.lblEventId.setText(_translate("EventNotesPageWidget", "Идентификатор записи", None))
        self.lblLock.setText(_translate("EventNotesPageWidget", "Заблокировать обращение", None))
        self.lblEventModifyPerson.setText(_translate("EventNotesPageWidget", "Автор последнего изменения", None))
        self.lblPerson.setText(_translate("EventNotesPageWidget", "Врач", None))
        self.lblRefType.setText(_translate("EventNotesPageWidget", "Тип направления", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabMain), _translate("EventNotesPageWidget", "Основное", None))
        self.btnSendCase.setText(_translate("EventNotesPageWidget", "Отправить случай", None))
        self.btnSendClient.setText(_translate("EventNotesPageWidget", "Отправить человека", None))
        self.label.setText(_translate("EventNotesPageWidget", "История посылок", None))
        self.chkWebEpicrisis.setText(_translate("EventNotesPageWidget", "Посылать веб эпикризы", None))
        self.label_3.setText(_translate("EventNotesPageWidget", "Адрес сервиса случаев", None))
        self.label_2.setText(_translate("EventNotesPageWidget", "Лог текущей посылки", None))
        self.label_4.setText(_translate("EventNotesPageWidget", "Адрес сервиса пациентов", None))
        self.btnCreateService.setText(_translate("EventNotesPageWidget", "Использовать адреса", None))
        self.label_5.setText(_translate("EventNotesPageWidget", "GUID", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabIEMK), _translate("EventNotesPageWidget", "ЭМК", None))
Exemple #22
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(560, 487)
        Dialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.edtBegTime = QtGui.QTimeEdit(Dialog)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridlayout.addWidget(self.edtBegTime, 2, 2, 1, 1)
        self.label_11 = QtGui.QLabel(Dialog)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridlayout.addWidget(self.label_11, 3, 0, 1, 1)
        self.lblTraumaType = QtGui.QLabel(Dialog)
        self.lblTraumaType.setObjectName(_fromUtf8("lblTraumaType"))
        self.gridlayout.addWidget(self.lblTraumaType, 6, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 2, 3, 1, 2)
        self.edtCardNo = QtGui.QLineEdit(Dialog)
        self.edtCardNo.setObjectName(_fromUtf8("edtCardNo"))
        self.gridlayout.addWidget(self.edtCardNo, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 8, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 6, 4, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(Dialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 3)
        self.edtEndDate = CDateEdit(Dialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 3, 1, 1, 1)
        self.edtBegDate = CDateEdit(Dialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 2, 1, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(Dialog)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridlayout.addWidget(self.edtEndTime, 3, 2, 1, 1)
        self.lblCardNo = QtGui.QLabel(Dialog)
        self.lblCardNo.setObjectName(_fromUtf8("lblCardNo"))
        self.gridlayout.addWidget(self.lblCardNo, 1, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(Dialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        self.lblOrder = QtGui.QLabel(Dialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridlayout.addWidget(self.lblOrder, 5, 0, 1, 1)
        self.txtClientInfoBrowser = CTextBrowser(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setMaximumSize(
            QtCore.QSize(16777215, 16777215))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.gridlayout.addWidget(self.txtClientInfoBrowser, 0, 0, 1, 5)
        self.label_12 = QtGui.QLabel(Dialog)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridlayout.addWidget(self.label_12, 2, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 1, 2, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem4, 3, 3, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 7, 4, 1, 1)
        self.cmbTraumaType = CRBComboBox(Dialog)
        self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType"))
        self.gridlayout.addWidget(self.cmbTraumaType, 6, 1, 1, 3)
        self.edtMKBEx = CICDCodeEditEx(Dialog)
        self.edtMKBEx.setObjectName(_fromUtf8("edtMKBEx"))
        self.gridlayout.addWidget(self.edtMKBEx, 7, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem6, 4, 4, 1, 1)
        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.gridlayout.addWidget(self.buttonBox, 10, 0, 1, 5)
        self.cmbResult = CRBComboBox(Dialog)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.gridlayout.addWidget(self.cmbResult, 8, 1, 1, 3)
        self.lblResult = QtGui.QLabel(Dialog)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridlayout.addWidget(self.lblResult, 8, 0, 1, 1)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.gridlayout.addWidget(self.statusBar, 11, 0, 1, 5)
        self.lblMKB = QtGui.QLabel(Dialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(Dialog)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridlayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem7, 5, 4, 1, 1)
        self.cmbOrder = CRBComboBox(Dialog)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbOrder, 5, 1, 1, 3)
        self.lblLock = QtGui.QLabel(Dialog)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridlayout.addWidget(self.lblLock, 9, 0, 1, 1)
        self.chkLock = QtGui.QCheckBox(Dialog)
        self.chkLock.setEnabled(False)
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridlayout.addWidget(self.chkLock, 9, 1, 1, 4)
        self.label_11.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.label_12.setBuddy(self.edtBegDate)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblLock.setBuddy(self.chkLock)

        self.retranslateUi(Dialog)
        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.txtClientInfoBrowser, self.edtCardNo)
        Dialog.setTabOrder(self.edtCardNo, 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.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbTraumaType)
        Dialog.setTabOrder(self.cmbTraumaType, self.edtMKB)
        Dialog.setTabOrder(self.edtMKB, self.edtMKBEx)
        Dialog.setTabOrder(self.edtMKBEx, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.buttonBox)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.edtBegTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.label_11.setText(_translate("Dialog", "Дата обращения", None))
        self.lblTraumaType.setText(_translate("Dialog", "Тип травмы", None))
        self.cmbPerson.setWhatsThis(
            _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.edtEndDate.setWhatsThis(
            _translate("Dialog", "дата окончания осмотра", None))
        self.edtBegDate.setWhatsThis(
            _translate("Dialog", "дата начала осмотра", None))
        self.edtEndTime.setDisplayFormat(_translate("Dialog", "HH:mm", None))
        self.lblCardNo.setText(_translate("Dialog", "Номер карты", None))
        self.lblPerson.setText(_translate("Dialog", "Ответственный", None))
        self.lblOrder.setText(_translate("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:\'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; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.label_12.setText(_translate("Dialog", "Дата происшествия", None))
        self.lblResult.setText(_translate("Dialog", "Результат", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.",
                                               None))
        self.lblMKB.setText(_translate("Dialog", "Диагноз", None))
        self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None))
        self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None))
        self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение",
                                                None))
        self.cmbOrder.setItemText(4,
                                  _translate("Dialog", "Принудительный", None))
        self.cmbOrder.setItemText(5, _translate("Dialog", "Из стационара",
                                                None))
        self.cmbOrder.setItemText(6, _translate("Dialog", "Из др. ЛПУ", None))
        self.cmbOrder.setItemText(
            7, _translate("Dialog", "Освидетельствование", None))
        self.lblLock.setText(_translate("Dialog", "Заблокировать", None))
        self.chkLock.setText(
            _translate("Dialog", "Не разрешать редактировать обращение", None))
Exemple #23
0
    def setupUi(self, MKBMorphologyEditor):
        MKBMorphologyEditor.setObjectName(_fromUtf8("MKBMorphologyEditor"))
        MKBMorphologyEditor.resize(336, 168)
        MKBMorphologyEditor.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(MKBMorphologyEditor)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCode = QtGui.QLabel(MKBMorphologyEditor)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 0, 0, 1, 1)
        self.edtCode = QtGui.QLineEdit(MKBMorphologyEditor)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 2)
        self.lblName = QtGui.QLabel(MKBMorphologyEditor)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 1, 0, 1, 1)
        self.edtName = QtGui.QLineEdit(MKBMorphologyEditor)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 1, 1, 1, 2)
        self.lblGroup = QtGui.QLabel(MKBMorphologyEditor)
        self.lblGroup.setObjectName(_fromUtf8("lblGroup"))
        self.gridLayout.addWidget(self.lblGroup, 4, 0, 1, 1)
        self.lblDiagRange1 = QtGui.QLabel(MKBMorphologyEditor)
        self.lblDiagRange1.setObjectName(_fromUtf8("lblDiagRange1"))
        self.gridLayout.addWidget(self.lblDiagRange1, 6, 0, 1, 1)
        self.frmDiagRange2 = QtGui.QFrame(MKBMorphologyEditor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDiagRange2.sizePolicy().hasHeightForWidth())
        self.frmDiagRange2.setSizePolicy(sizePolicy)
        self.frmDiagRange2.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDiagRange2.setFrameShadow(QtGui.QFrame.Plain)
        self.frmDiagRange2.setLineWidth(0)
        self.frmDiagRange2.setObjectName(_fromUtf8("frmDiagRange2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.frmDiagRange2)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblDiagRangeFrom2 = QtGui.QLabel(self.frmDiagRange2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeFrom2.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeFrom2.setSizePolicy(sizePolicy)
        self.lblDiagRangeFrom2.setObjectName(_fromUtf8("lblDiagRangeFrom2"))
        self.gridLayout_3.addWidget(self.lblDiagRangeFrom2, 0, 0, 1, 1)
        self.cmbDiagRangeFrom2 = CICDCodeEditEx(self.frmDiagRange2)
        self.cmbDiagRangeFrom2.setObjectName(_fromUtf8("cmbDiagRangeFrom2"))
        self.gridLayout_3.addWidget(self.cmbDiagRangeFrom2, 0, 1, 1, 1)
        self.lblDiagRangeTo2 = QtGui.QLabel(self.frmDiagRange2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeTo2.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeTo2.setSizePolicy(sizePolicy)
        self.lblDiagRangeTo2.setObjectName(_fromUtf8("lblDiagRangeTo2"))
        self.gridLayout_3.addWidget(self.lblDiagRangeTo2, 0, 2, 1, 1)
        self.cmbDiagRangeTo2 = CICDCodeEditEx(self.frmDiagRange2)
        self.cmbDiagRangeTo2.setObjectName(_fromUtf8("cmbDiagRangeTo2"))
        self.gridLayout_3.addWidget(self.cmbDiagRangeTo2, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmDiagRange2, 8, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(MKBMorphologyEditor)
        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, 3)
        self.lblDiagRange2 = QtGui.QLabel(MKBMorphologyEditor)
        self.lblDiagRange2.setObjectName(_fromUtf8("lblDiagRange2"))
        self.gridLayout.addWidget(self.lblDiagRange2, 8, 0, 1, 1)
        self.cmbGroup = CRBComboBox(MKBMorphologyEditor)
        self.cmbGroup.setObjectName(_fromUtf8("cmbGroup"))
        self.gridLayout.addWidget(self.cmbGroup, 4, 1, 1, 2)
        self.frmDiagRange1 = QtGui.QFrame(MKBMorphologyEditor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDiagRange1.sizePolicy().hasHeightForWidth())
        self.frmDiagRange1.setSizePolicy(sizePolicy)
        self.frmDiagRange1.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDiagRange1.setFrameShadow(QtGui.QFrame.Plain)
        self.frmDiagRange1.setLineWidth(0)
        self.frmDiagRange1.setObjectName(_fromUtf8("frmDiagRange1"))
        self.gridLayout_2 = QtGui.QGridLayout(self.frmDiagRange1)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblDiagRangeFrom1 = QtGui.QLabel(self.frmDiagRange1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeFrom1.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeFrom1.setSizePolicy(sizePolicy)
        self.lblDiagRangeFrom1.setObjectName(_fromUtf8("lblDiagRangeFrom1"))
        self.gridLayout_2.addWidget(self.lblDiagRangeFrom1, 0, 0, 1, 1)
        self.cmbDiagRangeFrom1 = CICDCodeEditEx(self.frmDiagRange1)
        self.cmbDiagRangeFrom1.setObjectName(_fromUtf8("cmbDiagRangeFrom1"))
        self.gridLayout_2.addWidget(self.cmbDiagRangeFrom1, 0, 1, 1, 1)
        self.lblDiagRangeTo1 = QtGui.QLabel(self.frmDiagRange1)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDiagRangeTo1.sizePolicy().hasHeightForWidth())
        self.lblDiagRangeTo1.setSizePolicy(sizePolicy)
        self.lblDiagRangeTo1.setObjectName(_fromUtf8("lblDiagRangeTo1"))
        self.gridLayout_2.addWidget(self.lblDiagRangeTo1, 0, 2, 1, 1)
        self.cmbDiagRangeTo1 = CICDCodeEditEx(self.frmDiagRange1)
        self.cmbDiagRangeTo1.setObjectName(_fromUtf8("cmbDiagRangeTo1"))
        self.gridLayout_2.addWidget(self.cmbDiagRangeTo1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmDiagRange1, 6, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 6, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 8, 2, 1, 1)
        self.lblCode.setBuddy(self.edtCode)
        self.lblName.setBuddy(self.edtName)
        self.lblGroup.setBuddy(self.cmbGroup)
        self.lblDiagRange1.setBuddy(self.cmbDiagRangeFrom1)
        self.lblDiagRangeFrom2.setBuddy(self.cmbDiagRangeFrom2)
        self.lblDiagRangeTo2.setBuddy(self.cmbDiagRangeTo2)
        self.lblDiagRange2.setBuddy(self.cmbDiagRangeFrom2)
        self.lblDiagRangeFrom1.setBuddy(self.cmbDiagRangeFrom1)
        self.lblDiagRangeTo1.setBuddy(self.cmbDiagRangeTo1)

        self.retranslateUi(MKBMorphologyEditor)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               MKBMorphologyEditor.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               MKBMorphologyEditor.reject)
        QtCore.QMetaObject.connectSlotsByName(MKBMorphologyEditor)
        MKBMorphologyEditor.setTabOrder(self.edtCode, self.edtName)
        MKBMorphologyEditor.setTabOrder(self.edtName, self.cmbGroup)
        MKBMorphologyEditor.setTabOrder(self.cmbGroup, self.cmbDiagRangeFrom1)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeFrom1,
                                        self.cmbDiagRangeTo1)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeTo1,
                                        self.cmbDiagRangeFrom2)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeFrom2,
                                        self.cmbDiagRangeTo2)
        MKBMorphologyEditor.setTabOrder(self.cmbDiagRangeTo2, self.buttonBox)
Exemple #24
0
    def setupUi(self, EventNotesPageWidget):
        EventNotesPageWidget.setObjectName(_fromUtf8("EventNotesPageWidget"))
        EventNotesPageWidget.resize(732, 659)
        self.verticalLayout = QtGui.QVBoxLayout(EventNotesPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(EventNotesPageWidget)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMain = QtGui.QWidget()
        self.tabMain.setObjectName(_fromUtf8("tabMain"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMain)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.tabMain)
        self.scrollArea.setMinimumSize(QtCore.QSize(700, 0))
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setLineWidth(0)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 680, 1010))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbCureType = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureType.sizePolicy().hasHeightForWidth())
        self.cmbCureType.setSizePolicy(sizePolicy)
        self.cmbCureType.setObjectName(_fromUtf8("cmbCureType"))
        self.gridLayout.addWidget(self.cmbCureType, 28, 1, 1, 3)
        self.edtPlannedDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtPlannedDate.sizePolicy().hasHeightForWidth())
        self.edtPlannedDate.setSizePolicy(sizePolicy)
        self.edtPlannedDate.setCalendarPopup(True)
        self.edtPlannedDate.setObjectName(_fromUtf8("edtPlannedDate"))
        self.gridLayout.addWidget(self.edtPlannedDate, 10, 1, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.scrollAreaWidgetContents)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 15, 1, 1, 3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.cmbRelegateOrg = CPolyclinicComboBox(self.scrollAreaWidgetContents)
        self.cmbRelegateOrg.setEnabled(True)
        self.cmbRelegateOrg.setObjectName(_fromUtf8("cmbRelegateOrg"))
        self.horizontalLayout.addWidget(self.cmbRelegateOrg)
        self.btnSelectRelegateOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectRelegateOrg.setObjectName(_fromUtf8("btnSelectRelegateOrg"))
        self.horizontalLayout.addWidget(self.btnSelectRelegateOrg)
        self.gridLayout.addLayout(self.horizontalLayout, 11, 1, 1, 3)
        self.lblRelegateOrg = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRelegateOrg.setObjectName(_fromUtf8("lblRelegateOrg"))
        self.gridLayout.addWidget(self.lblRelegateOrg, 11, 0, 1, 1)
        self.cmbCureMethod = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbCureMethod.sizePolicy().hasHeightForWidth())
        self.cmbCureMethod.setSizePolicy(sizePolicy)
        self.cmbCureMethod.setObjectName(_fromUtf8("cmbCureMethod"))
        self.gridLayout.addWidget(self.cmbCureMethod, 29, 1, 1, 3)
        self.lblEventCreateDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreateDateTime.setObjectName(_fromUtf8("lblEventCreateDateTime"))
        self.gridLayout.addWidget(self.lblEventCreateDateTime, 23, 0, 1, 1)
        self.lblArmyDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyDate.setObjectName(_fromUtf8("lblArmyDate"))
        self.gridLayout.addWidget(self.lblArmyDate, 18, 0, 1, 1)
        self.lblEventCuratorIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCuratorIdValue.setObjectName(_fromUtf8("lblEventCuratorIdValue"))
        self.gridLayout.addWidget(self.lblEventCuratorIdValue, 22, 0, 1, 1)
        self.lblEventCreatePersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreatePersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreatePersonValue.setSizePolicy(sizePolicy)
        self.lblEventCreatePersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreatePersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreatePersonValue.setText(_fromUtf8(""))
        self.lblEventCreatePersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreatePersonValue.setObjectName(_fromUtf8("lblEventCreatePersonValue"))
        self.gridLayout.addWidget(self.lblEventCreatePersonValue, 24, 1, 1, 3)
        self.chkLock = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLock.setEnabled(False)
        self.chkLock.setText(_fromUtf8(""))
        self.chkLock.setObjectName(_fromUtf8("chkLock"))
        self.gridLayout.addWidget(self.chkLock, 32, 1, 1, 3)
        self.edtPerson = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPerson.setMinimumSize(QtCore.QSize(347, 0))
        self.edtPerson.setObjectName(_fromUtf8("edtPerson"))
        self.gridLayout.addWidget(self.edtPerson, 13, 1, 1, 3)
        self.chkArmyReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyReferral.setObjectName(_fromUtf8("chkArmyReferral"))
        self.gridLayout.addWidget(self.chkArmyReferral, 16, 0, 1, 4)
        self.edtPrevEventInfo = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtPrevEventInfo.setEnabled(False)
        self.edtPrevEventInfo.setObjectName(_fromUtf8("edtPrevEventInfo"))
        self.gridLayout.addWidget(self.edtPrevEventInfo, 2, 1, 1, 3)
        self.lblEventAssistantIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventAssistantIdValue.setObjectName(_fromUtf8("lblEventAssistantIdValue"))
        self.gridLayout.addWidget(self.lblEventAssistantIdValue, 21, 0, 1, 1)
        self.lblEventCreatePerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventCreatePerson.setObjectName(_fromUtf8("lblEventCreatePerson"))
        self.gridLayout.addWidget(self.lblEventCreatePerson, 24, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1)
        self.cmbClientPolicy = CClientPolicyComboBox(self.scrollAreaWidgetContents)
        self.cmbClientPolicy.setObjectName(_fromUtf8("cmbClientPolicy"))
        self.gridLayout.addWidget(self.cmbClientPolicy, 4, 1, 1, 3)
        self.lblArmyNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyNumber.setObjectName(_fromUtf8("lblArmyNumber"))
        self.gridLayout.addWidget(self.lblArmyNumber, 17, 0, 1, 1)
        self.lblNumber = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 8, 0, 1, 1)
        self.cmbEventCurator = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventCurator.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventCurator.sizePolicy().hasHeightForWidth())
        self.cmbEventCurator.setSizePolicy(sizePolicy)
        self.cmbEventCurator.setObjectName(_fromUtf8("cmbEventCurator"))
        self.gridLayout.addWidget(self.cmbEventCurator, 22, 1, 1, 3)
        self.lblCureType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureType.setObjectName(_fromUtf8("lblCureType"))
        self.gridLayout.addWidget(self.lblCureType, 28, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(32)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbSpeciality.sizePolicy().hasHeightForWidth())
        self.cmbSpeciality.setSizePolicy(sizePolicy)
        self.cmbSpeciality.setMinimumSize(QtCore.QSize(321, 0))
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 3)
        self.lblClientPolicy = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblClientPolicy.setObjectName(_fromUtf8("lblClientPolicy"))
        self.gridLayout.addWidget(self.lblClientPolicy, 4, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.cmbArmyOrg = CArmyOrgComboBox(self.scrollAreaWidgetContents)
        self.cmbArmyOrg.setObjectName(_fromUtf8("cmbArmyOrg"))
        self.horizontalLayout_4.addWidget(self.cmbArmyOrg)
        self.btnSelectArmyOrg = QtGui.QToolButton(self.scrollAreaWidgetContents)
        self.btnSelectArmyOrg.setObjectName(_fromUtf8("btnSelectArmyOrg"))
        self.horizontalLayout_4.addWidget(self.btnSelectArmyOrg)
        self.gridLayout.addLayout(self.horizontalLayout_4, 19, 1, 1, 3)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.chkArmyFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkArmyFreeInput.setText(_fromUtf8(""))
        self.chkArmyFreeInput.setObjectName(_fromUtf8("chkArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.chkArmyFreeInput)
        self.edtArmyFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtArmyFreeInput.setEnabled(False)
        self.edtArmyFreeInput.setText(_fromUtf8(""))
        self.edtArmyFreeInput.setObjectName(_fromUtf8("edtArmyFreeInput"))
        self.horizontalLayout_3.addWidget(self.edtArmyFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_3, 20, 1, 1, 3)
        self.cmbEventAssistant = CPersonComboBoxEx(self.scrollAreaWidgetContents)
        self.cmbEventAssistant.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbEventAssistant.sizePolicy().hasHeightForWidth())
        self.cmbEventAssistant.setSizePolicy(sizePolicy)
        self.cmbEventAssistant.setObjectName(_fromUtf8("cmbEventAssistant"))
        self.gridLayout.addWidget(self.cmbEventAssistant, 21, 1, 1, 3)
        self.lblPrevEvent = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPrevEvent.setObjectName(_fromUtf8("lblPrevEvent"))
        self.gridLayout.addWidget(self.lblPrevEvent, 2, 0, 1, 1)
        self.cmbPatientModel = CModelPatientComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbPatientModel.sizePolicy().hasHeightForWidth())
        self.cmbPatientModel.setSizePolicy(sizePolicy)
        self.cmbPatientModel.setObjectName(_fromUtf8("cmbPatientModel"))
        self.gridLayout.addWidget(self.cmbPatientModel, 27, 1, 1, 3)
        self.edtDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setCalendarPopup(True)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 9, 1, 1, 3)
        self.btnExternalIdupd = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnExternalIdupd.setVisible(False)
        self.btnExternalIdupd.setObjectName(_fromUtf8("btnExternalIdupd"))
        self.gridLayout.addWidget(self.btnExternalIdupd, 3, 1, 1, 1)
        self.lblEventExternalId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventExternalId.setObjectName(_fromUtf8("lblEventExternalId"))
        self.gridLayout.addWidget(self.lblEventExternalId, 1, 0, 1, 1)
        self.lblEventNote = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventNote.sizePolicy().hasHeightForWidth())
        self.lblEventNote.setSizePolicy(sizePolicy)
        self.lblEventNote.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblEventNote.setObjectName(_fromUtf8("lblEventNote"))
        self.gridLayout.addWidget(self.lblEventNote, 31, 0, 1, 1)
        self.lblPlannedDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPlannedDate.setObjectName(_fromUtf8("lblPlannedDate"))
        self.gridLayout.addWidget(self.lblPlannedDate, 10, 0, 1, 1)
        self.lblEventModifyPersonValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyPersonValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyPersonValue.setSizePolicy(sizePolicy)
        self.lblEventModifyPersonValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyPersonValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyPersonValue.setText(_fromUtf8(""))
        self.lblEventModifyPersonValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyPersonValue.setObjectName(_fromUtf8("lblEventModifyPersonValue"))
        self.gridLayout.addWidget(self.lblEventModifyPersonValue, 26, 1, 1, 3)
        self.lblCureMethod = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblCureMethod.setObjectName(_fromUtf8("lblCureMethod"))
        self.gridLayout.addWidget(self.lblCureMethod, 29, 0, 1, 1)
        self.chkLPUReferral = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkLPUReferral.setObjectName(_fromUtf8("chkLPUReferral"))
        self.gridLayout.addWidget(self.chkLPUReferral, 6, 0, 1, 4)
        self.edtEventNote = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.edtEventNote.setObjectName(_fromUtf8("edtEventNote"))
        self.gridLayout.addWidget(self.edtEventNote, 31, 1, 1, 3)
        self.lblDate = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 9, 0, 1, 1)
        self.edtEventExternalIdValue = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtEventExternalIdValue.setEnabled(False)
        self.edtEventExternalIdValue.setObjectName(_fromUtf8("edtEventExternalIdValue"))
        self.gridLayout.addWidget(self.edtEventExternalIdValue, 1, 1, 1, 3)
        self.lblDiagnosis = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis"))
        self.gridLayout.addWidget(self.lblDiagnosis, 15, 0, 1, 1)
        self.lblEventModifyDateTime = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyDateTime.setObjectName(_fromUtf8("lblEventModifyDateTime"))
        self.gridLayout.addWidget(self.lblEventModifyDateTime, 25, 0, 1, 1)
        self.lblPatientModel = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPatientModel.setObjectName(_fromUtf8("lblPatientModel"))
        self.gridLayout.addWidget(self.lblPatientModel, 27, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFreeInput = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkFreeInput.setText(_fromUtf8(""))
        self.chkFreeInput.setObjectName(_fromUtf8("chkFreeInput"))
        self.horizontalLayout_2.addWidget(self.chkFreeInput)
        self.edtFreeInput = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtFreeInput.setEnabled(False)
        self.edtFreeInput.setText(_fromUtf8(""))
        self.edtFreeInput.setObjectName(_fromUtf8("edtFreeInput"))
        self.horizontalLayout_2.addWidget(self.edtFreeInput)
        self.gridLayout.addLayout(self.horizontalLayout_2, 12, 1, 1, 3)
        self.lblEventCreateDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventCreateDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventCreateDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventCreateDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventCreateDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventCreateDateTimeValue.setText(_fromUtf8(""))
        self.lblEventCreateDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventCreateDateTimeValue.setObjectName(_fromUtf8("lblEventCreateDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventCreateDateTimeValue, 23, 1, 1, 3)
        self.lblArmyFreeInput = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblArmyFreeInput.setObjectName(_fromUtf8("lblArmyFreeInput"))
        self.gridLayout.addWidget(self.lblArmyFreeInput, 19, 0, 1, 1)
        self.lblEventId = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventId.setObjectName(_fromUtf8("lblEventId"))
        self.gridLayout.addWidget(self.lblEventId, 0, 0, 1, 1)
        self.lblEventIdValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventIdValue.sizePolicy().hasHeightForWidth())
        self.lblEventIdValue.setSizePolicy(sizePolicy)
        self.lblEventIdValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventIdValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventIdValue.setText(_fromUtf8(""))
        self.lblEventIdValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventIdValue.setObjectName(_fromUtf8("lblEventIdValue"))
        self.gridLayout.addWidget(self.lblEventIdValue, 0, 1, 1, 3)
        self.lblLock = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblLock.setEnabled(False)
        self.lblLock.setObjectName(_fromUtf8("lblLock"))
        self.gridLayout.addWidget(self.lblLock, 32, 0, 1, 1)
        self.cmbArmyNumber = CReferralComboBox(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbArmyNumber.sizePolicy().hasHeightForWidth())
        self.cmbArmyNumber.setSizePolicy(sizePolicy)
        self.cmbArmyNumber.setObjectName(_fromUtf8("cmbArmyNumber"))
        self.gridLayout.addWidget(self.cmbArmyNumber, 17, 1, 1, 3)
        self.lblEventModifyDateTimeValue = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblEventModifyDateTimeValue.sizePolicy().hasHeightForWidth())
        self.lblEventModifyDateTimeValue.setSizePolicy(sizePolicy)
        self.lblEventModifyDateTimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblEventModifyDateTimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblEventModifyDateTimeValue.setText(_fromUtf8(""))
        self.lblEventModifyDateTimeValue.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.lblEventModifyDateTimeValue.setObjectName(_fromUtf8("lblEventModifyDateTimeValue"))
        self.gridLayout.addWidget(self.lblEventModifyDateTimeValue, 25, 1, 1, 3)
        self.lblEventModifyPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblEventModifyPerson.setObjectName(_fromUtf8("lblEventModifyPerson"))
        self.gridLayout.addWidget(self.lblEventModifyPerson, 26, 0, 1, 1)
        self.edtArmyDate = CDateEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtArmyDate.sizePolicy().hasHeightForWidth())
        self.edtArmyDate.setSizePolicy(sizePolicy)
        self.edtArmyDate.setCalendarPopup(True)
        self.edtArmyDate.setObjectName(_fromUtf8("edtArmyDate"))
        self.gridLayout.addWidget(self.edtArmyDate, 18, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 13, 0, 1, 1)
        self.lblRefType = QtGui.QLabel(self.scrollAreaWidgetContents)
        self.lblRefType.setObjectName(_fromUtf8("lblRefType"))
        self.gridLayout.addWidget(self.lblRefType, 7, 0, 1, 1)
        self.cmbReferralType = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType"))
        self.gridLayout.addWidget(self.cmbReferralType, 7, 1, 1, 3)
        self.edtNumber = QtGui.QLineEdit(self.scrollAreaWidgetContents)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 8, 1, 1, 3)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_2.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabMain, _fromUtf8(""))
        self.tabIEMK = QtGui.QWidget()
        self.tabIEMK.setObjectName(_fromUtf8("tabIEMK"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabIEMK)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.txtBrowserIEMKHistoryLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKHistoryLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKHistoryLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKHistoryLog.setObjectName(_fromUtf8("txtBrowserIEMKHistoryLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKHistoryLog, 1, 0, 1, 4)
        self.btnSendCase = QtGui.QPushButton(self.tabIEMK)
        self.btnSendCase.setObjectName(_fromUtf8("btnSendCase"))
        self.gridLayout_3.addWidget(self.btnSendCase, 9, 2, 1, 2)
        self.btnSendClient = QtGui.QPushButton(self.tabIEMK)
        self.btnSendClient.setObjectName(_fromUtf8("btnSendClient"))
        self.gridLayout_3.addWidget(self.btnSendClient, 9, 0, 1, 2)
        self.label = QtGui.QLabel(self.tabIEMK)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 4)
        self.chkWebEpicrisis = QtGui.QCheckBox(self.tabIEMK)
        self.chkWebEpicrisis.setObjectName(_fromUtf8("chkWebEpicrisis"))
        self.gridLayout_3.addWidget(self.chkWebEpicrisis, 8, 0, 1, 4)
        self.txtBrowserIEMKCurrentLog = QtGui.QTextBrowser(self.tabIEMK)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.txtBrowserIEMKCurrentLog.sizePolicy().hasHeightForWidth())
        self.txtBrowserIEMKCurrentLog.setSizePolicy(sizePolicy)
        self.txtBrowserIEMKCurrentLog.setObjectName(_fromUtf8("txtBrowserIEMKCurrentLog"))
        self.gridLayout_3.addWidget(self.txtBrowserIEMKCurrentLog, 3, 0, 1, 4)
        self.label_3 = QtGui.QLabel(self.tabIEMK)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 4, 0, 1, 1)
        self.edtCaseURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtCaseURL.setObjectName(_fromUtf8("edtCaseURL"))
        self.gridLayout_3.addWidget(self.edtCaseURL, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(self.tabIEMK)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 2, 0, 1, 4)
        self.edtPixURL = QtGui.QLineEdit(self.tabIEMK)
        self.edtPixURL.setObjectName(_fromUtf8("edtPixURL"))
        self.gridLayout_3.addWidget(self.edtPixURL, 5, 1, 1, 3)
        self.label_4 = QtGui.QLabel(self.tabIEMK)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 5, 0, 1, 1)
        self.btnCreateService = QtGui.QPushButton(self.tabIEMK)
        self.btnCreateService.setObjectName(_fromUtf8("btnCreateService"))
        self.gridLayout_3.addWidget(self.btnCreateService, 7, 0, 1, 4)
        self.label_5 = QtGui.QLabel(self.tabIEMK)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 6, 0, 1, 1)
        self.edtGUID = QtGui.QLineEdit(self.tabIEMK)
        self.edtGUID.setObjectName(_fromUtf8("edtGUID"))
        self.gridLayout_3.addWidget(self.edtGUID, 6, 1, 1, 3)
        self.tabWidget.addTab(self.tabIEMK, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.lblRelegateOrg.setBuddy(self.cmbRelegateOrg)
        self.lblArmyDate.setBuddy(self.edtArmyDate)
        self.lblEventCuratorIdValue.setBuddy(self.cmbEventCurator)
        self.lblEventAssistantIdValue.setBuddy(self.cmbEventAssistant)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblArmyNumber.setBuddy(self.cmbArmyNumber)
        self.lblCureType.setBuddy(self.cmbCureType)
        self.lblEventExternalId.setBuddy(self.edtEventExternalIdValue)
        self.lblEventNote.setBuddy(self.edtEventNote)
        self.lblCureMethod.setBuddy(self.cmbCureMethod)
        self.lblDate.setBuddy(self.edtDate)
        self.lblDiagnosis.setBuddy(self.cmbMKB)
        self.lblPatientModel.setBuddy(self.cmbPatientModel)
        self.lblArmyFreeInput.setBuddy(self.edtArmyFreeInput)
        self.lblLock.setBuddy(self.chkLock)
        self.lblPerson.setBuddy(self.edtPerson)

        self.retranslateUi(EventNotesPageWidget)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(EventNotesPageWidget)
        EventNotesPageWidget.setTabOrder(self.edtEventExternalIdValue, self.edtPrevEventInfo)
        EventNotesPageWidget.setTabOrder(self.edtPrevEventInfo, self.cmbClientPolicy)
        EventNotesPageWidget.setTabOrder(self.cmbClientPolicy, self.chkLPUReferral)
        EventNotesPageWidget.setTabOrder(self.chkLPUReferral, self.cmbReferralType)
        EventNotesPageWidget.setTabOrder(self.cmbReferralType, self.edtNumber)
        EventNotesPageWidget.setTabOrder(self.edtNumber, self.edtDate)
        EventNotesPageWidget.setTabOrder(self.edtDate, self.edtPlannedDate)
        EventNotesPageWidget.setTabOrder(self.edtPlannedDate, self.cmbRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.cmbRelegateOrg, self.btnSelectRelegateOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectRelegateOrg, self.chkFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkFreeInput, self.edtFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtFreeInput, self.edtPerson)
        EventNotesPageWidget.setTabOrder(self.edtPerson, self.cmbSpeciality)
        EventNotesPageWidget.setTabOrder(self.cmbSpeciality, self.cmbMKB)
        EventNotesPageWidget.setTabOrder(self.cmbMKB, self.chkArmyReferral)
        EventNotesPageWidget.setTabOrder(self.chkArmyReferral, self.cmbArmyNumber)
        EventNotesPageWidget.setTabOrder(self.cmbArmyNumber, self.edtArmyDate)
        EventNotesPageWidget.setTabOrder(self.edtArmyDate, self.cmbArmyOrg)
        EventNotesPageWidget.setTabOrder(self.cmbArmyOrg, self.btnSelectArmyOrg)
        EventNotesPageWidget.setTabOrder(self.btnSelectArmyOrg, self.chkArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.chkArmyFreeInput, self.edtArmyFreeInput)
        EventNotesPageWidget.setTabOrder(self.edtArmyFreeInput, self.cmbEventAssistant)
        EventNotesPageWidget.setTabOrder(self.cmbEventAssistant, self.cmbEventCurator)
        EventNotesPageWidget.setTabOrder(self.cmbEventCurator, self.chkLock)
        EventNotesPageWidget.setTabOrder(self.chkLock, self.cmbCureType)
        EventNotesPageWidget.setTabOrder(self.cmbCureType, self.cmbPatientModel)
        EventNotesPageWidget.setTabOrder(self.cmbPatientModel, self.cmbCureMethod)
        EventNotesPageWidget.setTabOrder(self.cmbCureMethod, self.edtEventNote)
    def setupUi(self, ReportVisitsByClientTypeSetupDialog):
        ReportVisitsByClientTypeSetupDialog.setObjectName(
            _fromUtf8("ReportVisitsByClientTypeSetupDialog"))
        ReportVisitsByClientTypeSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportVisitsByClientTypeSetupDialog.resize(363, 321)
        ReportVisitsByClientTypeSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(
            ReportVisitsByClientTypeSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblCitizen = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCitizen.sizePolicy().hasHeightForWidth())
        self.lblCitizen.setSizePolicy(sizePolicy)
        self.lblCitizen.setObjectName(_fromUtf8("lblCitizen"))
        self.gridLayout.addWidget(self.lblCitizen, 6, 0, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.lblMKBTo = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBTo.sizePolicy().hasHeightForWidth())
        self.lblMKBTo.setSizePolicy(sizePolicy)
        self.lblMKBTo.setObjectName(_fromUtf8("lblMKBTo"))
        self.gridLayout.addWidget(self.lblMKBTo, 5, 5, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.lblEndDate = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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, 2)
        self.cmbMKBFrom = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFrom.sizePolicy().hasHeightForWidth())
        self.cmbMKBFrom.setSizePolicy(sizePolicy)
        self.cmbMKBFrom.setObjectName(_fromUtf8("cmbMKBFrom"))
        self.gridLayout.addWidget(self.cmbMKBFrom, 5, 3, 1, 1)
        self.lblMKBRange = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBRange.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBRange.sizePolicy().hasHeightForWidth())
        self.lblMKBRange.setSizePolicy(sizePolicy)
        self.lblMKBRange.setObjectName(_fromUtf8("lblMKBRange"))
        self.gridLayout.addWidget(self.lblMKBRange, 5, 1, 1, 1)
        self.lblMKBFrom = QtGui.QLabel(ReportVisitsByClientTypeSetupDialog)
        self.lblMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMKBFrom.sizePolicy().hasHeightForWidth())
        self.lblMKBFrom.setSizePolicy(sizePolicy)
        self.lblMKBFrom.setObjectName(_fromUtf8("lblMKBFrom"))
        self.gridLayout.addWidget(self.lblMKBFrom, 5, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportVisitsByClientTypeSetupDialog)
        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, 5)
        self.edtBegDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        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, 2, 1, 5)
        self.cmbIsPrimary = QtGui.QComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbIsPrimary.setObjectName(_fromUtf8("cmbIsPrimary"))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.cmbIsPrimary.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsPrimary, 3, 2, 1, 5)
        self.chbMKBFilter = QtGui.QCheckBox(
            ReportVisitsByClientTypeSetupDialog)
        self.chbMKBFilter.setText(_fromUtf8(""))
        self.chbMKBFilter.setObjectName(_fromUtf8("chbMKBFilter"))
        self.gridLayout.addWidget(self.chbMKBFilter, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 4, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportVisitsByClientTypeSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 2, 1, 5)
        self.lblPrimaryStatus = QtGui.QLabel(
            ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPrimaryStatus.sizePolicy().hasHeightForWidth())
        self.lblPrimaryStatus.setSizePolicy(sizePolicy)
        self.lblPrimaryStatus.setObjectName(_fromUtf8("lblPrimaryStatus"))
        self.gridLayout.addWidget(self.lblPrimaryStatus, 3, 0, 1, 2)
        self.edtEndDate = QtGui.QDateEdit(ReportVisitsByClientTypeSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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, 5)
        self.cmbMKBTo = CICDCodeEditEx(ReportVisitsByClientTypeSetupDialog)
        self.cmbMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBTo.sizePolicy().hasHeightForWidth())
        self.cmbMKBTo.setSizePolicy(sizePolicy)
        self.cmbMKBTo.setObjectName(_fromUtf8("cmbMKBTo"))
        self.gridLayout.addWidget(self.cmbMKBTo, 5, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ReportVisitsByClientTypeSetupDialog)
        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, 2, 1, 5)
        self.cmbCitizen = QtGui.QComboBox(ReportVisitsByClientTypeSetupDialog)
        self.cmbCitizen.setObjectName(_fromUtf8("cmbCitizen"))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.cmbCitizen.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCitizen, 6, 2, 1, 5)
        self.lblCitizen.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblMKBRange.setBuddy(self.cmbOrgStructure)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPrimaryStatus.setBuddy(self.cmbEventType)

        self.retranslateUi(ReportVisitsByClientTypeSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportVisitsByClientTypeSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportVisitsByClientTypeSetupDialog.reject)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBRange.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.lblMKBTo.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBFrom.setEnabled)
        QtCore.QObject.connect(self.chbMKBFilter,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKBTo.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(
            ReportVisitsByClientTypeSetupDialog)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtBegDate, self.edtEndDate)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.edtEndDate, self.cmbEventType)
        ReportVisitsByClientTypeSetupDialog.setTabOrder(
            self.cmbEventType, self.cmbOrgStructure)
Exemple #26
0
 def createEditor(self, parent, option, idx):
     self._editor = CICDCodeEditEx(parent)
     self._editor.editingFinished.connect(self.commitAndCloseEditor)
     return self._editor
    def setupUi(self, TissueJournalTotalEditorDialog):
        TissueJournalTotalEditorDialog.setObjectName(
            _fromUtf8("TissueJournalTotalEditorDialog"))
        TissueJournalTotalEditorDialog.resize(498, 267)
        TissueJournalTotalEditorDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(TissueJournalTotalEditorDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbPersonInJournal = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInJournal.setEnabled(False)
        self.cmbPersonInJournal.setObjectName(_fromUtf8("cmbPersonInJournal"))
        self.gridLayout.addWidget(self.cmbPersonInJournal, 1, 1, 1, 2)
        self.cmbAssistantInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction.setEnabled(False)
        self.cmbAssistantInAction.setObjectName(
            _fromUtf8("cmbAssistantInAction"))
        self.gridLayout.addWidget(self.cmbAssistantInAction, 3, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TissueJournalTotalEditorDialog)
        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)
        self.chkPersonInJournal = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkPersonInJournal.sizePolicy().hasHeightForWidth())
        self.chkPersonInJournal.setSizePolicy(sizePolicy)
        self.chkPersonInJournal.setObjectName(_fromUtf8("chkPersonInJournal"))
        self.gridLayout.addWidget(self.chkPersonInJournal, 1, 0, 1, 1)
        self.chkAssistantInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAssistantInAction.sizePolicy().hasHeightForWidth())
        self.chkAssistantInAction.setSizePolicy(sizePolicy)
        self.chkAssistantInAction.setObjectName(
            _fromUtf8("chkAssistantInAction"))
        self.gridLayout.addWidget(self.chkAssistantInAction, 3, 0, 1, 1)
        self.chkStatus = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkStatus.sizePolicy().hasHeightForWidth())
        self.chkStatus.setSizePolicy(sizePolicy)
        self.chkStatus.setObjectName(_fromUtf8("chkStatus"))
        self.gridLayout.addWidget(self.chkStatus, 0, 0, 1, 1)
        self.cmbStatus = QtGui.QComboBox(TissueJournalTotalEditorDialog)
        self.cmbStatus.setEnabled(False)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 0, 1, 1, 2)
        self.chkPersonInAction = QtGui.QCheckBox(
            TissueJournalTotalEditorDialog)
        self.chkPersonInAction.setObjectName(_fromUtf8("chkPersonInAction"))
        self.gridLayout.addWidget(self.chkPersonInAction, 2, 0, 1, 1)
        self.cmbPersonInAction = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbPersonInAction.setEnabled(False)
        self.cmbPersonInAction.setObjectName(_fromUtf8("cmbPersonInAction"))
        self.gridLayout.addWidget(self.cmbPersonInAction, 2, 1, 1, 2)
        self.chkMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 7, 0, 1, 1)
        self.chkMorphologyMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog)
        self.chkMorphologyMKB.setObjectName(_fromUtf8("chkMorphologyMKB"))
        self.gridLayout.addWidget(self.chkMorphologyMKB, 8, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(TissueJournalTotalEditorDialog)
        self.cmbMKB.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKB.sizePolicy().hasHeightForWidth())
        self.cmbMKB.setSizePolicy(sizePolicy)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout.addWidget(self.cmbMKB, 7, 1, 1, 1)
        self.cmbMorphologyMKB = CICDMorphologyCodeEditEx(
            TissueJournalTotalEditorDialog)
        self.cmbMorphologyMKB.setEnabled(False)
        self.cmbMorphologyMKB.setObjectName(_fromUtf8("cmbMorphologyMKB"))
        self.gridLayout.addWidget(self.cmbMorphologyMKB, 8, 1, 1, 1)
        self.lblMKBText = QtGui.QLabel(TissueJournalTotalEditorDialog)
        self.lblMKBText.setText(_fromUtf8(""))
        self.lblMKBText.setObjectName(_fromUtf8("lblMKBText"))
        self.gridLayout.addWidget(self.lblMKBText, 7, 2, 1, 1)
        self.lblMorphologyMKBText = QtGui.QLabel(
            TissueJournalTotalEditorDialog)
        self.lblMorphologyMKBText.setText(_fromUtf8(""))
        self.lblMorphologyMKBText.setObjectName(
            _fromUtf8("lblMorphologyMKBText"))
        self.gridLayout.addWidget(self.lblMorphologyMKBText, 8, 2, 1, 1)
        self.cmbAssistantInAction2 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction2.setEnabled(False)
        self.cmbAssistantInAction2.setObjectName(
            _fromUtf8("cmbAssistantInAction2"))
        self.gridLayout.addWidget(self.cmbAssistantInAction2, 4, 1, 1, 2)
        self.cmbAssistantInAction3 = CPersonComboBoxEx(
            TissueJournalTotalEditorDialog)
        self.cmbAssistantInAction3.setEnabled(False)
        self.cmbAssistantInAction3.setObjectName(
            _fromUtf8("cmbAssistantInAction3"))
        self.gridLayout.addWidget(self.cmbAssistantInAction3, 5, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 6, 0, 1, 1)

        self.retranslateUi(TissueJournalTotalEditorDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TissueJournalTotalEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TissueJournalTotalEditorDialog.reject)
        QtCore.QObject.connect(self.chkStatus,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbStatus.setEnabled)
        QtCore.QObject.connect(self.chkPersonInJournal,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInJournal.setEnabled)
        QtCore.QObject.connect(self.chkPersonInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbPersonInAction.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction.setEnabled)
        QtCore.QObject.connect(self.chkMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMKB.setEnabled)
        QtCore.QObject.connect(self.chkMorphologyMKB,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMorphologyMKB.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction2.setEnabled)
        QtCore.QObject.connect(self.chkAssistantInAction,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbAssistantInAction3.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(TissueJournalTotalEditorDialog)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkStatus,
                                                   self.cmbStatus)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbStatus,
                                                   self.chkPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInJournal,
                                                   self.cmbPersonInJournal)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInJournal,
                                                   self.chkPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInAction,
                                                   self.cmbPersonInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInAction,
                                                   self.chkAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkAssistantInAction,
                                                   self.cmbAssistantInAction)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbAssistantInAction,
                                                   self.chkMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMKB, self.cmbMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMKB,
                                                   self.chkMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.chkMorphologyMKB,
                                                   self.cmbMorphologyMKB)
        TissueJournalTotalEditorDialog.setTabOrder(self.cmbMorphologyMKB,
                                                   self.buttonBox)
Exemple #28
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(828, 577)
        Dialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabToken = QtGui.QWidget()
        self.tabToken.setObjectName(_fromUtf8("tabToken"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabToken)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        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, 796, 452))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.splitter_2 = QtGui.QSplitter(self.scrollAreaWidgetContents)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.frameBaseAndDiagnosises = QtGui.QFrame(self.splitter_2)
        self.frameBaseAndDiagnosises.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameBaseAndDiagnosises.setFrameShadow(QtGui.QFrame.Raised)
        self.frameBaseAndDiagnosises.setObjectName(
            _fromUtf8("frameBaseAndDiagnosises"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frameBaseAndDiagnosises)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.wdgActions = CActionsWidget(self.frameBaseAndDiagnosises)
        self.wdgActions.setObjectName(_fromUtf8("wdgActions"))
        self.horizontalLayout.addWidget(self.wdgActions)
        self.grpBase = QtGui.QGroupBox(self.frameBaseAndDiagnosises)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpBase.sizePolicy().hasHeightForWidth())
        self.grpBase.setSizePolicy(sizePolicy)
        self.grpBase.setObjectName(_fromUtf8("grpBase"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpBase)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.frmBegDateTime = QtGui.QFrame(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmBegDateTime.sizePolicy().hasHeightForWidth())
        self.frmBegDateTime.setSizePolicy(sizePolicy)
        self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain)
        self.frmBegDateTime.setLineWidth(0)
        self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmBegDateTime)
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        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_3.addWidget(self.edtBegDate)
        self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.horizontalLayout_3.addWidget(self.edtBegTime)
        self.gridLayout_2.addWidget(self.frmBegDateTime, 3, 1, 1, 3)
        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_4 = QtGui.QHBoxLayout(self.frmEndDateTime)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        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_4.addWidget(self.edtEndDate)
        self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.horizontalLayout_4.addWidget(self.edtEndTime)
        self.gridLayout_2.addWidget(self.frmEndDateTime, 4, 1, 1, 3)
        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_5 = QtGui.QHBoxLayout(self.frmNextDateTime)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setSpacing(4)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.gridLayout_2.addWidget(self.frmNextDateTime, 5, 1, 1, 3)
        self.groupBox = QtGui.QGroupBox(self.grpBase)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblMKB = QtGui.QLabel(self.groupBox)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout_3.addWidget(self.lblMKB, 0, 0, 1, 1)
        self.cmbMKB = CICDCodeEditEx(self.groupBox)
        self.cmbMKB.setObjectName(_fromUtf8("cmbMKB"))
        self.gridLayout_3.addWidget(self.cmbMKB, 0, 1, 1, 1)
        self.lblDiagnosticResult = QtGui.QLabel(self.groupBox)
        self.lblDiagnosticResult.setObjectName(
            _fromUtf8("lblDiagnosticResult"))
        self.gridLayout_3.addWidget(self.lblDiagnosticResult, 1, 0, 1, 1)
        self.cmbDiagnosticResult = CRBComboBox(self.groupBox)
        self.cmbDiagnosticResult.setObjectName(
            _fromUtf8("cmbDiagnosticResult"))
        self.gridLayout_3.addWidget(self.cmbDiagnosticResult, 1, 1, 1, 1)
        self.gridLayout_3.setColumnStretch(1, 1)
        self.gridLayout_2.addWidget(self.groupBox, 18, 0, 1, 4)
        self.lblEndDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDate.sizePolicy().hasHeightForWidth())
        self.lblEndDate.setSizePolicy(sizePolicy)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 4, 0, 1, 1)
        self.cmbPrimary = QtGui.QComboBox(self.grpBase)
        self.cmbPrimary.setObjectName(_fromUtf8("cmbPrimary"))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.cmbPrimary.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPrimary, 9, 0, 1, 3)
        self.lblGoal = QtGui.QLabel(self.grpBase)
        self.lblGoal.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignVCenter)
        self.lblGoal.setObjectName(_fromUtf8("lblGoal"))
        self.gridLayout_2.addWidget(self.lblGoal, 13, 0, 1, 1)
        self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase)
        self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed"))
        self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 4)
        self.cmbResult = CRBComboBox(self.grpBase)
        self.cmbResult.setObjectName(_fromUtf8("cmbResult"))
        self.cmbResult.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbResult, 12, 0, 1, 4)
        self.lblBegDate = QtGui.QLabel(self.grpBase)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 3, 0, 1, 1)
        self.cmbOrder = CRBComboBox(self.grpBase)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.setItemText(0, _fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbOrder, 10, 0, 1, 4)
        self.cmbGoal = CRBComboBox(self.grpBase)
        self.cmbGoal.setObjectName(_fromUtf8("cmbGoal"))
        self.gridLayout_2.addWidget(self.cmbGoal, 13, 1, 1, 3)
        self.cmbContract = CContractComboBox(self.grpBase)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.cmbContract.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 4)
        self.lblResult = QtGui.QLabel(self.grpBase)
        self.lblResult.setAlignment(QtCore.Qt.AlignLeading
                                    | QtCore.Qt.AlignLeft
                                    | QtCore.Qt.AlignVCenter)
        self.lblResult.setObjectName(_fromUtf8("lblResult"))
        self.gridLayout_2.addWidget(self.lblResult, 11, 0, 1, 4)
        self.lblPerson = QtGui.QLabel(self.grpBase)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_2.addItem(spacerItem, 17, 0, 1, 4)
        self.lblOrder = QtGui.QLabel(self.grpBase)
        self.lblOrder.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout_2.addWidget(self.lblOrder, 9, 3, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.grpBase)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 4)
        self.btnDentalFormula = QtGui.QPushButton(self.grpBase)
        self.btnDentalFormula.setObjectName(_fromUtf8("btnDentalFormula"))
        self.gridLayout_2.addWidget(self.btnDentalFormula, 19, 0, 1, 4)
        self.btnAddAction = QtGui.QPushButton(self.grpBase)
        self.btnAddAction.setObjectName(_fromUtf8("btnAddAction"))
        self.gridLayout_2.addWidget(self.btnAddAction, 20, 0, 1, 4)
        self.chkIsClosed = QtGui.QCheckBox(self.grpBase)
        self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed"))
        self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 4)
        self.horizontalLayout.addWidget(self.grpBase)
        self.verticalLayout_3.addWidget(self.splitter_2)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabToken, _fromUtf8(""))
        self.tabAmbCard = CFastAmbCardPage()
        self.tabAmbCard.setObjectName(_fromUtf8("tabAmbCard"))
        self.tabWidget.addTab(self.tabAmbCard, _fromUtf8(""))
        self.tabReferral = CReferralPage()
        self.tabReferral.setObjectName(_fromUtf8("tabReferral"))
        self.tabWidget.addTab(self.tabReferral, _fromUtf8(""))
        self.tabTempInvalidEtc = QtGui.QWidget()
        self.tabTempInvalidEtc.setObjectName(_fromUtf8("tabTempInvalidEtc"))
        self.gridLayout = QtGui.QGridLayout(self.tabTempInvalidEtc)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.scrollArea_2 = QtGui.QScrollArea(self.tabTempInvalidEtc)
        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, 796, 452))
        self.scrollAreaWidgetContents_2.setObjectName(
            _fromUtf8("scrollAreaWidgetContents_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents_2)
        self.verticalLayout_6.setMargin(0)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.tabTempInvalidAndAegrotat = QtGui.QTabWidget(
            self.scrollAreaWidgetContents_2)
        self.tabTempInvalidAndAegrotat.setObjectName(
            _fromUtf8("tabTempInvalidAndAegrotat"))
        self.tabTempInvalid = QtGui.QWidget()
        self.tabTempInvalid.setObjectName(_fromUtf8("tabTempInvalid"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabTempInvalid)
        self.verticalLayout_5.setMargin(4)
        self.verticalLayout_5.setSpacing(4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.grpTempInvalid = CTempInvalid(self.tabTempInvalid)
        self.grpTempInvalid.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpTempInvalid.sizePolicy().hasHeightForWidth())
        self.grpTempInvalid.setSizePolicy(sizePolicy)
        self.grpTempInvalid.setCheckable(True)
        self.grpTempInvalid.setChecked(False)
        self.grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid"))
        self.verticalLayout_5.addWidget(self.grpTempInvalid)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalid,
                                              _fromUtf8(""))
        self.tabTempInvalidS = QtGui.QWidget()
        self.tabTempInvalidS.setObjectName(_fromUtf8("tabTempInvalidS"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabTempInvalidS)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.grpDisability = CTempInvalid(self.tabTempInvalidS)
        self.grpDisability.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpDisability.sizePolicy().hasHeightForWidth())
        self.grpDisability.setSizePolicy(sizePolicy)
        self.grpDisability.setCheckable(True)
        self.grpDisability.setChecked(False)
        self.grpDisability.setObjectName(_fromUtf8("grpDisability"))
        self.gridLayout_5.addWidget(self.grpDisability, 0, 0, 1, 1)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidS,
                                              _fromUtf8(""))
        self.tabTempInvalidDisability = QtGui.QWidget()
        self.tabTempInvalidDisability.setObjectName(
            _fromUtf8("tabTempInvalidDisability"))
        self.gridLayout_6 = QtGui.QGridLayout(self.tabTempInvalidDisability)
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.grpVitalRestriction = CTempInvalid(self.tabTempInvalidDisability)
        self.grpVitalRestriction.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpVitalRestriction.sizePolicy().hasHeightForWidth())
        self.grpVitalRestriction.setSizePolicy(sizePolicy)
        self.grpVitalRestriction.setCheckable(True)
        self.grpVitalRestriction.setChecked(False)
        self.grpVitalRestriction.setObjectName(
            _fromUtf8("grpVitalRestriction"))
        self.gridLayout_6.addWidget(self.grpVitalRestriction, 0, 0, 1, 1)
        self.tabTempInvalidAndAegrotat.addTab(self.tabTempInvalidDisability,
                                              _fromUtf8(""))
        self.verticalLayout_6.addWidget(self.tabTempInvalidAndAegrotat)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.gridLayout.addWidget(self.scrollArea_2, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabTempInvalidEtc, _fromUtf8(""))
        self.tabCash = CFastEventCashPage()
        self.tabCash.setObjectName(_fromUtf8("tabCash"))
        self.tabWidget.addTab(self.tabCash, _fromUtf8(""))
        self.tabNotes = CFastEventNotesPage()
        self.tabNotes.setObjectName(_fromUtf8("tabNotes"))
        self.tabWidget.addTab(self.tabNotes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.widget = QtGui.QWidget(Dialog)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.lblProlongateEvent = QtGui.QLabel(self.widget)
        self.lblProlongateEvent.setText(_fromUtf8(""))
        self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent"))
        self.horizontalLayout_6.addWidget(self.lblProlongateEvent)
        self.lblValueExternalId = QtGui.QLabel(self.widget)
        self.lblValueExternalId.setText(_fromUtf8(""))
        self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId"))
        self.horizontalLayout_6.addWidget(self.lblValueExternalId)
        self.buttonBox = QtGui.QDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_6.addWidget(self.buttonBox)
        self.verticalLayout_2.addWidget(self.widget)
        self.statusBar = QtGui.QStatusBar(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.statusBar.sizePolicy().hasHeightForWidth())
        self.statusBar.setSizePolicy(sizePolicy)
        self.statusBar.setSizeGripEnabled(False)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        self.verticalLayout_2.addWidget(self.statusBar)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblGoal.setBuddy(self.cmbGoal)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblResult.setBuddy(self.cmbResult)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblOrder.setBuddy(self.cmbOrder)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(0)
        self.tabTempInvalidAndAegrotat.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.cmbPerson)
        Dialog.setTabOrder(self.cmbPerson, self.cmbPrimary)
        Dialog.setTabOrder(self.cmbPrimary, self.cmbOrder)
        Dialog.setTabOrder(self.cmbOrder, self.cmbResult)
        Dialog.setTabOrder(self.cmbResult, self.cmbGoal)
        Dialog.setTabOrder(self.cmbGoal, self.cmbMKB)
        Dialog.setTabOrder(self.cmbMKB, self.cmbDiagnosticResult)
        Dialog.setTabOrder(self.cmbDiagnosticResult, self.btnDentalFormula)
        Dialog.setTabOrder(self.btnDentalFormula, self.buttonBox)
        Dialog.setTabOrder(self.buttonBox, self.tabTempInvalidAndAegrotat)
        Dialog.setTabOrder(self.tabTempInvalidAndAegrotat, self.scrollArea_2)
        Dialog.setTabOrder(self.scrollArea_2, self.grpTempInvalid)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
        self.grpBase.setTitle(_translate("Dialog", "&ф.043-2", 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.groupBox.setTitle(_translate("Dialog", "Диагноз", None))
        self.lblMKB.setText(_translate("Dialog", "МКБ", None))
        self.lblDiagnosticResult.setText(
            _translate("Dialog", "Результат", None))
        self.lblEndDate.setText(_translate("Dialog", "Закончено", None))
        self.cmbPrimary.setItemText(0, _translate("Dialog", "Первичный", None))
        self.cmbPrimary.setItemText(1, _translate("Dialog", "Повторный", None))
        self.cmbPrimary.setItemText(2, _translate("Dialog", "Актив", None))
        self.lblGoal.setText(_translate("Dialog", "Цель", None))
        self.chkExposeConfirmed.setText(
            _translate("Dialog", "Добавить к выставлению", None))
        self.cmbResult.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.cmbResult.setItemText(0, _translate("Dialog", "Результат", None))
        self.lblBegDate.setText(_translate("Dialog", "Начато", None))
        self.cmbOrder.setItemText(1, _translate("Dialog", "Плановый", None))
        self.cmbOrder.setItemText(2, _translate("Dialog", "Экстренный", None))
        self.cmbOrder.setItemText(3, _translate("Dialog", "Самообращение",
                                                None))
        self.cmbOrder.setItemText(4,
                                  _translate("Dialog", "Принудительный", None))
        self.cmbOrder.setItemText(5, _translate("Dialog", "Неотложный", None))
        self.cmbGoal.setWhatsThis(
            _translate("Dialog", "результат осмотра", None))
        self.cmbContract.setWhatsThis(
            _translate(
                "Dialog",
                "номер, дата и основание договора в рамках которого производится осмотр",
                None))
        self.cmbContract.setItemText(0, _translate("Dialog", "Договор", None))
        self.lblResult.setText(_translate("Dialog", "Результа&т лечения",
                                          None))
        self.lblPerson.setText(_translate("Dialog", "Ответственный", None))
        self.lblOrder.setText(_translate("Dialog", "П&орядок", None))
        self.cmbPerson.setWhatsThis(
            _translate("Dialog", "врач отвечающий за осмотр (терапевт)", None))
        self.cmbPerson.setItemText(0, _translate("Dialog", "Врач", None))
        self.btnDentalFormula.setText(
            _translate("Dialog", " Зубная формула (F3)", None))
        self.btnAddAction.setText(
            _translate("Dialog", "Добавить мероприятие (F9)", None))
        self.chkIsClosed.setText(_translate("Dialog", "Карта заполнена", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabToken),
                                  _translate("Dialog", "Стат.&учёт", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabAmbCard),
                                  _translate("Dialog", "Мед.&карта", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabReferral),
                                  _translate("Dialog", "Направления", None))
        self.grpTempInvalid.setTitle(_translate("Dialog", "&ВУТ", None))
        self.tabTempInvalidAndAegrotat.setTabText(
            self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalid),
            _translate("Dialog", "Листок &нетрудоспособности", None))
        self.grpDisability.setTitle(_translate("Dialog", "&Инвалидность",
                                               None))
        self.tabTempInvalidAndAegrotat.setTabText(
            self.tabTempInvalidAndAegrotat.indexOf(self.tabTempInvalidS),
            _translate("Dialog", "Инвалидность", None))
        self.grpVitalRestriction.setTitle(
            _translate("Dialog", "&Ограничения жизнедеятельности", None))
        self.tabTempInvalidAndAegrotat.setTabText(
            self.tabTempInvalidAndAegrotat.indexOf(
                self.tabTempInvalidDisability),
            _translate("Dialog", "Ограничения жизнедеятельности", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabTempInvalidEtc),
            _translate("Dialog", "Т&рудоспособность", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCash),
                                  _translate("Dialog", "Оплата", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabNotes),
                                  _translate("Dialog", "Приме&чания", None))
        self.statusBar.setToolTip(_translate("Dialog", "A status bar", None))
        self.statusBar.setWhatsThis(_translate("Dialog", "A status bar.",
                                               None))