class Ui_ReportSalary_OrgStructureSetupDialog(object):
    def setupUi(self, ReportSalary_OrgStructureSetupDialog):
        ReportSalary_OrgStructureSetupDialog.setObjectName(_fromUtf8("ReportSalary_OrgStructureSetupDialog"))
        ReportSalary_OrgStructureSetupDialog.resize(400, 125)
        self.formLayout = QtGui.QFormLayout(ReportSalary_OrgStructureSetupDialog)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(ReportSalary_OrgStructureSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.edtBegDate = CDateEdit(ReportSalary_OrgStructureSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.edtBegDate)
        self.label_2 = QtGui.QLabel(ReportSalary_OrgStructureSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.edtEndDate = CDateEdit(ReportSalary_OrgStructureSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.edtEndDate)
        self.label_3 = QtGui.QLabel(ReportSalary_OrgStructureSetupDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.cmbOrgStructure = COrgStructureComboBox(ReportSalary_OrgStructureSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbOrgStructure.setSizePolicy(sizePolicy)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbOrgStructure)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.formLayout.setItem(3, QtGui.QFormLayout.LabelRole, spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(ReportSalary_OrgStructureSetupDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.buttonBox)

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

    def retranslateUi(self, ReportSalary_OrgStructureSetupDialog):
        ReportSalary_OrgStructureSetupDialog.setWindowTitle(_translate("ReportSalary_OrgStructureSetupDialog", "Dialog", None))
        self.label.setText(_translate("ReportSalary_OrgStructureSetupDialog", "Дата начала периода", None))
        self.label_2.setText(_translate("ReportSalary_OrgStructureSetupDialog", "Дата окончания периода", None))
        self.label_3.setText(_translate("ReportSalary_OrgStructureSetupDialog", "Подразделение", None))
예제 #2
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))
예제 #3
0
class Ui_ReportAttachmentDoctors(object):
    def setupUi(self, ReportAttachmentDoctors):
        ReportAttachmentDoctors.setObjectName(_fromUtf8("ReportAttachmentDoctors"))
        ReportAttachmentDoctors.resize(374, 113)
        ReportAttachmentDoctors.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.gridLayout = QtGui.QGridLayout(ReportAttachmentDoctors)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportAttachmentDoctors)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 2, 0, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportAttachmentDoctors)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.edtEndDate = CDateEdit(ReportAttachmentDoctors)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 2, 2, 1, 1)
        self.edtBegDate = CDateEdit(ReportAttachmentDoctors)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportAttachmentDoctors)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, 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.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 3, 1, 1, 2)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportAttachmentDoctors):
        ReportAttachmentDoctors.setWindowTitle(_translate("ReportAttachmentDoctors", "Dialog", None))
        self.lblEndDate.setText(_translate("ReportAttachmentDoctors", "Дата &окончания периода", None))
        self.lblBegDate.setText(_translate("ReportAttachmentDoctors", "Дата &начала периода", None))
예제 #4
0
class Ui_ChangeDayDialog(object):
    def setupUi(self, ChangeDayDialog):
        ChangeDayDialog.setObjectName(_fromUtf8("ChangeDayDialog"))
        ChangeDayDialog.resize(305, 122)
        self.gridLayout = QtGui.QGridLayout(ChangeDayDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(ChangeDayDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.date = CDateEdit(ChangeDayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.date.sizePolicy().hasHeightForWidth())
        self.date.setSizePolicy(sizePolicy)
        self.date.setMinimumSize(QtCore.QSize(120, 0))
        self.date.setObjectName(_fromUtf8("date"))
        self.gridLayout.addWidget(self.date, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(90, 22, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(ChangeDayDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.dateChange = CDateEdit(ChangeDayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateChange.sizePolicy().hasHeightForWidth())
        self.dateChange.setSizePolicy(sizePolicy)
        self.dateChange.setMinimumSize(QtCore.QSize(120, 0))
        self.dateChange.setObjectName(_fromUtf8("dateChange"))
        self.gridLayout.addWidget(self.dateChange, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(90, 22, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(73, 0, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ChangeDayDialog)
        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.text = QtGui.QLineEdit(ChangeDayDialog)
        self.text.setObjectName(_fromUtf8("text"))
        self.gridLayout.addWidget(self.text, 2, 1, 1, 2)
        self.label_3 = QtGui.QLabel(ChangeDayDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)

        self.retranslateUi(ChangeDayDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ChangeDayDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ChangeDayDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ChangeDayDialog)
        ChangeDayDialog.setTabOrder(self.date, self.dateChange)
        ChangeDayDialog.setTabOrder(self.dateChange, self.text)
        ChangeDayDialog.setTabOrder(self.text, self.buttonBox)

    def retranslateUi(self, ChangeDayDialog):
        ChangeDayDialog.setWindowTitle(
            QtGui.QApplication.translate("ChangeDayDialog",
                                         "Календарный перенос", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Дата переноса",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate("ChangeDayDialog", "Комментарий",
                                         None, QtGui.QApplication.UnicodeUTF8))
예제 #5
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))
예제 #6
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(284, 741)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setMargin(2)
        self.gridLayout.setSpacing(2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(Form)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 6, 1, 1)
        self.chkEnableTime = QtGui.QCheckBox(Form)
        self.chkEnableTime.setObjectName(_fromUtf8("chkEnableTime"))
        self.gridLayout.addWidget(self.chkEnableTime, 1, 0, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(Form)
        self.edtBegTime.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtBegTime.sizePolicy().hasHeightForWidth())
        self.edtBegTime.setSizePolicy(sizePolicy)
        self.edtBegTime.setCalendarPopup(False)
        self.edtBegTime.setTime(QtCore.QTime(0, 0, 0))
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 1, 1, 1, 1)
        self.lblEndTime = QtGui.QLabel(Form)
        self.lblEndTime.setObjectName(_fromUtf8("lblEndTime"))
        self.gridLayout.addWidget(self.lblEndTime, 1, 2, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(Form)
        self.edtEndTime.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtEndTime.sizePolicy().hasHeightForWidth())
        self.edtEndTime.setSizePolicy(sizePolicy)
        self.edtEndTime.setTime(QtCore.QTime(23, 59, 0))
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 1, 3, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(74, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 5, 1, 2)
        self.grpBox = QtGui.QWidget(Form)
        self.grpBox.setObjectName(_fromUtf8("grpBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.grpBox)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(self.grpBox)
        self.splitter.setLineWidth(1)
        self.splitter.setMidLineWidth(0)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setOpaqueResize(True)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.treeOrgStructure = CTreeView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.treeOrgStructure.sizePolicy().hasHeightForWidth())
        self.treeOrgStructure.setSizePolicy(sizePolicy)
        self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure"))
        self.treeOrgPersonnel = CTreeView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.treeOrgPersonnel.sizePolicy().hasHeightForWidth())
        self.treeOrgPersonnel.setSizePolicy(sizePolicy)
        self.treeOrgPersonnel.setObjectName(_fromUtf8("treeOrgPersonnel"))
        self.tblAmbQueue = CFreeQueueTableView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(4)
        sizePolicy.setHeightForWidth(self.tblAmbQueue.sizePolicy().hasHeightForWidth())
        self.tblAmbQueue.setSizePolicy(sizePolicy)
        self.tblAmbQueue.setObjectName(_fromUtf8("tblAmbQueue"))
        self.verticalLayout.addWidget(self.splitter)
        self.gridLayout.addWidget(self.grpBox, 2, 0, 1, 7)
        self.lblQueueItemsCount = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblQueueItemsCount.sizePolicy().hasHeightForWidth())
        self.lblQueueItemsCount.setSizePolicy(sizePolicy)
        self.lblQueueItemsCount.setScaledContents(False)
        self.lblQueueItemsCount.setObjectName(_fromUtf8("lblQueueItemsCount"))
        self.gridLayout.addWidget(self.lblQueueItemsCount, 3, 0, 1, 3)
        self.btnSetToday = QtGui.QPushButton(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.btnSetToday.sizePolicy().hasHeightForWidth())
        self.btnSetToday.setSizePolicy(sizePolicy)
        self.btnSetToday.setFlat(False)
        self.btnSetToday.setObjectName(_fromUtf8("btnSetToday"))
        self.gridLayout.addWidget(self.btnSetToday, 0, 3, 1, 1)
        self.lblReservedOrder = QtGui.QLabel(Form)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.lblReservedOrder.setFont(font)
        self.lblReservedOrder.setStyleSheet(_fromUtf8("color: rgb(255, 0, 0);"))
        self.lblReservedOrder.setText(_fromUtf8(""))
        self.lblReservedOrder.setObjectName(_fromUtf8("lblReservedOrder"))
        self.gridLayout.addWidget(self.lblReservedOrder, 3, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 3, 6, 1, 1)
        self.edtCountTickets = QtGui.QSpinBox(Form)
        self.edtCountTickets.setMinimum(1)
        self.edtCountTickets.setMaximum(9)
        self.edtCountTickets.setObjectName(_fromUtf8("edtCountTickets"))
        self.gridLayout.addWidget(self.edtCountTickets, 1, 4, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem3, 0, 4, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndTime.setBuddy(self.edtEndTime)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.chkEnableTime, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtBegTime.setEnabled)
        QtCore.QObject.connect(self.chkEnableTime, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtEndTime.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.edtBegDate, self.chkEnableTime)
        Form.setTabOrder(self.chkEnableTime, self.edtBegTime)
        Form.setTabOrder(self.edtBegTime, self.edtEndTime)
        Form.setTabOrder(self.edtEndTime, self.treeOrgStructure)
        Form.setTabOrder(self.treeOrgStructure, self.treeOrgPersonnel)
        Form.setTabOrder(self.treeOrgPersonnel, self.tblAmbQueue)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(QtGui.QApplication.translate("Form", "Дата", None, QtGui.QApplication.UnicodeUTF8))
        self.chkEnableTime.setText(QtGui.QApplication.translate("Form", "Время С", None, QtGui.QApplication.UnicodeUTF8))
        self.edtBegTime.setDisplayFormat(QtGui.QApplication.translate("Form", "HH:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.lblEndTime.setText(QtGui.QApplication.translate("Form", "&По", None, QtGui.QApplication.UnicodeUTF8))
        self.edtEndTime.setDisplayFormat(QtGui.QApplication.translate("Form", "HH:mm", None, QtGui.QApplication.UnicodeUTF8))
        self.lblQueueItemsCount.setText(QtGui.QApplication.translate("Form", "Список пуст", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSetToday.setText(QtGui.QApplication.translate("Form", "Сегодня", None, QtGui.QApplication.UnicodeUTF8))
예제 #7
0
class Ui_HolidayDialog(object):
    def setupUi(self, HolidayDialog):
        HolidayDialog.setObjectName(_fromUtf8("HolidayDialog"))
        HolidayDialog.resize(464, 270)
        self.gridLayout = QtGui.QGridLayout(HolidayDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.spinFinish = QtGui.QSpinBox(HolidayDialog)
        self.spinFinish.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinFinish.sizePolicy().hasHeightForWidth())
        self.spinFinish.setSizePolicy(sizePolicy)
        self.spinFinish.setMinimumSize(QtCore.QSize(70, 0))
        self.spinFinish.setMinimum(1)
        self.spinFinish.setMaximum(4999)
        self.spinFinish.setProperty("value", 2000)
        self.spinFinish.setObjectName(_fromUtf8("spinFinish"))
        self.gridLayout.addWidget(self.spinFinish, 7, 1, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(HolidayDialog)
        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.checkStart = QtGui.QCheckBox(HolidayDialog)
        self.checkStart.setObjectName(_fromUtf8("checkStart"))
        self.gridLayout.addWidget(self.checkStart, 6, 0, 1, 1)
        self.label_2 = QtGui.QLabel(HolidayDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label_3 = QtGui.QLabel(HolidayDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(97, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 1)
        self.text = QtGui.QLineEdit(HolidayDialog)
        self.text.setObjectName(_fromUtf8("text"))
        self.gridLayout.addWidget(self.text, 2, 1, 1, 3)
        self.label_4 = QtGui.QLabel(HolidayDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 4, 0, 1, 4)
        spacerItem1 = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 6, 2, 1, 2)
        self.label = QtGui.QLabel(HolidayDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.date = CDateEdit(HolidayDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.date.sizePolicy().hasHeightForWidth())
        self.date.setSizePolicy(sizePolicy)
        self.date.setMinimumSize(QtCore.QSize(120, 0))
        self.date.setObjectName(_fromUtf8("date"))
        self.gridLayout.addWidget(self.date, 0, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(147, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 7, 2, 1, 2)
        self.checkFinish = QtGui.QCheckBox(HolidayDialog)
        self.checkFinish.setObjectName(_fromUtf8("checkFinish"))
        self.gridLayout.addWidget(self.checkFinish, 7, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 0, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 8, 0, 1, 1)
        self.spinStart = QtGui.QSpinBox(HolidayDialog)
        self.spinStart.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spinStart.sizePolicy().hasHeightForWidth())
        self.spinStart.setSizePolicy(sizePolicy)
        self.spinStart.setMinimumSize(QtCore.QSize(70, 0))
        self.spinStart.setMinimum(1)
        self.spinStart.setMaximum(4999)
        self.spinStart.setProperty("value", 2000)
        self.spinStart.setObjectName(_fromUtf8("spinStart"))
        self.gridLayout.addWidget(self.spinStart, 6, 1, 1, 1)
        self.label_5 = QtGui.QLabel(HolidayDialog)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.endDate = CDateEdit(HolidayDialog)
        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.setMinimumSize(QtCore.QSize(120, 0))
        self.endDate.setObjectName(_fromUtf8("endDate"))
        self.gridLayout.addWidget(self.endDate, 1, 1, 1, 1)
        self.label_2.setBuddy(self.text)
        self.label.setBuddy(self.date)

        self.retranslateUi(HolidayDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               HolidayDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               HolidayDialog.reject)
        QtCore.QObject.connect(self.checkStart,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.spinStart.setEnabled)
        QtCore.QObject.connect(self.checkFinish,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.spinFinish.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(HolidayDialog)
        HolidayDialog.setTabOrder(self.date, self.text)
        HolidayDialog.setTabOrder(self.text, self.checkStart)
        HolidayDialog.setTabOrder(self.checkStart, self.spinStart)
        HolidayDialog.setTabOrder(self.spinStart, self.checkFinish)
        HolidayDialog.setTabOrder(self.checkFinish, self.spinFinish)
        HolidayDialog.setTabOrder(self.spinFinish, self.buttonBox)

    def retranslateUi(self, HolidayDialog):
        HolidayDialog.setWindowTitle(
            _translate("HolidayDialog", "Календарный праздник", None))
        self.checkStart.setText(
            _translate("HolidayDialog", "Есть год начала:", None))
        self.label_2.setText(
            _translate("HolidayDialog", "Наименование праздника", None))
        self.label_3.setText(
            _translate(
                "HolidayDialog",
                "Если у праздника нет года начала — считается, что он был всегда.",
                None))
        self.label_4.setText(
            _translate(
                "HolidayDialog",
                "Если у праздника нет года окончания — считается, что он будет всегда",
                None))
        self.label.setText(
            _translate("HolidayDialog", "Дата начала периода", None))
        self.checkFinish.setText(
            _translate("HolidayDialog", "Есть год окончания:", None))
        self.label_5.setText(
            _translate("HolidayDialog", "Дата конца периода", None))
예제 #8
0
class Ui_QuotingDialog(object):
    def setupUi(self, QuotingDialog):
        QuotingDialog.setObjectName(_fromUtf8("QuotingDialog"))
        QuotingDialog.resize(549, 847)
        self.gridLayout_3 = QtGui.QGridLayout(QuotingDialog)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.splitter_3 = QtGui.QSplitter(QuotingDialog)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setOpaqueResize(True)
        self.splitter_3.setChildrenCollapsible(False)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_3)
        self.horizontalLayoutWidget.setObjectName(
            _fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.splitter = QtGui.QSplitter(self.horizontalLayoutWidget)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setOpaqueResize(True)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.calendar = CCalendarWidget(self.splitter)
        self.calendar.setObjectName(_fromUtf8("calendar"))
        self.treeQuotaType = CTreeView(self.splitter)
        self.treeQuotaType.setObjectName(_fromUtf8("treeQuotaType"))
        self.tblQuotaTypeLeaves = CTableView(self.splitter)
        self.tblQuotaTypeLeaves.setObjectName(_fromUtf8("tblQuotaTypeLeaves"))
        self.horizontalLayout.addWidget(self.splitter)
        self.tabWidgetContent = QtGui.QTabWidget(self.splitter_3)
        self.tabWidgetContent.setEnabled(True)
        self.tabWidgetContent.setObjectName(_fromUtf8("tabWidgetContent"))
        self.tabLimits = QtGui.QWidget()
        self.tabLimits.setObjectName(_fromUtf8("tabLimits"))
        self.gridLayout = QtGui.QGridLayout(self.tabLimits)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblInfo = QtGui.QLabel(self.tabLimits)
        self.lblInfo.setText(_fromUtf8(""))
        self.lblInfo.setObjectName(_fromUtf8("lblInfo"))
        self.gridLayout.addWidget(self.lblInfo, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(336, 22, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
        self.btnEditQuota = QtGui.QPushButton(self.tabLimits)
        self.btnEditQuota.setObjectName(_fromUtf8("btnEditQuota"))
        self.gridLayout.addWidget(self.btnEditQuota, 2, 1, 1, 1)
        self.btnProlongateQuota = QtGui.QPushButton(self.tabLimits)
        self.btnProlongateQuota.setObjectName(_fromUtf8("btnProlongateQuota"))
        self.gridLayout.addWidget(self.btnProlongateQuota, 2, 2, 1, 1)
        self.btnNewQuota = QtGui.QPushButton(self.tabLimits)
        self.btnNewQuota.setObjectName(_fromUtf8("btnNewQuota"))
        self.gridLayout.addWidget(self.btnNewQuota, 2, 3, 1, 1)
        self.btnClose = QtGui.QPushButton(self.tabLimits)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 2, 4, 1, 1)
        self.splitter_2 = QtGui.QSplitter(self.tabLimits)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setChildrenCollapsible(False)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.tblQuoting = CTableView(self.splitter_2)
        self.tblQuoting.setObjectName(_fromUtf8("tblQuoting"))
        self.tabWidgetLimitation = QtGui.QTabWidget(self.splitter_2)
        self.tabWidgetLimitation.setObjectName(
            _fromUtf8("tabWidgetLimitation"))
        self.tabRegion = QtGui.QWidget()
        self.tabRegion.setObjectName(_fromUtf8("tabRegion"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabRegion)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblQuoting_Region = CInDocTableView(self.tabRegion)
        self.tblQuoting_Region.setObjectName(_fromUtf8("tblQuoting_Region"))
        self.gridLayout_2.addWidget(self.tblQuoting_Region, 0, 0, 1, 1)
        self.tabWidgetLimitation.addTab(self.tabRegion, _fromUtf8(""))
        self.tabInsurance = QtGui.QWidget()
        self.tabInsurance.setEnabled(True)
        self.tabInsurance.setObjectName(_fromUtf8("tabInsurance"))
        self.tabWidgetLimitation.addTab(self.tabInsurance, _fromUtf8(""))
        self.tabFinanceSource = QtGui.QWidget()
        self.tabFinanceSource.setObjectName(_fromUtf8("tabFinanceSource"))
        self.tabWidgetLimitation.addTab(self.tabFinanceSource, _fromUtf8(""))
        self.tabSocialStatus = QtGui.QWidget()
        self.tabSocialStatus.setObjectName(_fromUtf8("tabSocialStatus"))
        self.tabWidgetLimitation.addTab(self.tabSocialStatus, _fromUtf8(""))
        self.tabSexAndAge = QtGui.QWidget()
        self.tabSexAndAge.setObjectName(_fromUtf8("tabSexAndAge"))
        self.tabWidgetLimitation.addTab(self.tabSexAndAge, _fromUtf8(""))
        self.gridLayout.addWidget(self.splitter_2, 0, 0, 1, 5)
        self.tabWidgetContent.addTab(self.tabLimits, _fromUtf8(""))
        self.tabList = QtGui.QWidget()
        self.tabList.setEnabled(True)
        self.tabList.setObjectName(_fromUtf8("tabList"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabList)
        self.verticalLayout_5.setSpacing(4)
        self.verticalLayout_5.setMargin(4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.splitter_4 = QtGui.QSplitter(self.tabList)
        self.splitter_4.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_4.setChildrenCollapsible(False)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.verticalLayoutWidget_4 = QtGui.QWidget(self.splitter_4)
        self.verticalLayoutWidget_4.setObjectName(
            _fromUtf8("verticalLayoutWidget_4"))
        self.gridLayout_5 = QtGui.QGridLayout(self.verticalLayoutWidget_4)
        self.gridLayout_5.setSpacing(4)
        self.gridLayout_5.setMargin(0)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.tblPeopleList = CTableView(self.verticalLayoutWidget_4)
        self.tblPeopleList.setObjectName(_fromUtf8("tblPeopleList"))
        self.gridLayout_5.addWidget(self.tblPeopleList, 0, 0, 1, 2)
        self.btnPrint = QtGui.QPushButton(self.verticalLayoutWidget_4)
        self.btnPrint.setObjectName(_fromUtf8("btnPrint"))
        self.gridLayout_5.addWidget(self.btnPrint, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 2, 0, 1, 1)
        self.lblPersonListCount = QtGui.QLabel(self.verticalLayoutWidget_4)
        self.lblPersonListCount.setObjectName(_fromUtf8("lblPersonListCount"))
        self.gridLayout_5.addWidget(self.lblPersonListCount, 1, 0, 1, 2)
        self.widget = QtGui.QWidget(self.splitter_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_4 = QtGui.QGridLayout(self.widget)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setMargin(0)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.chkFilterLastName = QtGui.QCheckBox(self.widget)
        self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName"))
        self.gridLayout_4.addWidget(self.chkFilterLastName, 0, 0, 1, 3)
        self.edtFilterLastName = QtGui.QLineEdit(self.widget)
        self.edtFilterLastName.setEnabled(False)
        self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName"))
        self.gridLayout_4.addWidget(self.edtFilterLastName, 1, 0, 1, 3)
        self.chkFilterFirstName = QtGui.QCheckBox(self.widget)
        self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName"))
        self.gridLayout_4.addWidget(self.chkFilterFirstName, 2, 0, 1, 2)
        self.edtFilterFirstName = QtGui.QLineEdit(self.widget)
        self.edtFilterFirstName.setEnabled(False)
        self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName"))
        self.gridLayout_4.addWidget(self.edtFilterFirstName, 3, 0, 1, 3)
        self.chkFilterPatrName = QtGui.QCheckBox(self.widget)
        self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName"))
        self.gridLayout_4.addWidget(self.chkFilterPatrName, 4, 0, 1, 3)
        self.edtFilterPatrName = QtGui.QLineEdit(self.widget)
        self.edtFilterPatrName.setEnabled(False)
        self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName"))
        self.gridLayout_4.addWidget(self.edtFilterPatrName, 5, 0, 1, 3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.chkFilterSex = QtGui.QCheckBox(self.widget)
        self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex"))
        self.horizontalLayout_2.addWidget(self.chkFilterSex)
        self.cmbFilterSex = QtGui.QComboBox(self.widget)
        self.cmbFilterSex.setEnabled(False)
        self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215))
        self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex"))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.cmbFilterSex.addItem(_fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.cmbFilterSex)
        self.chkFilterAge = QtGui.QCheckBox(self.widget)
        self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge"))
        self.horizontalLayout_2.addWidget(self.chkFilterAge)
        self.edtFilterBegAge = QtGui.QSpinBox(self.widget)
        self.edtFilterBegAge.setEnabled(False)
        self.edtFilterBegAge.setMaximum(150)
        self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterBegAge)
        self.edtFilterEndAge = QtGui.QSpinBox(self.widget)
        self.edtFilterEndAge.setEnabled(False)
        self.edtFilterEndAge.setMaximum(150)
        self.edtFilterEndAge.setProperty("value", 150)
        self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge"))
        self.horizontalLayout_2.addWidget(self.edtFilterEndAge)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 6, 0, 1, 3)
        self.chkFilterAddress = QtGui.QCheckBox(self.widget)
        self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress"))
        self.gridLayout_4.addWidget(self.chkFilterAddress, 8, 0, 1, 1)
        self.cmbFilterAddressType = QtGui.QComboBox(self.widget)
        self.cmbFilterAddressType.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressType.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressType.setSizePolicy(sizePolicy)
        self.cmbFilterAddressType.setObjectName(
            _fromUtf8("cmbFilterAddressType"))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.cmbFilterAddressType.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterAddressType, 8, 1, 1, 2)
        self.cmbFilterAddressCity = CKLADRComboBox(self.widget)
        self.cmbFilterAddressCity.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressCity.setSizePolicy(sizePolicy)
        self.cmbFilterAddressCity.setObjectName(
            _fromUtf8("cmbFilterAddressCity"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressCity, 9, 0, 1, 3)
        self.cmbFilterAddressStreet = CStreetComboBox(self.widget)
        self.cmbFilterAddressStreet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth())
        self.cmbFilterAddressStreet.setSizePolicy(sizePolicy)
        self.cmbFilterAddressStreet.setObjectName(
            _fromUtf8("cmbFilterAddressStreet"))
        self.gridLayout_4.addWidget(self.cmbFilterAddressStreet, 10, 0, 1, 3)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(4)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.chkFilterStatus = QtGui.QCheckBox(self.widget)
        self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus"))
        self.verticalLayout_3.addWidget(self.chkFilterStatus)
        self.cmbFilterStatus = QtGui.QComboBox(self.widget)
        self.cmbFilterStatus.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterStatus.sizePolicy().hasHeightForWidth())
        self.cmbFilterStatus.setSizePolicy(sizePolicy)
        self.cmbFilterStatus.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus"))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.cmbFilterStatus.addItem(_fromUtf8(""))
        self.verticalLayout_3.addWidget(self.cmbFilterStatus)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.chkFilterStage = QtGui.QCheckBox(self.widget)
        self.chkFilterStage.setObjectName(_fromUtf8("chkFilterStage"))
        self.verticalLayout_4.addWidget(self.chkFilterStage)
        self.edtFilterStage = QtGui.QSpinBox(self.widget)
        self.edtFilterStage.setEnabled(False)
        self.edtFilterStage.setObjectName(_fromUtf8("edtFilterStage"))
        self.verticalLayout_4.addWidget(self.edtFilterStage)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.gridLayout_4.addLayout(self.horizontalLayout_4, 12, 0, 1, 3)
        self.chkFilterOrgStructure = QtGui.QCheckBox(self.widget)
        self.chkFilterOrgStructure.setObjectName(
            _fromUtf8("chkFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.chkFilterOrgStructure, 13, 0, 1, 3)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.widget)
        self.cmbFilterOrgStructure.setEnabled(False)
        self.cmbFilterOrgStructure.setObjectName(
            _fromUtf8("cmbFilterOrgStructure"))
        self.gridLayout_4.addWidget(self.cmbFilterOrgStructure, 14, 0, 1, 3)
        self.chkFilterContact = QtGui.QCheckBox(self.widget)
        self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact"))
        self.gridLayout_4.addWidget(self.chkFilterContact, 15, 0, 1, 3)
        self.edtFilterContact = QtGui.QLineEdit(self.widget)
        self.edtFilterContact.setEnabled(False)
        self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact"))
        self.gridLayout_4.addWidget(self.edtFilterContact, 16, 0, 1, 3)
        self.chkFilterIdentifier = QtGui.QCheckBox(self.widget)
        self.chkFilterIdentifier.setObjectName(
            _fromUtf8("chkFilterIdentifier"))
        self.gridLayout_4.addWidget(self.chkFilterIdentifier, 17, 0, 1, 3)
        self.edtFilterIdentifier = QtGui.QLineEdit(self.widget)
        self.edtFilterIdentifier.setEnabled(False)
        self.edtFilterIdentifier.setObjectName(
            _fromUtf8("edtFilterIdentifier"))
        self.gridLayout_4.addWidget(self.edtFilterIdentifier, 18, 0, 1, 3)
        self.chkFilterTicketNumber = QtGui.QCheckBox(self.widget)
        self.chkFilterTicketNumber.setObjectName(
            _fromUtf8("chkFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.chkFilterTicketNumber, 19, 0, 1, 3)
        self.edtFilterTicketNumber = QtGui.QLineEdit(self.widget)
        self.edtFilterTicketNumber.setEnabled(False)
        self.edtFilterTicketNumber.setObjectName(
            _fromUtf8("edtFilterTicketNumber"))
        self.gridLayout_4.addWidget(self.edtFilterTicketNumber, 20, 0, 1, 3)
        self.chkFilterRequest = QtGui.QCheckBox(self.widget)
        self.chkFilterRequest.setObjectName(_fromUtf8("chkFilterRequest"))
        self.gridLayout_4.addWidget(self.chkFilterRequest, 21, 0, 1, 3)
        self.cmbFilterRequest = QtGui.QComboBox(self.widget)
        self.cmbFilterRequest.setEnabled(False)
        self.cmbFilterRequest.setObjectName(_fromUtf8("cmbFilterRequest"))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.cmbFilterRequest.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.cmbFilterRequest, 22, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_4.addItem(spacerItem2, 23, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSpacing(4)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.buttonBox = CApplyResetDialogButtonBox(self.widget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.horizontalLayout_3.addWidget(self.buttonBox)
        self.gridLayout_4.addLayout(self.horizontalLayout_3, 24, 0, 1, 3)
        self.chkFilterBirthDay = QtGui.QCheckBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.chkFilterBirthDay.setSizePolicy(sizePolicy)
        self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay"))
        self.gridLayout_4.addWidget(self.chkFilterBirthDay, 7, 0, 1, 1)
        self.edtFilterBirthDay = CDateEdit(self.widget)
        self.edtFilterBirthDay.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtFilterBirthDay.setCalendarPopup(True)
        self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay"))
        self.gridLayout_4.addWidget(self.edtFilterBirthDay, 7, 1, 1, 2)
        self.chkFilterClientQuotaKladr = QtGui.QCheckBox(self.widget)
        self.chkFilterClientQuotaKladr.setObjectName(
            _fromUtf8("chkFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.chkFilterClientQuotaKladr, 11, 0, 1,
                                    1)
        self.cmbFilterClientQuotaKladr = CMainRegionsKLADRComboBox(self.widget)
        self.cmbFilterClientQuotaKladr.setObjectName(
            _fromUtf8("cmbFilterClientQuotaKladr"))
        self.gridLayout_4.addWidget(self.cmbFilterClientQuotaKladr, 11, 1, 1,
                                    2)
        self.verticalLayout_5.addWidget(self.splitter_4)
        self.tabWidgetContent.addTab(self.tabList, _fromUtf8(""))
        self.gridLayout_3.addWidget(self.splitter_3, 0, 0, 1, 1)

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

    def retranslateUi(self, QuotingDialog):
        QuotingDialog.setWindowTitle(
            QtGui.QApplication.translate("QuotingDialog", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEditQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Редактировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnProlongateQuota.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Пролонгировать квоту", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnNewQuota.setText(
            QtGui.QApplication.translate("QuotingDialog", "Добавить квоту",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("QuotingDialog", "Закрыть", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabRegion),
            QtGui.QApplication.translate("QuotingDialog", "Регион", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabInsurance),
            QtGui.QApplication.translate("QuotingDialog", "Страховка", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabFinanceSource),
            QtGui.QApplication.translate("QuotingDialog",
                                         "Источник финансирования", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSocialStatus),
            QtGui.QApplication.translate("QuotingDialog", "Социальный статус",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetLimitation.setTabText(
            self.tabWidgetLimitation.indexOf(self.tabSexAndAge),
            QtGui.QApplication.translate("QuotingDialog", "Пол/Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabLimits),
            QtGui.QApplication.translate("QuotingDialog", "Лимиты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnPrint.setText(
            QtGui.QApplication.translate("QuotingDialog", "Печать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPersonListCount.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Количество записей:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterLastName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Фамилия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterFirstName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Имя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterPatrName.setText(
            QtGui.QApplication.translate("QuotingDialog", "Отчество", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterSex.setText(
            QtGui.QApplication.translate("QuotingDialog", "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterSex.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAge.setText(
            QtGui.QApplication.translate("QuotingDialog", "Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterAddress.setText(
            QtGui.QApplication.translate("QuotingDialog", "Адрес", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Регистрации", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterAddressType.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Проживания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStatus.setText(
            QtGui.QApplication.translate("QuotingDialog", "Статус", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Отменено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Ожидание", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            2,
            QtGui.QApplication.translate("QuotingDialog", "Активный талон",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            3,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Талон для заполнения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            4,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Заблокированный талон", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            5,
            QtGui.QApplication.translate("QuotingDialog", "Отказано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            6,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Необходимо согл-вать дату обсл.",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            7,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания на соглас.", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            8,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Дата обслуживания согласована", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            9,
            QtGui.QApplication.translate("QuotingDialog", "Пролечен", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            10,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Обслуживание отложено", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            11,
            QtGui.QApplication.translate("QuotingDialog", "Отказ пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterStatus.setItemText(
            12,
            QtGui.QApplication.translate("QuotingDialog",
                                         "Импортировано из ВТМП", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterStage.setText(
            QtGui.QApplication.translate("QuotingDialog", "Этап", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterOrgStructure.setText(
            QtGui.QApplication.translate("QuotingDialog", "Подразделение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterContact.setText(
            QtGui.QApplication.translate("QuotingDialog", "Контакт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterIdentifier.setText(
            QtGui.QApplication.translate("QuotingDialog", "Идентификатор",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterTicketNumber.setText(
            QtGui.QApplication.translate("QuotingDialog", "Номер талона", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterRequest.setText(
            QtGui.QApplication.translate("QuotingDialog", "Обращение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            0,
            QtGui.QApplication.translate("QuotingDialog", "Первичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbFilterRequest.setItemText(
            1,
            QtGui.QApplication.translate("QuotingDialog", "Вторичное", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkFilterBirthDay.setText(
            QtGui.QApplication.translate("QuotingDialog", "Дата рождения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkFilterClientQuotaKladr.setText(
            QtGui.QApplication.translate("QuotingDialog",
                                         "Прикрепление по квоте", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidgetContent.setTabText(
            self.tabWidgetContent.indexOf(self.tabList),
            QtGui.QApplication.translate("QuotingDialog", "Список", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #9
0
class Ui_ActionsPageWidget(object):
    def setupUi(self, ActionsPageWidget):
        ActionsPageWidget.setObjectName(_fromUtf8("ActionsPageWidget"))
        ActionsPageWidget.resize(1021, 825)
        self.verticalLayout = QtGui.QVBoxLayout(ActionsPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.attrsAP = QtGui.QFrame(ActionsPageWidget)
        self.attrsAP.setObjectName(_fromUtf8("attrsAP"))
        self.gridLayout_3 = QtGui.QGridLayout(self.attrsAP)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setMargin(0)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.edtAPBegDate = CDateEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegDate.sizePolicy().hasHeightForWidth())
        self.edtAPBegDate.setSizePolicy(sizePolicy)
        self.edtAPBegDate.setCalendarPopup(True)
        self.edtAPBegDate.setObjectName(_fromUtf8("edtAPBegDate"))
        self.horizontalLayout_11.addWidget(self.edtAPBegDate)
        self.edtAPBegTime = QtGui.QTimeEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPBegTime.sizePolicy().hasHeightForWidth())
        self.edtAPBegTime.setSizePolicy(sizePolicy)
        self.edtAPBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPBegTime.setObjectName(_fromUtf8("edtAPBegTime"))
        self.horizontalLayout_11.addWidget(self.edtAPBegTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_11, 1, 1, 1, 1)
        self.lblAPEndDate = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPEndDate.sizePolicy().hasHeightForWidth())
        self.lblAPEndDate.setSizePolicy(sizePolicy)
        self.lblAPEndDate.setObjectName(_fromUtf8("lblAPEndDate"))
        self.gridLayout_3.addWidget(self.lblAPEndDate, 1, 4, 1, 1)
        self.mkbLayout = QtGui.QWidget(self.attrsAP)
        self.mkbLayout.setObjectName(_fromUtf8("mkbLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.mkbLayout)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.cmbHMPMethod = CRBComboBox(self.mkbLayout)
        self.cmbHMPMethod.setObjectName(_fromUtf8("cmbHMPMethod"))
        self.horizontalLayout_2.addWidget(self.cmbHMPMethod)
        self.gridLayout_3.addWidget(self.mkbLayout, 6, 5, 1, 1)
        self.lblAPOffice = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPOffice.sizePolicy().hasHeightForWidth())
        self.lblAPOffice.setSizePolicy(sizePolicy)
        self.lblAPOffice.setObjectName(_fromUtf8("lblAPOffice"))
        self.gridLayout_3.addWidget(self.lblAPOffice, 1, 2, 1, 1)
        self.lblAPDirectionDate = QtGui.QLabel(self.attrsAP)
        self.lblAPDirectionDate.setObjectName(_fromUtf8("lblAPDirectionDate"))
        self.gridLayout_3.addWidget(self.lblAPDirectionDate, 0, 4, 1, 1)
        self.lblAPStatus = QtGui.QLabel(self.attrsAP)
        self.lblAPStatus.setObjectName(_fromUtf8("lblAPStatus"))
        self.gridLayout_3.addWidget(self.lblAPStatus, 0, 0, 1, 1)
        self.lblAPOrg = QtGui.QLabel(self.attrsAP)
        self.lblAPOrg.setObjectName(_fromUtf8("lblAPOrg"))
        self.gridLayout_3.addWidget(self.lblAPOrg, 2, 0, 1, 1)
        self.lblAPBegDate = QtGui.QLabel(self.attrsAP)
        self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate"))
        self.gridLayout_3.addWidget(self.lblAPBegDate, 1, 0, 1, 1)
        self.cmbAPSetPerson = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPSetPerson.sizePolicy().hasHeightForWidth())
        self.cmbAPSetPerson.setSizePolicy(sizePolicy)
        self.cmbAPSetPerson.setObjectName(_fromUtf8("cmbAPSetPerson"))
        self.cmbAPSetPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPSetPerson, 0, 7, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.btnPlanNextAction = QtGui.QToolButton(self.attrsAP)
        self.btnPlanNextAction.setEnabled(True)
        self.btnPlanNextAction.setObjectName(_fromUtf8("btnPlanNextAction"))
        self.horizontalLayout_5.addWidget(self.btnPlanNextAction)
        self.btnNextAction = QtGui.QPushButton(self.attrsAP)
        self.btnNextAction.setEnabled(True)
        self.btnNextAction.setObjectName(_fromUtf8("btnNextAction"))
        self.horizontalLayout_5.addWidget(self.btnNextAction)
        self.btnReanimation = QtGui.QPushButton(self.attrsAP)
        self.btnReanimation.setObjectName(_fromUtf8("btnReanimation"))
        self.horizontalLayout_5.addWidget(self.btnReanimation)
        self.btnMaternityWard = QtGui.QPushButton(self.attrsAP)
        self.btnMaternityWard.setObjectName(_fromUtf8("btnMaternityWard"))
        self.horizontalLayout_5.addWidget(self.btnMaternityWard)
        self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 4, 1, 2)
        self.cmbAPPerson = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPPerson.setObjectName(_fromUtf8("cmbAPPerson"))
        self.cmbAPPerson.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPPerson, 1, 7, 1, 1)
        self.lblAPPerson = QtGui.QLabel(self.attrsAP)
        self.lblAPPerson.setObjectName(_fromUtf8("lblAPPerson"))
        self.gridLayout_3.addWidget(self.lblAPPerson, 1, 6, 1, 1)
        self.lblAPSetPerson = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPSetPerson.sizePolicy().hasHeightForWidth())
        self.lblAPSetPerson.setSizePolicy(sizePolicy)
        self.lblAPSetPerson.setObjectName(_fromUtf8("lblAPSetPerson"))
        self.gridLayout_3.addWidget(self.lblAPSetPerson, 0, 6, 1, 1)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setMargin(0)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.edtAPEndDate = CDateEdit(self.attrsAP)
        self.edtAPEndDate.setCalendarPopup(True)
        self.edtAPEndDate.setObjectName(_fromUtf8("edtAPEndDate"))
        self.horizontalLayout_8.addWidget(self.edtAPEndDate)
        self.edtAPEndTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPEndTime.setObjectName(_fromUtf8("edtAPEndTime"))
        self.horizontalLayout_8.addWidget(self.edtAPEndTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_8, 1, 5, 1, 1)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setMargin(0)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.edtAPDirectionDate = CDateEdit(self.attrsAP)
        self.edtAPDirectionDate.setCalendarPopup(True)
        self.edtAPDirectionDate.setObjectName(_fromUtf8("edtAPDirectionDate"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionDate)
        self.edtAPDirectionTime = QtGui.QTimeEdit(self.attrsAP)
        self.edtAPDirectionTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtAPDirectionTime.setObjectName(_fromUtf8("edtAPDirectionTime"))
        self.horizontalLayout_6.addWidget(self.edtAPDirectionTime)
        self.gridLayout_3.addLayout(self.horizontalLayout_6, 0, 5, 1, 1)
        self.edtAPOffice = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPOffice.sizePolicy().hasHeightForWidth())
        self.edtAPOffice.setSizePolicy(sizePolicy)
        self.edtAPOffice.setMaxLength(16)
        self.edtAPOffice.setObjectName(_fromUtf8("edtAPOffice"))
        self.gridLayout_3.addWidget(self.edtAPOffice, 1, 3, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setMargin(0)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.cmbAPStatus = QtGui.QComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPStatus.sizePolicy().hasHeightForWidth())
        self.cmbAPStatus.setSizePolicy(sizePolicy)
        self.cmbAPStatus.setObjectName(_fromUtf8("cmbAPStatus"))
        self.horizontalLayout_3.addWidget(self.cmbAPStatus)
        self.chkAPIsUrgent = QtGui.QCheckBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.chkAPIsUrgent.sizePolicy().hasHeightForWidth())
        self.chkAPIsUrgent.setSizePolicy(sizePolicy)
        self.chkAPIsUrgent.setObjectName(_fromUtf8("chkAPIsUrgent"))
        self.horizontalLayout_3.addWidget(self.chkAPIsUrgent)
        self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 1, 1, 3)
        self.lblAPAssistant = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant.setObjectName(_fromUtf8("lblAPAssistant"))
        self.gridLayout_3.addWidget(self.lblAPAssistant, 3, 0, 1, 1)
        self.cmbAPAssistant = CPersonComboBoxEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPAssistant.sizePolicy().hasHeightForWidth())
        self.cmbAPAssistant.setSizePolicy(sizePolicy)
        self.cmbAPAssistant.setObjectName(_fromUtf8("cmbAPAssistant"))
        self.cmbAPAssistant.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbAPAssistant, 3, 1, 1, 3)
        self.cmbAPAssistant3 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant3.setObjectName(_fromUtf8("cmbAPAssistant3"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant3, 3, 7, 1, 1)
        self.cmbAPAssistant2 = CPersonComboBoxEx(self.attrsAP)
        self.cmbAPAssistant2.setObjectName(_fromUtf8("cmbAPAssistant2"))
        self.gridLayout_3.addWidget(self.cmbAPAssistant2, 3, 5, 1, 1)
        self.lblAPAssistant2 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant2.setObjectName(_fromUtf8("lblAPAssistant2"))
        self.gridLayout_3.addWidget(self.lblAPAssistant2, 3, 4, 1, 1)
        self.lblAPAssistant3 = QtGui.QLabel(self.attrsAP)
        self.lblAPAssistant3.setObjectName(_fromUtf8("lblAPAssistant3"))
        self.gridLayout_3.addWidget(self.lblAPAssistant3, 3, 6, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblAPAmount = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPAmount.sizePolicy().hasHeightForWidth())
        self.lblAPAmount.setSizePolicy(sizePolicy)
        self.lblAPAmount.setObjectName(_fromUtf8("lblAPAmount"))
        self.horizontalLayout.addWidget(self.lblAPAmount)
        self.edtAPAmount = QtGui.QDoubleSpinBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPAmount.sizePolicy().hasHeightForWidth())
        self.edtAPAmount.setSizePolicy(sizePolicy)
        self.edtAPAmount.setMaximum(999.99)
        self.edtAPAmount.setObjectName(_fromUtf8("edtAPAmount"))
        self.horizontalLayout.addWidget(self.edtAPAmount)
        self.lblAPUet = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPUet.sizePolicy().hasHeightForWidth())
        self.lblAPUet.setSizePolicy(sizePolicy)
        self.lblAPUet.setObjectName(_fromUtf8("lblAPUet"))
        self.horizontalLayout.addWidget(self.lblAPUet)
        self.edtAPUet = QtGui.QDoubleSpinBox(self.attrsAP)
        self.edtAPUet.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPUet.sizePolicy().hasHeightForWidth())
        self.edtAPUet.setSizePolicy(sizePolicy)
        self.edtAPUet.setSingleStep(0.5)
        self.edtAPUet.setObjectName(_fromUtf8("edtAPUet"))
        self.horizontalLayout.addWidget(self.edtAPUet)
        self.lblAPNote = QtGui.QLabel(self.attrsAP)
        self.lblAPNote.setObjectName(_fromUtf8("lblAPNote"))
        self.horizontalLayout.addWidget(self.lblAPNote)
        self.edtAPNote = QtGui.QLineEdit(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.edtAPNote.sizePolicy().hasHeightForWidth())
        self.edtAPNote.setSizePolicy(sizePolicy)
        self.edtAPNote.setObjectName(_fromUtf8("edtAPNote"))
        self.horizontalLayout.addWidget(self.edtAPNote)
        self.lblAPMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMKB.setSizePolicy(sizePolicy)
        self.lblAPMKB.setObjectName(_fromUtf8("lblAPMKB"))
        self.horizontalLayout.addWidget(self.lblAPMKB)
        self.cmbAPMKB = CICDCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMKB.setSizePolicy(sizePolicy)
        self.cmbAPMKB.setObjectName(_fromUtf8("cmbAPMKB"))
        self.horizontalLayout.addWidget(self.cmbAPMKB)
        self.lblAPMKBText = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMKBText.sizePolicy().hasHeightForWidth())
        self.lblAPMKBText.setSizePolicy(sizePolicy)
        self.lblAPMKBText.setText(_fromUtf8(""))
        self.lblAPMKBText.setWordWrap(True)
        self.lblAPMKBText.setObjectName(_fromUtf8("lblAPMKBText"))
        self.horizontalLayout.addWidget(self.lblAPMKBText)
        self.gridLayout_3.addLayout(self.horizontalLayout, 5, 0, 1, 8)
        self.grpAPOrg = QtGui.QWidget(self.attrsAP)
        self.grpAPOrg.setObjectName(_fromUtf8("grpAPOrg"))
        self._2 = QtGui.QHBoxLayout(self.grpAPOrg)
        self._2.setMargin(1)
        self._2.setObjectName(_fromUtf8("_2"))
        self.cmbAPOrg = CPolyclinicExtendedComboBox(self.grpAPOrg)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPOrg.sizePolicy().hasHeightForWidth())
        self.cmbAPOrg.setSizePolicy(sizePolicy)
        self.cmbAPOrg.setObjectName(_fromUtf8("cmbAPOrg"))
        self.cmbAPOrg.addItem(_fromUtf8(""))
        self._2.addWidget(self.cmbAPOrg)
        self.btnAPSelectOrg = QtGui.QToolButton(self.grpAPOrg)
        self.btnAPSelectOrg.setObjectName(_fromUtf8("btnAPSelectOrg"))
        self._2.addWidget(self.btnAPSelectOrg)
        self.gridLayout_3.addWidget(self.grpAPOrg, 2, 1, 1, 3)
        self.cmbAPMorphologyMKB = CICDMorphologyCodeEditEx(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.cmbAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.cmbAPMorphologyMKB.setMinimumSize(QtCore.QSize(0, 0))
        self.cmbAPMorphologyMKB.setObjectName(_fromUtf8("cmbAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.cmbAPMorphologyMKB, 2, 7, 1, 1)
        self.lblAPMorphologyMKB = QtGui.QLabel(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lblAPMorphologyMKB.sizePolicy().hasHeightForWidth())
        self.lblAPMorphologyMKB.setSizePolicy(sizePolicy)
        self.lblAPMorphologyMKB.setObjectName(_fromUtf8("lblAPMorphologyMKB"))
        self.gridLayout_3.addWidget(self.lblAPMorphologyMKB, 2, 6, 1, 1)
        self.lblHMPKind = QtGui.QLabel(self.attrsAP)
        self.lblHMPKind.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPKind.setObjectName(_fromUtf8("lblHMPKind"))
        self.gridLayout_3.addWidget(self.lblHMPKind, 6, 0, 1, 1)
        self.cmbHMPKind = CRBComboBox(self.attrsAP)
        self.cmbHMPKind.setObjectName(_fromUtf8("cmbHMPKind"))
        self.gridLayout_3.addWidget(self.cmbHMPKind, 6, 1, 1, 3)
        self.lblHMPMethod = QtGui.QLabel(self.attrsAP)
        self.lblHMPMethod.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.lblHMPMethod.setObjectName(_fromUtf8("lblHMPMethod"))
        self.gridLayout_3.addWidget(self.lblHMPMethod, 6, 4, 1, 1)
        self.lblActionMes = QtGui.QLabel(self.attrsAP)
        self.lblActionMes.setObjectName(_fromUtf8("lblActionMes"))
        self.gridLayout_3.addWidget(self.lblActionMes, 6, 6, 1, 1)
        self.cmbActionMes = CMESComboBox(self.attrsAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbActionMes.sizePolicy().hasHeightForWidth())
        self.cmbActionMes.setSizePolicy(sizePolicy)
        self.cmbActionMes.setObjectName(_fromUtf8("cmbActionMes"))
        self.gridLayout_3.addWidget(self.cmbActionMes, 6, 7, 1, 1)
        self.verticalLayout.addWidget(self.attrsAP)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.btnToggleAttrsAP = QtGui.QPushButton(ActionsPageWidget)
        self.btnToggleAttrsAP.setMinimumSize(QtCore.QSize(0, 0))
        self.btnToggleAttrsAP.setMaximumSize(QtCore.QSize(40, 20))
        self.btnToggleAttrsAP.setCheckable(True)
        self.btnToggleAttrsAP.setChecked(False)
        self.btnToggleAttrsAP.setObjectName(_fromUtf8("btnToggleAttrsAP"))
        self.horizontalLayout_7.addWidget(self.btnToggleAttrsAP)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.scrollArea = QtGui.QScrollArea(ActionsPageWidget)
        self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1009, 547))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitterAP = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitterAP.sizePolicy().hasHeightForWidth())
        self.splitterAP.setSizePolicy(sizePolicy)
        self.splitterAP.setOrientation(QtCore.Qt.Horizontal)
        self.splitterAP.setChildrenCollapsible(False)
        self.splitterAP.setObjectName(_fromUtf8("splitterAP"))
        self.tblAPActions = CActionsTableView(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tblAPActions.sizePolicy().hasHeightForWidth())
        self.tblAPActions.setSizePolicy(sizePolicy)
        self.tblAPActions.setMinimumSize(QtCore.QSize(150, 0))
        self.tblAPActions.setObjectName(_fromUtf8("tblAPActions"))
        self.frameAP = QtGui.QFrame(self.splitterAP)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frameAP.sizePolicy().hasHeightForWidth())
        self.frameAP.setSizePolicy(sizePolicy)
        self.frameAP.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.frameAP.setFrameShape(QtGui.QFrame.NoFrame)
        self.frameAP.setFrameShadow(QtGui.QFrame.Sunken)
        self.frameAP.setObjectName(_fromUtf8("frameAP"))
        self.gridLayout = QtGui.QGridLayout(self.frameAP)
        self.gridLayout.setMargin(0)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblAPProps = CExActionPropertiesTableView(self.frameAP)
        self.tblAPProps.setEnabled(False)
        self.tblAPProps.setMinimumSize(QtCore.QSize(0, 250))
        self.tblAPProps.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblAPProps.setObjectName(_fromUtf8("tblAPProps"))
        self.gridLayout.addWidget(self.tblAPProps, 18, 0, 1, 2)
        self.frmAPButtonsBar = QtGui.QFrame(self.frameAP)
        self.frmAPButtonsBar.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAPButtonsBar.setFrameShadow(QtGui.QFrame.Plain)
        self.frmAPButtonsBar.setLineWidth(0)
        self.frmAPButtonsBar.setObjectName(_fromUtf8("frmAPButtonsBar"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmAPButtonsBar)
        self.horizontalLayout_4.setMargin(0)
        self.horizontalLayout_4.setSpacing(4)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.btnAPPrint = CPrintButton(self.frmAPButtonsBar)
        self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint"))
        self.horizontalLayout_4.addWidget(self.btnAPPrint)
        self.btnAPLoadTemplate = CActionTemplateChooseButton(self.frmAPButtonsBar)
        self.btnAPLoadTemplate.setObjectName(_fromUtf8("btnAPLoadTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadTemplate)
        self.btnAPSaveAsTemplate = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPSaveAsTemplate.setObjectName(_fromUtf8("btnAPSaveAsTemplate"))
        self.horizontalLayout_4.addWidget(self.btnAPSaveAsTemplate)
        self.btnAPLoadPrevAction = QtGui.QPushButton(self.frmAPButtonsBar)
        self.btnAPLoadPrevAction.setEnabled(False)
        self.btnAPLoadPrevAction.setObjectName(_fromUtf8("btnAPLoadPrevAction"))
        self.horizontalLayout_4.addWidget(self.btnAPLoadPrevAction)
        spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem)
        self.gridLayout.addWidget(self.frmAPButtonsBar, 19, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.splitterAP)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)

        self.retranslateUi(ActionsPageWidget)
        QtCore.QObject.connect(self.btnToggleAttrsAP, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.attrsAP.setHidden)
        QtCore.QMetaObject.connectSlotsByName(ActionsPageWidget)
        ActionsPageWidget.setTabOrder(self.cmbAPStatus, self.chkAPIsUrgent)
        ActionsPageWidget.setTabOrder(self.chkAPIsUrgent, self.edtAPDirectionDate)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionDate, self.edtAPDirectionTime)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionTime, self.cmbAPSetPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPSetPerson, self.edtAPBegDate)
        ActionsPageWidget.setTabOrder(self.edtAPBegDate, self.edtAPBegTime)
        ActionsPageWidget.setTabOrder(self.edtAPBegTime, self.edtAPOffice)
        ActionsPageWidget.setTabOrder(self.edtAPOffice, self.edtAPEndDate)
        ActionsPageWidget.setTabOrder(self.edtAPEndDate, self.edtAPEndTime)
        ActionsPageWidget.setTabOrder(self.edtAPEndTime, self.cmbAPPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPPerson, self.cmbAPOrg)
        ActionsPageWidget.setTabOrder(self.cmbAPOrg, self.btnAPSelectOrg)
        ActionsPageWidget.setTabOrder(self.btnAPSelectOrg, self.btnPlanNextAction)
        ActionsPageWidget.setTabOrder(self.btnPlanNextAction, self.btnNextAction)
        ActionsPageWidget.setTabOrder(self.btnNextAction, self.btnReanimation)
        ActionsPageWidget.setTabOrder(self.btnReanimation, self.btnMaternityWard)
        ActionsPageWidget.setTabOrder(self.btnMaternityWard, self.cmbAPMorphologyMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMorphologyMKB, self.cmbAPAssistant)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant, self.cmbAPAssistant2)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant2, self.cmbAPAssistant3)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant3, self.edtAPAmount)
        ActionsPageWidget.setTabOrder(self.edtAPAmount, self.edtAPUet)
        ActionsPageWidget.setTabOrder(self.edtAPUet, self.edtAPNote)
        ActionsPageWidget.setTabOrder(self.edtAPNote, self.cmbAPMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMKB, self.cmbHMPKind)
        ActionsPageWidget.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod)
        ActionsPageWidget.setTabOrder(self.cmbHMPMethod, self.cmbActionMes)
        ActionsPageWidget.setTabOrder(self.cmbActionMes, self.btnToggleAttrsAP)
        ActionsPageWidget.setTabOrder(self.btnToggleAttrsAP, self.scrollArea)
        ActionsPageWidget.setTabOrder(self.scrollArea, self.tblAPActions)
        ActionsPageWidget.setTabOrder(self.tblAPActions, self.tblAPProps)
        ActionsPageWidget.setTabOrder(self.tblAPProps, self.btnAPPrint)
        ActionsPageWidget.setTabOrder(self.btnAPPrint, self.btnAPLoadTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPLoadTemplate, self.btnAPSaveAsTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPSaveAsTemplate, self.btnAPLoadPrevAction)

    def retranslateUi(self, ActionsPageWidget):
        ActionsPageWidget.setWindowTitle(_translate("ActionsPageWidget", "Form", None))
        self.edtAPBegDate.setWhatsThis(_translate("ActionsPageWidget", "дата окончания осмотра", None))
        self.edtAPBegTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.lblAPEndDate.setText(_translate("ActionsPageWidget", "Выполнено", None))
        self.cmbHMPMethod.setWhatsThis(_translate("ActionsPageWidget", "результат осмотра", None))
        self.lblAPOffice.setText(_translate("ActionsPageWidget", "Кабинет", None))
        self.lblAPDirectionDate.setText(_translate("ActionsPageWidget", "Назначено", None))
        self.lblAPStatus.setText(_translate("ActionsPageWidget", "Состояние", None))
        self.lblAPOrg.setText(_translate("ActionsPageWidget", "Место выполнения", None))
        self.lblAPBegDate.setText(_translate("ActionsPageWidget", "Начато", None))
        self.cmbAPSetPerson.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.btnPlanNextAction.setText(_translate("ActionsPageWidget", "...", None))
        self.btnNextAction.setText(_translate("ActionsPageWidget", "Действие", None))
        self.btnReanimation.setText(_translate("ActionsPageWidget", "Реанимация", None))
        self.btnMaternityWard.setText(_translate("ActionsPageWidget", "Родовое", None))
        self.cmbAPPerson.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.lblAPPerson.setText(_translate("ActionsPageWidget", "Исполнитель", None))
        self.lblAPSetPerson.setText(_translate("ActionsPageWidget", "Назначил", None))
        self.edtAPEndTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.edtAPDirectionDate.setWhatsThis(_translate("ActionsPageWidget", "дата начала осмотра", None))
        self.edtAPDirectionTime.setDisplayFormat(_translate("ActionsPageWidget", "HH:mm", None))
        self.chkAPIsUrgent.setText(_translate("ActionsPageWidget", "Срочно", None))
        self.lblAPAssistant.setText(_translate("ActionsPageWidget", "Ассистент", None))
        self.cmbAPAssistant.setItemText(0, _translate("ActionsPageWidget", "Врач", None))
        self.lblAPAssistant2.setText(_translate("ActionsPageWidget", "Ассистент2", None))
        self.lblAPAssistant3.setText(_translate("ActionsPageWidget", "Ассистент3", None))
        self.lblAPAmount.setText(_translate("ActionsPageWidget", "Количество", None))
        self.lblAPUet.setText(_translate("ActionsPageWidget", "УЕТ", None))
        self.lblAPNote.setText(_translate("ActionsPageWidget", "Примечания", None))
        self.lblAPMKB.setText(_translate("ActionsPageWidget", "Диагноз", None))
        self.cmbAPOrg.setItemText(0, _translate("ActionsPageWidget", "Организация", None))
        self.btnAPSelectOrg.setText(_translate("ActionsPageWidget", "...", None))
        self.lblAPMorphologyMKB.setText(_translate("ActionsPageWidget", "Морфология МКБ", None))
        self.lblHMPKind.setText(_translate("ActionsPageWidget", "Вид ВМП", None))
        self.cmbHMPKind.setWhatsThis(_translate("ActionsPageWidget", "результат осмотра", None))
        self.lblHMPMethod.setText(_translate("ActionsPageWidget", "Метод ВМП", None))
        self.lblActionMes.setText(_translate("ActionsPageWidget", "Стандарт", None))
        self.btnToggleAttrsAP.setText(_translate("ActionsPageWidget", "^", None))
        self.btnAPPrint.setText(_translate("ActionsPageWidget", "Печать", None))
        self.btnAPLoadTemplate.setText(_translate("ActionsPageWidget", "Загрузить шаблон", None))
        self.btnAPSaveAsTemplate.setText(_translate("ActionsPageWidget", "Сохранить шаблон", None))
        self.btnAPLoadPrevAction.setText(_translate("ActionsPageWidget", "Копировать из предыдущего", None))
예제 #10
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))
예제 #11
0
class Ui_ReportRecommendations(object):
    def setupUi(self, ReportRecommendations):
        ReportRecommendations.setObjectName(_fromUtf8("ReportRecommendations"))
        ReportRecommendations.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportRecommendations.resize(436, 193)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportRecommendations.sizePolicy().hasHeightForWidth())
        ReportRecommendations.setSizePolicy(sizePolicy)
        ReportRecommendations.setSizeGripEnabled(True)
        ReportRecommendations.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportRecommendations)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportRecommendations)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.lblEventType = QtGui.QLabel(ReportRecommendations)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportRecommendations)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 8, 0, 1, 5)
        self.buttonBox = QtGui.QDialogButtonBox(ReportRecommendations)
        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, 5)
        self.chkExtendedReport = QtGui.QCheckBox(ReportRecommendations)
        self.chkExtendedReport.setObjectName(_fromUtf8("chkExtendedReport"))
        self.gridLayout.addWidget(self.chkExtendedReport, 7, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportRecommendations)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 2, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportRecommendations)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.edtBegDate = CDateEdit(ReportRecommendations)
        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, 2, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportRecommendations)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 2, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 3, 3, 1, 1)
        self.lblContract = QtGui.QLabel(ReportRecommendations)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 4, 0, 1, 1)
        self.cmbContract = CContractComboBox(ReportRecommendations)
        self.cmbContract.setObjectName(_fromUtf8("cmbContract"))
        self.gridLayout.addWidget(self.cmbContract, 4, 2, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(ReportRecommendations)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 2, 1, 2)
        self.cmbEventType = CRBComboBox(ReportRecommendations)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 2, 1, 2)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblBegDate_2.setBuddy(self.edtBegDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportRecommendations):
        ReportRecommendations.setWindowTitle(
            _translate("ReportRecommendations", "параметры отчёта", None))
        self.lblEndDate.setText(_translate("ReportRecommendations", "по",
                                           None))
        self.lblEventType.setText(
            _translate("ReportRecommendations", "&Тип обращения", None))
        self.lblOrgStructure.setText(
            _translate("ReportRecommendations", "Подразделение направителя",
                       None))
        self.chkExtendedReport.setText(
            _translate("ReportRecommendations", "Подробный отчет", None))
        self.lblBegDate_2.setText(
            _translate("ReportRecommendations", "Дата выдачи направления:",
                       None))
        self.lblBegDate.setText(_translate("ReportRecommendations", "с", None))
        self.lblContract.setText(
            _translate("ReportRecommendations", "Договор", None))
예제 #12
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))
예제 #13
0
class Ui_ReportControlDischargeSetup(object):
    def setupUi(self, ReportControlDischargeSetup):
        ReportControlDischargeSetup.setObjectName(
            _fromUtf8("ReportControlDischargeSetup"))
        ReportControlDischargeSetup.resize(398, 151)
        self.gridLayout = QtGui.QGridLayout(ReportControlDischargeSetup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportControlDischargeSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 2, 0, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportControlDischargeSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportControlDischargeSetup)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 7, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 2, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportControlDischargeSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 3, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportControlDischargeSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 3, 1, 1, 2)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportControlDischargeSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportControlDischargeSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 6, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportControlDischargeSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 2, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportControlDischargeSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportControlDischargeSetup):
        ReportControlDischargeSetup.setWindowTitle(
            _translate("ReportControlDischargeSetup", "Dialog", None))
        self.lblEndDate.setText(
            _translate("ReportControlDischargeSetup",
                       "Дата &окончания периода", None))
        self.lblBegDate.setText(
            _translate("ReportControlDischargeSetup", "Дата &начала периода",
                       None))
        self.lblFinance.setText(
            _translate("ReportControlDischargeSetup", "Тип финансирования",
                       None))
        self.lblOrgStructure.setText(
            _translate("ReportControlDischargeSetup", "Подразделение", None))
예제 #14
0
class Ui_ReportPersonSickListSetupDialog(object):
    def setupUi(self, ReportPersonSickListSetupDialog):
        ReportPersonSickListSetupDialog.setObjectName(
            _fromUtf8("ReportPersonSickListSetupDialog"))
        ReportPersonSickListSetupDialog.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportPersonSickListSetupDialog.resize(423, 686)
        ReportPersonSickListSetupDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(ReportPersonSickListSetupDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.frmMKB = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKB.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKB.setObjectName(_fromUtf8("frmMKB"))
        self.gridlayout = QtGui.QGridLayout(self.frmMKB)
        self.gridlayout.setMargin(0)
        self.gridlayout.setHorizontalSpacing(4)
        self.gridlayout.setVerticalSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBFilter.setSizePolicy(sizePolicy)
        self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter"))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.cmbMKBFilter.addItem(_fromUtf8(""))
        self.gridlayout.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.gridlayout.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.gridlayout.addWidget(self.edtMKBTo, 0, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKB, 15, 1, 1, 4)
        self.frmMKBEx = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised)
        self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx"))
        self.gridlayout1 = QtGui.QGridLayout(self.frmMKBEx)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setHorizontalSpacing(4)
        self.gridlayout1.setVerticalSpacing(0)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbMKBExFilter.sizePolicy().hasHeightForWidth())
        self.cmbMKBExFilter.setSizePolicy(sizePolicy)
        self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter"))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.cmbMKBExFilter.addItem(_fromUtf8(""))
        self.gridlayout1.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1)
        self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExFrom.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExFrom.sizePolicy().hasHeightForWidth())
        self.edtMKBExFrom.setSizePolicy(sizePolicy)
        self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExFrom.setMaxLength(6)
        self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom"))
        self.gridlayout1.addWidget(self.edtMKBExFrom, 0, 1, 1, 1)
        self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx)
        self.edtMKBExTo.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKBExTo.sizePolicy().hasHeightForWidth())
        self.edtMKBExTo.setSizePolicy(sizePolicy)
        self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215))
        self.edtMKBExTo.setMaxLength(6)
        self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo"))
        self.gridlayout1.addWidget(self.edtMKBExTo, 0, 2, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1, 0, 3, 1, 1)
        self.gridLayout.addWidget(self.frmMKBEx, 16, 1, 2, 4)
        self.frmAge = QtGui.QFrame(ReportPersonSickListSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem2)
        self.gridLayout.addWidget(self.frmAge, 10, 1, 1, 4)
        self.cmbLocality = QtGui.QComboBox(ReportPersonSickListSetupDialog)
        self.cmbLocality.setObjectName(_fromUtf8("cmbLocality"))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.cmbLocality.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocality, 24, 1, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem3, 25, 0, 1, 1)
        self.cmbSocStatusType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType"))
        self.gridLayout.addWidget(self.cmbSocStatusType, 12, 1, 1, 4)
        self.chkAccountAccomp = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp"))
        self.gridLayout.addWidget(self.chkAccountAccomp, 20, 1, 1, 4)
        self.cmbSocStatusClass = CSocStatusComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass"))
        self.gridLayout.addWidget(self.cmbSocStatusClass, 11, 1, 1, 4)
        spacerItem4 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem4, 0, 3, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.lblSocStatusType = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType"))
        self.gridLayout.addWidget(self.lblSocStatusType, 12, 0, 1, 1)
        self.chkOnlyFirstTime = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime"))
        self.gridLayout.addWidget(self.chkOnlyFirstTime, 19, 1, 1, 4)
        self.lblLocality = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblLocality.setObjectName(_fromUtf8("lblLocality"))
        self.gridLayout.addWidget(self.lblLocality, 24, 0, 1, 1)
        self.lblMKB = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 15, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportPersonSickListSetupDialog)
        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, 26, 0, 1, 5)
        self.lblSex = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 4)
        self.cmbTraumaType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbTraumaType.setEnabled(False)
        self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType"))
        self.gridLayout.addWidget(self.cmbTraumaType, 23, 1, 1, 4)
        self.lblArea = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblArea.setObjectName(_fromUtf8("lblArea"))
        self.gridLayout.addWidget(self.lblArea, 14, 0, 1, 1)
        self.lblMKBEx = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx"))
        self.gridLayout.addWidget(self.lblMKBEx, 16, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1)
        self.lblSocStatusClass = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass"))
        self.gridLayout.addWidget(self.lblSocStatusClass, 11, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridLayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3)
        self.chkArea = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkArea.setObjectName(_fromUtf8("chkArea"))
        self.gridLayout.addWidget(self.chkArea, 13, 1, 1, 4)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            ReportPersonSickListSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(ReportPersonSickListSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 4)
        self.cmbEventType = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 1, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1)
        self.chkTraumaType = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkTraumaType.setObjectName(_fromUtf8("chkTraumaType"))
        self.gridLayout.addWidget(self.chkTraumaType, 22, 0, 1, 1)
        self.lblSpeciality = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbArea = COrgStructureComboBox(ReportPersonSickListSetupDialog)
        self.cmbArea.setEnabled(False)
        self.cmbArea.setObjectName(_fromUtf8("cmbArea"))
        self.gridLayout.addWidget(self.cmbArea, 14, 1, 1, 4)
        self.lblEventType = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 1)
        self.cmbEventPurpose = CRBMultiComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 4)
        self.lblEndDate = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(ReportPersonSickListSetupDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 4)
        self.cmbCharacterClass = QtGui.QComboBox(
            ReportPersonSickListSetupDialog)
        self.cmbCharacterClass.setObjectName(_fromUtf8("cmbCharacterClass"))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.cmbCharacterClass.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbCharacterClass, 18, 1, 1, 4)
        self.lblWorkOrganisation = QtGui.QLabel(
            ReportPersonSickListSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridLayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1)
        self.chkTraumaTypeAny = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkTraumaTypeAny.setEnabled(False)
        self.chkTraumaTypeAny.setObjectName(_fromUtf8("chkTraumaTypeAny"))
        self.gridLayout.addWidget(self.chkTraumaTypeAny, 22, 1, 1, 4)
        self.edtEndDate = CDateEdit(ReportPersonSickListSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem5, 1, 3, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportPersonSickListSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.lblDiseaseCharacter = QtGui.QLabel(
            ReportPersonSickListSetupDialog)
        self.lblDiseaseCharacter.setObjectName(
            _fromUtf8("lblDiseaseCharacter"))
        self.gridLayout.addWidget(self.lblDiseaseCharacter, 17, 0, 2, 1)
        self.cmbSex = QtGui.QComboBox(ReportPersonSickListSetupDialog)
        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, 9, 1, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem6, 9, 2, 1, 3)
        self.lblAge = QtGui.QLabel(ReportPersonSickListSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 10, 0, 1, 1)
        self.chkVisitEmergency = QtGui.QCheckBox(
            ReportPersonSickListSetupDialog)
        self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency"))
        self.gridLayout.addWidget(self.chkVisitEmergency, 21, 1, 1, 1)
        self.chkPeriod = QtGui.QCheckBox(ReportPersonSickListSetupDialog)
        self.chkPeriod.setObjectName(_fromUtf8("chkPeriod"))
        self.gridLayout.addWidget(self.chkPeriod, 2, 0, 1, 1)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblLocality.setBuddy(self.cmbLocality)
        self.lblMKB.setBuddy(self.cmbMKBFilter)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblArea.setBuddy(self.cmbArea)
        self.lblMKBEx.setBuddy(self.cmbMKBExFilter)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblEventPurpose.setBuddy(self.cmbEventPurpose)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblDiseaseCharacter.setBuddy(self.cmbCharacterClass)
        self.lblAge.setBuddy(self.edtAgeFrom)

        self.retranslateUi(ReportPersonSickListSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportPersonSickListSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportPersonSickListSetupDialog.reject)
        QtCore.QObject.connect(self.chkArea,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbArea.setEnabled)
        QtCore.QObject.connect(self.chkTraumaType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbTraumaType.setEnabled)
        QtCore.QObject.connect(self.chkTraumaType,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.chkTraumaTypeAny.setEnabled)
        QtCore.QObject.connect(self.chkTraumaTypeAny,
                               QtCore.SIGNAL(_fromUtf8("toggled(bool)")),
                               self.cmbTraumaType.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(ReportPersonSickListSetupDialog)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtBegDate,
                                                    self.edtEndDate)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtEndDate,
                                                    self.cmbEventPurpose)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventPurpose,
                                                    self.cmbEventType)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventType,
                                                    self.cmbOrgStructure)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbOrgStructure,
                                                    self.cmbSpeciality)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbSpeciality,
                                                    self.cmbPerson)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbPerson,
                                                    self.cmbWorkOrganisation)
        ReportPersonSickListSetupDialog.setTabOrder(
            self.cmbWorkOrganisation, self.btnSelectWorkOrganisation)
        ReportPersonSickListSetupDialog.setTabOrder(
            self.btnSelectWorkOrganisation, self.cmbSex)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbSex,
                                                    self.edtAgeFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeFrom,
                                                    self.edtAgeTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeTo,
                                                    self.chkArea)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkArea, self.cmbArea)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbArea,
                                                    self.cmbMKBFilter)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBFilter,
                                                    self.edtMKBFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBFrom,
                                                    self.edtMKBTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBTo,
                                                    self.cmbMKBExFilter)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBExFilter,
                                                    self.edtMKBExFrom)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExFrom,
                                                    self.edtMKBExTo)
        ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExTo,
                                                    self.cmbCharacterClass)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbCharacterClass,
                                                    self.chkOnlyFirstTime)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkOnlyFirstTime,
                                                    self.chkAccountAccomp)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkAccountAccomp,
                                                    self.chkTraumaType)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaType,
                                                    self.chkTraumaTypeAny)
        ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaTypeAny,
                                                    self.cmbTraumaType)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbTraumaType,
                                                    self.cmbLocality)
        ReportPersonSickListSetupDialog.setTabOrder(self.cmbLocality,
                                                    self.buttonBox)

    def retranslateUi(self, ReportPersonSickListSetupDialog):
        ReportPersonSickListSetupDialog.setWindowTitle(
            _translate("ReportPersonSickListSetupDialog", "параметры отчёта",
                       None))
        self.cmbMKBFilter.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Игнор.", None))
        self.cmbMKBFilter.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Интервал", None))
        self.edtMKBFrom.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBFrom.setText(
            _translate("ReportPersonSickListSetupDialog", "A.", None))
        self.edtMKBTo.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBTo.setText(
            _translate("ReportPersonSickListSetupDialog", "Z99.9", None))
        self.cmbMKBExFilter.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Игнор.", None))
        self.cmbMKBExFilter.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Интервал", None))
        self.edtMKBExFrom.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBExFrom.setText(
            _translate("ReportPersonSickListSetupDialog", "A.", None))
        self.edtMKBExTo.setInputMask(
            _translate("ReportPersonSickListSetupDialog", "a00.00; ", None))
        self.edtMKBExTo.setText(
            _translate("ReportPersonSickListSetupDialog", "Z99.9", None))
        self.lblAgeTo.setText(
            _translate("ReportPersonSickListSetupDialog", "по", None))
        self.lblAgeYears.setText(
            _translate("ReportPersonSickListSetupDialog", "лет", None))
        self.cmbLocality.setItemText(
            0,
            _translate("ReportPersonSickListSetupDialog", "Не учитывать",
                       None))
        self.cmbLocality.setItemText(
            1,
            _translate("ReportPersonSickListSetupDialog", "Городские жители",
                       None))
        self.cmbLocality.setItemText(
            2,
            _translate("ReportPersonSickListSetupDialog", "Сельские жители",
                       None))
        self.chkAccountAccomp.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Учитывать сопутствующие", None))
        self.lblOrgStructure.setText(
            _translate("ReportPersonSickListSetupDialog", "&Подразделение",
                       None))
        self.lblSocStatusType.setText(
            _translate("ReportPersonSickListSetupDialog", "Тип соц.статуса",
                       None))
        self.chkOnlyFirstTime.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Только впервые выявленные", None))
        self.lblLocality.setText(
            _translate("ReportPersonSickListSetupDialog", "Местность", None))
        self.lblMKB.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Коды диагнозов по &МКБ", None))
        self.lblSex.setText(
            _translate("ReportPersonSickListSetupDialog", "По&л", None))
        self.lblArea.setText(
            _translate("ReportPersonSickListSetupDialog", "Те&рритория", None))
        self.lblMKBEx.setText(
            _translate("ReportPersonSickListSetupDialog", "В сочетании с",
                       None))
        self.lblPerson.setText(
            _translate("ReportPersonSickListSetupDialog", "&Врач", None))
        self.lblSocStatusClass.setText(
            _translate("ReportPersonSickListSetupDialog", "Класс соц.статуса",
                       None))
        self.chkArea.setText(
            _translate("ReportPersonSickListSetupDialog", "Учитывать адрес",
                       None))
        self.btnSelectWorkOrganisation.setText(
            _translate("ReportPersonSickListSetupDialog", "...", None))
        self.cmbPerson.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.cmbPerson.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Врач", None))
        self.cmbEventType.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.lblEventPurpose.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "&Назначение обращения", None))
        self.chkTraumaType.setText(
            _translate("ReportPersonSickListSetupDialog", "Тип травмы", None))
        self.lblSpeciality.setText(
            _translate("ReportPersonSickListSetupDialog", "&Специальность",
                       None))
        self.lblEventType.setText(
            _translate("ReportPersonSickListSetupDialog", "&Тип обращения",
                       None))
        self.cmbEventPurpose.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.lblEndDate.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Дата &окончания периода", None))
        self.cmbSpeciality.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.cmbCharacterClass.setWhatsThis(
            _translate(
                "ReportPersonSickListSetupDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None))
        self.cmbCharacterClass.setItemText(
            0, _translate("ReportPersonSickListSetupDialog", "Любой", None))
        self.cmbCharacterClass.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "Острый", None))
        self.cmbCharacterClass.setItemText(
            2,
            _translate("ReportPersonSickListSetupDialog", "Хронический", None))
        self.cmbCharacterClass.setItemText(
            3,
            _translate("ReportPersonSickListSetupDialog",
                       "Острый или хронический", None))
        self.cmbCharacterClass.setItemText(
            4, _translate("ReportPersonSickListSetupDialog", "Фактор", None))
        self.lblWorkOrganisation.setText(
            _translate("ReportPersonSickListSetupDialog", "Занятость", None))
        self.chkTraumaTypeAny.setText(
            _translate("ReportPersonSickListSetupDialog", "Любой", None))
        self.lblBegDate.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Дата &начала периода", None))
        self.lblDiseaseCharacter.setText(
            _translate("ReportPersonSickListSetupDialog", "&Характер", None))
        self.cmbSex.setItemText(
            1, _translate("ReportPersonSickListSetupDialog", "М", None))
        self.cmbSex.setItemText(
            2, _translate("ReportPersonSickListSetupDialog", "Ж", None))
        self.lblAge.setText(
            _translate("ReportPersonSickListSetupDialog", "Во&зраст с", None))
        self.chkVisitEmergency.setText(
            _translate("ReportPersonSickListSetupDialog",
                       "Учитывать посещения СМП", None))
        self.chkPeriod.setText(
            _translate("ReportPersonSickListSetupDialog", "За период", None))
예제 #15
0
class Ui_CashBookDialog(object):
    def setupUi(self, CashBookDialog):
        CashBookDialog.setObjectName(_fromUtf8("CashBookDialog"))
        CashBookDialog.resize(718, 676)
        CashBookDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(CashBookDialog)
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setMargin(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(CashBookDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabBook = QtGui.QWidget()
        self.tabBook.setObjectName(_fromUtf8("tabBook"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabBook)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.splitterBook = QtGui.QSplitter(self.tabBook)
        self.splitterBook.setOrientation(QtCore.Qt.Horizontal)
        self.splitterBook.setChildrenCollapsible(False)
        self.splitterBook.setObjectName(_fromUtf8("splitterBook"))
        self.grpBookFilter = QtGui.QGroupBox(self.splitterBook)
        self.grpBookFilter.setObjectName(_fromUtf8("grpBookFilter"))
        self.gridLayout = QtGui.QGridLayout(self.grpBookFilter)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblFilterBegDate = QtGui.QLabel(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFilterBegDate.sizePolicy().hasHeightForWidth())
        self.lblFilterBegDate.setSizePolicy(sizePolicy)
        self.lblFilterBegDate.setObjectName(_fromUtf8("lblFilterBegDate"))
        self.gridLayout.addWidget(self.lblFilterBegDate, 0, 0, 1, 1)
        self.edtFilterBegDate = CDateEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegDate.setSizePolicy(sizePolicy)
        self.edtFilterBegDate.setObjectName(_fromUtf8("edtFilterBegDate"))
        self.gridLayout.addWidget(self.edtFilterBegDate, 0, 1, 1, 1)
        self.lblFilterEndDate = QtGui.QLabel(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFilterEndDate.sizePolicy().hasHeightForWidth())
        self.lblFilterEndDate.setSizePolicy(sizePolicy)
        self.lblFilterEndDate.setObjectName(_fromUtf8("lblFilterEndDate"))
        self.gridLayout.addWidget(self.lblFilterEndDate, 1, 0, 1, 1)
        self.edtFilterEndDate = CDateEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterEndDate.sizePolicy().hasHeightForWidth())
        self.edtFilterEndDate.setSizePolicy(sizePolicy)
        self.edtFilterEndDate.setObjectName(_fromUtf8("edtFilterEndDate"))
        self.gridLayout.addWidget(self.edtFilterEndDate, 1, 1, 1, 1)
        self.lblFilterCashBox = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashBox.setObjectName(_fromUtf8("lblFilterCashBox"))
        self.gridLayout.addWidget(self.lblFilterCashBox, 2, 0, 1, 1)
        self.edtFilterCashBox = QtGui.QLineEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterCashBox.sizePolicy().hasHeightForWidth())
        self.edtFilterCashBox.setSizePolicy(sizePolicy)
        self.edtFilterCashBox.setObjectName(_fromUtf8("edtFilterCashBox"))
        self.gridLayout.addWidget(self.edtFilterCashBox, 2, 1, 1, 1)
        self.lblFilterCashKeeper = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashKeeper.setObjectName(
            _fromUtf8("lblFilterCashKeeper"))
        self.gridLayout.addWidget(self.lblFilterCashKeeper, 3, 0, 1, 1)
        self.cmbFilterCashKeeper = CPersonComboBoxEx(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterCashKeeper.sizePolicy().hasHeightForWidth())
        self.cmbFilterCashKeeper.setSizePolicy(sizePolicy)
        self.cmbFilterCashKeeper.setObjectName(
            _fromUtf8("cmbFilterCashKeeper"))
        self.gridLayout.addWidget(self.cmbFilterCashKeeper, 3, 1, 1, 1)
        self.lblFilterCashOperation = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashOperation.setObjectName(
            _fromUtf8("lblFilterCashOperation"))
        self.gridLayout.addWidget(self.lblFilterCashOperation, 4, 0, 1, 1)
        self.cmbFilterCashOperation = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterCashOperation.sizePolicy().hasHeightForWidth())
        self.cmbFilterCashOperation.setSizePolicy(sizePolicy)
        self.cmbFilterCashOperation.setObjectName(
            _fromUtf8("cmbFilterCashOperation"))
        self.gridLayout.addWidget(self.cmbFilterCashOperation, 4, 1, 1, 1)
        self.lblFilterEventPurpose = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterEventPurpose.setObjectName(
            _fromUtf8("lblFilterEventPurpose"))
        self.gridLayout.addWidget(self.lblFilterEventPurpose, 5, 0, 1, 1)
        self.cmbFilterEventPurpose = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEventPurpose.sizePolicy().hasHeightForWidth())
        self.cmbFilterEventPurpose.setSizePolicy(sizePolicy)
        self.cmbFilterEventPurpose.setObjectName(
            _fromUtf8("cmbFilterEventPurpose"))
        self.gridLayout.addWidget(self.cmbFilterEventPurpose, 5, 1, 1, 1)
        self.lblFilterEventType = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterEventType.setObjectName(_fromUtf8("lblFilterEventType"))
        self.gridLayout.addWidget(self.lblFilterEventType, 6, 0, 1, 1)
        self.cmbFilterEventType = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEventType.sizePolicy().hasHeightForWidth())
        self.cmbFilterEventType.setSizePolicy(sizePolicy)
        self.cmbFilterEventType.setObjectName(_fromUtf8("cmbFilterEventType"))
        self.gridLayout.addWidget(self.cmbFilterEventType, 6, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.bbxFilter = QtGui.QDialogButtonBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.bbxFilter.sizePolicy().hasHeightForWidth())
        self.bbxFilter.setSizePolicy(sizePolicy)
        self.bbxFilter.setOrientation(QtCore.Qt.Horizontal)
        self.bbxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.bbxFilter.setCenterButtons(False)
        self.bbxFilter.setObjectName(_fromUtf8("bbxFilter"))
        self.horizontalLayout.addWidget(self.bbxFilter)
        self.gridLayout.addLayout(self.horizontalLayout, 12, 0, 1, 2)
        self.cmbFilterPerson = CPersonComboBoxEx(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterPerson.sizePolicy().hasHeightForWidth())
        self.cmbFilterPerson.setSizePolicy(sizePolicy)
        self.cmbFilterPerson.setObjectName(_fromUtf8("cmbFilterPerson"))
        self.gridLayout.addWidget(self.cmbFilterPerson, 9, 1, 1, 1)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbFilterOrgStructure.setSizePolicy(sizePolicy)
        self.cmbFilterOrgStructure.setObjectName(
            _fromUtf8("cmbFilterOrgStructure"))
        self.gridLayout.addWidget(self.cmbFilterOrgStructure, 8, 1, 1, 1)
        self.lblFilterOrgStructure = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterOrgStructure.setObjectName(
            _fromUtf8("lblFilterOrgStructure"))
        self.gridLayout.addWidget(self.lblFilterOrgStructure, 8, 0, 1, 1)
        self.lblFilterPerson = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterPerson.setObjectName(_fromUtf8("lblFilterPerson"))
        self.gridLayout.addWidget(self.lblFilterPerson, 9, 0, 1, 1)
        self.widget = QtGui.QWidget(self.splitterBook)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblCashItems = CTableView(self.widget)
        self.tblCashItems.setObjectName(_fromUtf8("tblCashItems"))
        self.verticalLayout.addWidget(self.tblCashItems)
        self.groupAccount = QtGui.QGroupBox(self.widget)
        self.groupAccount.setObjectName(_fromUtf8("groupAccount"))
        self._2 = QtGui.QHBoxLayout(self.groupAccount)
        self._2.setSpacing(4)
        self._2.setMargin(4)
        self._2.setObjectName(_fromUtf8("_2"))
        self.lblCashItemsCount = QtGui.QLabel(self.groupAccount)
        self.lblCashItemsCount.setObjectName(_fromUtf8("lblCashItemsCount"))
        self._2.addWidget(self.lblCashItemsCount)
        self.edtCashItemsCount = QtGui.QLineEdit(self.groupAccount)
        self.edtCashItemsCount.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtCashItemsCount.setAlignment(QtCore.Qt.AlignRight)
        self.edtCashItemsCount.setReadOnly(True)
        self.edtCashItemsCount.setObjectName(_fromUtf8("edtCashItemsCount"))
        self._2.addWidget(self.edtCashItemsCount)
        self.lblIncome = QtGui.QLabel(self.groupAccount)
        self.lblIncome.setObjectName(_fromUtf8("lblIncome"))
        self._2.addWidget(self.lblIncome)
        self.edtIncome = QtGui.QLineEdit(self.groupAccount)
        self.edtIncome.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtIncome.setAlignment(QtCore.Qt.AlignRight)
        self.edtIncome.setReadOnly(True)
        self.edtIncome.setObjectName(_fromUtf8("edtIncome"))
        self._2.addWidget(self.edtIncome)
        self.lblOutcome = QtGui.QLabel(self.groupAccount)
        self.lblOutcome.setObjectName(_fromUtf8("lblOutcome"))
        self._2.addWidget(self.lblOutcome)
        self.edtOutcome = QtGui.QLineEdit(self.groupAccount)
        self.edtOutcome.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtOutcome.setAlignment(QtCore.Qt.AlignRight)
        self.edtOutcome.setReadOnly(True)
        self.edtOutcome.setObjectName(_fromUtf8("edtOutcome"))
        self._2.addWidget(self.edtOutcome)
        self.verticalLayout.addWidget(self.groupAccount)
        self.gridLayout_2.addWidget(self.splitterBook, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabBook, _fromUtf8(""))
        self.tabPayment = QtGui.QWidget()
        self.tabPayment.setObjectName(_fromUtf8("tabPayment"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabPayment)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.splitterPayment = QtGui.QSplitter(self.tabPayment)
        self.splitterPayment.setOrientation(QtCore.Qt.Horizontal)
        self.splitterPayment.setChildrenCollapsible(False)
        self.splitterPayment.setObjectName(_fromUtf8("splitterPayment"))
        self.grpPaymentFilter = QtGui.QGroupBox(self.splitterPayment)
        self.grpPaymentFilter.setObjectName(_fromUtf8("grpPaymentFilter"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpPaymentFilter)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtPaymentFilterBirthDay = CDateEdit(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPaymentFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtPaymentFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtPaymentFilterBirthDay.setObjectName(
            _fromUtf8("edtPaymentFilterBirthDay"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterBirthDay, 6, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem2, 13, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.bbxPaymentFilter = QtGui.QDialogButtonBox(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.bbxPaymentFilter.sizePolicy().hasHeightForWidth())
        self.bbxPaymentFilter.setSizePolicy(sizePolicy)
        self.bbxPaymentFilter.setOrientation(QtCore.Qt.Horizontal)
        self.bbxPaymentFilter.setStandardButtons(
            QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset)
        self.bbxPaymentFilter.setCenterButtons(False)
        self.bbxPaymentFilter.setObjectName(_fromUtf8("bbxPaymentFilter"))
        self.horizontalLayout_2.addWidget(self.bbxPaymentFilter)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 14, 0, 1, 2)
        self.lblPaymentFilterAccountingSystem = QtGui.QLabel(
            self.grpPaymentFilter)
        self.lblPaymentFilterAccountingSystem.setObjectName(
            _fromUtf8("lblPaymentFilterAccountingSystem"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterAccountingSystem, 0,
                                    0, 1, 1)
        self.cmbPaymentFilterAccountingSystem = CRBComboBox(
            self.grpPaymentFilter)
        self.cmbPaymentFilterAccountingSystem.setEnabled(False)
        self.cmbPaymentFilterAccountingSystem.setObjectName(
            _fromUtf8("cmbPaymentFilterAccountingSystem"))
        self.gridLayout_3.addWidget(self.cmbPaymentFilterAccountingSystem, 0,
                                    1, 1, 1)
        self.lblPaymentFilterClientCode = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterClientCode.setObjectName(
            _fromUtf8("lblPaymentFilterClientCode"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterClientCode, 1, 0, 1,
                                    1)
        self.edtPaymentFilterClientCode = QtGui.QLineEdit(
            self.grpPaymentFilter)
        self.edtPaymentFilterClientCode.setObjectName(
            _fromUtf8("edtPaymentFilterClientCode"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterClientCode, 1, 1, 1,
                                    1)
        self.lblPaymentFilterPatrName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterPatrName.setObjectName(
            _fromUtf8("lblPaymentFilterPatrName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterPatrName, 5, 0, 1, 1)
        self.edtPaymentFilterPatrName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterPatrName.setObjectName(
            _fromUtf8("edtPaymentFilterPatrName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterPatrName, 5, 1, 1, 1)
        self.lblPaymentFilterFirstName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterFirstName.setObjectName(
            _fromUtf8("lblPaymentFilterFirstName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterFirstName, 4, 0, 1, 1)
        self.edtPaymentFilterFirstName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterFirstName.setObjectName(
            _fromUtf8("edtPaymentFilterFirstName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterFirstName, 4, 1, 1, 1)
        self.edtPaymentFilterLastName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterLastName.setObjectName(
            _fromUtf8("edtPaymentFilterLastName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterLastName, 3, 1, 1, 1)
        self.lblPaymentFilterLastName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterLastName.setObjectName(
            _fromUtf8("lblPaymentFilterLastName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterLastName, 3, 0, 1, 1)
        self.lblPaymentFilterBirthDay = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterBirthDay.setObjectName(
            _fromUtf8("lblPaymentFilterBirthDay"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterBirthDay, 6, 0, 1, 1)
        self.line = QtGui.QFrame(self.grpPaymentFilter)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_3.addWidget(self.line, 8, 0, 1, 2)
        self.lblPaymentFilterEventId = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterEventId.setObjectName(
            _fromUtf8("lblPaymentFilterEventId"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterEventId, 11, 0, 1, 1)
        self.lblPaymentFilterExternalEventId = QtGui.QLabel(
            self.grpPaymentFilter)
        self.lblPaymentFilterExternalEventId.setObjectName(
            _fromUtf8("lblPaymentFilterExternalEventId"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterExternalEventId, 12,
                                    0, 1, 1)
        self.edtPaymentFilterEventId = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterEventId.setObjectName(
            _fromUtf8("edtPaymentFilterEventId"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterEventId, 11, 1, 1, 1)
        self.edtPaymentFilterExternalEventId = QtGui.QLineEdit(
            self.grpPaymentFilter)
        self.edtPaymentFilterExternalEventId.setObjectName(
            _fromUtf8("edtPaymentFilterExternalEventId"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterExternalEventId, 12,
                                    1, 1, 1)
        self.cmbPaymentFilterSex = QtGui.QComboBox(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPaymentFilterSex.sizePolicy().hasHeightForWidth())
        self.cmbPaymentFilterSex.setSizePolicy(sizePolicy)
        self.cmbPaymentFilterSex.setObjectName(
            _fromUtf8("cmbPaymentFilterSex"))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.cmbPaymentFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbPaymentFilterSex, 7, 1, 1, 1)
        self.lblPaymentFilterSex = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterSex.setObjectName(
            _fromUtf8("lblPaymentFilterSex"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterSex, 7, 0, 1, 1)
        self.splitter = QtGui.QSplitter(self.splitterPayment)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.txtClientInfoBrowser = CTextBrowser(self.splitter)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setReadOnly(True)
        self.txtClientInfoBrowser.setTextInteractionFlags(
            QtCore.Qt.TextBrowserInteraction)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tblClients = CTableView(self.splitter)
        self.tblClients.setObjectName(_fromUtf8("tblClients"))
        self.tblEvents = CTableView(self.splitter)
        self.tblEvents.setObjectName(_fromUtf8("tblEvents"))
        self.gridLayout_4.addWidget(self.splitterPayment, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPayment, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.buttonBox = QtGui.QDialogButtonBox(CashBookDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.lblFilterBegDate.setBuddy(self.edtFilterBegDate)
        self.lblFilterEndDate.setBuddy(self.edtFilterEndDate)
        self.lblFilterCashBox.setBuddy(self.edtFilterCashBox)
        self.lblFilterCashKeeper.setBuddy(self.cmbFilterCashKeeper)
        self.lblFilterCashOperation.setBuddy(self.cmbFilterCashOperation)
        self.lblFilterEventPurpose.setBuddy(self.cmbFilterEventPurpose)
        self.lblFilterEventType.setBuddy(self.cmbFilterEventType)
        self.lblFilterOrgStructure.setBuddy(self.cmbFilterOrgStructure)
        self.lblFilterPerson.setBuddy(self.cmbFilterPerson)
        self.lblCashItemsCount.setBuddy(self.edtCashItemsCount)
        self.lblIncome.setBuddy(self.edtIncome)
        self.lblOutcome.setBuddy(self.edtOutcome)
        self.lblPaymentFilterAccountingSystem.setBuddy(
            self.cmbPaymentFilterAccountingSystem)
        self.lblPaymentFilterClientCode.setBuddy(
            self.edtPaymentFilterClientCode)
        self.lblPaymentFilterPatrName.setBuddy(self.edtPaymentFilterPatrName)
        self.lblPaymentFilterFirstName.setBuddy(self.edtPaymentFilterFirstName)
        self.lblPaymentFilterLastName.setBuddy(self.edtPaymentFilterLastName)
        self.lblPaymentFilterBirthDay.setBuddy(self.edtPaymentFilterBirthDay)
        self.lblPaymentFilterEventId.setBuddy(self.edtPaymentFilterEventId)
        self.lblPaymentFilterExternalEventId.setBuddy(
            self.edtPaymentFilterExternalEventId)

        self.retranslateUi(CashBookDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               CashBookDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               CashBookDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CashBookDialog)
        CashBookDialog.setTabOrder(self.tabWidget, self.edtFilterBegDate)
        CashBookDialog.setTabOrder(self.edtFilterBegDate,
                                   self.edtFilterEndDate)
        CashBookDialog.setTabOrder(self.edtFilterEndDate,
                                   self.edtFilterCashBox)
        CashBookDialog.setTabOrder(self.edtFilterCashBox,
                                   self.cmbFilterCashKeeper)
        CashBookDialog.setTabOrder(self.cmbFilterCashKeeper,
                                   self.cmbFilterCashOperation)
        CashBookDialog.setTabOrder(self.cmbFilterCashOperation,
                                   self.cmbFilterEventPurpose)
        CashBookDialog.setTabOrder(self.cmbFilterEventPurpose,
                                   self.cmbFilterEventType)
        CashBookDialog.setTabOrder(self.cmbFilterEventType,
                                   self.cmbFilterOrgStructure)
        CashBookDialog.setTabOrder(self.cmbFilterOrgStructure,
                                   self.cmbFilterPerson)
        CashBookDialog.setTabOrder(self.cmbFilterPerson, self.bbxFilter)
        CashBookDialog.setTabOrder(self.bbxFilter, self.tblCashItems)
        CashBookDialog.setTabOrder(self.tblCashItems,
                                   self.cmbPaymentFilterAccountingSystem)
        CashBookDialog.setTabOrder(self.cmbPaymentFilterAccountingSystem,
                                   self.edtPaymentFilterClientCode)
        CashBookDialog.setTabOrder(self.edtPaymentFilterClientCode,
                                   self.edtPaymentFilterLastName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterLastName,
                                   self.edtPaymentFilterFirstName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterFirstName,
                                   self.edtPaymentFilterPatrName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterPatrName,
                                   self.edtPaymentFilterBirthDay)
        CashBookDialog.setTabOrder(self.edtPaymentFilterBirthDay,
                                   self.cmbPaymentFilterSex)
        CashBookDialog.setTabOrder(self.cmbPaymentFilterSex,
                                   self.edtPaymentFilterEventId)
        CashBookDialog.setTabOrder(self.edtPaymentFilterEventId,
                                   self.edtPaymentFilterExternalEventId)
        CashBookDialog.setTabOrder(self.edtPaymentFilterExternalEventId,
                                   self.bbxPaymentFilter)
        CashBookDialog.setTabOrder(self.bbxPaymentFilter,
                                   self.txtClientInfoBrowser)
        CashBookDialog.setTabOrder(self.txtClientInfoBrowser, self.tblClients)
        CashBookDialog.setTabOrder(self.tblClients, self.tblEvents)
        CashBookDialog.setTabOrder(self.tblEvents, self.buttonBox)

    def retranslateUi(self, CashBookDialog):
        CashBookDialog.setWindowTitle(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Журнал кассовых операций", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.grpBookFilter.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterBegDate.setText(
            QtGui.QApplication.translate("CashBookDialog", "&С", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEndDate.setText(
            QtGui.QApplication.translate("CashBookDialog", "&По", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashBox.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Касса", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashKeeper.setText(
            QtGui.QApplication.translate("CashBookDialog", "Касси&р", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashOperation.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Кассовая &операция", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEventPurpose.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEventType.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Тип обращения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblFilterOrgStructure.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Подразделение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblFilterPerson.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupAccount.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Итого", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCashItemsCount.setText(
            QtGui.QApplication.translate("CashBookDialog", "Позиций", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblIncome.setText(
            QtGui.QApplication.translate("CashBookDialog", "Приход", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOutcome.setText(
            QtGui.QApplication.translate("CashBookDialog", "Расход", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabBook),
            QtGui.QApplication.translate("CashBookDialog", "Журнал", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.grpPaymentFilter.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterAccountingSystem.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Тип идентификатора", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterClientCode.setText(
            QtGui.QApplication.translate("CashBookDialog", "Код пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterPatrName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Отчество", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterFirstName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Имя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterLastName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Фамилия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterBirthDay.setText(
            QtGui.QApplication.translate("CashBookDialog", "Дата рождения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterEventId.setText(
            QtGui.QApplication.translate("CashBookDialog", "Код события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterExternalEventId.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Внешний код события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPaymentFilterSex.setItemText(
            1,
            QtGui.QApplication.translate("CashBookDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPaymentFilterSex.setItemText(
            2,
            QtGui.QApplication.translate("CashBookDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterSex.setText(
            QtGui.QApplication.translate("CashBookDialog", "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.txtClientInfoBrowser.setHtml(
            QtGui.QApplication.translate(
                "CashBookDialog",
                "<!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:\'Tahoma\'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"></p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabPayment),
            QtGui.QApplication.translate("CashBookDialog", "Расчёт", None,
                                         QtGui.QApplication.UnicodeUTF8))
class Ui_ReportInvalidMKBEventsListSetup(object):
    def setupUi(self, ReportInvalidMKBEventsListSetup):
        ReportInvalidMKBEventsListSetup.setObjectName(
            _fromUtf8("ReportInvalidMKBEventsListSetup"))
        ReportInvalidMKBEventsListSetup.setWindowModality(
            QtCore.Qt.ApplicationModal)
        ReportInvalidMKBEventsListSetup.resize(436, 156)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportInvalidMKBEventsListSetup.sizePolicy().hasHeightForWidth())
        ReportInvalidMKBEventsListSetup.setSizePolicy(sizePolicy)
        ReportInvalidMKBEventsListSetup.setSizeGripEnabled(True)
        ReportInvalidMKBEventsListSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportInvalidMKBEventsListSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(
            ReportInvalidMKBEventsListSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 5)
        self.lblEndDate = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 3, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportInvalidMKBEventsListSetup)
        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, 6)
        spacerItem1 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 7, 0, 1, 6)
        self.lblOrgStructure = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1)
        self.lblFinance = QtGui.QLabel(ReportInvalidMKBEventsListSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 6, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportInvalidMKBEventsListSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportInvalidMKBEventsListSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem2, 1, 3, 1, 3)
        self.cmbFinance = CRBComboBox(ReportInvalidMKBEventsListSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 6, 1, 1, 5)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportInvalidMKBEventsListSetup):
        ReportInvalidMKBEventsListSetup.setWindowTitle(
            _translate("ReportInvalidMKBEventsListSetup", "параметры отчёта",
                       None))
        self.lblBegDate.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Дата &окончания периода", None))
        self.lblOrgStructure.setText(
            _translate("ReportInvalidMKBEventsListSetup", "Подразделение",
                       None))
        self.lblFinance.setText(
            _translate("ReportInvalidMKBEventsListSetup",
                       "Тип финанисирования", None))
예제 #17
0
class Ui_PersonVisitsSetupDialog(object):
    def setupUi(self, PersonVisitsSetupDialog):
        PersonVisitsSetupDialog.setObjectName(
            _fromUtf8("PersonVisitsSetupDialog"))
        PersonVisitsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        PersonVisitsSetupDialog.resize(341, 317)
        PersonVisitsSetupDialog.setSizeGripEnabled(True)
        self.gridlayout = QtGui.QGridLayout(PersonVisitsSetupDialog)
        self.gridlayout.setMargin(4)
        self.gridlayout.setSpacing(4)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.lblBegDate = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(PersonVisitsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 2)
        self.lblEndDate = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(PersonVisitsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 2)
        self.lblPerson = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(PersonVisitsSetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridlayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridlayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 4)
        self.lblEventType = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridlayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.cmbEventType = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridlayout.addWidget(self.cmbEventType, 6, 1, 1, 4)
        self.lblScene = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblScene.setObjectName(_fromUtf8("lblScene"))
        self.gridlayout.addWidget(self.lblScene, 7, 0, 1, 1)
        self.cmbScene = CRBComboBox(PersonVisitsSetupDialog)
        self.cmbScene.setObjectName(_fromUtf8("cmbScene"))
        self.gridlayout.addWidget(self.cmbScene, 7, 1, 1, 4)
        self.lblWorkOrganisation = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblWorkOrganisation.setObjectName(
            _fromUtf8("lblWorkOrganisation"))
        self.gridlayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1)
        self.cmbWorkOrganisation = COrgComboBox(PersonVisitsSetupDialog)
        self.cmbWorkOrganisation.setObjectName(
            _fromUtf8("cmbWorkOrganisation"))
        self.gridlayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3)
        self.btnSelectWorkOrganisation = QtGui.QToolButton(
            PersonVisitsSetupDialog)
        self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow)
        self.btnSelectWorkOrganisation.setObjectName(
            _fromUtf8("btnSelectWorkOrganisation"))
        self.gridlayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1)
        self.lblSex = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(PersonVisitsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridlayout.addWidget(self.cmbSex, 9, 1, 1, 1)
        self.lblAge = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridlayout.addWidget(self.lblAge, 10, 0, 1, 1)
        self.frmAge = QtGui.QFrame(PersonVisitsSetupDialog)
        self.frmAge.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmAge.setFrameShadow(QtGui.QFrame.Raised)
        self.frmAge.setObjectName(_fromUtf8("frmAge"))
        self.hboxlayout = QtGui.QHBoxLayout(self.frmAge)
        self.hboxlayout.setSpacing(4)
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.edtAgeFrom = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeFrom.sizePolicy().hasHeightForWidth())
        self.edtAgeFrom.setSizePolicy(sizePolicy)
        self.edtAgeFrom.setMaximum(150)
        self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom"))
        self.hboxlayout.addWidget(self.edtAgeFrom)
        self.lblAgeTo = QtGui.QLabel(self.frmAge)
        self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo"))
        self.hboxlayout.addWidget(self.lblAgeTo)
        self.edtAgeTo = QtGui.QSpinBox(self.frmAge)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeTo.sizePolicy().hasHeightForWidth())
        self.edtAgeTo.setSizePolicy(sizePolicy)
        self.edtAgeTo.setMaximum(150)
        self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo"))
        self.hboxlayout.addWidget(self.edtAgeTo)
        self.lblAgeYears = QtGui.QLabel(self.frmAge)
        self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears"))
        self.hboxlayout.addWidget(self.lblAgeYears)
        spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.gridlayout.addWidget(self.frmAge, 10, 1, 1, 4)
        spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem1, 11, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PersonVisitsSetupDialog)
        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, 5)
        self.cmbOrgStructure = COrgStructureComboBox(PersonVisitsSetupDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridlayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(PersonVisitsSetupDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridlayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblPerson.setBuddy(self.cmbPerson)
        self.lblEventPurpose.setBuddy(self.cmbPerson)
        self.lblEventType.setBuddy(self.cmbPerson)
        self.lblScene.setBuddy(self.cmbPerson)
        self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation)
        self.lblSex.setBuddy(self.cmbSex)
        self.lblAge.setBuddy(self.edtAgeFrom)
        self.lblAgeTo.setBuddy(self.edtAgeTo)
        self.lblAgeYears.setBuddy(self.edtAgeTo)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)

        self.retranslateUi(PersonVisitsSetupDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PersonVisitsSetupDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PersonVisitsSetupDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PersonVisitsSetupDialog)
        PersonVisitsSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        PersonVisitsSetupDialog.setTabOrder(self.edtEndDate,
                                            self.cmbOrgStructure)
        PersonVisitsSetupDialog.setTabOrder(self.cmbOrgStructure,
                                            self.cmbPerson)
        PersonVisitsSetupDialog.setTabOrder(self.cmbPerson,
                                            self.cmbEventPurpose)
        PersonVisitsSetupDialog.setTabOrder(self.cmbEventPurpose,
                                            self.cmbEventType)
        PersonVisitsSetupDialog.setTabOrder(self.cmbEventType, self.cmbScene)
        PersonVisitsSetupDialog.setTabOrder(self.cmbScene,
                                            self.cmbWorkOrganisation)
        PersonVisitsSetupDialog.setTabOrder(self.cmbWorkOrganisation,
                                            self.btnSelectWorkOrganisation)
        PersonVisitsSetupDialog.setTabOrder(self.btnSelectWorkOrganisation,
                                            self.cmbSex)
        PersonVisitsSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom)
        PersonVisitsSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo)
        PersonVisitsSetupDialog.setTabOrder(self.edtAgeTo, self.buttonBox)

    def retranslateUi(self, PersonVisitsSetupDialog):
        PersonVisitsSetupDialog.setWindowTitle(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPerson.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "&Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPerson.setItemText(
            0,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Тип обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblScene.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "&Место",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblWorkOrganisation.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Занятость", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnSelectWorkOrganisation.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "...",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "По&л",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "Во&зраст с", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeTo.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "по", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAgeYears.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog", "лет",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("PersonVisitsSetupDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #18
0
class Ui_JobTicketEditorDialog(object):
    def setupUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setObjectName(_fromUtf8("JobTicketEditorDialog"))
        JobTicketEditorDialog.resize(1069, 654)
        JobTicketEditorDialog.setSizeGripEnabled(False)
        self.verticalLayout_2 = QtGui.QVBoxLayout(JobTicketEditorDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter_2 = QtGui.QSplitter(JobTicketEditorDialog)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.txtClientInfoBrowser = CTextBrowser(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setReadOnly(True)
        self.txtClientInfoBrowser.setTextInteractionFlags(
            QtCore.Qt.TextBrowserInteraction)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.frmCommon = QtGui.QFrame(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmCommon.sizePolicy().hasHeightForWidth())
        self.frmCommon.setSizePolicy(sizePolicy)
        self.frmCommon.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmCommon.setFrameShadow(QtGui.QFrame.Plain)
        self.frmCommon.setLineWidth(0)
        self.frmCommon.setObjectName(_fromUtf8("frmCommon"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frmCommon)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.grpTissue = QtGui.QGroupBox(self.frmCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpTissue.sizePolicy().hasHeightForWidth())
        self.grpTissue.setSizePolicy(sizePolicy)
        self.grpTissue.setObjectName(_fromUtf8("grpTissue"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpTissue)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblTissueType = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueType.sizePolicy().hasHeightForWidth())
        self.lblTissueType.setSizePolicy(sizePolicy)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_3.addWidget(self.lblTissueType, 1, 0, 1, 2)
        self.cmbTissueType = CRBComboBox(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_3.addWidget(self.cmbTissueType, 1, 2, 1, 1)
        self.lblTissueDateTime = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueDateTime.sizePolicy().hasHeightForWidth())
        self.lblTissueDateTime.setSizePolicy(sizePolicy)
        self.lblTissueDateTime.setObjectName(_fromUtf8("lblTissueDateTime"))
        self.gridLayout_3.addWidget(self.lblTissueDateTime, 1, 3, 1, 1)
        self.edtTissueDate = CDateEdit(self.grpTissue)
        self.edtTissueDate.setCalendarPopup(True)
        self.edtTissueDate.setObjectName(_fromUtf8("edtTissueDate"))
        self.gridLayout_3.addWidget(self.edtTissueDate, 1, 4, 1, 1)
        self.edtTissueTime = QtGui.QTimeEdit(self.grpTissue)
        self.edtTissueTime.setObjectName(_fromUtf8("edtTissueTime"))
        self.gridLayout_3.addWidget(self.edtTissueTime, 1, 5, 1, 1)
        self.lblTissueExternalId = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueExternalId.sizePolicy().hasHeightForWidth())
        self.lblTissueExternalId.setSizePolicy(sizePolicy)
        self.lblTissueExternalId.setObjectName(
            _fromUtf8("lblTissueExternalId"))
        self.gridLayout_3.addWidget(self.lblTissueExternalId, 3, 3, 1, 1)
        self.edtTissueExternalId = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueExternalId.setReadOnly(True)
        self.edtTissueExternalId.setObjectName(
            _fromUtf8("edtTissueExternalId"))
        self.gridLayout_3.addWidget(self.edtTissueExternalId, 3, 4, 1, 2)
        self.lblTissueNote = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueNote.sizePolicy().hasHeightForWidth())
        self.lblTissueNote.setSizePolicy(sizePolicy)
        self.lblTissueNote.setObjectName(_fromUtf8("lblTissueNote"))
        self.gridLayout_3.addWidget(self.lblTissueNote, 5, 0, 1, 2)
        self.edtTissueNote = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueNote.setObjectName(_fromUtf8("edtTissueNote"))
        self.gridLayout_3.addWidget(self.edtTissueNote, 5, 2, 1, 7)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 1, 6, 1, 3)
        self.lblTissueAmount = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueAmount.sizePolicy().hasHeightForWidth())
        self.lblTissueAmount.setSizePolicy(sizePolicy)
        self.lblTissueAmount.setObjectName(_fromUtf8("lblTissueAmount"))
        self.gridLayout_3.addWidget(self.lblTissueAmount, 2, 3, 1, 1)
        self.edtTissueAmount = QtGui.QSpinBox(self.grpTissue)
        self.edtTissueAmount.setMaximum(999999)
        self.edtTissueAmount.setObjectName(_fromUtf8("edtTissueAmount"))
        self.gridLayout_3.addWidget(self.edtTissueAmount, 2, 4, 1, 2)
        self.lblTissyeExecPerson = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissyeExecPerson.sizePolicy().hasHeightForWidth())
        self.lblTissyeExecPerson.setSizePolicy(sizePolicy)
        self.lblTissyeExecPerson.setObjectName(
            _fromUtf8("lblTissyeExecPerson"))
        self.gridLayout_3.addWidget(self.lblTissyeExecPerson, 2, 0, 1, 1)
        self.cmbTissueExecPerson = CPersonComboBoxEx(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueExecPerson.sizePolicy().hasHeightForWidth())
        self.cmbTissueExecPerson.setSizePolicy(sizePolicy)
        self.cmbTissueExecPerson.setObjectName(
            _fromUtf8("cmbTissueExecPerson"))
        self.gridLayout_3.addWidget(self.cmbTissueExecPerson, 2, 2, 1, 1)
        self.lblTissueUnit = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueUnit.sizePolicy().hasHeightForWidth())
        self.lblTissueUnit.setSizePolicy(sizePolicy)
        self.lblTissueUnit.setObjectName(_fromUtf8("lblTissueUnit"))
        self.gridLayout_3.addWidget(self.lblTissueUnit, 3, 0, 1, 1)
        self.cmbTissueUnit = CRBComboBox(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueUnit.sizePolicy().hasHeightForWidth())
        self.cmbTissueUnit.setSizePolicy(sizePolicy)
        self.cmbTissueUnit.setObjectName(_fromUtf8("cmbTissueUnit"))
        self.gridLayout_3.addWidget(self.cmbTissueUnit, 3, 2, 1, 1)
        self.lblTissueNumber = QtGui.QLabel(self.grpTissue)
        self.lblTissueNumber.setObjectName(_fromUtf8("lblTissueNumber"))
        self.gridLayout_3.addWidget(self.lblTissueNumber, 3, 7, 1, 1)
        self.edtTissueNumber = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueNumber.setReadOnly(True)
        self.edtTissueNumber.setObjectName(_fromUtf8("edtTissueNumber"))
        self.gridLayout_3.addWidget(self.edtTissueNumber, 3, 8, 1, 1)
        self.btnPrintTissueLabel = QtGui.QPushButton(self.grpTissue)
        self.btnPrintTissueLabel.setEnabled(False)
        self.btnPrintTissueLabel.setObjectName(
            _fromUtf8("btnPrintTissueLabel"))
        self.gridLayout_3.addWidget(self.btnPrintTissueLabel, 3, 6, 1, 1)
        self.verticalLayout_3.addWidget(self.grpTissue)
        self.grpMain = QtGui.QGroupBox(self.frmCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpMain.sizePolicy().hasHeightForWidth())
        self.grpMain.setSizePolicy(sizePolicy)
        self.grpMain.setObjectName(_fromUtf8("grpMain"))
        self.gridLayout = QtGui.QGridLayout(self.grpMain)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDatetime.sizePolicy().hasHeightForWidth())
        self.lblDatetime.setSizePolicy(sizePolicy)
        self.lblDatetime.setObjectName(_fromUtf8("lblDatetime"))
        self.gridLayout.addWidget(self.lblDatetime, 0, 0, 1, 1)
        self.lblDatetimeValue = QtGui.QLabel(self.grpMain)
        self.lblDatetimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblDatetimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblDatetimeValue.setObjectName(_fromUtf8("lblDatetimeValue"))
        self.gridLayout.addWidget(self.lblDatetimeValue, 0, 1, 1, 1)
        self.lblBegDateTime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDateTime.sizePolicy().hasHeightForWidth())
        self.lblBegDateTime.setSizePolicy(sizePolicy)
        self.lblBegDateTime.setObjectName(_fromUtf8("lblBegDateTime"))
        self.gridLayout.addWidget(self.lblBegDateTime, 0, 2, 1, 1)
        self.edtBegDate = CDateEdit(self.grpMain)
        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.edtBegTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegTime.sizePolicy().hasHeightForWidth())
        self.edtBegTime.setSizePolicy(sizePolicy)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCurrentSectionIndex(0)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 0, 4, 1, 1)
        self.btnSetBegDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetBegDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetBegDateTime.setObjectName(_fromUtf8("btnSetBegDateTime"))
        self.gridLayout.addWidget(self.btnSetBegDateTime, 0, 5, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 1, 0, 1, 1)
        self.lblOrgStructureValue = QtGui.QLabel(self.grpMain)
        self.lblOrgStructureValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblOrgStructureValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblOrgStructureValue.setObjectName(
            _fromUtf8("lblOrgStructureValue"))
        self.gridLayout.addWidget(self.lblOrgStructureValue, 1, 1, 1, 1)
        self.lblEndDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDatetime.sizePolicy().hasHeightForWidth())
        self.lblEndDatetime.setSizePolicy(sizePolicy)
        self.lblEndDatetime.setObjectName(_fromUtf8("lblEndDatetime"))
        self.gridLayout.addWidget(self.lblEndDatetime, 1, 2, 1, 1)
        self.edtEndDate = CDateEdit(self.grpMain)
        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)
        self.edtEndTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndTime.sizePolicy().hasHeightForWidth())
        self.edtEndTime.setSizePolicy(sizePolicy)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCurrentSectionIndex(0)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 1, 4, 1, 1)
        self.btnSetEndDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetEndDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetEndDateTime.setObjectName(_fromUtf8("btnSetEndDateTime"))
        self.gridLayout.addWidget(self.btnSetEndDateTime, 1, 5, 1, 1)
        self.lblJobType = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblJobType.sizePolicy().hasHeightForWidth())
        self.lblJobType.setSizePolicy(sizePolicy)
        self.lblJobType.setObjectName(_fromUtf8("lblJobType"))
        self.gridLayout.addWidget(self.lblJobType, 2, 0, 1, 1)
        self.lblJobTypeValue = QtGui.QLabel(self.grpMain)
        self.lblJobTypeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblJobTypeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblJobTypeValue.setObjectName(_fromUtf8("lblJobTypeValue"))
        self.gridLayout.addWidget(self.lblJobTypeValue, 2, 1, 1, 1)
        self.lblStatus = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblStatus.sizePolicy().hasHeightForWidth())
        self.lblStatus.setSizePolicy(sizePolicy)
        self.lblStatus.setObjectName(_fromUtf8("lblStatus"))
        self.gridLayout.addWidget(self.lblStatus, 3, 0, 1, 1)
        self.cmbStatus = QtGui.QComboBox(self.grpMain)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 3, 1, 1, 1)
        self.lblLabel = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLabel.sizePolicy().hasHeightForWidth())
        self.lblLabel.setSizePolicy(sizePolicy)
        self.lblLabel.setObjectName(_fromUtf8("lblLabel"))
        self.gridLayout.addWidget(self.lblLabel, 4, 0, 1, 1)
        self.edtLabel = QtGui.QLineEdit(self.grpMain)
        self.edtLabel.setObjectName(_fromUtf8("edtLabel"))
        self.gridLayout.addWidget(self.edtLabel, 4, 1, 1, 5)
        self.lblNote = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblNote.sizePolicy().hasHeightForWidth())
        self.lblNote.setSizePolicy(sizePolicy)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 5, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(self.grpMain)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 5, 1, 1, 5)
        self.verticalLayout_3.addWidget(self.grpMain)
        self.tabWidget = QtGui.QTabWidget(self.splitter_2)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setUsesScrollButtons(True)
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabActions = QtGui.QWidget()
        self.tabActions.setObjectName(_fromUtf8("tabActions"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabActions)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(self.tabActions)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.tblActions = CTableView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblActions.sizePolicy().hasHeightForWidth())
        self.tblActions.setSizePolicy(sizePolicy)
        self.tblActions.setObjectName(_fromUtf8("tblActions"))
        self.widget = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.widget)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblProps = CActionPropertiesTableView(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblProps.sizePolicy().hasHeightForWidth())
        self.tblProps.setSizePolicy(sizePolicy)
        self.tblProps.setObjectName(_fromUtf8("tblProps"))
        self.gridLayout_2.addWidget(self.tblProps, 0, 0, 1, 11)
        self.verticalLayout.addWidget(self.splitter)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.btnSaveAsTemplate = QtGui.QPushButton(self.tabActions)
        self.btnSaveAsTemplate.setObjectName(_fromUtf8("btnSaveAsTemplate"))
        self.gridLayout_5.addWidget(self.btnSaveAsTemplate, 0, 2, 1, 1)
        self.btnCloneValues = QtGui.QPushButton(self.tabActions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnCloneValues.sizePolicy().hasHeightForWidth())
        self.btnCloneValues.setSizePolicy(sizePolicy)
        self.btnCloneValues.setObjectName(_fromUtf8("btnCloneValues"))
        self.gridLayout_5.addWidget(self.btnCloneValues, 0, 3, 1, 1)
        self.btnFillPropertiesValue = QtGui.QPushButton(self.tabActions)
        self.btnFillPropertiesValue.setObjectName(
            _fromUtf8("btnFillPropertiesValue"))
        self.gridLayout_5.addWidget(self.btnFillPropertiesValue, 0, 4, 1, 1)
        self.btnEditEvent = QtGui.QPushButton(self.tabActions)
        self.btnEditEvent.setObjectName(_fromUtf8("btnEditEvent"))
        self.gridLayout_5.addWidget(self.btnEditEvent, 0, 6, 1, 1)
        self.btnAmbCard = QtGui.QPushButton(self.tabActions)
        self.btnAmbCard.setObjectName(_fromUtf8("btnAmbCard"))
        self.gridLayout_5.addWidget(self.btnAmbCard, 0, 5, 1, 1)
        self.btnShowSnapshots = QtGui.QPushButton(self.tabActions)
        self.btnShowSnapshots.setObjectName(_fromUtf8("btnShowSnapshots"))
        self.gridLayout_5.addWidget(self.btnShowSnapshots, 0, 7, 1, 1)
        self.btnFindSnapshots = QtGui.QPushButton(self.tabActions)
        self.btnFindSnapshots.setObjectName(_fromUtf8("btnFindSnapshots"))
        self.gridLayout_5.addWidget(self.btnFindSnapshots, 0, 8, 1, 1)
        self.btnLoadTemplate = CActionTemplateChooseButton(self.tabActions)
        self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate"))
        self.gridLayout_5.addWidget(self.btnLoadTemplate, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 0, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 10, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_5)
        self.tabWidget.addTab(self.tabActions, _fromUtf8(""))
        self.tabProbes = QtGui.QWidget()
        self.tabProbes.setObjectName(_fromUtf8("tabProbes"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabProbes)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.tblTreeProbe = CJobTicketProbeTreeView(self.tabProbes)
        self.tblTreeProbe.setObjectName(_fromUtf8("tblTreeProbe"))
        self.gridLayout_4.addWidget(self.tblTreeProbe, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabProbes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.splitter_2)
        self.buttonBox = QtGui.QDialogButtonBox(JobTicketEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblTissueDateTime.setBuddy(self.edtTissueDate)
        self.lblTissueExternalId.setBuddy(self.edtTissueExternalId)
        self.lblTissueNote.setBuddy(self.edtTissueNote)
        self.lblTissueAmount.setBuddy(self.edtTissueAmount)
        self.lblTissyeExecPerson.setBuddy(self.cmbTissueExecPerson)
        self.lblTissueUnit.setBuddy(self.cmbTissueUnit)
        self.lblBegDateTime.setBuddy(self.edtBegDate)
        self.lblEndDatetime.setBuddy(self.edtEndDate)
        self.lblStatus.setBuddy(self.cmbStatus)
        self.lblLabel.setBuddy(self.edtLabel)
        self.lblNote.setBuddy(self.edtNote)

        self.retranslateUi(JobTicketEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               JobTicketEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               JobTicketEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(JobTicketEditorDialog)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueType,
                                          self.edtTissueDate)
        JobTicketEditorDialog.setTabOrder(self.edtTissueDate,
                                          self.edtTissueTime)
        JobTicketEditorDialog.setTabOrder(self.edtTissueTime,
                                          self.cmbTissueExecPerson)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueExecPerson,
                                          self.edtTissueAmount)
        JobTicketEditorDialog.setTabOrder(self.edtTissueAmount,
                                          self.cmbTissueUnit)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueUnit,
                                          self.edtTissueExternalId)
        JobTicketEditorDialog.setTabOrder(self.edtTissueExternalId,
                                          self.btnPrintTissueLabel)
        JobTicketEditorDialog.setTabOrder(self.btnPrintTissueLabel,
                                          self.edtTissueNumber)
        JobTicketEditorDialog.setTabOrder(self.edtTissueNumber,
                                          self.edtTissueNote)
        JobTicketEditorDialog.setTabOrder(self.edtTissueNote, self.edtBegDate)
        JobTicketEditorDialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        JobTicketEditorDialog.setTabOrder(self.edtBegTime,
                                          self.btnSetBegDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetBegDateTime,
                                          self.edtEndDate)
        JobTicketEditorDialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        JobTicketEditorDialog.setTabOrder(self.edtEndTime,
                                          self.btnSetEndDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetEndDateTime,
                                          self.cmbStatus)
        JobTicketEditorDialog.setTabOrder(self.cmbStatus, self.edtLabel)
        JobTicketEditorDialog.setTabOrder(self.edtLabel, self.edtNote)
        JobTicketEditorDialog.setTabOrder(self.edtNote, self.tabWidget)
        JobTicketEditorDialog.setTabOrder(self.tabWidget, self.tblActions)
        JobTicketEditorDialog.setTabOrder(self.tblActions, self.tblProps)
        JobTicketEditorDialog.setTabOrder(self.tblProps, self.tblTreeProbe)
        JobTicketEditorDialog.setTabOrder(self.tblTreeProbe, self.buttonBox)

    def retranslateUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setWindowTitle(
            _translate("JobTicketEditorDialog", "ChangeMe!", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "JobTicketEditorDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpTissue.setTitle(
            _translate("JobTicketEditorDialog", "Биоматериал", None))
        self.lblTissueType.setText(
            _translate("JobTicketEditorDialog", "Тип биоматериала", None))
        self.lblTissueDateTime.setText(
            _translate("JobTicketEditorDialog", "Дата и время", None))
        self.lblTissueExternalId.setText(
            _translate("JobTicketEditorDialog", "&Идентификатор", None))
        self.lblTissueNote.setText(
            _translate("JobTicketEditorDialog", "Примечание", None))
        self.lblTissueAmount.setText(
            _translate("JobTicketEditorDialog", "Количество", None))
        self.lblTissyeExecPerson.setText(
            _translate("JobTicketEditorDialog", "Исполнитель", None))
        self.lblTissueUnit.setText(
            _translate("JobTicketEditorDialog", "Ед. измерения", None))
        self.lblTissueNumber.setText(
            _translate("JobTicketEditorDialog", "Номер", None))
        self.btnPrintTissueLabel.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.grpMain.setTitle(
            _translate("JobTicketEditorDialog", "Основная информация", None))
        self.lblDatetime.setText(
            _translate("JobTicketEditorDialog", "Плановые дата и время", None))
        self.lblDatetimeValue.setText(
            _translate("JobTicketEditorDialog", "01.12.2009 19:30", None))
        self.lblBegDateTime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время начала выполнения", None))
        self.edtBegTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.btnSetBegDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.lblOrgStructure.setText(
            _translate("JobTicketEditorDialog", "Подразделение", None))
        self.lblOrgStructureValue.setText(
            _translate("JobTicketEditorDialog", "Лаборатория", None))
        self.lblEndDatetime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время окончания выполнения", None))
        self.edtEndTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.btnSetEndDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.lblJobType.setText(
            _translate("JobTicketEditorDialog", "Работа", None))
        self.lblJobTypeValue.setText(
            _translate("JobTicketEditorDialog", "анализ крови", None))
        self.lblStatus.setText(
            _translate("JobTicketEditorDialog", "Состояние", None))
        self.cmbStatus.setItemText(
            0, _translate("JobTicketEditorDialog", "Ожидание", None))
        self.cmbStatus.setItemText(
            1, _translate("JobTicketEditorDialog", "Выполняется", None))
        self.cmbStatus.setItemText(
            2, _translate("JobTicketEditorDialog", "Закончено", None))
        self.lblLabel.setText(
            _translate("JobTicketEditorDialog", "Отметка", None))
        self.lblNote.setText(
            _translate("JobTicketEditorDialog", "Примечание", None))
        self.btnSaveAsTemplate.setText(
            _translate("JobTicketEditorDialog", "Сохранить шаблон", None))
        self.btnCloneValues.setText(
            _translate("JobTicketEditorDialog", "Размножить значения свойств",
                       None))
        self.btnFillPropertiesValue.setText(
            _translate("JobTicketEditorDialog", "Заполнить значения проб",
                       None))
        self.btnEditEvent.setText(
            _translate("JobTicketEditorDialog", "Перейти в обращение", None))
        self.btnAmbCard.setText(
            _translate("JobTicketEditorDialog", "Медицинская карта", None))
        self.btnShowSnapshots.setText(
            _translate("JobTicketEditorDialog", "Показать снимки", None))
        self.btnFindSnapshots.setText(
            _translate("JobTicketEditorDialog", "Поиск снимков", None))
        self.btnLoadTemplate.setText(
            _translate("JobTicketEditorDialog", "Загрузить шаблон", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabActions),
            _translate("JobTicketEditorDialog", "&Действия", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabProbes),
            _translate("JobTicketEditorDialog", "&Пробы", None))
예제 #19
0
class Ui_ReportF030ruSetup(object):
    def setupUi(self, ReportF030ruSetup):
        ReportF030ruSetup.setObjectName(_fromUtf8("ReportF030ruSetup"))
        ReportF030ruSetup.setWindowModality(QtCore.Qt.ApplicationModal)
        ReportF030ruSetup.resize(483, 209)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportF030ruSetup.sizePolicy().hasHeightForWidth())
        ReportF030ruSetup.setSizePolicy(sizePolicy)
        ReportF030ruSetup.setSizeGripEnabled(True)
        ReportF030ruSetup.setModal(True)
        self.gridLayout = QtGui.QGridLayout(ReportF030ruSetup)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblEndDate = QtGui.QLabel(ReportF030ruSetup)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 3, 0, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(ReportF030ruSetup)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF030ruSetup)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 4)
        spacerItem = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 1, 3, 1, 2)
        self.edtBegDate = CDateEdit(ReportF030ruSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 1, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportF030ruSetup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 3, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 3, 3, 1, 2)
        self.lblBegDate = QtGui.QLabel(ReportF030ruSetup)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.lblBegDate_2 = QtGui.QLabel(ReportF030ruSetup)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 3)
        self.lblFinance = QtGui.QLabel(ReportF030ruSetup)
        self.lblFinance.setObjectName(_fromUtf8("lblFinance"))
        self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportF030ruSetup)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 4, 1, 1, 4)
        self.lblOrgStructure_2 = QtGui.QLabel(ReportF030ruSetup)
        self.lblOrgStructure_2.setObjectName(_fromUtf8("lblOrgStructure_2"))
        self.gridLayout.addWidget(self.lblOrgStructure_2, 8, 0, 1, 1)
        self.cmbRecipeStatus = CRecipeStatusComboBox(ReportF030ruSetup)
        self.cmbRecipeStatus.setObjectName(_fromUtf8("cmbRecipeStatus"))
        self.gridLayout.addWidget(self.cmbRecipeStatus, 8, 1, 1, 4)
        self.btnOk = QtGui.QPushButton(ReportF030ruSetup)
        self.btnOk.setObjectName(_fromUtf8("btnOk"))
        self.gridLayout.addWidget(self.btnOk, 10, 4, 1, 1)
        self.btnCancel = QtGui.QPushButton(ReportF030ruSetup)
        self.btnCancel.setObjectName(_fromUtf8("btnCancel"))
        self.gridLayout.addWidget(self.btnCancel, 10, 3, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 9, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblBegDate_2.setBuddy(self.edtBegDate)

        self.retranslateUi(ReportF030ruSetup)
        QtCore.QObject.connect(self.btnCancel,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportF030ruSetup.reject)
        QtCore.QObject.connect(self.btnOk,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               ReportF030ruSetup.accept)
        QtCore.QMetaObject.connectSlotsByName(ReportF030ruSetup)
        ReportF030ruSetup.setTabOrder(self.edtBegDate, self.edtEndDate)
        ReportF030ruSetup.setTabOrder(self.edtEndDate, self.cmbFinance)
        ReportF030ruSetup.setTabOrder(self.cmbFinance, self.cmbOrgStructure)
        ReportF030ruSetup.setTabOrder(self.cmbOrgStructure,
                                      self.cmbRecipeStatus)
        ReportF030ruSetup.setTabOrder(self.cmbRecipeStatus, self.btnOk)
        ReportF030ruSetup.setTabOrder(self.btnOk, self.btnCancel)

    def retranslateUi(self, ReportF030ruSetup):
        ReportF030ruSetup.setWindowTitle(
            _translate("ReportF030ruSetup", "параметры отчёта", None))
        self.lblEndDate.setText(_translate("ReportF030ruSetup", "по", None))
        self.lblOrgStructure.setText(
            _translate("ReportF030ruSetup", "Подразделение", None))
        self.lblBegDate.setText(_translate("ReportF030ruSetup", "с", None))
        self.lblBegDate_2.setText(
            _translate("ReportF030ruSetup", "Дата выписки рецепта:", None))
        self.lblFinance.setText(
            _translate("ReportF030ruSetup", "Источник финансирования", None))
        self.lblOrgStructure_2.setText(
            _translate("ReportF030ruSetup", "Статус рецепта", None))
        self.btnOk.setText(_translate("ReportF030ruSetup", "ОК", None))
        self.btnCancel.setText(_translate("ReportF030ruSetup", "Отмена", None))
예제 #20
0
class Ui_ReportPeriodontist(object):
    def setupUi(self, ReportPeriodontist):
        ReportPeriodontist.setObjectName(_fromUtf8("ReportPeriodontist"))
        ReportPeriodontist.resize(401, 272)
        self.gridLayout = QtGui.QGridLayout(ReportPeriodontist)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbOrgStructure = COrgStructureComboBox(ReportPeriodontist)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 8, 4, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportPeriodontist)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 13, 5, 1, 1)
        self.edtEndDate = CDateEdit(ReportPeriodontist)
        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, 4, 2, 1)
        self.label_2 = QtGui.QLabel(ReportPeriodontist)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 5, 1, 1, 1)
        self.label = QtGui.QLabel(ReportPeriodontist)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 7, 1, 1, 1)
        self.edtBegDate = CDateEdit(ReportPeriodontist)
        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, 4, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportPeriodontist)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 1, 1, 3)
        self.label_3 = QtGui.QLabel(ReportPeriodontist)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 10, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportPeriodontist)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 1, 2, 3)
        self.cmbEventPurpose = CRBComboBox(ReportPeriodontist)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 4, 4, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportPeriodontist)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 10, 4, 1, 2)
        self.lblEventPurpose = QtGui.QLabel(ReportPeriodontist)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 4, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 5, 1, 1)
        self.cmbEventType = CRBComboBox(ReportPeriodontist)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 5, 4, 1, 2)
        self.cmbSpeciality = CRBComboBox(ReportPeriodontist)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 7, 4, 1, 2)
        self.lblOrgStructure = QtGui.QLabel(ReportPeriodontist)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 8, 1, 1, 1)
        self.chkDetailPerson = QtGui.QCheckBox(ReportPeriodontist)
        self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson"))
        self.gridLayout.addWidget(self.chkDetailPerson, 12, 1, 1, 5)
        self.cmbActionType = QtGui.QComboBox(ReportPeriodontist)
        self.cmbActionType.setObjectName(_fromUtf8("cmbActionType"))
        self.cmbActionType.addItem(_fromUtf8(""))
        self.cmbActionType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbActionType, 3, 4, 1, 1)
        self.lblActionType = QtGui.QLabel(ReportPeriodontist)
        self.lblActionType.setObjectName(_fromUtf8("lblActionType"))
        self.gridLayout.addWidget(self.lblActionType, 3, 1, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportPeriodontist):
        ReportPeriodontist.setWindowTitle(
            _translate("ReportPeriodontist", "Dialog", None))
        self.label_2.setText(
            _translate("ReportPeriodontist", "Тип обращения", None))
        self.label.setText(
            _translate("ReportPeriodontist", "Специальность", None))
        self.lblBegDate.setText(
            _translate("ReportPeriodontist", "Дата &начала периода", None))
        self.label_3.setText(_translate("ReportPeriodontist", "Врач", None))
        self.lblEndDate.setText(
            _translate("ReportPeriodontist", "Дата &окончания периода", None))
        self.lblEventPurpose.setText(
            _translate("ReportPeriodontist", "Назначение обращения", None))
        self.lblOrgStructure.setText(
            _translate("ReportPeriodontist", "Подразделение", None))
        self.chkDetailPerson.setText(
            _translate("ReportPeriodontist", "Детализировать по врачам", None))
        self.cmbActionType.setItemText(
            0, _translate("ReportPeriodontist", "з", None))
        self.cmbActionType.setItemText(
            1, _translate("ReportPeriodontist", "стх", None))
        self.lblActionType.setText(
            _translate("ReportPeriodontist", "Тип услуг", None))
예제 #21
0
class Ui_ReportF16(object):
    def setupUi(self, ReportF16):
        ReportF16.setObjectName(_fromUtf8("ReportF16"))
        ReportF16.resize(429, 488)
        self.gridLayout = QtGui.QGridLayout(ReportF16)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lstOrgStructure = CRBListBox(ReportF16)
        self.lstOrgStructure.setObjectName(_fromUtf8("lstOrgStructure"))
        self.gridLayout.addWidget(self.lstOrgStructure, 7, 0, 1, 3)
        self.cmbProfileBed = CRBComboBox(ReportF16)
        self.cmbProfileBed.setObjectName(_fromUtf8("cmbProfileBed"))
        self.gridLayout.addWidget(self.cmbProfileBed, 8, 1, 1, 2)
        self.lstProfileBed = CRBListBox(ReportF16)
        self.lstProfileBed.setObjectName(_fromUtf8("lstProfileBed"))
        self.gridLayout.addWidget(self.lstProfileBed, 10, 0, 1, 3)
        self.label = QtGui.QLabel(ReportF16)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 5, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(ReportF16)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 6, 1, 1, 2)
        self.chkProfileBed = QtGui.QCheckBox(ReportF16)
        self.chkProfileBed.setObjectName(_fromUtf8("chkProfileBed"))
        self.gridLayout.addWidget(self.chkProfileBed, 8, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportF16)
        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, 2, 1, 1)
        self.cmbOrder = QtGui.QComboBox(ReportF16)
        self.cmbOrder.setObjectName(_fromUtf8("cmbOrder"))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.cmbOrder.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbOrder, 4, 1, 1, 2)
        self.cmbTypeHosp = QtGui.QComboBox(ReportF16)
        self.cmbTypeHosp.setObjectName(_fromUtf8("cmbTypeHosp"))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.cmbTypeHosp.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbTypeHosp, 3, 1, 1, 2)
        self.edtBegDate = CDateEdit(ReportF16)
        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(ReportF16)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportF16)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblOrder = QtGui.QLabel(ReportF16)
        self.lblOrder.setObjectName(_fromUtf8("lblOrder"))
        self.gridLayout.addWidget(self.lblOrder, 4, 0, 1, 1)
        self.chkOrgStructure = QtGui.QCheckBox(ReportF16)
        self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure"))
        self.gridLayout.addWidget(self.chkOrgStructure, 6, 0, 1, 1)
        self.cmbFinance = CRBComboBox(ReportF16)
        self.cmbFinance.setObjectName(_fromUtf8("cmbFinance"))
        self.gridLayout.addWidget(self.cmbFinance, 5, 1, 1, 2)
        self.edtEndDate = CDateEdit(ReportF16)
        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.lblTypeHosp = QtGui.QLabel(ReportF16)
        self.lblTypeHosp.setObjectName(_fromUtf8("lblTypeHosp"))
        self.gridLayout.addWidget(self.lblTypeHosp, 3, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 11, 2, 1, 1)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

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

    def retranslateUi(self, ReportF16):
        ReportF16.setWindowTitle(_translate("ReportF16", "Dialog", None))
        self.label.setText(_translate("ReportF16", "Тип финансирования", None))
        self.chkProfileBed.setText(_translate("ReportF16", "Профиль", None))
        self.cmbOrder.setItemText(0, _translate("ReportF16", "не задано",
                                                None))
        self.cmbOrder.setItemText(1, _translate("ReportF16", "планово", None))
        self.cmbOrder.setItemText(2, _translate("ReportF16", "экстренно",
                                                None))
        self.cmbTypeHosp.setItemText(
            0, _translate("ReportF16", "не задано", None))
        self.cmbTypeHosp.setItemText(
            1, _translate("ReportF16", "круглосуточный стационар", None))
        self.cmbTypeHosp.setItemText(
            2, _translate("ReportF16", "дневной стационар", None))
        self.cmbTypeHosp.setItemText(
            3, _translate("ReportF16", "амбулаторно", None))
        self.lblBegDate.setText(
            _translate("ReportF16", "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportF16", "Дата &окончания периода", None))
        self.lblOrder.setText(_translate("ReportF16", "Порядок", None))
        self.chkOrgStructure.setText(
            _translate("ReportF16", "Подразделение", None))
        self.lblTypeHosp.setText(
            _translate("ReportF16", "Тип госпитализации", None))
예제 #22
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))
예제 #23
0
class Ui_ReportServiceSpecification(object):
    def setupUi(self, ReportServiceSpecification):
        ReportServiceSpecification.setObjectName(
            _fromUtf8("ReportServiceSpecification"))
        ReportServiceSpecification.resize(261, 131)
        ReportServiceSpecification.setMinimumSize(QtCore.QSize(261, 131))
        ReportServiceSpecification.setMaximumSize(QtCore.QSize(261, 146))
        self.gridLayoutWidget = QtGui.QWidget(ReportServiceSpecification)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(10, 10, 241, 111))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate_2 = QtGui.QLabel(self.gridLayoutWidget)
        self.lblBegDate_2.setObjectName(_fromUtf8("lblBegDate_2"))
        self.gridLayout.addWidget(self.lblBegDate_2, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(self.gridLayoutWidget)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.edtBegDate = CDateEdit(self.gridLayoutWidget)
        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.setBaseSize(QtCore.QSize(0, 0))
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_2.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(self.gridLayoutWidget)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtEndDate = CDateEdit(self.gridLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_2.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(self.gridLayoutWidget)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_2, 1, 0, 1, 1)
        self.lblBegDate_2.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportServiceSpecification):
        ReportServiceSpecification.setWindowTitle(
            _translate("ReportServiceSpecification", "Параметры отчета", None))
        self.lblBegDate_2.setText(
            _translate("ReportServiceSpecification", "Фильтр отчета:", None))
        self.lblBegDate.setText(
            _translate("ReportServiceSpecification", "с", None))
        self.lblEndDate.setText(
            _translate("ReportServiceSpecification", "по", None))
예제 #24
0
class Ui_ReportFinanceSummarySetupDialog(object):
    def setupUi(self, ReportFinanceSummarySetupDialog):
        ReportFinanceSummarySetupDialog.setObjectName(
            _fromUtf8("ReportFinanceSummarySetupDialog"))
        ReportFinanceSummarySetupDialog.resize(507, 624)
        self.gridLayout = QtGui.QGridLayout(ReportFinanceSummarySetupDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.groupBox = QtGui.QGroupBox(ReportFinanceSummarySetupDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.edtBegDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_2.addWidget(self.edtBegDate, 1, 1, 1, 1)
        self.lblBegDate = QtGui.QLabel(self.groupBox)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout_2.addWidget(self.lblBegDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_2.addWidget(self.edtEndDate, 2, 1, 1, 1)
        self.lblEndDate = QtGui.QLabel(self.groupBox)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout_2.addWidget(self.lblEndDate, 2, 0, 1, 1)
        self.rbtnByFormingAccountDate = QtGui.QRadioButton(self.groupBox)
        self.rbtnByFormingAccountDate.setChecked(True)
        self.rbtnByFormingAccountDate.setObjectName(
            _fromUtf8("rbtnByFormingAccountDate"))
        self.gridLayout_2.addWidget(self.rbtnByFormingAccountDate, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(103, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 2, 1, 1)
        self.rbtnByActionEndDate = QtGui.QRadioButton(self.groupBox)
        self.rbtnByActionEndDate.setObjectName(
            _fromUtf8("rbtnByActionEndDate"))
        self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 3)
        self.cmbOrgStruct = COrgStructureComboBox(
            ReportFinanceSummarySetupDialog)
        self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct"))
        self.gridLayout.addWidget(self.cmbOrgStruct, 7, 1, 1, 2)
        self.lblOrgStruct = QtGui.QLabel(ReportFinanceSummarySetupDialog)
        self.lblOrgStruct.setObjectName(_fromUtf8("lblOrgStruct"))
        self.gridLayout.addWidget(self.lblOrgStruct, 7, 0, 1, 1)
        self.lblFinanceType = QtGui.QLabel(ReportFinanceSummarySetupDialog)
        self.lblFinanceType.setObjectName(_fromUtf8("lblFinanceType"))
        self.gridLayout.addWidget(self.lblFinanceType, 1, 0, 1, 1)
        self.cmbFinanceType = CRBComboBox(ReportFinanceSummarySetupDialog)
        self.cmbFinanceType.setObjectName(_fromUtf8("cmbFinanceType"))
        self.gridLayout.addWidget(self.cmbFinanceType, 1, 1, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportFinanceSummarySetupDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 6, 1, 1, 2)
        self.label = QtGui.QLabel(ReportFinanceSummarySetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 3, 0, 1, 1)
        self.lblPerson = QtGui.QLabel(ReportFinanceSummarySetupDialog)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 6, 0, 1, 1)
        self.lstItems = CRBListBox(ReportFinanceSummarySetupDialog)
        self.lstItems.setObjectName(_fromUtf8("lstItems"))
        self.gridLayout.addWidget(self.lstItems, 4, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportFinanceSummarySetupDialog)
        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, 2, 1, 1)
        self.lblContract = QtGui.QLabel(ReportFinanceSummarySetupDialog)
        self.lblContract.setObjectName(_fromUtf8("lblContract"))
        self.gridLayout.addWidget(self.lblContract, 8, 0, 1, 1)
        self.lstContracts = CTableView(ReportFinanceSummarySetupDialog)
        self.lstContracts.setSelectionMode(
            QtGui.QAbstractItemView.MultiSelection)
        self.lstContracts.setObjectName(_fromUtf8("lstContracts"))
        self.lstContracts.horizontalHeader().setVisible(True)
        self.gridLayout.addWidget(self.lstContracts, 9, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportFinanceSummarySetupDialog):
        ReportFinanceSummarySetupDialog.setWindowTitle(
            _translate("ReportFinanceSummarySetupDialog", "Dialog", None))
        self.groupBox.setTitle(
            _translate("ReportFinanceSummarySetupDialog", "Период", None))
        self.lblBegDate.setText(
            _translate("ReportFinanceSummarySetupDialog",
                       "Дата начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportFinanceSummarySetupDialog",
                       "Дата окончания периода", None))
        self.rbtnByFormingAccountDate.setText(
            _translate("ReportFinanceSummarySetupDialog", "формирования счета",
                       None))
        self.rbtnByActionEndDate.setText(
            _translate("ReportFinanceSummarySetupDialog", "выполнения услуги",
                       None))
        self.lblOrgStruct.setText(
            _translate("ReportFinanceSummarySetupDialog", "Подразделение",
                       None))
        self.lblFinanceType.setText(
            _translate("ReportFinanceSummarySetupDialog",
                       "Источник финансирования", None))
        self.label.setText(
            _translate("ReportFinanceSummarySetupDialog", "Типы обращений:",
                       None))
        self.lblPerson.setText(
            _translate("ReportFinanceSummarySetupDialog", "Врач", None))
        self.lblContract.setText(
            _translate("ReportFinanceSummarySetupDialog", "Договоры:", None))
예제 #25
0
class Ui_ReportReceivedPatientsSetupDialog(object):
    def setupUi(self, ReportReceivedPatientsSetupDialog):
        ReportReceivedPatientsSetupDialog.setObjectName(
            _fromUtf8("ReportReceivedPatientsSetupDialog"))
        ReportReceivedPatientsSetupDialog.resize(533, 233)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ReportReceivedPatientsSetupDialog.sizePolicy().hasHeightForWidth())
        ReportReceivedPatientsSetupDialog.setSizePolicy(sizePolicy)
        self.gridLayout_2 = QtGui.QGridLayout(
            ReportReceivedPatientsSetupDialog)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label = QtGui.QLabel(ReportReceivedPatientsSetupDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportReceivedPatientsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout_2.addWidget(self.edtBegDate, 0, 1, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(ReportReceivedPatientsSetupDialog)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout_2.addWidget(self.edtBegTime, 0, 2, 1, 1)
        self.label_2 = QtGui.QLabel(ReportReceivedPatientsSetupDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportReceivedPatientsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout_2.addWidget(self.edtEndDate, 1, 1, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(ReportReceivedPatientsSetupDialog)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout_2.addWidget(self.edtEndTime, 1, 2, 1, 1)
        self.label_4 = QtGui.QLabel(ReportReceivedPatientsSetupDialog)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 2, 0, 1, 1)
        self.cmbOrgStruct = COrgStructureComboBox(
            ReportReceivedPatientsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbOrgStruct.sizePolicy().hasHeightForWidth())
        self.cmbOrgStruct.setSizePolicy(sizePolicy)
        self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct"))
        self.gridLayout_2.addWidget(self.cmbOrgStruct, 2, 1, 1, 1)
        self.label_3 = QtGui.QLabel(ReportReceivedPatientsSetupDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        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_2.addWidget(self.label_3, 3, 0, 1, 2)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.chkAddress = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkAddress.setChecked(True)
        self.chkAddress.setObjectName(_fromUtf8("chkAddress"))
        self.gridLayout.addWidget(self.chkAddress, 2, 0, 1, 1)
        self.chkOMS = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkOMS.setChecked(True)
        self.chkOMS.setObjectName(_fromUtf8("chkOMS"))
        self.gridLayout.addWidget(self.chkOMS, 0, 1, 1, 1)
        self.chkAddressReg = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkAddressReg.setChecked(True)
        self.chkAddressReg.setObjectName(_fromUtf8("chkAddressReg"))
        self.gridLayout.addWidget(self.chkAddressReg, 1, 0, 1, 1)
        self.chkDMS = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkDMS.setChecked(True)
        self.chkDMS.setObjectName(_fromUtf8("chkDMS"))
        self.gridLayout.addWidget(self.chkDMS, 1, 1, 1, 1)
        self.chkDoc = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkDoc.setChecked(True)
        self.chkDoc.setObjectName(_fromUtf8("chkDoc"))
        self.gridLayout.addWidget(self.chkDoc, 0, 0, 1, 1)
        self.chkWork = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkWork.setChecked(True)
        self.chkWork.setObjectName(_fromUtf8("chkWork"))
        self.gridLayout.addWidget(self.chkWork, 2, 1, 1, 1)
        self.chkDir = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkDir.setChecked(True)
        self.chkDir.setObjectName(_fromUtf8("chkDir"))
        self.gridLayout.addWidget(self.chkDir, 0, 2, 1, 1)
        self.chkDiagDir = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkDiagDir.setChecked(True)
        self.chkDiagDir.setObjectName(_fromUtf8("chkDiagDir"))
        self.gridLayout.addWidget(self.chkDiagDir, 1, 2, 1, 1)
        self.chkDiag = QtGui.QCheckBox(ReportReceivedPatientsSetupDialog)
        self.chkDiag.setChecked(True)
        self.chkDiag.setObjectName(_fromUtf8("chkDiag"))
        self.gridLayout.addWidget(self.chkDiag, 2, 2, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 4, 0, 1, 3)
        self.buttonBox = QtGui.QDialogButtonBox(
            ReportReceivedPatientsSetupDialog)
        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, 5, 1, 1, 2)

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

    def retranslateUi(self, ReportReceivedPatientsSetupDialog):
        ReportReceivedPatientsSetupDialog.setWindowTitle(
            _translate("ReportReceivedPatientsSetupDialog", "Dialog", None))
        self.label.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Дата начала",
                       None))
        self.label_2.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Дата окончания",
                       None))
        self.label_4.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Подразделение",
                       None))
        self.label_3.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Выводить в отчёт:", None))
        self.chkAddress.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Адрес проживания",
                       None))
        self.chkOMS.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Данные полиса ОМС", None))
        self.chkAddressReg.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Адрес регистрации", None))
        self.chkDMS.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Данные полиса ДМС", None))
        self.chkDoc.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Документ, удостоверяющий личность", None))
        self.chkWork.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Место работы",
                       None))
        self.chkDir.setText(
            _translate("ReportReceivedPatientsSetupDialog", "Кем направлен",
                       None))
        self.chkDiagDir.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Диагноз направителя", None))
        self.chkDiag.setText(
            _translate("ReportReceivedPatientsSetupDialog",
                       "Диагноз при поступлении", None))
예제 #26
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))
예제 #27
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))
예제 #28
0
class Ui_ReportLocationCard(object):
    def setupUi(self, ReportLocationCard):
        ReportLocationCard.setObjectName(_fromUtf8("ReportLocationCard"))
        ReportLocationCard.resize(400, 119)
        self.gridLayout = QtGui.QGridLayout(ReportLocationCard)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(ReportLocationCard)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(ReportLocationCard)
        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(137, 17, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(ReportLocationCard)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(ReportLocationCard)
        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(137, 17, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblLocationCardType = QtGui.QLabel(ReportLocationCard)
        self.lblLocationCardType.setObjectName(
            _fromUtf8("lblLocationCardType"))
        self.gridLayout.addWidget(self.lblLocationCardType, 2, 0, 1, 1)
        self.cmbLocationCardType = CRBComboBox(ReportLocationCard)
        self.cmbLocationCardType.setObjectName(
            _fromUtf8("cmbLocationCardType"))
        self.cmbLocationCardType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbLocationCardType, 2, 1, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(ReportLocationCard)
        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, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)

        self.retranslateUi(ReportLocationCard)
        self.cmbLocationCardType.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ReportLocationCard.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ReportLocationCard.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportLocationCard)

    def retranslateUi(self, ReportLocationCard):
        ReportLocationCard.setWindowTitle(
            _translate("ReportLocationCard", "Dialog", None))
        self.lblBegDate.setText(
            _translate("ReportLocationCard", "Дата &начала периода", None))
        self.lblEndDate.setText(
            _translate("ReportLocationCard", "Дата &окончания периода", None))
        self.lblLocationCardType.setText(
            _translate("ReportLocationCard", "Место нахождния рег.карты",
                       None))
        self.cmbLocationCardType.setItemText(
            0, _translate("ReportLocationCard", "Новый элемент", None))
예제 #29
0
class Ui_CashDialog(object):
    def setupUi(self, CashDialog):
        CashDialog.setObjectName(_fromUtf8("CashDialog"))
        CashDialog.resize(231, 112)
        CashDialog.setSizeGripEnabled(True)
        CashDialog.setModal(True)
        self.gridLayout = QtGui.QGridLayout(CashDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.edtDate = CDateEdit(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.lblCashOperation = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCashOperation.sizePolicy().hasHeightForWidth())
        self.lblCashOperation.setSizePolicy(sizePolicy)
        self.lblCashOperation.setObjectName(_fromUtf8("lblCashOperation"))
        self.gridLayout.addWidget(self.lblCashOperation, 1, 0, 1, 1)
        self.cmbCashOperation = CRBComboBox(CashDialog)
        self.cmbCashOperation.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbCashOperation.sizePolicy().hasHeightForWidth())
        self.cmbCashOperation.setSizePolicy(sizePolicy)
        self.cmbCashOperation.setObjectName(_fromUtf8("cmbCashOperation"))
        self.gridLayout.addWidget(self.cmbCashOperation, 1, 1, 1, 1)
        self.lblSum = QtGui.QLabel(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSum.sizePolicy().hasHeightForWidth())
        self.lblSum.setSizePolicy(sizePolicy)
        self.lblSum.setObjectName(_fromUtf8("lblSum"))
        self.gridLayout.addWidget(self.lblSum, 2, 0, 1, 1)
        self.edtSum = QtGui.QDoubleSpinBox(CashDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSum.sizePolicy().hasHeightForWidth())
        self.edtSum.setSizePolicy(sizePolicy)
        self.edtSum.setMaximum(9999999.99)
        self.edtSum.setObjectName(_fromUtf8("edtSum"))
        self.gridLayout.addWidget(self.edtSum, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 3, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(CashDialog)
        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, 2)
        self.lblDate.setBuddy(self.edtDate)
        self.lblCashOperation.setBuddy(self.cmbCashOperation)
        self.lblSum.setBuddy(self.edtSum)

        self.retranslateUi(CashDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               CashDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               CashDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CashDialog)
        CashDialog.setTabOrder(self.edtDate, self.cmbCashOperation)
        CashDialog.setTabOrder(self.cmbCashOperation, self.edtSum)
        CashDialog.setTabOrder(self.edtSum, self.buttonBox)

    def retranslateUi(self, CashDialog):
        CashDialog.setWindowTitle(
            QtGui.QApplication.translate("CashDialog", "Приём оплаты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(
            QtGui.QApplication.translate("CashDialog", "&Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCashOperation.setText(
            QtGui.QApplication.translate("CashDialog", "&Кассовая операция",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSum.setText(
            QtGui.QApplication.translate("CashDialog", "&Сумма", None,
                                         QtGui.QApplication.UnicodeUTF8))
예제 #30
0
class Ui_FinTransferDialog(object):
    def setupUi(self, FinTransferDialog):
        FinTransferDialog.setObjectName(_fromUtf8("FinTransferDialog"))
        FinTransferDialog.resize(542, 452)
        self.gridLayout = QtGui.QGridLayout(FinTransferDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDate = QtGui.QLabel(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDate.sizePolicy().hasHeightForWidth())
        self.lblDate.setSizePolicy(sizePolicy)
        self.lblDate.setObjectName(_fromUtf8("lblDate"))
        self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1)
        self.edtDate = CDateEdit(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDate.sizePolicy().hasHeightForWidth())
        self.edtDate.setSizePolicy(sizePolicy)
        self.edtDate.setObjectName(_fromUtf8("edtDate"))
        self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1)
        self.edtTime = QtGui.QTimeEdit(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtTime.sizePolicy().hasHeightForWidth())
        self.edtTime.setSizePolicy(sizePolicy)
        self.edtTime.setObjectName(_fromUtf8("edtTime"))
        self.gridLayout.addWidget(self.edtTime, 0, 2, 1, 1)
        self.lblSupplier = QtGui.QLabel(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSupplier.sizePolicy().hasHeightForWidth())
        self.lblSupplier.setSizePolicy(sizePolicy)
        self.lblSupplier.setObjectName(_fromUtf8("lblSupplier"))
        self.gridLayout.addWidget(self.lblSupplier, 1, 0, 1, 1)
        self.cmbSupplier = CStorageComboBox(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSupplier.sizePolicy().hasHeightForWidth())
        self.cmbSupplier.setSizePolicy(sizePolicy)
        self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier"))
        self.gridLayout.addWidget(self.cmbSupplier, 1, 1, 1, 3)
        self.lblNote = QtGui.QLabel(FinTransferDialog)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 3, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(FinTransferDialog)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 3, 1, 1, 3)
        self.tblItems = CInDocTableView(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblItems.sizePolicy().hasHeightForWidth())
        self.tblItems.setSizePolicy(sizePolicy)
        self.tblItems.setObjectName(_fromUtf8("tblItems"))
        self.gridLayout.addWidget(self.tblItems, 4, 0, 1, 4)
        self.buttonBox = QtGui.QDialogButtonBox(FinTransferDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 5, 0, 1, 4)
        self.cmbSupplierPerson = CPersonComboBoxEx(FinTransferDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSupplierPerson.sizePolicy().hasHeightForWidth())
        self.cmbSupplierPerson.setSizePolicy(sizePolicy)
        self.cmbSupplierPerson.setObjectName(_fromUtf8("cmbSupplierPerson"))
        self.gridLayout.addWidget(self.cmbSupplierPerson, 2, 1, 1, 3)
        self.lblSupplierPerson = QtGui.QLabel(FinTransferDialog)
        self.lblSupplierPerson.setObjectName(_fromUtf8("lblSupplierPerson"))
        self.gridLayout.addWidget(self.lblSupplierPerson, 2, 0, 1, 1)
        self.lblDate.setBuddy(self.edtDate)
        self.lblSupplier.setBuddy(self.cmbSupplier)
        self.lblNote.setBuddy(self.edtNote)
        self.lblSupplierPerson.setBuddy(self.cmbSupplierPerson)

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

    def retranslateUi(self, FinTransferDialog):
        FinTransferDialog.setWindowTitle(
            QtGui.QApplication.translate(
                "FinTransferDialog",
                "Акт изменения типа финансирования ЛСиИМН", None,
                QtGui.QApplication.UnicodeUTF8))
        self.lblDate.setText(
            QtGui.QApplication.translate("FinTransferDialog", "Дата", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtTime.setDisplayFormat(
            QtGui.QApplication.translate("FinTransferDialog", "HH:mm", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSupplier.setText(
            QtGui.QApplication.translate("FinTransferDialog", "Подразденение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblNote.setText(
            QtGui.QApplication.translate("FinTransferDialog", "Примечания",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSupplierPerson.setText(
            QtGui.QApplication.translate("FinTransferDialog", "Ответственный",
                                         None, QtGui.QApplication.UnicodeUTF8))