예제 #1
0
class Ui_ReportMovingRVCSetupDialog(object):
    def setupUi(self, ReportMovingRVCSetupDialog):
        ReportMovingRVCSetupDialog.setObjectName(
            _fromUtf8("ReportMovingRVCSetupDialog"))
        ReportMovingRVCSetupDialog.resize(400, 250)
        self.gridLayout = QtGui.QGridLayout(ReportMovingRVCSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportMovingRVCSetupDialog)
        self.lblEndDate.setText(_fromUtf8(""))
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 3)
        self.edtDate = CDateEdit(ReportMovingRVCSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding,
                                       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, 0, 3, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportMovingRVCSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportMovingRVCSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 4, 1, 1)
        self.lblBegDate.setBuddy(self.edtDate)

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

    def retranslateUi(self, ReportMovingRVCSetupDialog):
        ReportMovingRVCSetupDialog.setWindowTitle(
            _translate("ReportMovingRVCSetupDialog", "Dialog", None))
        self.edtDate.setDisplayFormat(
            _translate("ReportMovingRVCSetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("ReportMovingRVCSetupDialog", "Текущий &день", None))
예제 #2
0
class Ui_StationaryMESF14DCDialog(object):
    def setupUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setObjectName(
            _fromUtf8("StationaryMESF14DCDialog"))
        StationaryMESF14DCDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryMESF14DCDialog.resize(438, 267)
        StationaryMESF14DCDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryMESF14DCDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(StationaryMESF14DCDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        self.lblGroupMES = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupMES.setObjectName(_fromUtf8("lblGroupMES"))
        self.gridLayout.addWidget(self.lblGroupMES, 3, 0, 1, 1)
        self.cmbGroupMES = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbGroupMES.setObjectName(_fromUtf8("cmbGroupMES"))
        self.gridLayout.addWidget(self.cmbGroupMES, 3, 1, 1, 2)
        self.lblMes = QtGui.QLabel(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 4, 0, 1, 1)
        self.cmbMes = CMESComboBox(StationaryMESF14DCDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 4, 1, 1, 2)
        self.lblProfile = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblProfile.setObjectName(_fromUtf8("lblProfile"))
        self.gridLayout.addWidget(self.lblProfile, 5, 0, 1, 1)
        self.cmbFilterProfile = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbFilterProfile.setObjectName(_fromUtf8("cmbFilterProfile"))
        self.gridLayout.addWidget(self.cmbFilterProfile, 5, 1, 1, 2)
        self.lblGroupType = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupType.setObjectName(_fromUtf8("lblGroupType"))
        self.gridLayout.addWidget(self.lblGroupType, 6, 0, 1, 1)
        self.cmbGroupType = QtGui.QComboBox(StationaryMESF14DCDialog)
        self.cmbGroupType.setObjectName(_fromUtf8("cmbGroupType"))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbGroupType, 6, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryMESF14DCDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(StationaryMESF14DCDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryMESF14DCDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryMESF14DCDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StationaryMESF14DCDialog)
        StationaryMESF14DCDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        StationaryMESF14DCDialog.setTabOrder(self.edtEndDate,
                                             self.cmbOrgStructure)
        StationaryMESF14DCDialog.setTabOrder(self.cmbOrgStructure,
                                             self.cmbGroupMES)
        StationaryMESF14DCDialog.setTabOrder(self.cmbGroupMES, self.cmbMes)
        StationaryMESF14DCDialog.setTabOrder(self.cmbMes,
                                             self.cmbFilterProfile)
        StationaryMESF14DCDialog.setTabOrder(self.cmbFilterProfile,
                                             self.cmbGroupType)
        StationaryMESF14DCDialog.setTabOrder(self.cmbGroupType, self.buttonBox)

    def retranslateUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setWindowTitle(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtEndDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroupMES.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Группа МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblProfile.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Профиль койки", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroupType.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Группировать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            0,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Не группировать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            1,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "По типу события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            2,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "По типу МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #3
0
class Ui_EmergencyTalonSignalDialog(object):
    def setupUi(self, EmergencyTalonSignalDialog):
        EmergencyTalonSignalDialog.setObjectName(
            _fromUtf8("EmergencyTalonSignalDialog"))
        EmergencyTalonSignalDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        EmergencyTalonSignalDialog.resize(323, 146)
        EmergencyTalonSignalDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(EmergencyTalonSignalDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblBegDate = QtGui.QLabel(EmergencyTalonSignalDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(EmergencyTalonSignalDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(EmergencyTalonSignalDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 6, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(EmergencyTalonSignalDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 7, 0, 1, 3)
        self.lblTypeOrder = QtGui.QLabel(EmergencyTalonSignalDialog)
        self.lblTypeOrder.setObjectName(_fromUtf8("lblTypeOrder"))
        self.gridlayout.addWidget(self.lblTypeOrder, 2, 0, 1, 1)
        self.cmbTypeOrder = QtGui.QComboBox(EmergencyTalonSignalDialog)
        self.cmbTypeOrder.setObjectName(_fromUtf8("cmbTypeOrder"))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.cmbTypeOrder.setItemText(0, _fromUtf8(""))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.cmbTypeOrder.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbTypeOrder, 2, 1, 1, 2)
        self.edtBegTime = QtGui.QTimeEdit(EmergencyTalonSignalDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridlayout.addWidget(self.edtBegTime, 1, 1, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(EmergencyTalonSignalDialog)
        self.edtEndTime.setTime(QtCore.QTime(23, 59, 0))
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridlayout.addWidget(self.edtEndTime, 1, 2, 1, 1)
        self.chkWriteMKB = QtGui.QCheckBox(EmergencyTalonSignalDialog)
        self.chkWriteMKB.setCheckable(True)
        self.chkWriteMKB.setObjectName(_fromUtf8("chkWriteMKB"))
        self.gridlayout.addWidget(self.chkWriteMKB, 5, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)

        self.retranslateUi(EmergencyTalonSignalDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               EmergencyTalonSignalDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               EmergencyTalonSignalDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EmergencyTalonSignalDialog)
        EmergencyTalonSignalDialog.setTabOrder(self.edtBegDate,
                                               self.edtBegTime)
        EmergencyTalonSignalDialog.setTabOrder(self.edtBegTime,
                                               self.edtEndTime)
        EmergencyTalonSignalDialog.setTabOrder(self.edtEndTime,
                                               self.cmbTypeOrder)
        EmergencyTalonSignalDialog.setTabOrder(self.cmbTypeOrder,
                                               self.chkWriteMKB)
        EmergencyTalonSignalDialog.setTabOrder(self.chkWriteMKB,
                                               self.buttonBox)

    def retranslateUi(self, EmergencyTalonSignalDialog):
        EmergencyTalonSignalDialog.setWindowTitle(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog", "Дата",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setDisplayFormat(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog", "Время",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblTypeOrder.setText(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Тип вызова", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbTypeOrder.setItemText(
            1,
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Первичный", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbTypeOrder.setItemText(
            2,
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Повторный", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbTypeOrder.setItemText(
            3,
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Активное посещение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbTypeOrder.setItemText(
            4,
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Перевозка", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbTypeOrder.setItemText(
            5,
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Амбулаторно", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBegTime.setDisplayFormat(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog", "HH:mm",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtEndTime.setDisplayFormat(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog", "HH:mm",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkWriteMKB.setText(
            QtGui.QApplication.translate("EmergencyTalonSignalDialog",
                                         "Выводить шифры МКБ", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #4
0
class Ui_grpTempInvalid(object):
    def setupUi(self, grpTempInvalid):
        grpTempInvalid.setObjectName(_fromUtf8("grpTempInvalid"))
        grpTempInvalid.setEnabled(True)
        grpTempInvalid.resize(1210, 576)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            grpTempInvalid.sizePolicy().hasHeightForWidth())
        grpTempInvalid.setSizePolicy(sizePolicy)
        grpTempInvalid.setFlat(False)
        grpTempInvalid.setCheckable(True)
        grpTempInvalid.setChecked(False)
        self.gridLayout_4 = QtGui.QGridLayout(grpTempInvalid)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblTempInvalidReason = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidReason.setObjectName(
            _fromUtf8("lblTempInvalidReason"))
        self.gridLayout.addWidget(self.lblTempInvalidReason, 1, 0, 1, 1)
        self.lblTempInvalidOtherAge = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherAge.setAlignment(QtCore.Qt.AlignRight
                                                 | QtCore.Qt.AlignTrailing
                                                 | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidOtherAge.setObjectName(
            _fromUtf8("lblTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherAge, 5, 2, 1, 1)
        self.edtTempInvalidNumber = QtGui.QLineEdit(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidNumber.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidNumber.setSizePolicy(sizePolicy)
        self.edtTempInvalidNumber.setMaxLength(16)
        self.edtTempInvalidNumber.setObjectName(
            _fromUtf8("edtTempInvalidNumber"))
        self.gridLayout.addWidget(self.edtTempInvalidNumber, 3, 2, 1, 1)
        self.lblTempInvalidExternalLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidExternalLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidExternalLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidExternalLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidExternalLengthValue.setFrameShadow(
            QtGui.QFrame.Sunken)
        self.lblTempInvalidExternalLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidExternalLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidExternalLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLengthValue, 4, 3,
                                  1, 1)
        self.edtPlaceWork = QtGui.QLineEdit(grpTempInvalid)
        self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork"))
        self.gridLayout.addWidget(self.edtPlaceWork, 6, 1, 1, 3)
        self.cmbExtraReason = CRBComboBox(grpTempInvalid)
        self.cmbExtraReason.setObjectName(_fromUtf8("cmbExtraReason"))
        self.gridLayout.addWidget(self.cmbExtraReason, 2, 1, 1, 2)
        self.lblExtraReason = QtGui.QLabel(grpTempInvalid)
        self.lblExtraReason.setObjectName(_fromUtf8("lblExtraReason"))
        self.gridLayout.addWidget(self.lblExtraReason, 2, 0, 1, 1)
        self.lblTempInvalidLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTempInvalidLengthValue.sizePolicy().hasHeightForWidth())
        self.lblTempInvalidLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidLengthValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblTempInvalidLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidLengthValue, 4, 1, 1, 1)
        self.lblTempInvalidOtherSex = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidOtherSex.setObjectName(
            _fromUtf8("lblTempInvalidOtherSex"))
        self.gridLayout.addWidget(self.lblTempInvalidOtherSex, 5, 0, 1, 1)
        self.lblTempInvalidLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidLength.setObjectName(
            _fromUtf8("lblTempInvalidLength"))
        self.gridLayout.addWidget(self.lblTempInvalidLength, 4, 0, 1, 1)
        self.lblTempInvalidCaseLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidCaseLength.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidCaseLength.setObjectName(
            _fromUtf8("lblTempInvalidCaseLength"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLength, 1, 7, 1, 1)
        self.lblTempInvalidCaseLengthValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidCaseLengthValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidCaseLengthValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidCaseLengthValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidCaseLengthValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidCaseLengthValue.setText(_fromUtf8(""))
        self.lblTempInvalidCaseLengthValue.setObjectName(
            _fromUtf8("lblTempInvalidCaseLengthValue"))
        self.gridLayout.addWidget(self.lblTempInvalidCaseLengthValue, 1, 8, 1,
                                  1)
        self.lblCaseBegDate = QtGui.QLabel(grpTempInvalid)
        self.lblCaseBegDate.setObjectName(_fromUtf8("lblCaseBegDate"))
        self.gridLayout.addWidget(self.lblCaseBegDate, 1, 4, 1, 1)
        self.lblTempInvalidPrevNumberValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevNumberValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevNumberValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevNumberValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevNumberValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevNumberValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevNumberValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevNumberValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevNumberValue, 0, 7, 1,
                                  1)
        self.lblTempInvalidPrevSerialValue = QtGui.QLabel(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblTempInvalidPrevSerialValue.
                                     sizePolicy().hasHeightForWidth())
        self.lblTempInvalidPrevSerialValue.setSizePolicy(sizePolicy)
        self.lblTempInvalidPrevSerialValue.setFrameShape(
            QtGui.QFrame.StyledPanel)
        self.lblTempInvalidPrevSerialValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblTempInvalidPrevSerialValue.setText(_fromUtf8(""))
        self.lblTempInvalidPrevSerialValue.setObjectName(
            _fromUtf8("lblTempInvalidPrevSerialValue"))
        self.gridLayout.addWidget(self.lblTempInvalidPrevSerialValue, 0, 6, 1,
                                  1)
        self.btnNewLN = QtGui.QPushButton(grpTempInvalid)
        self.btnNewLN.setObjectName(_fromUtf8("btnNewLN"))
        self.gridLayout.addWidget(self.btnNewLN, 3, 1, 1, 1)
        self.lblTempInvalidPrev = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidPrev.setObjectName(_fromUtf8("lblTempInvalidPrev"))
        self.gridLayout.addWidget(self.lblTempInvalidPrev, 0, 4, 1, 1)
        self.edtCaseBegDate = CDateEdit(grpTempInvalid)
        self.edtCaseBegDate.setObjectName(_fromUtf8("edtCaseBegDate"))
        self.gridLayout.addWidget(self.edtCaseBegDate, 1, 6, 1, 1)
        self.edtTempInvalidOtherAge = QtGui.QSpinBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTempInvalidOtherAge.sizePolicy().hasHeightForWidth())
        self.edtTempInvalidOtherAge.setSizePolicy(sizePolicy)
        self.edtTempInvalidOtherAge.setObjectName(
            _fromUtf8("edtTempInvalidOtherAge"))
        self.gridLayout.addWidget(self.edtTempInvalidOtherAge, 5, 3, 1, 1)
        self.cmbTempInvalidReason = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidReason.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidReason.setSizePolicy(sizePolicy)
        self.cmbTempInvalidReason.setObjectName(
            _fromUtf8("cmbTempInvalidReason"))
        self.gridLayout.addWidget(self.cmbTempInvalidReason, 1, 1, 1, 2)
        self.lblTempInvalidSerial = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidSerial.setObjectName(
            _fromUtf8("lblTempInvalidSerial"))
        self.gridLayout.addWidget(self.lblTempInvalidSerial, 3, 0, 1, 1)
        self.lblTempInvalidDoctype = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidDoctype.setObjectName(
            _fromUtf8("lblTempInvalidDoctype"))
        self.gridLayout.addWidget(self.lblTempInvalidDoctype, 0, 0, 1, 1)
        self.lblPlaceWork = QtGui.QLabel(grpTempInvalid)
        self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork"))
        self.gridLayout.addWidget(self.lblPlaceWork, 6, 0, 1, 1)
        self.cmbTempInvalidDoctype = CRBComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidDoctype.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidDoctype.setSizePolicy(sizePolicy)
        self.cmbTempInvalidDoctype.setObjectName(
            _fromUtf8("cmbTempInvalidDoctype"))
        self.gridLayout.addWidget(self.cmbTempInvalidDoctype, 0, 1, 1, 2)
        self.cmbTempInvalidOtherSex = QtGui.QComboBox(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTempInvalidOtherSex.sizePolicy().hasHeightForWidth())
        self.cmbTempInvalidOtherSex.setSizePolicy(sizePolicy)
        self.cmbTempInvalidOtherSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbTempInvalidOtherSex.setObjectName(
            _fromUtf8("cmbTempInvalidOtherSex"))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.setItemText(0, _fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.cmbTempInvalidOtherSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTempInvalidOtherSex, 5, 1, 1, 1)
        self.lblTempInvalidExternalLength = QtGui.QLabel(grpTempInvalid)
        self.lblTempInvalidExternalLength.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
            | QtCore.Qt.AlignVCenter)
        self.lblTempInvalidExternalLength.setObjectName(
            _fromUtf8("lblTempInvalidExternalLength"))
        self.gridLayout.addWidget(self.lblTempInvalidExternalLength, 4, 2, 1,
                                  1)
        self.lblBusyness_2 = QtGui.QLabel(grpTempInvalid)
        self.lblBusyness_2.setObjectName(_fromUtf8("lblBusyness_2"))
        self.gridLayout.addWidget(self.lblBusyness_2, 2, 4, 1, 1)
        self.cmbBusyness = CEnumComboBox(grpTempInvalid)
        self.cmbBusyness.setFrame(True)
        self.cmbBusyness.setObjectName(_fromUtf8("cmbBusyness"))
        self.gridLayout.addWidget(self.cmbBusyness, 2, 6, 1, 1)
        self.btnTempInvalidProlong = QtGui.QPushButton(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnTempInvalidProlong.sizePolicy().hasHeightForWidth())
        self.btnTempInvalidProlong.setSizePolicy(sizePolicy)
        self.btnTempInvalidProlong.setObjectName(
            _fromUtf8("btnTempInvalidProlong"))
        self.gridLayout.addWidget(self.btnTempInvalidProlong, 6, 6, 1, 1)
        self.btnSendInFss = QtGui.QPushButton(grpTempInvalid)
        self.btnSendInFss.setObjectName(_fromUtf8("btnSendInFss"))
        self.gridLayout.addWidget(self.btnSendInFss, 6, 7, 1, 2)
        self.gridLayout_3.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.tblTempInvalidPeriods = CInDocTableView(grpTempInvalid)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblTempInvalidPeriods.sizePolicy().hasHeightForWidth())
        self.tblTempInvalidPeriods.setSizePolicy(sizePolicy)
        self.tblTempInvalidPeriods.setObjectName(
            _fromUtf8("tblTempInvalidPeriods"))
        self.gridLayout_3.addWidget(self.tblTempInvalidPeriods, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 1, 1, 1, 1)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1)
        self.lblTempInvalidReason.setBuddy(self.cmbTempInvalidReason)
        self.lblTempInvalidOtherAge.setBuddy(self.edtTempInvalidOtherAge)
        self.lblTempInvalidOtherSex.setBuddy(self.cmbTempInvalidOtherSex)
        self.lblCaseBegDate.setBuddy(self.edtCaseBegDate)
        self.lblTempInvalidDoctype.setBuddy(self.cmbTempInvalidDoctype)

        self.retranslateUi(grpTempInvalid)
        QtCore.QMetaObject.connectSlotsByName(grpTempInvalid)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidDoctype,
                                   self.cmbTempInvalidReason)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidReason,
                                   self.cmbExtraReason)
        grpTempInvalid.setTabOrder(self.cmbExtraReason,
                                   self.cmbTempInvalidOtherSex)
        grpTempInvalid.setTabOrder(self.cmbTempInvalidOtherSex,
                                   self.edtTempInvalidOtherAge)
        grpTempInvalid.setTabOrder(self.edtTempInvalidOtherAge,
                                   self.edtPlaceWork)
        grpTempInvalid.setTabOrder(self.edtPlaceWork,
                                   self.tblTempInvalidPeriods)

    def retranslateUi(self, grpTempInvalid):
        grpTempInvalid.setTitle(_translate("grpTempInvalid", "&ВУТ", None))
        self.lblTempInvalidReason.setText(
            _translate("grpTempInvalid", "Причина", None))
        self.lblTempInvalidOtherAge.setText(
            _translate("grpTempInvalid", "возраст", None))
        self.lblExtraReason.setText(
            _translate("grpTempInvalid", "Доп.причина", None))
        self.lblTempInvalidOtherSex.setText(
            _translate("grpTempInvalid", "Пол", None))
        self.lblTempInvalidLength.setText(
            _translate("grpTempInvalid", "Длительность", None))
        self.lblTempInvalidCaseLength.setText(
            _translate("grpTempInvalid", "дней", None))
        self.lblCaseBegDate.setText(
            _translate("grpTempInvalid", "Дата начала ВУТ", None))
        self.btnNewLN.setText(
            _translate("grpTempInvalid", "Сформировать новый номер ЛН", None))
        self.lblTempInvalidPrev.setText(
            _translate("grpTempInvalid", "Продлён", None))
        self.edtCaseBegDate.setDisplayFormat(
            _translate("grpTempInvalid", "dd.MM.yyyy", None))
        self.lblTempInvalidSerial.setText(
            _translate("grpTempInvalid", "Номер", None))
        self.lblTempInvalidDoctype.setText(
            _translate("grpTempInvalid", "Документ", None))
        self.lblPlaceWork.setText(
            _translate("grpTempInvalid", "Место работы", None))
        self.cmbTempInvalidOtherSex.setItemText(
            1, _translate("grpTempInvalid", "М", None))
        self.cmbTempInvalidOtherSex.setItemText(
            2, _translate("grpTempInvalid", "Ж", None))
        self.lblTempInvalidExternalLength.setText(
            _translate("grpTempInvalid", "вне ЛПУ", None))
        self.lblBusyness_2.setText(
            _translate("grpTempInvalid", "Занятость", None))
        self.btnTempInvalidProlong.setText(
            _translate("grpTempInvalid", "Продлить", None))
        self.btnSendInFss.setText(
            _translate("grpTempInvalid", "Подписать и отправить в ФСС", None))
예제 #5
0
class Ui_ReportClientActionsSetupDialog(object):
    def setupUi(self, ReportClientActionsSetupDialog):
        ReportClientActionsSetupDialog.setObjectName(
            _fromUtf8("ReportClientActionsSetupDialog"))
        ReportClientActionsSetupDialog.resize(577, 676)
        self.gridLayout = QtGui.QGridLayout(ReportClientActionsSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grpClient = QtGui.QGroupBox(ReportClientActionsSetupDialog)
        self.grpClient.setFlat(False)
        self.grpClient.setCheckable(False)
        self.grpClient.setChecked(False)
        self.grpClient.setObjectName(_fromUtf8("grpClient"))
        self.gridLayout_2 = QtGui.QGridLayout(self.grpClient)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblLastName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLastName.sizePolicy().hasHeightForWidth())
        self.lblLastName.setSizePolicy(sizePolicy)
        self.lblLastName.setObjectName(_fromUtf8("lblLastName"))
        self.gridLayout_2.addWidget(self.lblLastName, 1, 0, 1, 1)
        self.edtLastName = QtGui.QLineEdit(self.grpClient)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout_2.addWidget(self.edtLastName, 1, 1, 1, 7)
        self.lblFirstName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFirstName.sizePolicy().hasHeightForWidth())
        self.lblFirstName.setSizePolicy(sizePolicy)
        self.lblFirstName.setObjectName(_fromUtf8("lblFirstName"))
        self.gridLayout_2.addWidget(self.lblFirstName, 2, 0, 1, 1)
        self.edtFirstName = QtGui.QLineEdit(self.grpClient)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout_2.addWidget(self.edtFirstName, 2, 1, 1, 7)
        self.lblPatrName = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPatrName.sizePolicy().hasHeightForWidth())
        self.lblPatrName.setSizePolicy(sizePolicy)
        self.lblPatrName.setObjectName(_fromUtf8("lblPatrName"))
        self.gridLayout_2.addWidget(self.lblPatrName, 3, 0, 1, 1)
        self.edtPatrName = QtGui.QLineEdit(self.grpClient)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout_2.addWidget(self.edtPatrName, 3, 1, 1, 7)
        self.lblBirthDate = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBirthDate.sizePolicy().hasHeightForWidth())
        self.lblBirthDate.setSizePolicy(sizePolicy)
        self.lblBirthDate.setObjectName(_fromUtf8("lblBirthDate"))
        self.gridLayout_2.addWidget(self.lblBirthDate, 4, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBirthDate.sizePolicy().hasHeightForWidth())
        self.edtBirthDate.setSizePolicy(sizePolicy)
        self.edtBirthDate.setCalendarPopup(True)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout_2.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(221, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 4, 2, 1, 6)
        self.lblDocument = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDocument.sizePolicy().hasHeightForWidth())
        self.lblDocument.setSizePolicy(sizePolicy)
        self.lblDocument.setObjectName(_fromUtf8("lblDocument"))
        self.gridLayout_2.addWidget(self.lblDocument, 5, 0, 1, 1)
        self.cmbDocType = CRBComboBox(self.grpClient)
        self.cmbDocType.setObjectName(_fromUtf8("cmbDocType"))
        self.gridLayout_2.addWidget(self.cmbDocType, 5, 1, 1, 1)
        self.lblSerial = QtGui.QLabel(self.grpClient)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout_2.addWidget(self.lblSerial, 5, 2, 1, 1)
        self.edtLeftSerial = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeftSerial.sizePolicy().hasHeightForWidth())
        self.edtLeftSerial.setSizePolicy(sizePolicy)
        self.edtLeftSerial.setObjectName(_fromUtf8("edtLeftSerial"))
        self.gridLayout_2.addWidget(self.edtLeftSerial, 5, 3, 1, 1)
        self.edtRightSerial = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtRightSerial.sizePolicy().hasHeightForWidth())
        self.edtRightSerial.setSizePolicy(sizePolicy)
        self.edtRightSerial.setObjectName(_fromUtf8("edtRightSerial"))
        self.gridLayout_2.addWidget(self.edtRightSerial, 5, 4, 1, 1)
        self.lblNumber = QtGui.QLabel(self.grpClient)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout_2.addWidget(self.lblNumber, 5, 5, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout_2.addWidget(self.edtNumber, 5, 6, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 5, 7, 1, 1)
        self.lblCompulsoryPolicy = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCompulsoryPolicy.sizePolicy().hasHeightForWidth())
        self.lblCompulsoryPolicy.setSizePolicy(sizePolicy)
        self.lblCompulsoryPolicy.setObjectName(
            _fromUtf8("lblCompulsoryPolicy"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolicy, 6, 0, 1, 1)
        self.cmbPolicyType = CRBComboBox(self.grpClient)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.gridLayout_2.addWidget(self.cmbPolicyType, 6, 1, 1, 1)
        self.lblCompulsoryPolisSerial = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisSerial.setObjectName(
            _fromUtf8("lblCompulsoryPolisSerial"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisSerial, 6, 2, 1, 1)
        self.edtPolicySerial = CPolicySerialEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicySerial.sizePolicy().hasHeightForWidth())
        self.edtPolicySerial.setSizePolicy(sizePolicy)
        self.edtPolicySerial.setObjectName(_fromUtf8("edtPolicySerial"))
        self.gridLayout_2.addWidget(self.edtPolicySerial, 6, 3, 1, 2)
        self.lblCompulsoryPolisNumber = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisNumber.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblCompulsoryPolisNumber.setObjectName(
            _fromUtf8("lblCompulsoryPolisNumber"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisNumber, 6, 5, 1, 1)
        self.edtPolicyNumber = QtGui.QLineEdit(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyNumber.sizePolicy().hasHeightForWidth())
        self.edtPolicyNumber.setSizePolicy(sizePolicy)
        self.edtPolicyNumber.setObjectName(_fromUtf8("edtPolicyNumber"))
        self.gridLayout_2.addWidget(self.edtPolicyNumber, 6, 6, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 6, 7, 1, 1)
        self.lblCompulsoryPolisCompany = QtGui.QLabel(self.grpClient)
        self.lblCompulsoryPolisCompany.setObjectName(
            _fromUtf8("lblCompulsoryPolisCompany"))
        self.gridLayout_2.addWidget(self.lblCompulsoryPolisCompany, 7, 2, 1, 1)
        self.cmbPolicyCompany = CInsurerComboBox(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPolicyCompany.sizePolicy().hasHeightForWidth())
        self.cmbPolicyCompany.setSizePolicy(sizePolicy)
        self.cmbPolicyCompany.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbPolicyCompany.setObjectName(_fromUtf8("cmbPolicyCompany"))
        self.gridLayout_2.addWidget(self.cmbPolicyCompany, 7, 3, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(1, 24, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem3, 7, 7, 1, 1)
        self.lblContact = QtGui.QLabel(self.grpClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContact.sizePolicy().hasHeightForWidth())
        self.lblContact.setSizePolicy(sizePolicy)
        self.lblContact.setObjectName(_fromUtf8("lblContact"))
        self.gridLayout_2.addWidget(self.lblContact, 8, 0, 1, 1)
        self.edtContact = QtGui.QLineEdit(self.grpClient)
        self.edtContact.setObjectName(_fromUtf8("edtContact"))
        self.gridLayout_2.addWidget(self.edtContact, 8, 1, 1, 7)
        self.chkClientCode = QtGui.QCheckBox(self.grpClient)
        self.chkClientCode.setObjectName(_fromUtf8("chkClientCode"))
        self.gridLayout_2.addWidget(self.chkClientCode, 0, 0, 1, 1)
        self.edtClientCode = QtGui.QLineEdit(self.grpClient)
        self.edtClientCode.setEnabled(False)
        self.edtClientCode.setObjectName(_fromUtf8("edtClientCode"))
        self.gridLayout_2.addWidget(self.edtClientCode, 0, 1, 1, 3)
        self.cmbAccountingSystem = CRBComboBox(self.grpClient)
        self.cmbAccountingSystem.setEnabled(False)
        self.cmbAccountingSystem.setObjectName(
            _fromUtf8("cmbAccountingSystem"))
        self.gridLayout_2.addWidget(self.cmbAccountingSystem, 0, 4, 1, 2)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem4, 0, 6, 1, 2)
        self.gridLayout.addWidget(self.grpClient, 3, 0, 1, 5)
        self.lblActionDateType = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblActionDateType.sizePolicy().hasHeightForWidth())
        self.lblActionDateType.setSizePolicy(sizePolicy)
        self.lblActionDateType.setObjectName(_fromUtf8("lblActionDateType"))
        self.gridLayout.addWidget(self.lblActionDateType, 4, 0, 1, 1)
        self.cmbActionDateType = QtGui.QComboBox(
            ReportClientActionsSetupDialog)
        self.cmbActionDateType.setObjectName(_fromUtf8("cmbActionDateType"))
        self.cmbActionDateType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbActionDateType, 4, 1, 1, 3)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 4, 4, 1, 1)
        self.lblDate = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 5, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportClientActionsSetupDialog)
        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.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 5, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportClientActionsSetupDialog)
        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.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 5, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 5, 4, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportClientActionsSetupDialog)
        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)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem7, 9, 3, 1, 1)
        self.lblContract = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContract.sizePolicy().hasHeightForWidth())
        self.lblContract.setSizePolicy(sizePolicy)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 7, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportClientActionsSetupDialog)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 7, 1, 1, 4)
        self.lblFinance = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFinance.sizePolicy().hasHeightForWidth())
        self.lblFinance.setSizePolicy(sizePolicy)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 6, 0, 1, 1)
        self.lblResultType = QtGui.QLabel(ReportClientActionsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblResultType.sizePolicy().hasHeightForWidth())
        self.lblResultType.setSizePolicy(sizePolicy)
        self.lblResultType.setObjectName(_fromUtf8("lblResultType"))
        self.gridLayout.addWidget(self.lblResultType, 0, 0, 1, 1)
        self.cmbResultType = QtGui.QComboBox(ReportClientActionsSetupDialog)
        self.cmbResultType.setObjectName(_fromUtf8("cmbResultType"))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.cmbResultType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbResultType, 0, 1, 1, 3)
        self.chkDetailDateAndPersonCode = QtGui.QCheckBox(
            ReportClientActionsSetupDialog)
        self.chkDetailDateAndPersonCode.setObjectName(
            _fromUtf8("chkDetailDateAndPersonCode"))
        self.gridLayout.addWidget(self.chkDetailDateAndPersonCode, 1, 0, 1, 4)
        self.chkOnlyAccounting = QtGui.QCheckBox(
            ReportClientActionsSetupDialog)
        self.chkOnlyAccounting.setObjectName(_fromUtf8("chkOnlyAccounting"))
        self.gridLayout.addWidget(self.chkOnlyAccounting, 2, 0, 1, 3)
        self.lblOrgStructure = QtGui.QLabel(ReportClientActionsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportClientActionsSetupDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 4)
        self.cmbFinance = CRBComboBox(ReportClientActionsSetupDialog)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 6, 1, 1, 4)
        self.lblLastName.setBuddy(self.edtLastName)
        self.lblFirstName.setBuddy(self.edtFirstName)
        self.lblCompulsoryPolicy.setBuddy(self.edtPolicySerial)
        self.lblCompulsoryPolisSerial.setBuddy(self.edtPolicySerial)
        self.lblCompulsoryPolisNumber.setBuddy(self.edtPolicyNumber)
        self.lblCompulsoryPolisCompany.setBuddy(self.cmbPolicyCompany)

        self.retranslateUi(ReportClientActionsSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportClientActionsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportClientActionsSetupDialog.reject)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtClientCode.setEnabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbAccountingSystem.setEnabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLastName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtFirstName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPatrName.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtBirthDate.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbDocType.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtLeftSerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtRightSerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtNumber.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyType.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPolicySerial.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtPolicyNumber.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyCompany.setDisabled)
        QtCore.QObject.connect(self.chkClientCode,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtContact.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportClientActionsSetupDialog)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbResultType,
                                                   self.chkClientCode)
        ReportClientActionsSetupDialog.setTabOrder(self.chkClientCode,
                                                   self.edtClientCode)
        ReportClientActionsSetupDialog.setTabOrder(self.edtClientCode,
                                                   self.cmbAccountingSystem)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbAccountingSystem,
                                                   self.edtLastName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtLastName,
                                                   self.edtFirstName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtFirstName,
                                                   self.edtPatrName)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPatrName,
                                                   self.edtBirthDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtBirthDate,
                                                   self.cmbDocType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbDocType,
                                                   self.edtLeftSerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtLeftSerial,
                                                   self.edtRightSerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtRightSerial,
                                                   self.edtNumber)
        ReportClientActionsSetupDialog.setTabOrder(self.edtNumber,
                                                   self.cmbPolicyType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbPolicyType,
                                                   self.edtPolicySerial)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPolicySerial,
                                                   self.edtPolicyNumber)
        ReportClientActionsSetupDialog.setTabOrder(self.edtPolicyNumber,
                                                   self.cmbPolicyCompany)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbPolicyCompany,
                                                   self.edtContact)
        ReportClientActionsSetupDialog.setTabOrder(self.edtContact,
                                                   self.cmbActionDateType)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbActionDateType,
                                                   self.edtBegDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtBegDate,
                                                   self.edtEndDate)
        ReportClientActionsSetupDialog.setTabOrder(self.edtEndDate,
                                                   self.cmbFinance)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbFinance,
                                                   self.cmbContract)
        ReportClientActionsSetupDialog.setTabOrder(self.cmbContract,
                                                   self.buttonBox)

    def retranslateUi(self, ReportClientActionsSetupDialog):
        ReportClientActionsSetupDialog.setWindowTitle(
            _translate("ReportClientActionsSetupDialog", "Dialog", None))
        self.grpClient.setTitle(
            _translate("ReportClientActionsSetupDialog", "Пациент", None))
        self.lblLastName.setText(
            _translate("ReportClientActionsSetupDialog", "Фамилия", None))
        self.lblFirstName.setText(
            _translate("ReportClientActionsSetupDialog", "Имя", None))
        self.lblPatrName.setText(
            _translate("ReportClientActionsSetupDialog", "Отчество", None))
        self.lblBirthDate.setText(
            _translate("ReportClientActionsSetupDialog", "Дата рождения",
                       None))
        self.edtBirthDate.setDisplayFormat(
            _translate("ReportClientActionsSetupDialog", "dd.MM.yyyy", None))
        self.lblDocument.setText(
            _translate("ReportClientActionsSetupDialog", "Документ", None))
        self.lblSerial.setText(
            _translate("ReportClientActionsSetupDialog", "Серия", None))
        self.lblNumber.setText(
            _translate("ReportClientActionsSetupDialog", "Номер", None))
        self.lblCompulsoryPolicy.setText(
            _translate("ReportClientActionsSetupDialog", "Полис", None))
        self.lblCompulsoryPolisSerial.setText(
            _translate("ReportClientActionsSetupDialog", "Серия", None))
        self.lblCompulsoryPolisNumber.setText(
            _translate("ReportClientActionsSetupDialog", "Номер", None))
        self.lblCompulsoryPolisCompany.setText(
            _translate("ReportClientActionsSetupDialog", "СМО", None))
        self.lblContact.setText(
            _translate("ReportClientActionsSetupDialog", "Контакт", None))
        self.chkClientCode.setText(
            _translate("ReportClientActionsSetupDialog", "Код", None))
        self.lblActionDateType.setText(
            _translate("ReportClientActionsSetupDialog", "Тип даты действия",
                       None))
        self.cmbActionDateType.setItemText(
            0,
            _translate("ReportClientActionsSetupDialog", "Возможные типы дат",
                       None))
        self.lblDate.setText(
            _translate("ReportClientActionsSetupDialog", "Период", None))
        self.lblContract.setText(
            _translate("ReportClientActionsSetupDialog", "Контракт", None))
        self.lblFinance.setText(
            _translate("ReportClientActionsSetupDialog", "Тип финансирования",
                       None))
        self.lblResultType.setText(
            _translate("ReportClientActionsSetupDialog", "Результат", None))
        self.cmbResultType.setItemText(
            0, _translate("ReportClientActionsSetupDialog", "Отчет", None))
        self.cmbResultType.setItemText(
            1, _translate("ReportClientActionsSetupDialog", "Реестр", None))
        self.cmbResultType.setItemText(
            2,
            _translate("ReportClientActionsSetupDialog",
                       "Реестр услуг с датами выполнения", None))
        self.chkDetailDateAndPersonCode.setText(
            _translate("ReportClientActionsSetupDialog",
                       "Выводить дату оказания и исполнителя услуги", None))
        self.chkOnlyAccounting.setText(
            _translate("ReportClientActionsSetupDialog", "Только по счетам",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportClientActionsSetupDialog", "Подразделение",
                       None))
예제 #6
0
class Ui_Report14DS_3000_SetupDialog(object):
    def setupUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setObjectName(
            _fromUtf8("StationaryMESF14DCDialog"))
        StationaryMESF14DCDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryMESF14DCDialog.resize(438, 267)
        StationaryMESF14DCDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryMESF14DCDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(StationaryMESF14DCDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)

        self.lblRegularBed = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblRegularBed.setObjectName(_fromUtf8("lblRegularBed"))
        self.gridLayout.addWidget(self.lblRegularBed, 8, 0, 1, 1)
        self.cmbRegularBed = QtGui.QComboBox(StationaryMESF14DCDialog)
        self.cmbRegularBed.setObjectName(_fromUtf8("cmbRegularBed"))
        self.cmbRegularBed.addItem(_fromUtf8(""))
        self.cmbRegularBed.addItem(_fromUtf8(""))
        self.cmbRegularBed.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbRegularBed, 8, 1, 1, 2)

        self.chkDenouement = QtGui.QCheckBox(StationaryMESF14DCDialog)
        self.chkDenouement.setObjectName(_fromUtf8("chkDenouement"))
        self.gridLayout.addWidget(self.chkDenouement, 9, 1, 1, 2)

        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 11, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryMESF14DCDialog)
        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, 12, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(StationaryMESF14DCDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryMESF14DCDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryMESF14DCDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StationaryMESF14DCDialog)
        StationaryMESF14DCDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        StationaryMESF14DCDialog.setTabOrder(self.edtEndDate,
                                             self.cmbOrgStructure)
        # StationaryMESF14DCDialog.setTabOrder(self.cmbOrgStructure, self.lstFilterProfile)
        # StationaryMESF14DCDialog.setTabOrder(self.lstFilterProfile, self.buttonBox)
        # StationaryMESF14DCDialog.setTabOrder(self.cmbFilterDS, self.buttonBox)
        # StationaryMESF14DCDialog.setTabOrder(self.cmbrbNet)

    def retranslateUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setWindowTitle(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtEndDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblRegularBed.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Учитывать штатные койки", None,
                                         QtGui.QApplication.UnicodeUTF8))

        self.cmbRegularBed.setItemText(
            0,
            QtGui.QApplication.translate("StationaryMESF14DCDialog", "Все",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbRegularBed.setItemText(
            1,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Учитывать штатные койки", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbRegularBed.setItemText(
            2,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Учитывать нештатные койки", None,
                                         QtGui.QApplication.UnicodeUTF8))

        self.chkDenouement.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Разбивка по кодам МКБ", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #7
0
class Ui_EmergencyF40SetupDialog(object):
    def setupUi(self, EmergencyF40SetupDialog):
        EmergencyF40SetupDialog.setObjectName(
            _fromUtf8("EmergencyF40SetupDialog"))
        EmergencyF40SetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        EmergencyF40SetupDialog.resize(323, 117)
        EmergencyF40SetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(EmergencyF40SetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblBegDate = QtGui.QLabel(EmergencyF40SetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(EmergencyF40SetupDialog)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(EmergencyF40SetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(EmergencyF40SetupDialog)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(EmergencyF40SetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 5, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

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

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

    def retranslateUi(self, StationaryF30SetupDialog):
        StationaryF30SetupDialog.setWindowTitle(
            _translate("StationaryF30SetupDialog", "параметры отчёта", None))
        self.lblOrgStructure.setText(
            _translate("StationaryF30SetupDialog", "&Подразделение", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF30SetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(
            _translate("StationaryF30SetupDialog", "Дата &окончания периода",
                       None))
        self.lblProfilBed.setText(
            _translate("StationaryF30SetupDialog", "Профиль койки", None))
        self.edtBegDate.setDisplayFormat(
            _translate("StationaryF30SetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("StationaryF30SetupDialog", "Дата &начала периода",
                       None))
예제 #9
0
class Ui_VisitBeforeRecordClient(object):
    def setupUi(self, VisitBeforeRecordClient):
        VisitBeforeRecordClient.setObjectName(
            _fromUtf8("VisitBeforeRecordClient"))
        VisitBeforeRecordClient.resize(489, 553)
        self.gridLayout = QtGui.QGridLayout(VisitBeforeRecordClient)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(VisitBeforeRecordClient)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.edtBeginDateVisitBeforeRecordClient = CDateEdit(
            VisitBeforeRecordClient)
        self.edtBeginDateVisitBeforeRecordClient.setCalendarPopup(True)
        self.edtBeginDateVisitBeforeRecordClient.setObjectName(
            _fromUtf8("edtBeginDateVisitBeforeRecordClient"))
        self.horizontalLayout.addWidget(
            self.edtBeginDateVisitBeforeRecordClient)
        self.label_2 = QtGui.QLabel(VisitBeforeRecordClient)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.edtEndDateVisitBeforeRecordClient = CDateEdit(
            VisitBeforeRecordClient)
        self.edtEndDateVisitBeforeRecordClient.setCalendarPopup(True)
        self.edtEndDateVisitBeforeRecordClient.setObjectName(
            _fromUtf8("edtEndDateVisitBeforeRecordClient"))
        self.horizontalLayout.addWidget(self.edtEndDateVisitBeforeRecordClient)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 5)
        self.label_3 = QtGui.QLabel(VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.cmbOrgStructureVisitBeforeRecordClient = COrgStructureComboBox(
            VisitBeforeRecordClient)
        self.cmbOrgStructureVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbOrgStructureVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbOrgStructureVisitBeforeRecordClient,
                                  1, 1, 1, 4)
        self.label_4 = QtGui.QLabel(VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.cmbSpecialityVisitBeforeRecordClient = CRBComboBox(
            VisitBeforeRecordClient)
        self.cmbSpecialityVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbSpecialityVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbSpecialityVisitBeforeRecordClient, 2,
                                  1, 1, 4)
        self.label_5 = QtGui.QLabel(VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.cmbPersonVisitBeforeRecordClient = CPersonComboBoxEx(
            VisitBeforeRecordClient)
        self.cmbPersonVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbPersonVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbPersonVisitBeforeRecordClient, 3, 1,
                                  1, 4)
        self.chkNoVisitBeforeRecordClient = QtGui.QCheckBox(
            VisitBeforeRecordClient)
        self.chkNoVisitBeforeRecordClient.setObjectName(
            _fromUtf8("chkNoVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.chkNoVisitBeforeRecordClient, 4, 0, 1,
                                  5)
        self.splitter = QtGui.QSplitter(VisitBeforeRecordClient)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.txtVisitBeforeRecordClient = QtGui.QTextBrowser(self.splitter)
        self.txtVisitBeforeRecordClient.setObjectName(
            _fromUtf8("txtVisitBeforeRecordClient"))
        self.tblVisitByQueue = CTableView(self.splitter)
        self.tblVisitByQueue.setObjectName(_fromUtf8("tblVisitByQueue"))
        self.gridLayout.addWidget(self.splitter, 5, 0, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(152, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 6, 0, 1, 2)
        self.btnCreateVisitBeforeRecordClient = QtGui.QPushButton(
            VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnCreateVisitBeforeRecordClient.
                                     sizePolicy().hasHeightForWidth())
        self.btnCreateVisitBeforeRecordClient.setSizePolicy(sizePolicy)
        self.btnCreateVisitBeforeRecordClient.setMinimumSize(
            QtCore.QSize(100, 0))
        self.btnCreateVisitBeforeRecordClient.setObjectName(
            _fromUtf8("btnCreateVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.btnCreateVisitBeforeRecordClient, 6, 2,
                                  1, 1)
        self.btnPrintVisitBeforeRecordClient = QtGui.QPushButton(
            VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnPrintVisitBeforeRecordClient.
                                     sizePolicy().hasHeightForWidth())
        self.btnPrintVisitBeforeRecordClient.setSizePolicy(sizePolicy)
        self.btnPrintVisitBeforeRecordClient.setMinimumSize(
            QtCore.QSize(100, 0))
        self.btnPrintVisitBeforeRecordClient.setObjectName(
            _fromUtf8("btnPrintVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.btnPrintVisitBeforeRecordClient, 6, 3,
                                  1, 1)
        self.btnCancelVisitBeforeRecordClient = QtGui.QPushButton(
            VisitBeforeRecordClient)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnCancelVisitBeforeRecordClient.
                                     sizePolicy().hasHeightForWidth())
        self.btnCancelVisitBeforeRecordClient.setSizePolicy(sizePolicy)
        self.btnCancelVisitBeforeRecordClient.setMinimumSize(
            QtCore.QSize(100, 0))
        self.btnCancelVisitBeforeRecordClient.setObjectName(
            _fromUtf8("btnCancelVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.btnCancelVisitBeforeRecordClient, 6, 4,
                                  1, 1)

        self.retranslateUi(VisitBeforeRecordClient)
        QtCore.QMetaObject.connectSlotsByName(VisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.edtBeginDateVisitBeforeRecordClient,
            self.edtEndDateVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.edtEndDateVisitBeforeRecordClient,
            self.cmbOrgStructureVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.cmbOrgStructureVisitBeforeRecordClient,
            self.cmbSpecialityVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.cmbSpecialityVisitBeforeRecordClient,
            self.cmbPersonVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.cmbPersonVisitBeforeRecordClient,
            self.chkNoVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(self.chkNoVisitBeforeRecordClient,
                                            self.txtVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(self.txtVisitBeforeRecordClient,
                                            self.tblVisitByQueue)
        VisitBeforeRecordClient.setTabOrder(
            self.tblVisitByQueue, self.btnCreateVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.btnCreateVisitBeforeRecordClient,
            self.btnPrintVisitBeforeRecordClient)
        VisitBeforeRecordClient.setTabOrder(
            self.btnPrintVisitBeforeRecordClient,
            self.btnCancelVisitBeforeRecordClient)

    def retranslateUi(self, VisitBeforeRecordClient):
        VisitBeforeRecordClient.setWindowTitle(
            QtGui.QApplication.translate(
                "VisitBeforeRecordClient",
                "Протокол обращений пациента по предварительной записи", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBeginDateVisitBeforeRecordClient.setDisplayFormat(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtEndDateVisitBeforeRecordClient.setDisplayFormat(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkNoVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "Показывать записи без обращения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnCreateVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient",
                                         "Начать выполнение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnPrintVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient", "Печать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnCancelVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate("VisitBeforeRecordClient", "Отмена",
                                         None, QtGui.QApplication.UnicodeUTF8))
예제 #10
0
class Ui_ClientDocumentsCheckDialog(object):
    def setupUi(self, ClientDocumentsCheckDialog):
        ClientDocumentsCheckDialog.setObjectName(
            _fromUtf8("ClientDocumentsCheckDialog"))
        ClientDocumentsCheckDialog.resize(589, 538)
        self.gridLayout = QtGui.QGridLayout(ClientDocumentsCheckDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.frmDateRange = QtGui.QWidget(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDateRange.sizePolicy().hasHeightForWidth())
        self.frmDateRange.setSizePolicy(sizePolicy)
        self.frmDateRange.setObjectName(_fromUtf8("frmDateRange"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmDateRange)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.gridLayout.addWidget(self.frmDateRange, 0, 0, 1, 2)
        self.log = QtGui.QListWidget(ClientDocumentsCheckDialog)
        self.log.setObjectName(_fromUtf8("log"))
        self.gridLayout.addWidget(self.log, 3, 0, 1, 6)
        self.progressBar = CProgressBar(ClientDocumentsCheckDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 2, 0, 1, 6)
        self.btnStart = QtGui.QPushButton(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setMinimumSize(QtCore.QSize(100, 0))
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 5, 3, 1, 2)
        self.labelInfo = QtGui.QLabel(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.labelInfo.sizePolicy().hasHeightForWidth())
        self.labelInfo.setSizePolicy(sizePolicy)
        self.labelInfo.setText(_fromUtf8(""))
        self.labelInfo.setObjectName(_fromUtf8("labelInfo"))
        self.gridLayout.addWidget(self.labelInfo, 5, 0, 1, 3)
        self.btnClose = QtGui.QPushButton(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setMinimumSize(QtCore.QSize(100, 0))
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 5, 5, 1, 1)
        self.begDate = CDateEdit(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.begDate.sizePolicy().hasHeightForWidth())
        self.begDate.setSizePolicy(sizePolicy)
        self.begDate.setDate(QtCore.QDate(2000, 1, 1))
        self.begDate.setCalendarPopup(True)
        self.begDate.setObjectName(_fromUtf8("begDate"))
        self.gridLayout.addWidget(self.begDate, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 3, 1, 1)
        self.endDate = CDateEdit(ClientDocumentsCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.endDate.sizePolicy().hasHeightForWidth())
        self.endDate.setSizePolicy(sizePolicy)
        self.endDate.setDate(QtCore.QDate(2000, 1, 1))
        self.endDate.setCalendarPopup(True)
        self.endDate.setObjectName(_fromUtf8("endDate"))
        self.gridLayout.addWidget(self.endDate, 0, 4, 1, 1)

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

    def retranslateUi(self, ClientDocumentsCheckDialog):
        ClientDocumentsCheckDialog.setWindowTitle(
            _translate("ClientDocumentsCheckDialog",
                       "Проверка документов, удостоверяющих личность", None))
        self.label.setText(
            _translate("ClientDocumentsCheckDialog",
                       "Дата выполнения обращения с ", None))
        self.btnStart.setText(
            _translate("ClientDocumentsCheckDialog", "Начать проверку", None))
        self.btnClose.setText(
            _translate("ClientDocumentsCheckDialog", "Прервать", None))
        self.begDate.setDisplayFormat(
            _translate("ClientDocumentsCheckDialog", "dd.MM.yyyy", None))
        self.label_2.setText(
            _translate("ClientDocumentsCheckDialog", "по", None))
        self.endDate.setDisplayFormat(
            _translate("ClientDocumentsCheckDialog", "dd.MM.yyyy", None))
예제 #11
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))
예제 #12
0
class Ui_ReportVisitByQueueDialog(object):
    def setupUi(self, ReportVisitByQueueDialog):
        ReportVisitByQueueDialog.setObjectName(
            _fromUtf8("ReportVisitByQueueDialog"))
        ReportVisitByQueueDialog.resize(418, 279)
        self.gridLayout = QtGui.QGridLayout(ReportVisitByQueueDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(ReportVisitByQueueDialog)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.edtBeginDateVisitBeforeRecordClient = CDateEdit(
            ReportVisitByQueueDialog)
        self.edtBeginDateVisitBeforeRecordClient.setCalendarPopup(True)
        self.edtBeginDateVisitBeforeRecordClient.setObjectName(
            _fromUtf8("edtBeginDateVisitBeforeRecordClient"))
        self.horizontalLayout.addWidget(
            self.edtBeginDateVisitBeforeRecordClient)
        self.label_2 = QtGui.QLabel(ReportVisitByQueueDialog)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.edtEndDateVisitBeforeRecordClient = CDateEdit(
            ReportVisitByQueueDialog)
        self.edtEndDateVisitBeforeRecordClient.setCalendarPopup(True)
        self.edtEndDateVisitBeforeRecordClient.setObjectName(
            _fromUtf8("edtEndDateVisitBeforeRecordClient"))
        self.horizontalLayout.addWidget(self.edtEndDateVisitBeforeRecordClient)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 3)
        self.label_3 = QtGui.QLabel(ReportVisitByQueueDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.cmbOrgStructureVisitBeforeRecordClient = COrgStructureComboBox(
            ReportVisitByQueueDialog)
        self.cmbOrgStructureVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbOrgStructureVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbOrgStructureVisitBeforeRecordClient,
                                  1, 1, 1, 2)
        self.label_4 = QtGui.QLabel(ReportVisitByQueueDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.cmbSpecialityVisitBeforeRecordClient = CRBComboBox(
            ReportVisitByQueueDialog)
        self.cmbSpecialityVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbSpecialityVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbSpecialityVisitBeforeRecordClient, 2,
                                  1, 1, 2)
        self.label_5 = QtGui.QLabel(ReportVisitByQueueDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.cmbPersonVisitBeforeRecordClient = CPersonComboBoxEx(
            ReportVisitByQueueDialog)
        self.cmbPersonVisitBeforeRecordClient.setObjectName(
            _fromUtf8("cmbPersonVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.cmbPersonVisitBeforeRecordClient, 3, 1,
                                  1, 2)
        self.chkNextVisitBeforeRecordClient = QtGui.QCheckBox(
            ReportVisitByQueueDialog)
        self.chkNextVisitBeforeRecordClient.setObjectName(
            _fromUtf8("chkNextVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.chkNextVisitBeforeRecordClient, 4, 0, 1,
                                  3)
        self.chkNoVisitBeforeRecordClient = QtGui.QCheckBox(
            ReportVisitByQueueDialog)
        self.chkNoVisitBeforeRecordClient.setObjectName(
            _fromUtf8("chkNoVisitBeforeRecordClient"))
        self.gridLayout.addWidget(self.chkNoVisitBeforeRecordClient, 5, 0, 1,
                                  3)
        self.chkVisitOtherSpeciality = QtGui.QCheckBox(
            ReportVisitByQueueDialog)
        self.chkVisitOtherSpeciality.setObjectName(
            _fromUtf8("chkVisitOtherSpeciality"))
        self.gridLayout.addWidget(self.chkVisitOtherSpeciality, 6, 0, 1, 3)
        self.lblSorting = QtGui.QLabel(ReportVisitByQueueDialog)
        self.lblSorting.setObjectName(_fromUtf8("lblSorting"))
        self.gridLayout.addWidget(self.lblSorting, 7, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 0, 1, 1)
        self.cmbSorting = QtGui.QComboBox(ReportVisitByQueueDialog)
        self.cmbSorting.setObjectName(_fromUtf8("cmbSorting"))
        self.cmbSorting.addItem(_fromUtf8(""))
        self.cmbSorting.addItem(_fromUtf8(""))
        self.cmbSorting.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSorting, 7, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportVisitByQueueDialog)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 9, 0, 1, 3)

        self.retranslateUi(ReportVisitByQueueDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportVisitByQueueDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportVisitByQueueDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportVisitByQueueDialog)
        ReportVisitByQueueDialog.setTabOrder(
            self.edtBeginDateVisitBeforeRecordClient,
            self.edtEndDateVisitBeforeRecordClient)
        ReportVisitByQueueDialog.setTabOrder(
            self.edtEndDateVisitBeforeRecordClient,
            self.cmbOrgStructureVisitBeforeRecordClient)
        ReportVisitByQueueDialog.setTabOrder(
            self.cmbOrgStructureVisitBeforeRecordClient,
            self.cmbSpecialityVisitBeforeRecordClient)
        ReportVisitByQueueDialog.setTabOrder(
            self.cmbSpecialityVisitBeforeRecordClient,
            self.cmbPersonVisitBeforeRecordClient)
        ReportVisitByQueueDialog.setTabOrder(
            self.cmbPersonVisitBeforeRecordClient,
            self.chkNextVisitBeforeRecordClient)

    def retranslateUi(self, ReportVisitByQueueDialog):
        ReportVisitByQueueDialog.setWindowTitle(
            QtGui.QApplication.translate(
                "ReportVisitByQueueDialog",
                "Протокол обращений пациента по предварительной записи", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBeginDateVisitBeforeRecordClient.setDisplayFormat(
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog", "по",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.edtEndDateVisitBeforeRecordClient.setDisplayFormat(
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkNextVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate(
                "ReportVisitByQueueDialog",
                "Учитывать назначение следующей явки", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkNoVisitBeforeRecordClient.setText(
            QtGui.QApplication.translate(
                "ReportVisitByQueueDialog",
                "Учитывать только не явившихся на прием", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkVisitOtherSpeciality.setText(
            QtGui.QApplication.translate(
                "ReportVisitByQueueDialog",
                "Не учитывать явившихся к другому врачу данной специальности",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblSorting.setText(
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "Сортировка", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSorting.setItemText(
            0,
            QtGui.QApplication.translate("ReportVisitByQueueDialog", "по дате",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSorting.setItemText(
            1,
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "по ФИО пациента", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSorting.setItemText(
            2,
            QtGui.QApplication.translate("ReportVisitByQueueDialog",
                                         "по идентификатору пациента", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #13
0
class Ui_StationaryF14SetupDialog(object):
    def setupUi(self, StationaryF14SetupDialog):
        StationaryF14SetupDialog.setObjectName(
            _fromUtf8("StationaryF14SetupDialog"))
        StationaryF14SetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryF14SetupDialog.resize(450, 350)
        StationaryF14SetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryF14SetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.buttonBox = QtGui.QDialogButtonBox(StationaryF14SetupDialog)
        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, 4)
        self.lblOrgStructure = QtGui.QLabel(StationaryF14SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setAlignment(QtCore.Qt.AlignLeading
                                          | QtCore.Qt.AlignLeft
                                          | QtCore.Qt.AlignTop)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.lblOrder = QtGui.QLabel(StationaryF14SetupDialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 4, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryF14SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.cmbOrder = QtGui.QComboBox(StationaryF14SetupDialog)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.gridLayout.addWidget(self.cmbOrder, 4, 1, 1, 3)
        self.lblBegDate = QtGui.QLabel(StationaryF14SetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryF14SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 2, 1, 2)
        self.lblEndDate = QtGui.QLabel(StationaryF14SetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 8, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 2, 1, 2)
        self.lstOrgStructure = CRBListBox(StationaryF14SetupDialog)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 6, 1, 1, 3)
        self.label = QtGui.QLabel(StationaryF14SetupDialog)
        self.label.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                | QtCore.Qt.AlignTop)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 5, 0, 1, 1)
        self.lstEventType = CRBListBox(StationaryF14SetupDialog)
        self.lstEventType.setObjectName(_fromUtf8("lstEventType"))
        self.gridLayout.addWidget(self.lstEventType, 5, 1, 1, 3)
        self.lblOrgStructure.setBuddy(self.lstOrgStructure)
        self.lblOrder.setBuddy(self.cmbOrder)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.label.setBuddy(self.lstEventType)

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

    def retranslateUi(self, StationaryF14SetupDialog):
        StationaryF14SetupDialog.setWindowTitle(
            _translate("StationaryF14SetupDialog", "параметры отчёта", None))
        self.lblOrgStructure.setText(
            _translate("StationaryF14SetupDialog", "&Подразделение", None))
        self.lblOrder.setText(
            _translate("StationaryF14SetupDialog", "Порядок", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF14SetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("StationaryF14SetupDialog", "Дата &начала периода",
                       None))
        self.edtBegDate.setDisplayFormat(
            _translate("StationaryF14SetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(
            _translate("StationaryF14SetupDialog", "Дата &окончания периода",
                       None))
        self.label.setText(
            _translate("StationaryF14SetupDialog", "Тип обращения", None))
예제 #14
0
class Ui_TempInvalidCheckDialog(object):
    def setupUi(self, TempInvalidCheckDialog):
        TempInvalidCheckDialog.setObjectName(
            _fromUtf8("TempInvalidCheckDialog"))
        TempInvalidCheckDialog.resize(589, 538)
        self.gridLayout = QtGui.QGridLayout(TempInvalidCheckDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(349, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 3)
        self.label_3 = QtGui.QLabel(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.boxDocTypes = QtGui.QComboBox(TempInvalidCheckDialog)
        self.boxDocTypes.setObjectName(_fromUtf8("boxDocTypes"))
        self.boxDocTypes.addItem(_fromUtf8(""))
        self.boxDocTypes.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.boxDocTypes, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(349, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 3)
        self.checkExpert = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkExpert.sizePolicy().hasHeightForWidth())
        self.checkExpert.setSizePolicy(sizePolicy)
        self.checkExpert.setObjectName(_fromUtf8("checkExpert"))
        self.gridLayout.addWidget(self.checkExpert, 3, 0, 1, 5)
        self.checkDocum = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkDocum.sizePolicy().hasHeightForWidth())
        self.checkDocum.setSizePolicy(sizePolicy)
        self.checkDocum.setObjectName(_fromUtf8("checkDocum"))
        self.gridLayout.addWidget(self.checkDocum, 4, 0, 1, 5)
        self.checkDur = QtGui.QCheckBox(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.checkDur.sizePolicy().hasHeightForWidth())
        self.checkDur.setSizePolicy(sizePolicy)
        self.checkDur.setObjectName(_fromUtf8("checkDur"))
        self.gridLayout.addWidget(self.checkDur, 5, 0, 1, 5)
        self.progressBar = CProgressBar(TempInvalidCheckDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 6, 0, 1, 5)
        self.log = QtGui.QListWidget(TempInvalidCheckDialog)
        self.log.setObjectName(_fromUtf8("log"))
        self.gridLayout.addWidget(self.log, 7, 0, 1, 5)
        self.labelInfo = QtGui.QLabel(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.labelInfo.sizePolicy().hasHeightForWidth())
        self.labelInfo.setSizePolicy(sizePolicy)
        self.labelInfo.setText(_fromUtf8(""))
        self.labelInfo.setObjectName(_fromUtf8("labelInfo"))
        self.gridLayout.addWidget(self.labelInfo, 8, 0, 1, 3)
        self.btnStart = QtGui.QPushButton(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setMinimumSize(QtCore.QSize(100, 0))
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 8, 3, 1, 1)
        self.btnClose = QtGui.QPushButton(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setMinimumSize(QtCore.QSize(100, 0))
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 8, 4, 1, 1)
        self.frmDateRange = QtGui.QWidget(TempInvalidCheckDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmDateRange.sizePolicy().hasHeightForWidth())
        self.frmDateRange.setSizePolicy(sizePolicy)
        self.frmDateRange.setObjectName(_fromUtf8("frmDateRange"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frmDateRange)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.dateEdit_1 = CDateEdit(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEdit_1.sizePolicy().hasHeightForWidth())
        self.dateEdit_1.setSizePolicy(sizePolicy)
        self.dateEdit_1.setCalendarPopup(True)
        self.dateEdit_1.setDate(QtCore.QDate(2000, 1, 1))
        self.dateEdit_1.setObjectName(_fromUtf8("dateEdit_1"))
        self.horizontalLayout.addWidget(self.dateEdit_1)
        self.label_2 = QtGui.QLabel(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.dateEdit_2 = CDateEdit(self.frmDateRange)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEdit_2.sizePolicy().hasHeightForWidth())
        self.dateEdit_2.setSizePolicy(sizePolicy)
        self.dateEdit_2.setCalendarPopup(True)
        self.dateEdit_2.setDate(QtCore.QDate(2000, 1, 1))
        self.dateEdit_2.setObjectName(_fromUtf8("dateEdit_2"))
        self.horizontalLayout.addWidget(self.dateEdit_2)
        self.gridLayout.addWidget(self.frmDateRange, 0, 0, 1, 2)

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

    def retranslateUi(self, TempInvalidCheckDialog):
        TempInvalidCheckDialog.setWindowTitle(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "логический контроль ВУТ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "тип документа", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.boxDocTypes.setItemText(
            0,
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "больничный лист", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.boxDocTypes.setItemText(
            1,
            QtGui.QApplication.translate("TempInvalidCheckDialog", "справка",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.checkExpert.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "выполнять экспертизу", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.checkDocum.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "проверять документ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.checkDur.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "проверять длительность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnStart.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "начать проверку", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "прервать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dateEdit_1.setDisplayFormat(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("TempInvalidCheckDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.dateEdit_2.setDisplayFormat(
            QtGui.QApplication.translate("TempInvalidCheckDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #15
0
class Ui_TempInvalidSetupDialog(object):
    def setupUi(self, TempInvalidSetupDialog):
        TempInvalidSetupDialog.setObjectName(_fromUtf8("TempInvalidSetupDialog"))
        TempInvalidSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        TempInvalidSetupDialog.resize(346, 420)
        TempInvalidSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(TempInvalidSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblDuration = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblDuration.setObjectName(_fromUtf8("lblDuration"))
        self.gridlayout.addWidget(self.lblDuration, 8, 0, 2, 1)
        self.frmDuration = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmDuration.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmDuration.setFrameShadow(QtGui.QFrame.Raised)
        self.frmDuration.setObjectName(_fromUtf8("frmDuration"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmDuration)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtDurationFrom = QtGui.QSpinBox(self.frmDuration)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDurationFrom.sizePolicy().hasHeightForWidth())
        self.edtDurationFrom.setSizePolicy(sizePolicy)
        self.edtDurationFrom.setMaximum(366)
        self.edtDurationFrom.setObjectName(_fromUtf8("edtDurationFrom"))
        self.hboxlayout.addWidget(self.edtDurationFrom)
        self.lblDurationTo = QtGui.QLabel(self.frmDuration)
        self.lblDurationTo.setObjectName(_fromUtf8("lblDurationTo"))
        self.hboxlayout.addWidget(self.lblDurationTo)
        self.edtDurationTo = QtGui.QSpinBox(self.frmDuration)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtDurationTo.sizePolicy().hasHeightForWidth())
        self.edtDurationTo.setSizePolicy(sizePolicy)
        self.edtDurationTo.setMaximum(366)
        self.edtDurationTo.setObjectName(_fromUtf8("edtDurationTo"))
        self.hboxlayout.addWidget(self.edtDurationTo)
        self.lblDurationDays = QtGui.QLabel(self.frmDuration)
        self.lblDurationDays.setObjectName(_fromUtf8("lblDurationDays"))
        self.hboxlayout.addWidget(self.lblDurationDays)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout.addWidget(self.frmDuration, 8, 1, 1, 2)
        self.frmSex = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmSex.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmSex.setFrameShadow(QtGui.QFrame.Raised)
        self.frmSex.setObjectName(_fromUtf8("frmSex"))
        self.hboxlayout1 = QtGui.QHBoxLayout(self.frmSex)
        self.hboxlayout1.setSpacing(4)
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1"))
        self.cmbSex = QtGui.QComboBox(self.frmSex)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.hboxlayout1.addWidget(self.cmbSex)
        spacerItem1 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.gridlayout.addWidget(self.frmSex, 9, 1, 2, 2)
        self.frmAge = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout2 = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout2.setSpacing(4)
        self.hboxlayout2.setMargin(0)
        self.hboxlayout2.setObjectName(_fromUtf8("hboxlayout2"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout2.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout2.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout2.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout2.addWidget(self.lblAgeYears)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)
        self.gridlayout.addWidget(self.frmAge, 11, 1, 1, 2)
        self.frmMKB = QtGui.QFrame(TempInvalidSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBFilter, 0, 0, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(self.frmMKB)
        self.edtMKBFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBFrom.setSizePolicy(sizePolicy)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBFrom.setMaxLength(6)
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridlayout1.addWidget(self.edtMKBFrom, 0, 1, 1, 1)
        self.edtMKBTo = CICDCodeEdit(self.frmMKB)
        self.edtMKBTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtMKBTo.sizePolicy().hasHeightForWidth())
        self.edtMKBTo.setSizePolicy(sizePolicy)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBTo.setMaxLength(6)
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridlayout1.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem3, 0, 3, 1, 1)
        self.gridlayout.addWidget(self.frmMKB, 15, 1, 1, 2)
        self.edtBegDate = CDateEdit(TempInvalidSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblDocType = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblDocType.setObjectName(_fromUtf8("lblDocType"))
        self.gridlayout.addWidget(self.lblDocType, 3, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem4, 1, 2, 1, 1)
        self.edtEndDate = CDateEdit(TempInvalidSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(101, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 0, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbDoctype = CRBComboBox(TempInvalidSetupDialog)
        self.cmbDoctype.setObjectName(_fromUtf8("cmbDoctype"))
        self.gridlayout.addWidget(self.cmbDoctype, 3, 1, 1, 2)
        self.lblTempInvalidReason = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblTempInvalidReason.setObjectName(_fromUtf8("lblTempInvalidReason"))
        self.gridlayout.addWidget(self.lblTempInvalidReason, 4, 0, 1, 1)
        self.cmbReason = CRBComboBox(TempInvalidSetupDialog)
        self.cmbReason.setObjectName(_fromUtf8("cmbReason"))
        self.gridlayout.addWidget(self.cmbReason, 4, 1, 1, 2)
        self.chkOnlyClosed = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkOnlyClosed.setChecked(True)
        self.chkOnlyClosed.setObjectName(_fromUtf8("chkOnlyClosed"))
        self.gridlayout.addWidget(self.chkOnlyClosed, 5, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(TempInvalidSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(TempInvalidSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 7, 1, 1, 2)
        self.lblSex = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 10, 0, 1, 1)
        self.lblAge = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 11, 0, 1, 1)
        self.lblMKB = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridlayout.addWidget(self.lblMKB, 15, 0, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem6, 18, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(TempInvalidSetupDialog)
        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, 19, 0, 1, 3)
        self.lblInsuranceOfficeMark = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblInsuranceOfficeMark.setObjectName(_fromUtf8("lblInsuranceOfficeMark"))
        self.gridlayout.addWidget(self.lblInsuranceOfficeMark, 16, 0, 1, 1)
        self.cmbInsuranceOfficeMark = QtGui.QComboBox(TempInvalidSetupDialog)
        self.cmbInsuranceOfficeMark.setObjectName(_fromUtf8("cmbInsuranceOfficeMark"))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.cmbInsuranceOfficeMark.setItemText(0, _fromUtf8(""))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.cmbInsuranceOfficeMark.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbInsuranceOfficeMark, 16, 1, 1, 2)
        self.chkByPeriod = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkByPeriod.setObjectName(_fromUtf8("chkByPeriod"))
        self.gridlayout.addWidget(self.chkByPeriod, 2, 1, 1, 2)
        self.cmbSocStatusClass = CSocStatusComboBox(TempInvalidSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridlayout.addWidget(self.cmbSocStatusClass, 12, 1, 1, 2)
        self.lblSocStatusClass = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridlayout.addWidget(self.lblSocStatusClass, 12, 0, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(TempInvalidSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridlayout.addWidget(self.lblSocStatusType, 14, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(TempInvalidSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridlayout.addWidget(self.cmbSocStatusType, 14, 1, 1, 2)
        self.chkOldForm = QtGui.QCheckBox(TempInvalidSetupDialog)
        self.chkOldForm.setObjectName(_fromUtf8("chkOldForm"))
        self.gridlayout.addWidget(self.chkOldForm, 17, 0, 1, 2)
        self.lblDuration.setBuddy(self.edtDurationFrom)
        self.lblDurationTo.setBuddy(self.edtDurationTo)
        self.lblDurationDays.setBuddy(self.edtDurationTo)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblDocType.setBuddy(self.cmbDoctype)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblTempInvalidReason.setBuddy(self.cmbReason)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblInsuranceOfficeMark.setBuddy(self.cmbInsuranceOfficeMark)
        self.lblSocStatusClass.setBuddy(self.cmbSocStatusClass)
        self.lblSocStatusType.setBuddy(self.cmbSocStatusType)

        self.retranslateUi(TempInvalidSetupDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TempInvalidSetupDialog)
        TempInvalidSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        TempInvalidSetupDialog.setTabOrder(self.edtEndDate, self.chkByPeriod)
        TempInvalidSetupDialog.setTabOrder(self.chkByPeriod, self.cmbDoctype)
        TempInvalidSetupDialog.setTabOrder(self.cmbDoctype, self.cmbReason)
        TempInvalidSetupDialog.setTabOrder(self.cmbReason, self.chkOnlyClosed)
        TempInvalidSetupDialog.setTabOrder(self.chkOnlyClosed, self.cmbOrgStructure)
        TempInvalidSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson)
        TempInvalidSetupDialog.setTabOrder(self.cmbPerson, self.edtDurationFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtDurationFrom, self.edtDurationTo)
        TempInvalidSetupDialog.setTabOrder(self.edtDurationTo, self.cmbSex)
        TempInvalidSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        TempInvalidSetupDialog.setTabOrder(self.edtAgeTo, self.cmbSocStatusClass)
        TempInvalidSetupDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType)
        TempInvalidSetupDialog.setTabOrder(self.cmbSocStatusType, self.cmbMKBFilter)
        TempInvalidSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom)
        TempInvalidSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        TempInvalidSetupDialog.setTabOrder(self.edtMKBTo, self.cmbInsuranceOfficeMark)
        TempInvalidSetupDialog.setTabOrder(self.cmbInsuranceOfficeMark, self.buttonBox)

    def retranslateUi(self, TempInvalidSetupDialog):
        TempInvalidSetupDialog.setWindowTitle(_translate("TempInvalidSetupDialog", "параметры отчёта", None))
        self.lblDuration.setText(_translate("TempInvalidSetupDialog", "&Длительность с", None))
        self.lblDurationTo.setText(_translate("TempInvalidSetupDialog", "по", None))
        self.lblDurationDays.setText(_translate("TempInvalidSetupDialog", "дней", None))
        self.cmbSex.setItemText(1, _translate("TempInvalidSetupDialog", "М", None))
        self.cmbSex.setItemText(2, _translate("TempInvalidSetupDialog", "Ж", None))
        self.lblAgeTo.setText(_translate("TempInvalidSetupDialog", "по", None))
        self.lblAgeYears.setText(_translate("TempInvalidSetupDialog", "лет", None))
        self.cmbMKBFilter.setItemText(0, _translate("TempInvalidSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(1, _translate("TempInvalidSetupDialog", "Интервал", None))
        self.cmbMKBFilter.setItemText(2, _translate("TempInvalidSetupDialog", "Без диагноза", None))
        self.edtMKBFrom.setInputMask(_translate("TempInvalidSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(_translate("TempInvalidSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(_translate("TempInvalidSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(_translate("TempInvalidSetupDialog", "Z99.9", None))
        self.edtBegDate.setDisplayFormat(_translate("TempInvalidSetupDialog", "dd.MM.yyyy", None))
        self.lblDocType.setText(_translate("TempInvalidSetupDialog", "Тип &документа", None))
        self.edtEndDate.setDisplayFormat(_translate("TempInvalidSetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(_translate("TempInvalidSetupDialog", "Дата &окончания периода", None))
        self.lblBegDate.setText(_translate("TempInvalidSetupDialog", "Дата &начала периода", None))
        self.lblTempInvalidReason.setText(_translate("TempInvalidSetupDialog", "При&чина", None))
        self.chkOnlyClosed.setText(_translate("TempInvalidSetupDialog", "&Только &закрытые", None))
        self.lblOrgStructure.setText(_translate("TempInvalidSetupDialog", "&Подразделение", None))
        self.lblPerson.setText(_translate("TempInvalidSetupDialog", "&Врач", None))
        self.cmbPerson.setItemText(0, _translate("TempInvalidSetupDialog", "Врач", None))
        self.lblSex.setText(_translate("TempInvalidSetupDialog", "По&л", None))
        self.lblAge.setText(_translate("TempInvalidSetupDialog", "Во&зраст с", None))
        self.lblMKB.setText(_translate("TempInvalidSetupDialog", "Коды диагнозов по &МКБ", None))
        self.lblInsuranceOfficeMark.setText(_translate("TempInvalidSetupDialog", "&Отметка страхового стола", None))
        self.cmbInsuranceOfficeMark.setItemText(1, _translate("TempInvalidSetupDialog", "без отметки", None))
        self.cmbInsuranceOfficeMark.setItemText(2, _translate("TempInvalidSetupDialog", "с отметкой", None))
        self.chkByPeriod.setToolTip(_translate("TempInvalidSetupDialog", "<!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=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Если отметка <span style=\" font-weight:600;\">стоит</span>, то для отчёта <br />выбираются документы ВУТ с <span style=\" font-weight:600;\">периодом, </span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-weight:600;\">пересекающимя с периодом отчёта</p>\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;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">Если отметка <span style=\" font-weight:600;\">снята</span>, то для отчёта </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\">выбираются документы ВУТ </p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><span style=\" font-weight:600;\">закрытые в периоде отчёта</span></p>\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;\"></p></body></html>", None))
        self.chkByPeriod.setText(_translate("TempInvalidSetupDialog", "Отчёт по периоду случая", None))
        self.lblSocStatusClass.setText(_translate("TempInvalidSetupDialog", "Класс соц.статуса", None))
        self.lblSocStatusType.setText(_translate("TempInvalidSetupDialog", "Тип соц.статуса", None))
        self.chkOldForm.setText(_translate("TempInvalidSetupDialog", "Страя форма отчета", None))
예제 #16
0
class Ui_FeedReportDialog(object):
    def setupUi(self, FeedReportDialog):
        FeedReportDialog.setObjectName(_fromUtf8("FeedReportDialog"))
        FeedReportDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        FeedReportDialog.resize(384, 169)
        FeedReportDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(FeedReportDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(FeedReportDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.label_2 = QtGui.QLabel(FeedReportDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.cmbIsFinal = QtGui.QComboBox(FeedReportDialog)
        self.cmbIsFinal.setObjectName(_fromUtf8("cmbIsFinal"))
        self.cmbIsFinal.addItem(_fromUtf8(""))
        self.cmbIsFinal.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbIsFinal, 1, 1, 1, 2)
        self.edtNameReg = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameReg.setObjectName(_fromUtf8("edtNameReg"))
        self.gridLayout.addWidget(self.edtNameReg, 2, 1, 1, 2)
        self.edtBegDate = CDateEdit(FeedReportDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(FeedReportDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDate.sizePolicy().hasHeightForWidth())
        self.lblBegDate.setSizePolicy(sizePolicy)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.lblNameReg = QtGui.QLabel(FeedReportDialog)
        self.lblNameReg.setObjectName(_fromUtf8("lblNameReg"))
        self.gridLayout.addWidget(self.lblNameReg, 2, 0, 1, 1)
        self.edtNameDoctor = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameDoctor.setObjectName(_fromUtf8("edtNameDoctor"))
        self.gridLayout.addWidget(self.edtNameDoctor, 3, 1, 1, 2)
        self.lblNameDoctor = QtGui.QLabel(FeedReportDialog)
        self.lblNameDoctor.setObjectName(_fromUtf8("lblNameDoctor"))
        self.gridLayout.addWidget(self.lblNameDoctor, 3, 0, 1, 1)
        self.lblNameNurse = QtGui.QLabel(FeedReportDialog)
        self.lblNameNurse.setObjectName(_fromUtf8("lblNameNurse"))
        self.gridLayout.addWidget(self.lblNameNurse, 5, 0, 1, 1)
        self.edtNameNurse = QtGui.QLineEdit(FeedReportDialog)
        self.edtNameNurse.setObjectName(_fromUtf8("edtNameNurse"))
        self.gridLayout.addWidget(self.edtNameNurse, 5, 1, 1, 2)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, FeedReportDialog):
        FeedReportDialog.setWindowTitle(
            _translate("FeedReportDialog", "параметры отчёта", None))
        self.label_2.setText(
            _translate("FeedReportDialog", "Порционник:", None))
        self.cmbIsFinal.setItemText(
            0, _translate("FeedReportDialog", "На 10:00", None))
        self.cmbIsFinal.setItemText(
            1, _translate("FeedReportDialog", "На 7:00", None))
        self.edtBegDate.setDisplayFormat(
            _translate("FeedReportDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("FeedReportDialog", "Порционник на дату", None))
        self.lblNameReg.setText(
            _translate("FeedReportDialog", "Регистратор", None))
        self.lblNameDoctor.setText(
            _translate("FeedReportDialog", "Дежурный врач", None))
        self.lblNameNurse.setText(
            _translate("FeedReportDialog", "Дежурная медсестра", None))
예제 #17
0
class Ui_StationaryF007SetupDialog(object):
    def setupUi(self, StationaryF007SetupDialog):
        StationaryF007SetupDialog.setObjectName(
            _fromUtf8("StationaryF007SetupDialog"))
        StationaryF007SetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryF007SetupDialog.resize(671, 448)
        StationaryF007SetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(StationaryF007SetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 2, 1, 1, 1)
        self.lblProfileBed = QtGui.QLabel(StationaryF007SetupDialog)
        self.lblProfileBed.setObjectName(_fromUtf8("lblProfileBed"))
        self.gridlayout.addWidget(self.lblProfileBed, 4, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryF007SetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 0, 0, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(StationaryF007SetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridlayout.addWidget(self.edtBegTime, 1, 2, 1, 1)
        self.edtEndDate = CDateEdit(StationaryF007SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 0, 2, 1, 1)
        self.chkIsHideBeds = QtGui.QCheckBox(StationaryF007SetupDialog)
        self.chkIsHideBeds.setObjectName(_fromUtf8("chkIsHideBeds"))
        self.gridlayout.addWidget(self.chkIsHideBeds, 5, 0, 1, 4)
        self.cmbProfileBed = CRBComboBox(StationaryF007SetupDialog)
        self.cmbProfileBed.setObjectName(_fromUtf8("cmbProfileBed"))
        self.gridlayout.addWidget(self.cmbProfileBed, 4, 2, 1, 2)
        self.lstOrgStructure = CRBListBox(StationaryF007SetupDialog)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridlayout.addWidget(self.lstOrgStructure, 2, 2, 1, 2)
        self.chkDetailOrgStructure = QtGui.QCheckBox(StationaryF007SetupDialog)
        self.chkDetailOrgStructure.setObjectName(
            _fromUtf8("chkDetailOrgStructure"))
        self.gridlayout.addWidget(self.chkDetailOrgStructure, 6, 0, 1, 4)
        self.lblSchedule = QtGui.QLabel(StationaryF007SetupDialog)
        self.lblSchedule.setObjectName(_fromUtf8("lblSchedule"))
        self.gridlayout.addWidget(self.lblSchedule, 3, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryF007SetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout.addWidget(self.buttonBox, 7, 0, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(StationaryF007SetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.lblBegTime = QtGui.QLabel(StationaryF007SetupDialog)
        self.lblBegTime.setObjectName(_fromUtf8("lblBegTime"))
        self.gridlayout.addWidget(self.lblBegTime, 1, 0, 1, 1)
        self.cmbSchedule = QtGui.QComboBox(StationaryF007SetupDialog)
        self.cmbSchedule.setObjectName(_fromUtf8("cmbSchedule"))
        self.cmbSchedule.addItem(_fromUtf8(""))
        self.cmbSchedule.addItem(_fromUtf8(""))
        self.cmbSchedule.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbSchedule, 3, 2, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1)
        self.lblProfileBed.setBuddy(self.cmbProfileBed)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblSchedule.setBuddy(self.cmbSchedule)
        self.lblBegTime.setBuddy(self.edtBegTime)

        self.retranslateUi(StationaryF007SetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryF007SetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryF007SetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StationaryF007SetupDialog)
        StationaryF007SetupDialog.setTabOrder(self.edtEndDate, self.edtBegTime)
        StationaryF007SetupDialog.setTabOrder(self.edtBegTime,
                                              self.cmbSchedule)
        StationaryF007SetupDialog.setTabOrder(self.cmbSchedule,
                                              self.cmbProfileBed)
        StationaryF007SetupDialog.setTabOrder(self.cmbProfileBed,
                                              self.chkIsHideBeds)
        StationaryF007SetupDialog.setTabOrder(self.chkIsHideBeds,
                                              self.chkDetailOrgStructure)
        StationaryF007SetupDialog.setTabOrder(self.chkDetailOrgStructure,
                                              self.buttonBox)

    def retranslateUi(self, StationaryF007SetupDialog):
        StationaryF007SetupDialog.setWindowTitle(
            _translate("StationaryF007SetupDialog", "параметры отчёта", None))
        self.lblProfileBed.setText(
            _translate("StationaryF007SetupDialog", "&Профиль койки", None))
        self.lblEndDate.setText(
            _translate("StationaryF007SetupDialog", "Текущий &день", None))
        self.edtBegTime.setDisplayFormat(
            _translate("StationaryF007SetupDialog", "HH:mm", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF007SetupDialog", "dd.MM.yyyy", None))
        self.chkIsHideBeds.setText(
            _translate("StationaryF007SetupDialog",
                       "Скрывать данные по койкам", None))
        self.chkDetailOrgStructure.setText(
            _translate("StationaryF007SetupDialog",
                       "Группировать по подразделениям", None))
        self.lblSchedule.setText(
            _translate("StationaryF007SetupDialog", "&Режим койки", None))
        self.lblOrgStructure.setText(
            _translate("StationaryF007SetupDialog", "&Подразделение", None))
        self.lblBegTime.setText(
            _translate("StationaryF007SetupDialog", "&Время начала суток",
                       None))
        self.cmbSchedule.setItemText(
            0, _translate("StationaryF007SetupDialog", "Не учитывать", None))
        self.cmbSchedule.setItemText(
            1, _translate("StationaryF007SetupDialog", "Круглосуточные", None))
        self.cmbSchedule.setItemText(
            2,
            _translate("StationaryF007SetupDialog", "Не круглосуточные", None))
예제 #18
0
class Ui_HospitalizationEventDialog(object):
    def setupUi(self, HospitalizationEventDialog):
        HospitalizationEventDialog.setObjectName(
            _fromUtf8("HospitalizationEventDialog"))
        HospitalizationEventDialog.resize(640, 450)
        self.gridLayout_2 = QtGui.QGridLayout(HospitalizationEventDialog)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tabWidget = QtGui.QTabWidget(HospitalizationEventDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabHospitalizationEvent = QtGui.QWidget()
        self.tabHospitalizationEvent.setObjectName(
            _fromUtf8("tabHospitalizationEvent"))
        self.vboxlayout = QtGui.QVBoxLayout(self.tabHospitalizationEvent)
        self.vboxlayout.setMargin(4)
        self.vboxlayout.setSpacing(4)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.tblHospitalizationEvent = CClientsTableView(
            self.tabHospitalizationEvent)
        self.tblHospitalizationEvent.setObjectName(
            _fromUtf8("tblHospitalizationEvent"))
        self.vboxlayout.addWidget(self.tblHospitalizationEvent)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.btnCommit = QtGui.QPushButton(self.tabHospitalizationEvent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnCommit.sizePolicy().hasHeightForWidth())
        self.btnCommit.setSizePolicy(sizePolicy)
        self.btnCommit.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.btnCommit.setObjectName(_fromUtf8("btnCommit"))
        self.horizontalLayout_3.addWidget(self.btnCommit)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.btnRegistry = QtGui.QPushButton(self.tabHospitalizationEvent)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnRegistry.sizePolicy().hasHeightForWidth())
        self.btnRegistry.setSizePolicy(sizePolicy)
        self.btnRegistry.setMinimumSize(QtCore.QSize(100, 0))
        self.btnRegistry.setObjectName(_fromUtf8("btnRegistry"))
        self.horizontalLayout_3.addWidget(self.btnRegistry)
        self.vboxlayout.addLayout(self.horizontalLayout_3)
        self.tabWidget.addTab(self.tabHospitalizationEvent, _fromUtf8(""))
        self.tabSearch = QtGui.QWidget()
        self.tabSearch.setObjectName(_fromUtf8("tabSearch"))
        self.gridLayout = QtGui.QGridLayout(self.tabSearch)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblPolicy = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicy.sizePolicy().hasHeightForWidth())
        self.lblPolicy.setSizePolicy(sizePolicy)
        self.lblPolicy.setObjectName(_fromUtf8("lblPolicy"))
        self.gridLayout.addWidget(self.lblPolicy, 8, 0, 1, 1)
        self.lblClientId = QtGui.QLabel(self.tabSearch)
        self.lblClientId.setObjectName(_fromUtf8("lblClientId"))
        self.gridLayout.addWidget(self.lblClientId, 5, 0, 1, 1)
        self.cmbPolicyInsurer = CInsurerComboBox(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPolicyInsurer.sizePolicy().hasHeightForWidth())
        self.cmbPolicyInsurer.setSizePolicy(sizePolicy)
        self.cmbPolicyInsurer.setSizeAdjustPolicy(
            QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.cmbPolicyInsurer.setObjectName(_fromUtf8("cmbPolicyInsurer"))
        self.gridLayout.addWidget(self.cmbPolicyInsurer, 9, 7, 1, 5)
        spacerItem1 = QtGui.QSpacerItem(57, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 9, 12, 1, 1)
        self.lblContact = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblContact.sizePolicy().hasHeightForWidth())
        self.lblContact.setSizePolicy(sizePolicy)
        self.lblContact.setObjectName(_fromUtf8("lblContact"))
        self.gridLayout.addWidget(self.lblContact, 15, 0, 1, 2)
        self.lblNumber = QtGui.QLabel(self.tabSearch)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridLayout.addWidget(self.lblNumber, 7, 10, 1, 1)
        self.edtNumber = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtNumber.sizePolicy().hasHeightForWidth())
        self.edtNumber.setSizePolicy(sizePolicy)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridLayout.addWidget(self.edtNumber, 7, 11, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(74, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 7, 12, 1, 1)
        self.edtRightSerial = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtRightSerial.sizePolicy().hasHeightForWidth())
        self.edtRightSerial.setSizePolicy(sizePolicy)
        self.edtRightSerial.setObjectName(_fromUtf8("edtRightSerial"))
        self.gridLayout.addWidget(self.edtRightSerial, 7, 9, 1, 1)
        self.lblSerial = QtGui.QLabel(self.tabSearch)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridLayout.addWidget(self.lblSerial, 7, 5, 1, 1)
        self.lblPatrName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPatrName.sizePolicy().hasHeightForWidth())
        self.lblPatrName.setSizePolicy(sizePolicy)
        self.lblPatrName.setObjectName(_fromUtf8("lblPatrName"))
        self.gridLayout.addWidget(self.lblPatrName, 3, 0, 1, 2)
        self.edtPatrName = QtGui.QLineEdit(self.tabSearch)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridLayout.addWidget(self.edtPatrName, 3, 2, 1, 11)
        self.lblFirstName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFirstName.sizePolicy().hasHeightForWidth())
        self.lblFirstName.setSizePolicy(sizePolicy)
        self.lblFirstName.setObjectName(_fromUtf8("lblFirstName"))
        self.gridLayout.addWidget(self.lblFirstName, 2, 0, 1, 2)
        self.edtContact = QtGui.QLineEdit(self.tabSearch)
        self.edtContact.setObjectName(_fromUtf8("edtContact"))
        self.gridLayout.addWidget(self.edtContact, 15, 2, 1, 11)
        self.edtLastName = QtGui.QLineEdit(self.tabSearch)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridLayout.addWidget(self.edtLastName, 1, 2, 1, 11)
        self.edtFirstName = QtGui.QLineEdit(self.tabSearch)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridLayout.addWidget(self.edtFirstName, 2, 2, 1, 11)
        self.edtPolicySerial = CPolicySerialEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicySerial.sizePolicy().hasHeightForWidth())
        self.edtPolicySerial.setSizePolicy(sizePolicy)
        self.edtPolicySerial.setObjectName(_fromUtf8("edtPolicySerial"))
        self.gridLayout.addWidget(self.edtPolicySerial, 8, 7, 1, 3)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 8, 12, 1, 1)
        self.lblCompulsoryPolisNumber = QtGui.QLabel(self.tabSearch)
        self.lblCompulsoryPolisNumber.setAlignment(QtCore.Qt.AlignRight
                                                   | QtCore.Qt.AlignTrailing
                                                   | QtCore.Qt.AlignVCenter)
        self.lblCompulsoryPolisNumber.setObjectName(
            _fromUtf8("lblCompulsoryPolisNumber"))
        self.gridLayout.addWidget(self.lblCompulsoryPolisNumber, 8, 10, 1, 1)
        self.edtPolicyNumber = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyNumber.sizePolicy().hasHeightForWidth())
        self.edtPolicyNumber.setSizePolicy(sizePolicy)
        self.edtPolicyNumber.setObjectName(_fromUtf8("edtPolicyNumber"))
        self.gridLayout.addWidget(self.edtPolicyNumber, 8, 11, 1, 1)
        self.lblPolicyInsurer = QtGui.QLabel(self.tabSearch)
        self.lblPolicyInsurer.setObjectName(_fromUtf8("lblPolicyInsurer"))
        self.gridLayout.addWidget(self.lblPolicyInsurer, 9, 5, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 141, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem4, 16, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem5 = QtGui.QSpacerItem(231, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem5)
        self.readEpoms = QtGui.QPushButton(self.tabSearch)
        self.readEpoms.setObjectName(_fromUtf8("readEpoms"))
        self.horizontalLayout.addWidget(self.readEpoms)
        self.btnReadOMSBarcode = QtGui.QPushButton(self.tabSearch)
        self.btnReadOMSBarcode.setObjectName(_fromUtf8("btnReadOMSBarcode"))
        self.horizontalLayout.addWidget(self.btnReadOMSBarcode)
        self.btnApply = QtGui.QPushButton(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnApply.sizePolicy().hasHeightForWidth())
        self.btnApply.setSizePolicy(sizePolicy)
        self.btnApply.setMinimumSize(QtCore.QSize(100, 0))
        self.btnApply.setObjectName(_fromUtf8("btnApply"))
        self.horizontalLayout.addWidget(self.btnApply)
        self.btnReset = QtGui.QPushButton(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnReset.sizePolicy().hasHeightForWidth())
        self.btnReset.setSizePolicy(sizePolicy)
        self.btnReset.setMinimumSize(QtCore.QSize(100, 0))
        self.btnReset.setObjectName(_fromUtf8("btnReset"))
        self.horizontalLayout.addWidget(self.btnReset)
        self.gridLayout.addLayout(self.horizontalLayout, 17, 0, 1, 13)
        self.lblPolicySerial = QtGui.QLabel(self.tabSearch)
        self.lblPolicySerial.setObjectName(_fromUtf8("lblPolicySerial"))
        self.gridLayout.addWidget(self.lblPolicySerial, 8, 5, 1, 1)
        self.edtLeftSerial = QtGui.QLineEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtLeftSerial.sizePolicy().hasHeightForWidth())
        self.edtLeftSerial.setSizePolicy(sizePolicy)
        self.edtLeftSerial.setObjectName(_fromUtf8("edtLeftSerial"))
        self.gridLayout.addWidget(self.edtLeftSerial, 7, 7, 1, 1)
        self.lblLastName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLastName.sizePolicy().hasHeightForWidth())
        self.lblLastName.setSizePolicy(sizePolicy)
        self.lblLastName.setObjectName(_fromUtf8("lblLastName"))
        self.gridLayout.addWidget(self.lblLastName, 1, 0, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lblPolicyBegDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicyBegDate.sizePolicy().hasHeightForWidth())
        self.lblPolicyBegDate.setSizePolicy(sizePolicy)
        self.lblPolicyBegDate.setObjectName(_fromUtf8("lblPolicyBegDate"))
        self.horizontalLayout_2.addWidget(self.lblPolicyBegDate)
        self.edtPolicyBegDate = CDateEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyBegDate.sizePolicy().hasHeightForWidth())
        self.edtPolicyBegDate.setSizePolicy(sizePolicy)
        self.edtPolicyBegDate.setCalendarPopup(True)
        self.edtPolicyBegDate.setObjectName(_fromUtf8("edtPolicyBegDate"))
        self.horizontalLayout_2.addWidget(self.edtPolicyBegDate)
        self.lblPolicyEndDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPolicyEndDate.sizePolicy().hasHeightForWidth())
        self.lblPolicyEndDate.setSizePolicy(sizePolicy)
        self.lblPolicyEndDate.setObjectName(_fromUtf8("lblPolicyEndDate"))
        self.horizontalLayout_2.addWidget(self.lblPolicyEndDate)
        self.edtPolicyEndDate = CDateEdit(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPolicyEndDate.sizePolicy().hasHeightForWidth())
        self.edtPolicyEndDate.setSizePolicy(sizePolicy)
        self.edtPolicyEndDate.setCalendarPopup(True)
        self.edtPolicyEndDate.setObjectName(_fromUtf8("edtPolicyEndDate"))
        self.horizontalLayout_2.addWidget(self.edtPolicyEndDate)
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem6)
        self.gridLayout.addLayout(self.horizontalLayout_2, 10, 5, 1, 8)
        self.cmbPolicyType = CRBComboBox(self.tabSearch)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.gridLayout.addWidget(self.cmbPolicyType, 8, 2, 1, 1)
        self.lblDocument = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDocument.sizePolicy().hasHeightForWidth())
        self.lblDocument.setSizePolicy(sizePolicy)
        self.lblDocument.setObjectName(_fromUtf8("lblDocument"))
        self.gridLayout.addWidget(self.lblDocument, 7, 0, 1, 1)
        self.edtClientId = CLineEdit(self.tabSearch)
        self.edtClientId.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtClientId.sizePolicy().hasHeightForWidth())
        self.edtClientId.setSizePolicy(sizePolicy)
        self.edtClientId.setMaxLength(16)
        self.edtClientId.setPlaceholderText(_fromUtf8(""))
        self.edtClientId.setObjectName(_fromUtf8("edtClientId"))
        self.gridLayout.addWidget(self.edtClientId, 5, 2, 1, 1)
        self.cmbDocType = CRBComboBox(self.tabSearch)
        self.cmbDocType.setObjectName(_fromUtf8("cmbDocType"))
        self.gridLayout.addWidget(self.cmbDocType, 7, 2, 1, 1)
        self.lblBirthDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBirthDate.sizePolicy().hasHeightForWidth())
        self.lblBirthDate.setSizePolicy(sizePolicy)
        self.lblBirthDate.setObjectName(_fromUtf8("lblBirthDate"))
        self.gridLayout.addWidget(self.lblBirthDate, 6, 0, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabSearch)
        self.edtBirthDate.setCalendarPopup(True)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridLayout.addWidget(self.edtBirthDate, 6, 2, 1, 1)
        self.lblSex = QtGui.QLabel(self.tabSearch)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 6, 10, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabSearch)
        self.cmbSex.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 6, 11, 1, 1)
        self.tabWidget.addTab(self.tabSearch, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.lblPolicy.setBuddy(self.edtPolicySerial)
        self.lblFirstName.setBuddy(self.edtFirstName)
        self.lblCompulsoryPolisNumber.setBuddy(self.edtPolicyNumber)
        self.lblPolicyInsurer.setBuddy(self.cmbPolicyInsurer)
        self.lblPolicySerial.setBuddy(self.edtPolicySerial)
        self.lblLastName.setBuddy(self.edtLastName)
        self.lblPolicyBegDate.setBuddy(self.edtPolicyBegDate)

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

    def retranslateUi(self, HospitalizationEventDialog):
        HospitalizationEventDialog.setWindowTitle(
            _translate("HospitalizationEventDialog", "Госпитализация", None))
        self.btnCommit.setText(
            _translate("HospitalizationEventDialog",
                       "Госпитализировать (Пробел)", None))
        self.btnRegistry.setText(
            _translate("HospitalizationEventDialog", "Регистрация (F9)", None))
        self.btnRegistry.setShortcut(
            _translate("HospitalizationEventDialog", "F9", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabHospitalizationEvent),
            _translate("HospitalizationEventDialog", "Результат поиска", None))
        self.lblPolicy.setText(
            _translate("HospitalizationEventDialog", "Полис", None))
        self.lblClientId.setText(
            _translate("HospitalizationEventDialog", "Код пациента", None))
        self.lblContact.setText(
            _translate("HospitalizationEventDialog", "Контакт", None))
        self.lblNumber.setText(
            _translate("HospitalizationEventDialog", "Номер", None))
        self.lblSerial.setText(
            _translate("HospitalizationEventDialog", "Серия", None))
        self.lblPatrName.setText(
            _translate("HospitalizationEventDialog", "Отчество", None))
        self.lblFirstName.setText(
            _translate("HospitalizationEventDialog", "Имя", None))
        self.lblCompulsoryPolisNumber.setText(
            _translate("HospitalizationEventDialog", "Номер", None))
        self.lblPolicyInsurer.setText(
            _translate("HospitalizationEventDialog", "СМО", None))
        self.readEpoms.setText(
            _translate("HospitalizationEventDialog", "Считать данные с ЭПОМС",
                       None))
        self.btnReadOMSBarcode.setText(
            _translate("HospitalizationEventDialog", "Считать данные полиса",
                       None))
        self.btnApply.setText(
            _translate("HospitalizationEventDialog", "Искать", None))
        self.btnReset.setText(
            _translate("HospitalizationEventDialog", "Сбросить", None))
        self.lblPolicySerial.setText(
            _translate("HospitalizationEventDialog", "Серия", None))
        self.lblLastName.setText(
            _translate("HospitalizationEventDialog", "Фамилия", None))
        self.lblPolicyBegDate.setText(
            _translate("HospitalizationEventDialog", "Действителен с", None))
        self.lblPolicyEndDate.setText(
            _translate("HospitalizationEventDialog", "по", None))
        self.lblDocument.setText(
            _translate("HospitalizationEventDialog", "Документ", None))
        self.edtClientId.setToolTip(
            _translate("HospitalizationEventDialog",
                       "Код пациента в выбранной учетной системе", None))
        self.lblBirthDate.setText(
            _translate("HospitalizationEventDialog", "Дата рождения", None))
        self.edtBirthDate.setDisplayFormat(
            _translate("HospitalizationEventDialog", "dd.MM.yyyy", None))
        self.lblSex.setText(
            _translate("HospitalizationEventDialog", "Пол", None))
        self.cmbSex.setItemText(
            1, _translate("HospitalizationEventDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("HospitalizationEventDialog", "Ж", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabSearch),
            _translate("HospitalizationEventDialog", "&Поиск", None))
class Ui_ReportStationaryF007SetupDialog(object):
    def setupUi(self, ReportStationaryF007SetupDialog):
        ReportStationaryF007SetupDialog.setObjectName(
            _fromUtf8("ReportStationaryF007SetupDialog"))
        ReportStationaryF007SetupDialog.resize(450, 280)
        self.gridLayout = QtGui.QGridLayout(ReportStationaryF007SetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportStationaryF007SetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 2)
        self.lblSchedule = QtGui.QLabel(ReportStationaryF007SetupDialog)
        self.lblSchedule.setObjectName(_fromUtf8("lblSchedule"))
        self.gridLayout.addWidget(self.lblSchedule, 4, 0, 1, 1)
        self.cmbBedSchedule = QtGui.QComboBox(ReportStationaryF007SetupDialog)
        self.cmbBedSchedule.setObjectName(_fromUtf8("cmbBedSchedule"))
        self.cmbBedSchedule.addItem(_fromUtf8(""))
        self.cmbBedSchedule.addItem(_fromUtf8(""))
        self.cmbBedSchedule.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbBedSchedule, 4, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportStationaryF007SetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        self.lblProfileBed = QtGui.QLabel(ReportStationaryF007SetupDialog)
        self.lblProfileBed.setObjectName(_fromUtf8("lblProfileBed"))
        self.gridLayout.addWidget(self.lblProfileBed, 5, 0, 1, 1)
        self.cmbBedProfile = CRBComboBox(ReportStationaryF007SetupDialog)
        self.cmbBedProfile.setObjectName(_fromUtf8("cmbBedProfile"))
        self.gridLayout.addWidget(self.cmbBedProfile, 5, 1, 1, 2)
        self.chkDetailOrgStructure = QtGui.QCheckBox(
            ReportStationaryF007SetupDialog)
        self.chkDetailOrgStructure.setObjectName(
            _fromUtf8("chkDetailOrgStructure"))
        self.gridLayout.addWidget(self.chkDetailOrgStructure, 6, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportStationaryF007SetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(129, 44, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 0, 1, 1)
        self.edtDate = CDateEdit(ReportStationaryF007SetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       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, 0, 1, 1, 1)
        self.lblBegTime = QtGui.QLabel(ReportStationaryF007SetupDialog)
        self.lblBegTime.setObjectName(_fromUtf8("lblBegTime"))
        self.gridLayout.addWidget(self.lblBegTime, 1, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportStationaryF007SetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(192, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(ReportStationaryF007SetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 1, 1, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, ReportStationaryF007SetupDialog):
        ReportStationaryF007SetupDialog.setWindowTitle(
            _translate("ReportStationaryF007SetupDialog", "Dialog", None))
        self.lblSchedule.setText(
            _translate("ReportStationaryF007SetupDialog", "Режим койки", None))
        self.cmbBedSchedule.setItemText(
            0,
            _translate("ReportStationaryF007SetupDialog", "Не учитывать",
                       None))
        self.cmbBedSchedule.setItemText(
            1,
            _translate("ReportStationaryF007SetupDialog", "Круглосуточные",
                       None))
        self.cmbBedSchedule.setItemText(
            2,
            _translate("ReportStationaryF007SetupDialog", "Не круглосуточные",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportStationaryF007SetupDialog", "&Подразделение",
                       None))
        self.lblProfileBed.setText(
            _translate("ReportStationaryF007SetupDialog", "Профиль койки",
                       None))
        self.chkDetailOrgStructure.setText(
            _translate("ReportStationaryF007SetupDialog",
                       "Группировать по подразделениям", None))
        self.edtDate.setDisplayFormat(
            _translate("ReportStationaryF007SetupDialog", "dd.MM.yyyy", None))
        self.lblBegTime.setText(
            _translate("ReportStationaryF007SetupDialog", "Время начала суток",
                       None))
        self.lblEndDate.setText(
            _translate("ReportStationaryF007SetupDialog", "Текущий день",
                       None))
        self.edtBegTime.setDisplayFormat(
            _translate("ReportStationaryF007SetupDialog", "HH:mm", None))
예제 #20
0
class Ui_MenuDialog(object):
    def setupUi(self, MenuDialog):
        MenuDialog.setObjectName(_fromUtf8("MenuDialog"))
        MenuDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        MenuDialog.resize(593, 450)
        MenuDialog.setSizeGripEnabled(True)
        MenuDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(MenuDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblPeriod = QtGui.QLabel(MenuDialog)
        self.lblPeriod.setObjectName(_fromUtf8("lblPeriod"))
        self.gridLayout.addWidget(self.lblPeriod, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(MenuDialog)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblFor = QtGui.QLabel(MenuDialog)
        self.lblFor.setAlignment(QtCore.Qt.AlignCenter)
        self.lblFor.setObjectName(_fromUtf8("lblFor"))
        self.gridLayout.addWidget(self.lblFor, 0, 2, 1, 1)
        self.edtEndDate = CDateEdit(MenuDialog)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 0, 3, 1, 1)
        self.chkUpdate = QtGui.QCheckBox(MenuDialog)
        self.chkUpdate.setObjectName(_fromUtf8("chkUpdate"))
        self.gridLayout.addWidget(self.chkUpdate, 0, 4, 1, 1)
        spacerItem = QtGui.QSpacerItem(287, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 5, 1, 1)
        self.tblItems = CTableView(MenuDialog)
        self.tblItems.setTabKeyNavigation(False)
        self.tblItems.setAlternatingRowColors(True)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 1, 0, 1, 6)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(MenuDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem1)
        self.btnSelected = QtGui.QPushButton(MenuDialog)
        self.btnSelected.setObjectName(_fromUtf8("btnSelected"))
        self.hboxlayout.addWidget(self.btnSelected)
        self.btnEdit = QtGui.QPushButton(MenuDialog)
        self.btnEdit.setDefault(True)
        self.btnEdit.setObjectName(_fromUtf8("btnEdit"))
        self.hboxlayout.addWidget(self.btnEdit)
        self.btnPrint = QtGui.QPushButton(MenuDialog)
        self.btnPrint.setObjectName(_fromUtf8("btnPrint"))
        self.hboxlayout.addWidget(self.btnPrint)
        self.btnCancel = QtGui.QPushButton(MenuDialog)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.hboxlayout.addWidget(self.btnCancel)
        self.gridLayout.addLayout(self.hboxlayout, 2, 0, 1, 6)
        self.statusBar = QtGui.QStatusBar(MenuDialog)
        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, 3, 0, 1, 1)

        self.retranslateUi(MenuDialog)
        QtCore.QObject.connect(self.btnCancel,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MenuDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(MenuDialog)
        MenuDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        MenuDialog.setTabOrder(self.edtEndDate, self.chkUpdate)
        MenuDialog.setTabOrder(self.chkUpdate, self.tblItems)
        MenuDialog.setTabOrder(self.tblItems, self.btnSelected)
        MenuDialog.setTabOrder(self.btnSelected, self.btnEdit)
        MenuDialog.setTabOrder(self.btnEdit, self.btnPrint)
        MenuDialog.setTabOrder(self.btnPrint, self.btnCancel)

    def retranslateUi(self, MenuDialog):
        MenuDialog.setWindowTitle(
            _translate("MenuDialog", "Список записей", None))
        self.lblPeriod.setText(_translate("MenuDialog", "Период с", None))
        self.edtBegDate.setDisplayFormat(
            _translate("MenuDialog", "dd.MM.yyyy", None))
        self.lblFor.setText(_translate("MenuDialog", "по", None))
        self.edtEndDate.setDisplayFormat(
            _translate("MenuDialog", "dd.MM.yyyy", None))
        self.chkUpdate.setText(_translate("MenuDialog", "Обновить", None))
        self.tblItems.setWhatsThis(
            _translate("MenuDialog", "список записей", "ура!"))
        self.label.setText(_translate("MenuDialog", "всего: ", None))
        self.btnSelected.setText(_translate("MenuDialog", "Выбрать", None))
        self.btnEdit.setWhatsThis(
            _translate("MenuDialog", "изменить текущую запись", None))
        self.btnEdit.setText(_translate("MenuDialog", "Просмотр", None))
        self.btnEdit.setShortcut(_translate("MenuDialog", "F4", None))
        self.btnPrint.setText(_translate("MenuDialog", "Печать", None))
        self.btnCancel.setWhatsThis(
            _translate("MenuDialog", "выйти из списка без выбора", None))
        self.btnCancel.setText(_translate("MenuDialog", "Закрыть", None))
        self.statusBar.setToolTip(
            _translate("MenuDialog", "A status bar", None))
        self.statusBar.setWhatsThis(
            _translate("MenuDialog", "A status bar.", None))
예제 #21
0
class Ui_OrderListDialog(object):
    def setupUi(self, OrderListDialog):
        OrderListDialog.setObjectName(_fromUtf8("OrderListDialog"))
        OrderListDialog.resize(800, 600)
        self.gridLayout_2 = QtGui.QGridLayout(OrderListDialog)
        self.gridLayout_2.setMargin(6)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnClose = QtGui.QPushButton(OrderListDialog)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.horizontalLayout.addWidget(self.btnClose)
        self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1)
        self.tabWidget = QtGui.QTabWidget(OrderListDialog)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabOrder = QtGui.QWidget()
        self.tabOrder.setObjectName(_fromUtf8("tabOrder"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabOrder)
        self.gridLayout_3.setMargin(6)
        self.gridLayout_3.setSpacing(6)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.chkOrderError = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderError.setObjectName(_fromUtf8("chkOrderError"))
        self.horizontalLayout_6.addWidget(self.chkOrderError)
        self.edtOrderError = QtGui.QLineEdit(self.tabOrder)
        self.edtOrderError.setEnabled(False)
        self.edtOrderError.setObjectName(_fromUtf8("edtOrderError"))
        self.horizontalLayout_6.addWidget(self.edtOrderError)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 3, 0, 1, 1)
        self.lblOrderCount = QtGui.QLabel(self.tabOrder)
        self.lblOrderCount.setObjectName(_fromUtf8("lblOrderCount"))
        self.gridLayout_3.addWidget(self.lblOrderCount, 1, 0, 1, 1)
        self.tblOrder = CTableView(self.tabOrder)
        self.tblOrder.setObjectName(_fromUtf8("tblOrder"))
        self.gridLayout_3.addWidget(self.tblOrder, 0, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnOrderApply = QtGui.QPushButton(self.tabOrder)
        self.btnOrderApply.setObjectName(_fromUtf8("btnOrderApply"))
        self.horizontalLayout_2.addWidget(self.btnOrderApply)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 4, 0, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.label = QtGui.QLabel(self.tabOrder)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_5.addWidget(self.label)
        self.chkOrderDateFrom = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateFrom.setChecked(True)
        self.chkOrderDateFrom.setObjectName(_fromUtf8("chkOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateFrom)
        self.edtOrderDateFrom = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateFrom.sizePolicy().hasHeightForWidth())
        self.edtOrderDateFrom.setSizePolicy(sizePolicy)
        self.edtOrderDateFrom.setObjectName(_fromUtf8("edtOrderDateFrom"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateFrom)
        self.chkOrderDateTo = QtGui.QCheckBox(self.tabOrder)
        self.chkOrderDateTo.setChecked(True)
        self.chkOrderDateTo.setObjectName(_fromUtf8("chkOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.chkOrderDateTo)
        self.edtOrderDateTo = CDateEdit(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderDateTo.sizePolicy().hasHeightForWidth())
        self.edtOrderDateTo.setSizePolicy(sizePolicy)
        self.edtOrderDateTo.setObjectName(_fromUtf8("edtOrderDateTo"))
        self.horizontalLayout_5.addWidget(self.edtOrderDateTo)
        self.lblOrderStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderStatus.setObjectName(_fromUtf8("lblOrderStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderStatus)
        self.cmbOrderStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderStatus.setSizePolicy(sizePolicy)
        self.cmbOrderStatus.setObjectName(_fromUtf8("cmbOrderStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderStatus)
        self.lblOrderSyncStatus = QtGui.QLabel(self.tabOrder)
        self.lblOrderSyncStatus.setObjectName(_fromUtf8("lblOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.lblOrderSyncStatus)
        self.cmbOrderSyncStatus = CEnumComboBox(self.tabOrder)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderSyncStatus.setObjectName(_fromUtf8("cmbOrderSyncStatus"))
        self.horizontalLayout_5.addWidget(self.cmbOrderSyncStatus)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem2)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrder, _fromUtf8(""))
        self.tabOrderResponse = QtGui.QWidget()
        self.tabOrderResponse.setObjectName(_fromUtf8("tabOrderResponse"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tabOrderResponse)
        self.gridLayout_5.setMargin(6)
        self.gridLayout_5.setSpacing(6)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.lblOrderResponseCount = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseCount.setObjectName(
            _fromUtf8("lblOrderResponseCount"))
        self.gridLayout_5.addWidget(self.lblOrderResponseCount, 1, 0, 1, 1)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.chkOrderResponseDate = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseDate.setChecked(True)
        self.chkOrderResponseDate.setObjectName(
            _fromUtf8("chkOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.chkOrderResponseDate)
        self.edtOrderResponseDate = CDateEdit(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtOrderResponseDate.sizePolicy().hasHeightForWidth())
        self.edtOrderResponseDate.setSizePolicy(sizePolicy)
        self.edtOrderResponseDate.setObjectName(
            _fromUtf8("edtOrderResponseDate"))
        self.horizontalLayout_7.addWidget(self.edtOrderResponseDate)
        self.lblOrderResponseStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseStatus.setObjectName(
            _fromUtf8("lblOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseStatus)
        self.cmbOrderResponseStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseStatus.setObjectName(
            _fromUtf8("cmbOrderResponseStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseStatus)
        self.lblOrderResponseSyncStatus = QtGui.QLabel(self.tabOrderResponse)
        self.lblOrderResponseSyncStatus.setObjectName(
            _fromUtf8("lblOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.lblOrderResponseSyncStatus)
        self.cmbOrderResponseSyncStatus = CEnumComboBox(self.tabOrderResponse)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrderResponseSyncStatus.sizePolicy().hasHeightForWidth())
        self.cmbOrderResponseSyncStatus.setSizePolicy(sizePolicy)
        self.cmbOrderResponseSyncStatus.setObjectName(
            _fromUtf8("cmbOrderResponseSyncStatus"))
        self.horizontalLayout_7.addWidget(self.cmbOrderResponseSyncStatus)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem3)
        self.gridLayout_5.addLayout(self.horizontalLayout_7, 2, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.btnOrderResponseApply = QtGui.QPushButton(self.tabOrderResponse)
        self.btnOrderResponseApply.setObjectName(
            _fromUtf8("btnOrderResponseApply"))
        self.horizontalLayout_3.addWidget(self.btnOrderResponseApply)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem4)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 4, 0, 1, 1)
        self.tblOrderResponse = CTableView(self.tabOrderResponse)
        self.tblOrderResponse.setObjectName(_fromUtf8("tblOrderResponse"))
        self.gridLayout_5.addWidget(self.tblOrderResponse, 0, 0, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.chkOrderResponseError = QtGui.QCheckBox(self.tabOrderResponse)
        self.chkOrderResponseError.setObjectName(
            _fromUtf8("chkOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.chkOrderResponseError)
        self.edtOrderResponseError = QtGui.QLineEdit(self.tabOrderResponse)
        self.edtOrderResponseError.setObjectName(
            _fromUtf8("edtOrderResponseError"))
        self.horizontalLayout_8.addWidget(self.edtOrderResponseError)
        self.gridLayout_5.addLayout(self.horizontalLayout_8, 3, 0, 1, 1)
        self.tabWidget.addTab(self.tabOrderResponse, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 0, 0, 1, 1)

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

    def retranslateUi(self, OrderListDialog):
        OrderListDialog.setWindowTitle(
            _translate("OrderListDialog",
                       "Обмен данными лабораторных исследований", None))
        self.btnClose.setText(_translate("OrderListDialog", "Закрыть", None))
        self.chkOrderError.setText(
            _translate("OrderListDialog", "Текст ошибки", None))
        self.lblOrderCount.setText(
            _translate("OrderListDialog", "Записей в таблице: 0", None))
        self.btnOrderApply.setText(
            _translate("OrderListDialog", "Применить", None))
        self.label.setText(
            _translate("OrderListDialog", "Дата создания:", None))
        self.chkOrderDateFrom.setText(_translate("OrderListDialog", "c", None))
        self.edtOrderDateFrom.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.chkOrderDateTo.setText(_translate("OrderListDialog", "по", None))
        self.edtOrderDateTo.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.lblOrderStatus.setText(
            _translate("OrderListDialog", "Статус", None))
        self.lblOrderSyncStatus.setText(
            _translate("OrderListDialog", "Текущее состояние", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabOrder),
            _translate("OrderListDialog", "Заявки", None))
        self.lblOrderResponseCount.setText(
            _translate("OrderListDialog", "Записей в таблице: 0", None))
        self.chkOrderResponseDate.setText(
            _translate("OrderListDialog", "Дата создания", None))
        self.edtOrderResponseDate.setDisplayFormat(
            _translate("OrderListDialog", "dd.MM.yyyy", None))
        self.lblOrderResponseStatus.setText(
            _translate("OrderListDialog", "Статус", None))
        self.lblOrderResponseSyncStatus.setText(
            _translate("OrderListDialog", "Текущее состояние", None))
        self.btnOrderResponseApply.setText(
            _translate("OrderListDialog", "Применить", None))
        self.chkOrderResponseError.setText(
            _translate("OrderListDialog", "Текст ошибки", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabOrderResponse),
            _translate("OrderListDialog", "Результаты", None))
예제 #22
0
class Ui_PatientEntranceSetupDialog(object):
    def setupUi(self, PatientEntranceSetupDialog):
        PatientEntranceSetupDialog.setObjectName(_fromUtf8("PatientEntranceSetupDialog"))
        PatientEntranceSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PatientEntranceSetupDialog.resize(438, 159)
        PatientEntranceSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(PatientEntranceSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbOrgStructure = COrgStructureComboBox(PatientEntranceSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(PatientEntranceSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(PatientEntranceSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.edtBegDate = CDateEdit(PatientEntranceSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(PatientEntranceSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtEndDate = CDateEdit(PatientEntranceSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(PatientEntranceSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(PatientEntranceSetupDialog)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 1, 2, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(PatientEntranceSetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 0, 2, 1, 1)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, PatientEntranceSetupDialog):
        PatientEntranceSetupDialog.setWindowTitle(_translate("PatientEntranceSetupDialog", "параметры отчёта", None))
        self.lblOrgStructure.setText(_translate("PatientEntranceSetupDialog", "&Подразделение", None))
        self.edtBegDate.setDisplayFormat(_translate("PatientEntranceSetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(_translate("PatientEntranceSetupDialog", "Дата &начала периода", None))
        self.edtEndDate.setDisplayFormat(_translate("PatientEntranceSetupDialog", "dd.MM.yyyy", None))
        self.lblEndDate.setText(_translate("PatientEntranceSetupDialog", "Дата &окончания периода", None))
예제 #23
0
class Ui_ClientRelationComboBoxPopup(object):
    def setupUi(self, ClientRelationComboBoxPopup):
        ClientRelationComboBoxPopup.setObjectName(
            _fromUtf8("ClientRelationComboBoxPopup"))
        ClientRelationComboBoxPopup.resize(508, 310)
        self.gridlayout = QtGui.QGridLayout(ClientRelationComboBoxPopup)
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.tabWidget = QtGui.QTabWidget(ClientRelationComboBoxPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabClientRelation = QtGui.QWidget()
        self.tabClientRelation.setObjectName(_fromUtf8("tabClientRelation"))
        self.vboxlayout = QtGui.QVBoxLayout(self.tabClientRelation)
        self.vboxlayout.setSpacing(4)
        self.vboxlayout.setMargin(4)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.tblClientRelation = CTableView(self.tabClientRelation)
        self.tblClientRelation.setObjectName(_fromUtf8("tblClientRelation"))
        self.vboxlayout.addWidget(self.tblClientRelation)
        self.tabWidget.addTab(self.tabClientRelation, _fromUtf8(""))
        self.tabSearch = QtGui.QWidget()
        self.tabSearch.setObjectName(_fromUtf8("tabSearch"))
        self.gridlayout1 = QtGui.QGridLayout(self.tabSearch)
        self.gridlayout1.setMargin(4)
        self.gridlayout1.setSpacing(4)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.edtNumber = QtGui.QLineEdit(self.tabSearch)
        self.edtNumber.setObjectName(_fromUtf8("edtNumber"))
        self.gridlayout1.addWidget(self.edtNumber, 7, 1, 1, 4)
        self.edtLastName = QtGui.QLineEdit(self.tabSearch)
        self.edtLastName.setObjectName(_fromUtf8("edtLastName"))
        self.gridlayout1.addWidget(self.edtLastName, 1, 1, 1, 4)
        self.edtWork = QtGui.QLineEdit(self.tabSearch)
        self.edtWork.setObjectName(_fromUtf8("edtWork"))
        self.gridlayout1.addWidget(self.edtWork, 9, 1, 1, 4)
        self.lblLastName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLastName.sizePolicy().hasHeightForWidth())
        self.lblLastName.setSizePolicy(sizePolicy)
        self.lblLastName.setObjectName(_fromUtf8("lblLastName"))
        self.gridlayout1.addWidget(self.lblLastName, 1, 0, 1, 1)
        self.lblFirstName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFirstName.sizePolicy().hasHeightForWidth())
        self.lblFirstName.setSizePolicy(sizePolicy)
        self.lblFirstName.setObjectName(_fromUtf8("lblFirstName"))
        self.gridlayout1.addWidget(self.lblFirstName, 2, 0, 1, 1)
        self.lblBirthDate = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBirthDate.sizePolicy().hasHeightForWidth())
        self.lblBirthDate.setSizePolicy(sizePolicy)
        self.lblBirthDate.setObjectName(_fromUtf8("lblBirthDate"))
        self.gridlayout1.addWidget(self.lblBirthDate, 4, 0, 1, 1)
        self.lblPatrName = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPatrName.sizePolicy().hasHeightForWidth())
        self.lblPatrName.setSizePolicy(sizePolicy)
        self.lblPatrName.setObjectName(_fromUtf8("lblPatrName"))
        self.gridlayout1.addWidget(self.lblPatrName, 3, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 141, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 11, 0, 1, 1)
        self.lblSerial = QtGui.QLabel(self.tabSearch)
        self.lblSerial.setObjectName(_fromUtf8("lblSerial"))
        self.gridlayout1.addWidget(self.lblSerial, 6, 0, 1, 1)
        self.edtPatrName = CPatrNameEditor(self.tabSearch)
        self.edtPatrName.setObjectName(_fromUtf8("edtPatrName"))
        self.gridlayout1.addWidget(self.edtPatrName, 3, 1, 1, 4)
        self.lblDocument = QtGui.QLabel(self.tabSearch)
        self.lblDocument.setObjectName(_fromUtf8("lblDocument"))
        self.gridlayout1.addWidget(self.lblDocument, 5, 0, 1, 1)
        self.cmbDocType = CRBComboBox(self.tabSearch)
        self.cmbDocType.setObjectName(_fromUtf8("cmbDocType"))
        self.gridlayout1.addWidget(self.cmbDocType, 5, 1, 1, 4)
        self.lblNumber = QtGui.QLabel(self.tabSearch)
        self.lblNumber.setObjectName(_fromUtf8("lblNumber"))
        self.gridlayout1.addWidget(self.lblNumber, 7, 0, 1, 1)
        self.edtLeftSerial = QtGui.QLineEdit(self.tabSearch)
        self.edtLeftSerial.setObjectName(_fromUtf8("edtLeftSerial"))
        self.gridlayout1.addWidget(self.edtLeftSerial, 6, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1, 4, 4, 1, 1)
        self.edtRightSerial = QtGui.QLineEdit(self.tabSearch)
        self.edtRightSerial.setObjectName(_fromUtf8("edtRightSerial"))
        self.gridlayout1.addWidget(self.edtRightSerial, 6, 4, 1, 1)
        self.edtBirthDate = CDateEdit(self.tabSearch)
        self.edtBirthDate.setCalendarPopup(True)
        self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate"))
        self.gridlayout1.addWidget(self.edtBirthDate, 4, 1, 1, 1)
        self.btnFillingFilter = QtGui.QPushButton(self.tabSearch)
        self.btnFillingFilter.setObjectName(_fromUtf8("btnFillingFilter"))
        self.gridlayout1.addWidget(self.btnFillingFilter, 0, 0, 1, 5)
        self.btnRegistry = QtGui.QPushButton(self.tabSearch)
        self.btnRegistry.setObjectName(_fromUtf8("btnRegistry"))
        self.gridlayout1.addWidget(self.btnRegistry, 12, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem2, 12, 1, 1, 1)
        self.lblWork = QtGui.QLabel(self.tabSearch)
        self.lblWork.setObjectName(_fromUtf8("lblWork"))
        self.gridlayout1.addWidget(self.lblWork, 9, 0, 1, 1)
        self.btnCreateEntry = QtGui.QPushButton(self.tabSearch)
        self.btnCreateEntry.setObjectName(_fromUtf8("btnCreateEntry"))
        self.gridlayout1.addWidget(self.btnCreateEntry, 12, 4, 1, 1)
        self.lblSex = QtGui.QLabel(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSex.sizePolicy().hasHeightForWidth())
        self.lblSex.setSizePolicy(sizePolicy)
        self.lblSex.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                 | QtCore.Qt.AlignVCenter)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout1.addWidget(self.lblSex, 4, 2, 1, 1)
        self.cmbSex = QtGui.QComboBox(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       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.gridlayout1.addWidget(self.cmbSex, 4, 3, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout1.addWidget(self.buttonBox, 12, 2, 1, 2)
        self.lblComment = QtGui.QLabel(self.tabSearch)
        self.lblComment.setObjectName(_fromUtf8("lblComment"))
        self.gridlayout1.addWidget(self.lblComment, 10, 0, 1, 1)
        self.edtComment = QtGui.QLineEdit(self.tabSearch)
        self.edtComment.setObjectName(_fromUtf8("edtComment"))
        self.gridlayout1.addWidget(self.edtComment, 10, 1, 1, 4)
        self.edtFirstName = CFirstNameEditor(self.tabSearch)
        self.edtFirstName.setObjectName(_fromUtf8("edtFirstName"))
        self.gridlayout1.addWidget(self.edtFirstName, 2, 1, 1, 4)
        self.tabWidget.addTab(self.tabSearch, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabWidget, 0, 0, 1, 1)
        self.lblLastName.setBuddy(self.edtLastName)
        self.lblFirstName.setBuddy(self.edtFirstName)

        self.retranslateUi(ClientRelationComboBoxPopup)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(ClientRelationComboBoxPopup)
        ClientRelationComboBoxPopup.setTabOrder(self.tabWidget,
                                                self.btnFillingFilter)
        ClientRelationComboBoxPopup.setTabOrder(self.btnFillingFilter,
                                                self.edtLastName)
        ClientRelationComboBoxPopup.setTabOrder(self.edtLastName,
                                                self.edtFirstName)
        ClientRelationComboBoxPopup.setTabOrder(self.edtFirstName,
                                                self.edtPatrName)
        ClientRelationComboBoxPopup.setTabOrder(self.edtPatrName,
                                                self.edtBirthDate)
        ClientRelationComboBoxPopup.setTabOrder(self.edtBirthDate,
                                                self.cmbDocType)
        ClientRelationComboBoxPopup.setTabOrder(self.cmbDocType,
                                                self.edtLeftSerial)
        ClientRelationComboBoxPopup.setTabOrder(self.edtLeftSerial,
                                                self.edtRightSerial)
        ClientRelationComboBoxPopup.setTabOrder(self.edtRightSerial,
                                                self.edtNumber)
        ClientRelationComboBoxPopup.setTabOrder(self.edtNumber,
                                                self.tblClientRelation)

    def retranslateUi(self, ClientRelationComboBoxPopup):
        ClientRelationComboBoxPopup.setWindowTitle(
            _translate("ClientRelationComboBoxPopup", "Form", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabClientRelation),
            _translate("ClientRelationComboBoxPopup", "Результат поиска",
                       None))
        self.lblLastName.setText(
            _translate("ClientRelationComboBoxPopup", "Фамилия", None))
        self.lblFirstName.setText(
            _translate("ClientRelationComboBoxPopup", "Имя", None))
        self.lblBirthDate.setText(
            _translate("ClientRelationComboBoxPopup", "Дата рождения", None))
        self.lblPatrName.setText(
            _translate("ClientRelationComboBoxPopup", "Отчество", None))
        self.lblSerial.setText(
            _translate("ClientRelationComboBoxPopup", "Серия", None))
        self.lblDocument.setText(
            _translate("ClientRelationComboBoxPopup", "Документ", None))
        self.lblNumber.setText(
            _translate("ClientRelationComboBoxPopup", "Номер", None))
        self.edtBirthDate.setDisplayFormat(
            _translate("ClientRelationComboBoxPopup", "dd.MM.yyyy", None))
        self.btnFillingFilter.setText(
            _translate("ClientRelationComboBoxPopup", "Автозаполнение данных",
                       None))
        self.btnRegistry.setText(
            _translate("ClientRelationComboBoxPopup", "Регистрация", None))
        self.lblWork.setText(
            _translate("ClientRelationComboBoxPopup", "Занятость", None))
        self.btnCreateEntry.setText(
            _translate("ClientRelationComboBoxPopup", "Создать запись", None))
        self.lblSex.setText(
            _translate("ClientRelationComboBoxPopup", "Пол", None))
        self.cmbSex.setItemText(
            1, _translate("ClientRelationComboBoxPopup", "Мужской", None))
        self.cmbSex.setItemText(
            2, _translate("ClientRelationComboBoxPopup", "Женский", None))
        self.lblComment.setText(
            _translate("ClientRelationComboBoxPopup", "Прочее", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabSearch),
            _translate("ClientRelationComboBoxPopup", "&Поиск", None))
예제 #24
0
class Ui_UnfinishedEventsReportSetupDialog(object):
    def setupUi(self, UnfinishedEventsReportSetupDialog):
        UnfinishedEventsReportSetupDialog.setObjectName(_fromUtf8("UnfinishedEventsReportSetupDialog"))
        UnfinishedEventsReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        UnfinishedEventsReportSetupDialog.resize(341, 234)
        UnfinishedEventsReportSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(UnfinishedEventsReportSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(UnfinishedEventsReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(UnfinishedEventsReportSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 2, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(UnfinishedEventsReportSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 2, 1, 1, 2)
        self.lblEventType = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1)
        self.cmbEventType = CRBComboBox(UnfinishedEventsReportSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(UnfinishedEventsReportSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 4, 1, 1, 2)
        self.lblSpeciality = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 5, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(UnfinishedEventsReportSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 5, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(UnfinishedEventsReportSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(UnfinishedEventsReportSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 6, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(129, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(UnfinishedEventsReportSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPerson.setBuddy(self.cmbPerson)

        self.retranslateUi(UnfinishedEventsReportSetupDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), UnfinishedEventsReportSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), UnfinishedEventsReportSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(UnfinishedEventsReportSetupDialog)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventPurpose)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        UnfinishedEventsReportSetupDialog.setTabOrder(self.cmbPerson, self.buttonBox)

    def retranslateUi(self, UnfinishedEventsReportSetupDialog):
        UnfinishedEventsReportSetupDialog.setWindowTitle(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "параметры отчёта", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "Дата начала периода", None, QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setDisplayFormat(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "Дата окончания периода", None, QtGui.QApplication.UnicodeUTF8))
        self.edtEndDate.setDisplayFormat(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "&Назначение обращения", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "&Тип обращения", None, QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "&Подразделение", None, QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "&Специальность", None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "<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.lblPerson.setText(QtGui.QApplication.translate("UnfinishedEventsReportSetupDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8))
예제 #25
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(672, 568)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegin = QtGui.QLabel(Dialog)
        self.lblBegin.setObjectName(_fromUtf8("lblBegin"))
        self.gridLayout.addWidget(self.lblBegin, 0, 0, 1, 1)
        self.dateBeginPeriod = CDateEdit(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateBeginPeriod.sizePolicy().hasHeightForWidth())
        self.dateBeginPeriod.setSizePolicy(sizePolicy)
        self.dateBeginPeriod.setCalendarPopup(True)
        self.dateBeginPeriod.setObjectName(_fromUtf8("dateBeginPeriod"))
        self.gridLayout.addWidget(self.dateBeginPeriod, 0, 1, 1, 1)
        self.lblEnd = QtGui.QLabel(Dialog)
        self.lblEnd.setObjectName(_fromUtf8("lblEnd"))
        self.gridLayout.addWidget(self.lblEnd, 0, 2, 1, 1)
        self.dateEndPeriod = CDateEdit(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dateEndPeriod.sizePolicy().hasHeightForWidth())
        self.dateEndPeriod.setSizePolicy(sizePolicy)
        self.dateEndPeriod.setCalendarPopup(True)
        self.dateEndPeriod.setObjectName(_fromUtf8("dateEndPeriod"))
        self.gridLayout.addWidget(self.dateEndPeriod, 0, 3, 1, 2)
        spacerItem = QtGui.QSpacerItem(68, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 5, 1, 1)
        self.chkMKB = QtGui.QCheckBox(Dialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 0, 6, 1, 1)
        self.edtMKBFrom = CICDCodeEdit(Dialog)
        self.edtMKBFrom.setEnabled(False)
        self.edtMKBFrom.setMaximumSize(QtCore.QSize(50, 16777215))
        self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom"))
        self.gridLayout.addWidget(self.edtMKBFrom, 0, 7, 1, 1)
        self.edtMKBTo = CICDCodeEdit(Dialog)
        self.edtMKBTo.setEnabled(False)
        self.edtMKBTo.setMaximumSize(QtCore.QSize(50, 16777215))
        self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo"))
        self.gridLayout.addWidget(self.edtMKBTo, 0, 8, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(14, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 9, 1, 1)
        self.chkAccountChronicDisease = QtGui.QCheckBox(Dialog)
        self.chkAccountChronicDisease.setChecked(True)
        self.chkAccountChronicDisease.setObjectName(_fromUtf8("chkAccountChronicDisease"))
        self.gridLayout.addWidget(self.chkAccountChronicDisease, 2, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 2, 4, 1, 2)
        self.chkDiseaseDiagnostic = QtGui.QCheckBox(Dialog)
        self.chkDiseaseDiagnostic.setChecked(True)
        self.chkDiseaseDiagnostic.setObjectName(_fromUtf8("chkDiseaseDiagnostic"))
        self.gridLayout.addWidget(self.chkDiseaseDiagnostic, 2, 6, 1, 3)
        self.chkAccountAcuteDisease = QtGui.QCheckBox(Dialog)
        self.chkAccountAcuteDisease.setChecked(True)
        self.chkAccountAcuteDisease.setObjectName(_fromUtf8("chkAccountAcuteDisease"))
        self.gridLayout.addWidget(self.chkAccountAcuteDisease, 3, 0, 1, 3)
        spacerItem3 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 3, 4, 1, 2)
        self.chkDataDiagnosis = QtGui.QCheckBox(Dialog)
        self.chkDataDiagnosis.setChecked(True)
        self.chkDataDiagnosis.setObjectName(_fromUtf8("chkDataDiagnosis"))
        self.gridLayout.addWidget(self.chkDataDiagnosis, 3, 6, 1, 2)
        self.chkControlIntegrity = QtGui.QCheckBox(Dialog)
        self.chkControlIntegrity.setChecked(True)
        self.chkControlIntegrity.setObjectName(_fromUtf8("chkControlIntegrity"))
        self.gridLayout.addWidget(self.chkControlIntegrity, 4, 0, 1, 3)
        spacerItem4 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 4, 4, 1, 2)
        self.chkCharacterChronicFirstDisease = QtGui.QCheckBox(Dialog)
        self.chkCharacterChronicFirstDisease.setChecked(True)
        self.chkCharacterChronicFirstDisease.setObjectName(_fromUtf8("chkCharacterChronicFirstDisease"))
        self.gridLayout.addWidget(self.chkCharacterChronicFirstDisease, 4, 6, 1, 3)
        self.chkCodingMKBEx = QtGui.QCheckBox(Dialog)
        self.chkCodingMKBEx.setChecked(True)
        self.chkCodingMKBEx.setObjectName(_fromUtf8("chkCodingMKBEx"))
        self.gridLayout.addWidget(self.chkCodingMKBEx, 5, 0, 1, 4)
        spacerItem5 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 5, 4, 1, 2)
        self.chkCharacterChronicKnowDisease = QtGui.QCheckBox(Dialog)
        self.chkCharacterChronicKnowDisease.setChecked(True)
        self.chkCharacterChronicKnowDisease.setObjectName(_fromUtf8("chkCharacterChronicKnowDisease"))
        self.gridLayout.addWidget(self.chkCharacterChronicKnowDisease, 5, 6, 1, 4)
        self.chkCodingMKB = QtGui.QCheckBox(Dialog)
        self.chkCodingMKB.setChecked(True)
        self.chkCodingMKB.setObjectName(_fromUtf8("chkCodingMKB"))
        self.gridLayout.addWidget(self.chkCodingMKB, 6, 0, 1, 3)
        spacerItem6 = QtGui.QSpacerItem(50, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 6, 4, 1, 2)
        self.chkChronicAcuteDisease = QtGui.QCheckBox(Dialog)
        self.chkChronicAcuteDisease.setChecked(True)
        self.chkChronicAcuteDisease.setObjectName(_fromUtf8("chkChronicAcuteDisease"))
        self.gridLayout.addWidget(self.chkChronicAcuteDisease, 6, 6, 1, 3)
        self.chkCodingTraumaType = QtGui.QCheckBox(Dialog)
        self.chkCodingTraumaType.setChecked(True)
        self.chkCodingTraumaType.setObjectName(_fromUtf8("chkCodingTraumaType"))
        self.gridLayout.addWidget(self.chkCodingTraumaType, 7, 0, 1, 4)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem7, 7, 4, 1, 2)
        self.chkIgnoreCorrectionUser = QtGui.QCheckBox(Dialog)
        self.chkIgnoreCorrectionUser.setEnabled(False)
        self.chkIgnoreCorrectionUser.setObjectName(_fromUtf8("chkIgnoreCorrectionUser"))
        self.gridLayout.addWidget(self.chkIgnoreCorrectionUser, 7, 6, 1, 3)
        self.listResultControlDiagnosis = CRemarkListWidget(Dialog)
        self.listResultControlDiagnosis.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked|QtGui.QAbstractItemView.EditKeyPressed|QtGui.QAbstractItemView.SelectedClicked)
        self.listResultControlDiagnosis.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.listResultControlDiagnosis.setFlow(QtGui.QListView.TopToBottom)
        self.listResultControlDiagnosis.setObjectName(_fromUtf8("listResultControlDiagnosis"))
        self.gridLayout.addWidget(self.listResultControlDiagnosis, 9, 0, 1, 10)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnStartControl = QtGui.QPushButton(Dialog)
        self.btnStartControl.setAutoDefault(True)
        self.btnStartControl.setObjectName(_fromUtf8("btnStartControl"))
        self.horizontalLayout_2.addWidget(self.btnStartControl)
        self.lblCountLine = QtGui.QLabel(Dialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblCountLine.sizePolicy().hasHeightForWidth())
        self.lblCountLine.setSizePolicy(sizePolicy)
        self.lblCountLine.setText(_fromUtf8(""))
        self.lblCountLine.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountLine.setObjectName(_fromUtf8("lblCountLine"))
        self.horizontalLayout_2.addWidget(self.lblCountLine)
        self.btnCorrectControl = QtGui.QPushButton(Dialog)
        self.btnCorrectControl.setEnabled(False)
        self.btnCorrectControl.setObjectName(_fromUtf8("btnCorrectControl"))
        self.horizontalLayout_2.addWidget(self.btnCorrectControl)
        self.btnEndControl = QtGui.QPushButton(Dialog)
        self.btnEndControl.setAutoDefault(True)
        self.btnEndControl.setObjectName(_fromUtf8("btnEndControl"))
        self.horizontalLayout_2.addWidget(self.btnEndControl)
        self.gridLayout.addLayout(self.horizontalLayout_2, 10, 0, 1, 10)
        self.prbControlDiagnosis = CProgressBar(Dialog)
        self.prbControlDiagnosis.setObjectName(_fromUtf8("prbControlDiagnosis"))
        self.gridLayout.addWidget(self.prbControlDiagnosis, 8, 0, 1, 10)
        self.lblAge = QtGui.QLabel(Dialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAgeFrom = QtGui.QSpinBox(Dialog)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.gridLayout.addWidget(self.edtAgeFrom, 1, 1, 1, 1)
        self.lblAgeTo = QtGui.QLabel(Dialog)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.gridLayout.addWidget(self.lblAgeTo, 1, 2, 1, 1)
        self.edtAgeTo = QtGui.QSpinBox(Dialog)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.gridLayout.addWidget(self.edtAgeTo, 1, 3, 1, 2)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem8, 1, 5, 1, 5)
        self.lblBegin.setBuddy(self.dateBeginPeriod)
        self.lblEnd.setBuddy(self.dateEndPeriod)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.dateBeginPeriod, self.dateEndPeriod)
        Dialog.setTabOrder(self.dateEndPeriod, self.edtAgeFrom)
        Dialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        Dialog.setTabOrder(self.edtAgeTo, self.chkAccountChronicDisease)
        Dialog.setTabOrder(self.chkAccountChronicDisease, self.chkAccountAcuteDisease)
        Dialog.setTabOrder(self.chkAccountAcuteDisease, self.chkControlIntegrity)
        Dialog.setTabOrder(self.chkControlIntegrity, self.chkCodingMKBEx)
        Dialog.setTabOrder(self.chkCodingMKBEx, self.chkCodingMKB)
        Dialog.setTabOrder(self.chkCodingMKB, self.chkCodingTraumaType)
        Dialog.setTabOrder(self.chkCodingTraumaType, self.chkMKB)
        Dialog.setTabOrder(self.chkMKB, self.edtMKBFrom)
        Dialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo)
        Dialog.setTabOrder(self.edtMKBTo, self.chkDiseaseDiagnostic)
        Dialog.setTabOrder(self.chkDiseaseDiagnostic, self.chkDataDiagnosis)
        Dialog.setTabOrder(self.chkDataDiagnosis, self.chkCharacterChronicFirstDisease)
        Dialog.setTabOrder(self.chkCharacterChronicFirstDisease, self.chkCharacterChronicKnowDisease)
        Dialog.setTabOrder(self.chkCharacterChronicKnowDisease, self.chkChronicAcuteDisease)
        Dialog.setTabOrder(self.chkChronicAcuteDisease, self.chkIgnoreCorrectionUser)
        Dialog.setTabOrder(self.chkIgnoreCorrectionUser, self.listResultControlDiagnosis)
        Dialog.setTabOrder(self.listResultControlDiagnosis, self.btnStartControl)
        Dialog.setTabOrder(self.btnStartControl, self.btnCorrectControl)
        Dialog.setTabOrder(self.btnCorrectControl, self.btnEndControl)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Логический контроль заболеваний в ЛУД", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegin.setText(QtGui.QApplication.translate("Dialog", "Период с   ", None, QtGui.QApplication.UnicodeUTF8))
        self.dateBeginPeriod.setDisplayFormat(QtGui.QApplication.translate("Dialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEnd.setText(QtGui.QApplication.translate("Dialog", "  по    ", None, QtGui.QApplication.UnicodeUTF8))
        self.dateEndPeriod.setDisplayFormat(QtGui.QApplication.translate("Dialog", "dd.MM.yyyy", None, QtGui.QApplication.UnicodeUTF8))
        self.chkMKB.setText(QtGui.QApplication.translate("Dialog", "Коды диагнозов по &МКБ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setInputMask(QtGui.QApplication.translate("Dialog", "a00.00; ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBFrom.setText(QtGui.QApplication.translate("Dialog", "A.", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setInputMask(QtGui.QApplication.translate("Dialog", "a00.00; ", None, QtGui.QApplication.UnicodeUTF8))
        self.edtMKBTo.setText(QtGui.QApplication.translate("Dialog", "T99.9", None, QtGui.QApplication.UnicodeUTF8))
        self.chkAccountChronicDisease.setText(QtGui.QApplication.translate("Dialog", "Учитывать хронические", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDiseaseDiagnostic.setText(QtGui.QApplication.translate("Dialog", "Контроль длительности по случаям", None, QtGui.QApplication.UnicodeUTF8))
        self.chkAccountAcuteDisease.setText(QtGui.QApplication.translate("Dialog", "Учитывать острые", None, QtGui.QApplication.UnicodeUTF8))
        self.chkDataDiagnosis.setText(QtGui.QApplication.translate("Dialog", "Контроль длительности периода", None, QtGui.QApplication.UnicodeUTF8))
        self.chkControlIntegrity.setText(QtGui.QApplication.translate("Dialog", "Контроль целостности", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCharacterChronicFirstDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль начала хронического заболевания", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingMKBEx.setText(QtGui.QApplication.translate("Dialog", "Различие в шифрах доп.секции", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCharacterChronicKnowDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль характера хронического заболевания", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingMKB.setText(QtGui.QApplication.translate("Dialog", "Одинаковые блоки МКБ", None, QtGui.QApplication.UnicodeUTF8))
        self.chkChronicAcuteDisease.setText(QtGui.QApplication.translate("Dialog", "Контроль острое-хроническое-обострение", None, QtGui.QApplication.UnicodeUTF8))
        self.chkCodingTraumaType.setText(QtGui.QApplication.translate("Dialog", "Несоответствие типа травмы", None, QtGui.QApplication.UnicodeUTF8))
        self.chkIgnoreCorrectionUser.setText(QtGui.QApplication.translate("Dialog", "Игнорировать участие пользователя", None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartControl.setText(QtGui.QApplication.translate("Dialog", "начать выполнение", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCorrectControl.setText(QtGui.QApplication.translate("Dialog", "исправить", None, QtGui.QApplication.UnicodeUTF8))
        self.btnEndControl.setText(QtGui.QApplication.translate("Dialog", "прервать", None, QtGui.QApplication.UnicodeUTF8))
        self.prbControlDiagnosis.setFormat(QtGui.QApplication.translate("Dialog", "%p%", None, QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(QtGui.QApplication.translate("Dialog", "Возраст с", None, QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(QtGui.QApplication.translate("Dialog", "  по", None, QtGui.QApplication.UnicodeUTF8))
예제 #26
0
class Ui_StationaryF14DCSetupDialog(object):
    def setupUi(self, StationaryF14DCSetupDialog):
        StationaryF14DCSetupDialog.setObjectName(
            _fromUtf8("StationaryF14DCSetupDialog"))
        StationaryF14DCSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        StationaryF14DCSetupDialog.resize(438, 313)
        StationaryF14DCSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryF14DCSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbEventType = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 10, 1, 1, 3)
        spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 13, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryF14DCSetupDialog)
        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, 12, 0, 1, 4)
        self.edtEndDate = CDateEdit(StationaryF14DCSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.chkGroupingForMES = QtGui.QCheckBox(StationaryF14DCSetupDialog)
        self.chkGroupingForMES.setObjectName(_fromUtf8("chkGroupingForMES"))
        self.gridLayout.addWidget(self.chkGroupingForMES, 6, 1, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            StationaryF14DCSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 3)
        self.lblEndDate = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 0, 2, 1, 2)
        self.lblGroupMES = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblGroupMES.setObjectName(_fromUtf8("lblGroupMES"))
        self.gridLayout.addWidget(self.lblGroupMES, 7, 0, 1, 1)
        self.cmbGroupMES = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbGroupMES.setEnabled(False)
        self.cmbGroupMES.setObjectName(_fromUtf8("cmbGroupMES"))
        self.gridLayout.addWidget(self.cmbGroupMES, 7, 1, 1, 3)
        self.edtBegDate = CDateEdit(StationaryF14DCSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.label = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 10, 0, 1, 1)
        self.lblMes = QtGui.QLabel(StationaryF14DCSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 8, 0, 1, 1)
        self.cmbMes = CMESComboBox(StationaryF14DCSetupDialog)
        self.cmbMes.setEnabled(False)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 8, 1, 1, 3)
        self.lblOrder = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 4, 0, 1, 1)
        self.cmbOrder = QtGui.QComboBox(StationaryF14DCSetupDialog)
        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.gridLayout.addWidget(self.cmbOrder, 4, 1, 1, 3)
        self.label_2 = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 9, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(StationaryF14DCSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 9, 1, 1, 3)
        self.cmbDurationType = QtGui.QComboBox(StationaryF14DCSetupDialog)
        self.cmbDurationType.setObjectName(_fromUtf8("cmbDurationType"))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.cmbDurationType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbDurationType, 11, 1, 1, 3)
        self.lblDurationType = QtGui.QLabel(StationaryF14DCSetupDialog)
        self.lblDurationType.setObjectName(_fromUtf8("lblDurationType"))
        self.gridLayout.addWidget(self.lblDurationType, 11, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(StationaryF14DCSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryF14DCSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryF14DCSetupDialog.reject)
        QtCore.QObject.connect(self.chkGroupingForMES,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbGroupMES.setEnabled)
        QtCore.QObject.connect(self.chkGroupingForMES,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbMes.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(StationaryF14DCSetupDialog)
        StationaryF14DCSetupDialog.setTabOrder(self.edtBegDate,
                                               self.edtEndDate)
        StationaryF14DCSetupDialog.setTabOrder(self.edtEndDate,
                                               self.cmbOrgStructure)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbOrgStructure,
                                               self.chkGroupingForMES)
        StationaryF14DCSetupDialog.setTabOrder(self.chkGroupingForMES,
                                               self.cmbGroupMES)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbGroupMES, self.cmbMes)
        StationaryF14DCSetupDialog.setTabOrder(self.cmbMes, self.buttonBox)

    def retranslateUi(self, StationaryF14DCSetupDialog):
        StationaryF14DCSetupDialog.setWindowTitle(
            _translate("StationaryF14DCSetupDialog", "параметры отчёта", None))
        self.edtEndDate.setDisplayFormat(
            _translate("StationaryF14DCSetupDialog", "dd.MM.yyyy", None))
        self.chkGroupingForMES.setText(
            _translate("StationaryF14DCSetupDialog", "Учитывать МЭС", None))
        self.lblEndDate.setText(
            _translate("StationaryF14DCSetupDialog", "Дата &окончания периода",
                       None))
        self.lblOrgStructure.setText(
            _translate("StationaryF14DCSetupDialog", "&Подразделение", None))
        self.lblGroupMES.setText(
            _translate("StationaryF14DCSetupDialog", "Группа МЭС", None))
        self.edtBegDate.setDisplayFormat(
            _translate("StationaryF14DCSetupDialog", "dd.MM.yyyy", None))
        self.lblBegDate.setText(
            _translate("StationaryF14DCSetupDialog", "Дата &начала периода",
                       None))
        self.label.setText(
            _translate("StationaryF14DCSetupDialog", "Тип обращения", None))
        self.lblMes.setText(
            _translate("StationaryF14DCSetupDialog", "МЭС", None))
        self.lblOrder.setText(
            _translate("StationaryF14DCSetupDialog", "Порядок", None))
        self.cmbOrder.setItemText(
            1, _translate("StationaryF14DCSetupDialog", "Плановый", None))
        self.cmbOrder.setItemText(
            2, _translate("StationaryF14DCSetupDialog", "Экстренный", None))
        self.cmbOrder.setItemText(
            3, _translate("StationaryF14DCSetupDialog", "Самотеком", None))
        self.cmbOrder.setItemText(
            4, _translate("StationaryF14DCSetupDialog", "Принудительный",
                          None))
        self.label_2.setText(
            _translate("StationaryF14DCSetupDialog", "Назначение", None))
        self.cmbDurationType.setItemText(
            0,
            _translate("StationaryF14DCSetupDialog", "по количеству посещений",
                       None))
        self.cmbDurationType.setItemText(
            1,
            _translate("StationaryF14DCSetupDialog",
                       "по количеству дней в обращении", None))
        self.cmbDurationType.setItemText(
            2,
            _translate("StationaryF14DCSetupDialog",
                       "по количеству рабочих дней в обращении", None))
        self.lblDurationType.setText(
            _translate("StationaryF14DCSetupDialog", "Считать длительность",
                       None))
예제 #27
0
class Ui_ReportPrimaryEventsOnkoSetupDialog(object):
    def setupUi(self, ReportPrimaryEventsOnkoSetupDialog):
        ReportPrimaryEventsOnkoSetupDialog.setObjectName(
            _fromUtf8("ReportPrimaryEventsOnkoSetupDialog"))
        ReportPrimaryEventsOnkoSetupDialog.resize(450, 250)
        self.gridLayout = QtGui.QGridLayout(ReportPrimaryEventsOnkoSetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportPrimaryEventsOnkoSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportPrimaryEventsOnkoSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportPrimaryEventsOnkoSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportPrimaryEventsOnkoSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 4, 2, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportPrimaryEventsOnkoSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

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

    def retranslateUi(self, ReportPrimaryEventsOnkoSetupDialog):
        ReportPrimaryEventsOnkoSetupDialog.setWindowTitle(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog",
                       "Дата начала периода", None))
        self.edtBegDate.setDisplayFormat(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "dd.MM.yyyy",
                       None))
        self.lblEndDate.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog",
                       "Дата окончания периода", None))
        self.edtEndDate.setDisplayFormat(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "dd.MM.yyyy",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportPrimaryEventsOnkoSetupDialog", "Подразделение",
                       None))
예제 #28
0
class Ui_ReportClientInfoSourceSetup(object):
    def setupUi(self, ReportClientInfoSourceSetup):
        ReportClientInfoSourceSetup.setObjectName(
            _fromUtf8("ReportClientInfoSourceSetup"))
        ReportClientInfoSourceSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportClientInfoSourceSetup.resize(438, 248)
        ReportClientInfoSourceSetup.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportClientInfoSourceSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lstSource = CRBListBox(ReportClientInfoSourceSetup)
        self.lstSource.setObjectName(_fromUtf8("lstSource"))
        self.gridLayout.addWidget(self.lstSource, 2, 3, 2, 2)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 1, 1, 1)
        self.chkManyEvents = QtGui.QCheckBox(ReportClientInfoSourceSetup)
        self.chkManyEvents.setObjectName(_fromUtf8("chkManyEvents"))
        self.gridLayout.addWidget(self.chkManyEvents, 4, 1, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(ReportClientInfoSourceSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportClientInfoSourceSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportClientInfoSourceSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 1, 1, 4)
        self.lblBegDate = QtGui.QLabel(ReportClientInfoSourceSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportClientInfoSourceSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1)
        self.edtEndDate = CDateEdit(ReportClientInfoSourceSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 4, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 2, 2, 2, 1)
        spacerItem3 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 1, 4, 1, 1)
        self.lblOrgStructure.setBuddy(self.lstSource)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportClientInfoSourceSetup):
        ReportClientInfoSourceSetup.setWindowTitle(
            _translate("ReportClientInfoSourceSetup", "параметры отчёта",
                       None))
        self.chkManyEvents.setText(
            _translate("ReportClientInfoSourceSetup",
                       "Подсчет по всем событиям", None))
        self.lblOrgStructure.setText(
            _translate("ReportClientInfoSourceSetup", "Откуда узнали", None))
        self.lblEndDate.setText(
            _translate("ReportClientInfoSourceSetup",
                       "Дата &окончания периода", None))
        self.lblBegDate.setText(
            _translate("ReportClientInfoSourceSetup", "Дата &начала периода",
                       None))
        self.edtBegDate.setDisplayFormat(
            _translate("ReportClientInfoSourceSetup", "dd.MM.yyyy", None))
        self.edtEndDate.setDisplayFormat(
            _translate("ReportClientInfoSourceSetup", "dd.MM.yyyy", None))
예제 #29
0
class Ui_LogicalControlMesDialog(object):
    def setupUi(self, LogicalControlMesDialog):
        LogicalControlMesDialog.setObjectName(
            _fromUtf8("LogicalControlMesDialog"))
        LogicalControlMesDialog.resize(1096, 804)
        self.gridLayout = QtGui.QGridLayout(LogicalControlMesDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegin = QtGui.QLabel(LogicalControlMesDialog)
        self.lblBegin.setObjectName(_fromUtf8("lblBegin"))
        self.gridLayout.addWidget(self.lblBegin, 0, 0, 1, 1)
        self.dateBeginPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateBeginPeriod.sizePolicy().hasHeightForWidth())
        self.dateBeginPeriod.setSizePolicy(sizePolicy)
        self.dateBeginPeriod.setCalendarPopup(True)
        self.dateBeginPeriod.setObjectName(_fromUtf8("dateBeginPeriod"))
        self.gridLayout.addWidget(self.dateBeginPeriod, 0, 1, 1, 1)
        self.lblEnd = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEnd.setObjectName(_fromUtf8("lblEnd"))
        self.gridLayout.addWidget(self.lblEnd, 0, 2, 1, 1)
        self.dateEndPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEndPeriod.sizePolicy().hasHeightForWidth())
        self.dateEndPeriod.setSizePolicy(sizePolicy)
        self.dateEndPeriod.setCalendarPopup(True)
        self.dateEndPeriod.setObjectName(_fromUtf8("dateEndPeriod"))
        self.gridLayout.addWidget(self.dateEndPeriod, 0, 3, 1, 1)
        self.lblEventFeature = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventFeature.setObjectName(_fromUtf8("lblEventFeature"))
        self.gridLayout.addWidget(self.lblEventFeature, 0, 6, 1, 1)
        self.cmbEventFeature = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventFeature.setObjectName(_fromUtf8("cmbEventFeature"))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventFeature, 0, 7, 1, 1)
        spacerItem = QtGui.QSpacerItem(42, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 8, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(LogicalControlMesDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 6, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(LogicalControlMesDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 7, 1, 2)
        self.lblSpeciality = QtGui.QLabel(LogicalControlMesDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 4, 6, 1, 1)
        self.cmbSpeciality = CRBComboBox(LogicalControlMesDialog)
        self.cmbSpeciality.setEnabled(True)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 4, 7, 1, 2)
        self.lblPersonal = QtGui.QLabel(LogicalControlMesDialog)
        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.addWidget(self.lblPersonal, 5, 6, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(LogicalControlMesDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 5, 7, 1, 2)
        self.prbControlMes = CProgressBar(LogicalControlMesDialog)
        self.prbControlMes.setObjectName(_fromUtf8("prbControlMes"))
        self.gridLayout.addWidget(self.prbControlMes, 9, 0, 1, 9)
        self.listResultControlMes = CRemarkListWidget(LogicalControlMesDialog)
        self.listResultControlMes.setEditTriggers(
            QtGui.QAbstractItemView.DoubleClicked
            | QtGui.QAbstractItemView.EditKeyPressed
            | QtGui.QAbstractItemView.SelectedClicked)
        self.listResultControlMes.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.listResultControlMes.setFlow(QtGui.QListView.TopToBottom)
        self.listResultControlMes.setObjectName(
            _fromUtf8("listResultControlMes"))
        self.gridLayout.addWidget(self.listResultControlMes, 10, 0, 1, 9)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnStartControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnStartControl.setAutoDefault(True)
        self.btnStartControl.setObjectName(_fromUtf8("btnStartControl"))
        self.horizontalLayout_2.addWidget(self.btnStartControl)
        self.lblCountLine = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCountLine.sizePolicy().hasHeightForWidth())
        self.lblCountLine.setSizePolicy(sizePolicy)
        self.lblCountLine.setText(_fromUtf8(""))
        self.lblCountLine.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountLine.setObjectName(_fromUtf8("lblCountLine"))
        self.horizontalLayout_2.addWidget(self.lblCountLine)
        self.btnEndControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnEndControl.setAutoDefault(True)
        self.btnEndControl.setObjectName(_fromUtf8("btnEndControl"))
        self.horizontalLayout_2.addWidget(self.btnEndControl)
        self.gridLayout.addLayout(self.horizontalLayout_2, 11, 0, 1, 9)
        self.chkMes = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMes.setObjectName(_fromUtf8("chkMes"))
        self.gridLayout.addWidget(self.chkMes, 8, 0, 1, 2)
        self.chkDuration = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkDuration.setObjectName(_fromUtf8("chkDuration"))
        self.gridLayout.addWidget(self.chkDuration, 8, 2, 1, 2)
        self.chkMKB = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 8, 4, 1, 1)
        self.chkExecActions = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkExecActions.setObjectName(_fromUtf8("chkExecActions"))
        self.gridLayout.addWidget(self.chkExecActions, 8, 8, 1, 1)
        self.chkCountVisits = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkCountVisits.setObjectName(_fromUtf8("chkCountVisits"))
        self.gridLayout.addWidget(self.chkCountVisits, 8, 7, 1, 1)
        self.cmbMes = CMESComboBox(LogicalControlMesDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 6, 2, 1, 7)
        self.lblMes = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 6, 0, 1, 2)
        self.cmbEventPurpose = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 2, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 2)
        self.lblEventType = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 2)
        self.cmbEventType = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 2, 1, 4)
        self.cmbEventProfile = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 5, 2, 1, 4)
        self.lblEventProfile = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 5, 0, 1, 2)
        self.cmbEventExec = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventExec.setObjectName(_fromUtf8("cmbEventExec"))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventExec, 0, 5, 1, 1)
        self.lblEventExec = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventExec.setObjectName(_fromUtf8("lblEventExec"))
        self.gridLayout.addWidget(self.lblEventExec, 0, 4, 1, 1)
        self.chkNotAlternative = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkNotAlternative.setObjectName(_fromUtf8("chkNotAlternative"))
        self.gridLayout.addWidget(self.chkNotAlternative, 8, 5, 1, 2)
        self.lblBegin.setBuddy(self.dateBeginPeriod)
        self.lblEnd.setBuddy(self.dateEndPeriod)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblMes.setBuddy(self.cmbMes)
        self.lblEventType.setBuddy(self.cmbEventType)

        self.retranslateUi(LogicalControlMesDialog)
        QtCore.QMetaObject.connectSlotsByName(LogicalControlMesDialog)
        LogicalControlMesDialog.setTabOrder(self.dateBeginPeriod,
                                            self.dateEndPeriod)
        LogicalControlMesDialog.setTabOrder(self.dateEndPeriod,
                                            self.cmbEventFeature)
        LogicalControlMesDialog.setTabOrder(self.cmbEventFeature,
                                            self.cmbEventPurpose)
        LogicalControlMesDialog.setTabOrder(self.cmbEventPurpose,
                                            self.cmbEventType)
        LogicalControlMesDialog.setTabOrder(self.cmbEventType,
                                            self.cmbEventProfile)
        LogicalControlMesDialog.setTabOrder(self.cmbEventProfile, self.cmbMes)
        LogicalControlMesDialog.setTabOrder(self.cmbMes, self.cmbOrgStructure)
        LogicalControlMesDialog.setTabOrder(self.cmbOrgStructure,
                                            self.cmbSpeciality)
        LogicalControlMesDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        LogicalControlMesDialog.setTabOrder(self.cmbPerson, self.chkMes)
        LogicalControlMesDialog.setTabOrder(self.chkMes, self.chkDuration)
        LogicalControlMesDialog.setTabOrder(self.chkDuration, self.chkMKB)
        LogicalControlMesDialog.setTabOrder(self.chkMKB, self.chkCountVisits)
        LogicalControlMesDialog.setTabOrder(self.chkCountVisits,
                                            self.chkExecActions)
        LogicalControlMesDialog.setTabOrder(self.chkExecActions,
                                            self.listResultControlMes)
        LogicalControlMesDialog.setTabOrder(self.listResultControlMes,
                                            self.btnStartControl)
        LogicalControlMesDialog.setTabOrder(self.btnStartControl,
                                            self.btnEndControl)

    def retranslateUi(self, LogicalControlMesDialog):
        LogicalControlMesDialog.setWindowTitle(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Логический контроль событий с МЭС ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegin.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "с   ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.dateBeginPeriod.setDisplayFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEnd.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "  по    ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.dateEndPeriod.setDisplayFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventFeature.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Особенности", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            0,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Не учитывать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            1,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Только выполненные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            2,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Только невыполненные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "LogicalControlMesDialog",
                "<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.lblPersonal.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "&Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.prbControlMes.setFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog", "%p%",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartControl.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "начать выполнение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEndControl.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "прервать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkMes.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Наличие МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkDuration.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Длительность события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkMKB.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Заключительный диагноз", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExecActions.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Наличие выполненных действий", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkCountVisits.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Кол-во визитов", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Назначение события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Профиль МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            0,
            QtGui.QApplication.translate("LogicalControlMesDialog", "Все",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            1,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Законченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            2,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Незаконченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventExec.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Учитывать события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkNotAlternative.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Не выполнена альтернативность", None,
                                         QtGui.QApplication.UnicodeUTF8))