Esempio n. 1
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))
Esempio n. 2
0
    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)
Esempio n. 3
0
    def setupUi(self, EventMesPageWidget):
        EventMesPageWidget.setObjectName(_fromUtf8("EventMesPageWidget"))
        EventMesPageWidget.resize(822, 482)
        self.verticalLayout = QtGui.QVBoxLayout(EventMesPageWidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.scrollArea = QtGui.QScrollArea(EventMesPageWidget)
        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, 810, 470))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(
            self.scrollAreaWidgetContents)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.grpRelatedEvents = QtGui.QGroupBox(self.scrollAreaWidgetContents)
        self.grpRelatedEvents.setObjectName(_fromUtf8("grpRelatedEvents"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.grpRelatedEvents)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.tblRelatedEvents = CTableView(self.grpRelatedEvents)
        self.tblRelatedEvents.setMinimumSize(QtCore.QSize(0, 100))
        self.tblRelatedEvents.setObjectName(_fromUtf8("tblRelatedEvents"))
        self.horizontalLayout.addWidget(self.tblRelatedEvents)
        self.gridLayout.addWidget(self.grpRelatedEvents, 5, 0, 1, 3)
        self.lblMes = QtGui.QLabel(self.scrollAreaWidgetContents)
        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, 0, 0, 1, 1)
        self.chkHTG = QtGui.QCheckBox(self.scrollAreaWidgetContents)
        self.chkHTG.setEnabled(False)
        self.chkHTG.setObjectName(_fromUtf8("chkHTG"))
        self.gridLayout.addWidget(self.chkHTG, 1, 0, 1, 1)
        self.lblMesSpecification = QtGui.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMesSpecification.sizePolicy().hasHeightForWidth())
        self.lblMesSpecification.setSizePolicy(sizePolicy)
        self.lblMesSpecification.setObjectName(
            _fromUtf8("lblMesSpecification"))
        self.gridLayout.addWidget(self.lblMesSpecification, 2, 0, 1, 1)
        self.btnCheckMes = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnCheckMes.setEnabled(False)
        self.btnCheckMes.setObjectName(_fromUtf8("btnCheckMes"))
        self.gridLayout.addWidget(self.btnCheckMes, 3, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 3, 2, 1, 1)
        self.btnShowMes = QtGui.QPushButton(self.scrollAreaWidgetContents)
        self.btnShowMes.setEnabled(False)
        self.btnShowMes.setObjectName(_fromUtf8("btnShowMes"))
        self.gridLayout.addWidget(self.btnShowMes, 4, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 4, 2, 1, 1)
        self.cmbMesSpecification = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbMesSpecification.setEnabled(True)
        self.cmbMesSpecification.setObjectName(
            _fromUtf8("cmbMesSpecification"))
        self.gridLayout.addWidget(self.cmbMesSpecification, 2, 1, 1, 2)
        self.cmbHTG = CRBComboBox(self.scrollAreaWidgetContents)
        self.cmbHTG.setEnabled(False)
        self.cmbHTG.setObjectName(_fromUtf8("cmbHTG"))
        self.gridLayout.addWidget(self.cmbHTG, 1, 1, 1, 2)
        self.MESLayout = QtGui.QHBoxLayout()
        self.MESLayout.setObjectName(_fromUtf8("MESLayout"))
        self.cmbMes = CMESComboBox(self.scrollAreaWidgetContents)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.MESLayout.addWidget(self.cmbMes)
        self.gridLayout.addLayout(self.MESLayout, 0, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(0, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 5, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout.addWidget(self.scrollArea)
        self.lblMes.setBuddy(self.cmbMes)
        self.lblMesSpecification.setBuddy(self.cmbMesSpecification)

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

        self.retranslateUi(ActionsPageWidget)
        QtCore.QObject.connect(self.btnToggleAttrsAP, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.attrsAP.setHidden)
        QtCore.QMetaObject.connectSlotsByName(ActionsPageWidget)
        ActionsPageWidget.setTabOrder(self.cmbAPStatus, self.chkAPIsUrgent)
        ActionsPageWidget.setTabOrder(self.chkAPIsUrgent, self.edtAPDirectionDate)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionDate, self.edtAPDirectionTime)
        ActionsPageWidget.setTabOrder(self.edtAPDirectionTime, self.cmbAPSetPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPSetPerson, self.edtAPBegDate)
        ActionsPageWidget.setTabOrder(self.edtAPBegDate, self.edtAPBegTime)
        ActionsPageWidget.setTabOrder(self.edtAPBegTime, self.edtAPOffice)
        ActionsPageWidget.setTabOrder(self.edtAPOffice, self.edtAPEndDate)
        ActionsPageWidget.setTabOrder(self.edtAPEndDate, self.edtAPEndTime)
        ActionsPageWidget.setTabOrder(self.edtAPEndTime, self.cmbAPPerson)
        ActionsPageWidget.setTabOrder(self.cmbAPPerson, self.cmbAPOrg)
        ActionsPageWidget.setTabOrder(self.cmbAPOrg, self.btnAPSelectOrg)
        ActionsPageWidget.setTabOrder(self.btnAPSelectOrg, self.btnPlanNextAction)
        ActionsPageWidget.setTabOrder(self.btnPlanNextAction, self.btnNextAction)
        ActionsPageWidget.setTabOrder(self.btnNextAction, self.btnReanimation)
        ActionsPageWidget.setTabOrder(self.btnReanimation, self.btnMaternityWard)
        ActionsPageWidget.setTabOrder(self.btnMaternityWard, self.cmbAPMorphologyMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMorphologyMKB, self.cmbAPAssistant)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant, self.cmbAPAssistant2)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant2, self.cmbAPAssistant3)
        ActionsPageWidget.setTabOrder(self.cmbAPAssistant3, self.edtAPAmount)
        ActionsPageWidget.setTabOrder(self.edtAPAmount, self.edtAPUet)
        ActionsPageWidget.setTabOrder(self.edtAPUet, self.edtAPNote)
        ActionsPageWidget.setTabOrder(self.edtAPNote, self.cmbAPMKB)
        ActionsPageWidget.setTabOrder(self.cmbAPMKB, self.cmbHMPKind)
        ActionsPageWidget.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod)
        ActionsPageWidget.setTabOrder(self.cmbHMPMethod, self.cmbActionMes)
        ActionsPageWidget.setTabOrder(self.cmbActionMes, self.btnToggleAttrsAP)
        ActionsPageWidget.setTabOrder(self.btnToggleAttrsAP, self.scrollArea)
        ActionsPageWidget.setTabOrder(self.scrollArea, self.tblAPActions)
        ActionsPageWidget.setTabOrder(self.tblAPActions, self.tblAPProps)
        ActionsPageWidget.setTabOrder(self.tblAPProps, self.btnAPPrint)
        ActionsPageWidget.setTabOrder(self.btnAPPrint, self.btnAPLoadTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPLoadTemplate, self.btnAPSaveAsTemplate)
        ActionsPageWidget.setTabOrder(self.btnAPSaveAsTemplate, self.btnAPLoadPrevAction)
Esempio n. 5
0
class Ui_ExportPrimaryDocInXmlDialog(object):
    def setupUi(self, ExportPrimaryDocInXmlDialog):
        ExportPrimaryDocInXmlDialog.setObjectName(
            _fromUtf8("ExportPrimaryDocInXmlDialog"))
        ExportPrimaryDocInXmlDialog.resize(538, 678)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ExportPrimaryDocInXmlDialog.sizePolicy().hasHeightForWidth())
        ExportPrimaryDocInXmlDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(ExportPrimaryDocInXmlDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDateFrom = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateFrom.sizePolicy().hasHeightForWidth())
        self.lblDateFrom.setSizePolicy(sizePolicy)
        self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom"))
        self.gridLayout.addWidget(self.lblDateFrom, 0, 0, 1, 1)
        self.edtDateFrom = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateFrom.sizePolicy().hasHeightForWidth())
        self.edtDateFrom.setSizePolicy(sizePolicy)
        self.edtDateFrom.setObjectName(_fromUtf8("edtDateFrom"))
        self.gridLayout.addWidget(self.edtDateFrom, 0, 3, 1, 3)
        self.lblDateTo = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateTo.sizePolicy().hasHeightForWidth())
        self.lblDateTo.setSizePolicy(sizePolicy)
        self.lblDateTo.setObjectName(_fromUtf8("lblDateTo"))
        self.gridLayout.addWidget(self.lblDateTo, 1, 0, 1, 1)
        self.edtDateTo = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateTo.sizePolicy().hasHeightForWidth())
        self.edtDateTo.setSizePolicy(sizePolicy)
        self.edtDateTo.setObjectName(_fromUtf8("edtDateTo"))
        self.gridLayout.addWidget(self.edtDateTo, 1, 3, 1, 3)
        self.lblFilePath = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblFilePath.setObjectName(_fromUtf8("lblFilePath"))
        self.gridLayout.addWidget(self.lblFilePath, 2, 0, 1, 1)
        self.edtFilePath = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtFilePath.setObjectName(_fromUtf8("edtFilePath"))
        self.gridLayout.addWidget(self.edtFilePath, 2, 3, 1, 6)
        self.btnOpenFilePath = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnOpenFilePath.sizePolicy().hasHeightForWidth())
        self.btnOpenFilePath.setSizePolicy(sizePolicy)
        self.btnOpenFilePath.setObjectName(_fromUtf8("btnOpenFilePath"))
        self.gridLayout.addWidget(self.btnOpenFilePath, 2, 9, 1, 1)
        self.chkOnlyMes = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkOnlyMes.sizePolicy().hasHeightForWidth())
        self.chkOnlyMes.setSizePolicy(sizePolicy)
        self.chkOnlyMes.setChecked(True)
        self.chkOnlyMes.setObjectName(_fromUtf8("chkOnlyMes"))
        self.gridLayout.addWidget(self.chkOnlyMes, 4, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 3, 1, 7)
        self.lblEventType = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.lblEventProfile = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 7, 0, 1, 1)
        self.cmbEventProfile = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 7, 3, 1, 7)
        self.lblMes = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 8, 0, 1, 1)
        self.cmbMes = CMESComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 8, 3, 1, 7)
        self.line = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 9, 0, 2, 10)
        self.chkSpeciality = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpeciality.sizePolicy().hasHeightForWidth())
        self.chkSpeciality.setSizePolicy(sizePolicy)
        self.chkSpeciality.setObjectName(_fromUtf8("chkSpeciality"))
        self.gridLayout.addWidget(self.chkSpeciality, 11, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 10, 3, 2, 7)
        self.chkDoctor = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkDoctor.sizePolicy().hasHeightForWidth())
        self.chkDoctor.setSizePolicy(sizePolicy)
        self.chkDoctor.setObjectName(_fromUtf8("chkDoctor"))
        self.gridLayout.addWidget(self.chkDoctor, 12, 0, 1, 1)
        self.cmbDoctor = CPersonComboBoxEx(ExportPrimaryDocInXmlDialog)
        self.cmbDoctor.setEnabled(False)
        self.cmbDoctor.setObjectName(_fromUtf8("cmbDoctor"))
        self.gridLayout.addWidget(self.cmbDoctor, 12, 3, 1, 7)
        self.chkSex = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSex.sizePolicy().hasHeightForWidth())
        self.chkSex.setSizePolicy(sizePolicy)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 13, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSex.setEnabled(False)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 13, 3, 1, 1)
        self.chkAge = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAge.sizePolicy().hasHeightForWidth())
        self.chkAge.setSizePolicy(sizePolicy)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 14, 0, 1, 1)
        self.edtAgeBegin = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeBegin.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeBegin.sizePolicy().hasHeightForWidth())
        self.edtAgeBegin.setSizePolicy(sizePolicy)
        self.edtAgeBegin.setMaximum(150)
        self.edtAgeBegin.setObjectName(_fromUtf8("edtAgeBegin"))
        self.gridLayout.addWidget(self.edtAgeBegin, 14, 4, 1, 2)
        self.label_5 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 14, 6, 1, 1)
        self.edtAgeEnd = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeEnd.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeEnd.sizePolicy().hasHeightForWidth())
        self.edtAgeEnd.setSizePolicy(sizePolicy)
        self.edtAgeEnd.setMaximum(150)
        self.edtAgeEnd.setProperty("value", 150)
        self.edtAgeEnd.setObjectName(_fromUtf8("edtAgeEnd"))
        self.gridLayout.addWidget(self.edtAgeEnd, 14, 7, 1, 1)
        self.label = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 14, 8, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 14, 9, 1, 1)
        self.chkExportClientData = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportClientData.sizePolicy().hasHeightForWidth())
        self.chkExportClientData.setSizePolicy(sizePolicy)
        self.chkExportClientData.setChecked(True)
        self.chkExportClientData.setObjectName(
            _fromUtf8("chkExportClientData"))
        self.gridLayout.addWidget(self.chkExportClientData, 16, 0, 1, 7)
        self.chkExportActions = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportActions.sizePolicy().hasHeightForWidth())
        self.chkExportActions.setSizePolicy(sizePolicy)
        self.chkExportActions.setChecked(True)
        self.chkExportActions.setObjectName(_fromUtf8("chkExportActions"))
        self.gridLayout.addWidget(self.chkExportActions, 17, 0, 1, 3)
        self.chkExportVisits = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportVisits.sizePolicy().hasHeightForWidth())
        self.chkExportVisits.setSizePolicy(sizePolicy)
        self.chkExportVisits.setChecked(True)
        self.chkExportVisits.setObjectName(_fromUtf8("chkExportVisits"))
        self.gridLayout.addWidget(self.chkExportVisits, 18, 0, 1, 3)
        self.chkExportTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportTempInvalid.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportTempInvalid.sizePolicy().hasHeightForWidth())
        self.chkExportTempInvalid.setSizePolicy(sizePolicy)
        self.chkExportTempInvalid.setObjectName(
            _fromUtf8("chkExportTempInvalid"))
        self.gridLayout.addWidget(self.chkExportTempInvalid, 19, 0, 1, 3)
        self.progressBar = CProgressBar(ExportPrimaryDocInXmlDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 24, 0, 1, 10)
        self.chkMakeRar = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkMakeRar.sizePolicy().hasHeightForWidth())
        self.chkMakeRar.setSizePolicy(sizePolicy)
        self.chkMakeRar.setObjectName(_fromUtf8("chkMakeRar"))
        self.gridLayout.addWidget(self.chkMakeRar, 25, 0, 1, 1)
        self.chkSendEmail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSendEmail.sizePolicy().hasHeightForWidth())
        self.chkSendEmail.setSizePolicy(sizePolicy)
        self.chkSendEmail.setObjectName(_fromUtf8("chkSendEmail"))
        self.gridLayout.addWidget(self.chkSendEmail, 26, 0, 1, 1)
        self.edtSendEmail = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtSendEmail.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSendEmail.sizePolicy().hasHeightForWidth())
        self.edtSendEmail.setSizePolicy(sizePolicy)
        self.edtSendEmail.setObjectName(_fromUtf8("edtSendEmail"))
        self.gridLayout.addWidget(self.edtSendEmail, 26, 3, 1, 7)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 27, 0, 1, 1)
        self.btnStart = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 27, 6, 1, 3)
        self.btnClose = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 27, 9, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 28, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 3, 1, 7)
        self.label_2 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 14, 3, 1, 1)
        self.chkInsurer = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkInsurer.sizePolicy().hasHeightForWidth())
        self.chkInsurer.setSizePolicy(sizePolicy)
        self.chkInsurer.setObjectName(_fromUtf8("chkInsurer"))
        self.gridLayout.addWidget(self.chkInsurer, 15, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbInsurer.setEnabled(False)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 15, 3, 1, 6)
        self.cmbPolicyType = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbPolicyType.setEnabled(False)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPolicyType, 15, 9, 1, 1)
        self.lblDetail = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblDetail.setObjectName(_fromUtf8("lblDetail"))
        self.gridLayout.addWidget(self.lblDetail, 23, 0, 1, 3)
        self.line_2 = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 22, 0, 1, 10)
        self.chkOnlyNomenclativeActions = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyNomenclativeActions.setObjectName(
            _fromUtf8("chkOnlyNomenclativeActions"))
        self.gridLayout.addWidget(self.chkOnlyNomenclativeActions, 17, 6, 1, 4)
        self.chkActionExecPerson = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkActionExecPerson.setChecked(True)
        self.chkActionExecPerson.setObjectName(
            _fromUtf8("chkActionExecPerson"))
        self.gridLayout.addWidget(self.chkActionExecPerson, 17, 3, 1, 2)
        self.chkExportOnlyExecutedTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportOnlyExecutedTempInvalid.setEnabled(False)
        self.chkExportOnlyExecutedTempInvalid.setChecked(True)
        self.chkExportOnlyExecutedTempInvalid.setObjectName(
            _fromUtf8("chkExportOnlyExecutedTempInvalid"))
        self.gridLayout.addWidget(self.chkExportOnlyExecutedTempInvalid, 19, 3,
                                  1, 7)
        self.label_3 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 3)
        self.cmbPersonSpecialityCode = QtGui.QComboBox(
            ExportPrimaryDocInXmlDialog)
        self.cmbPersonSpecialityCode.setObjectName(
            _fromUtf8("cmbPersonSpecialityCode"))
        self.gridLayout.addWidget(self.cmbPersonSpecialityCode, 3, 3, 1, 2)
        self.chkDocumentDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkDocumentDetail.setObjectName(_fromUtf8("chkDocumentDetail"))
        self.gridLayout.addWidget(self.chkDocumentDetail, 23, 6, 1, 2)
        self.chkPolicyDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkPolicyDetail.setObjectName(_fromUtf8("chkPolicyDetail"))
        self.gridLayout.addWidget(self.chkPolicyDetail, 23, 4, 1, 1)
        self.chkAddressDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkAddressDetail.setObjectName(_fromUtf8("chkAddressDetail"))
        self.gridLayout.addWidget(self.chkAddressDetail, 23, 3, 1, 1)
        self.chkOnlyEndDiagnostic = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyEndDiagnostic.setChecked(True)
        self.chkOnlyEndDiagnostic.setObjectName(
            _fromUtf8("chkOnlyEndDiagnostic"))
        self.gridLayout.addWidget(self.chkOnlyEndDiagnostic, 20, 0, 1, 10)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblMes.setBuddy(self.cmbMes)

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

    def retranslateUi(self, ExportPrimaryDocInXmlDialog):
        ExportPrimaryDocInXmlDialog.setWindowTitle(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDateFrom.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Дата начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblDateTo.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Дата окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilePath.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Файл экспорта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnOpenFilePath.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "...",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyMes.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Назначение события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Профиль МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkSpeciality.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkDoctor.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkSex.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Пол",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "М",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "Ж",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkAge.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Возраст", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "по",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "лет",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkExportClientData.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Выгружать персональные данные пациента", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkExportActions.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать действия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportVisits.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать визиты", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportTempInvalid.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать ВУТ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkMakeRar.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Архивировать в rar", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkSendEmail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Переслать по почте", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnStart.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Начать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnClose.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Закрыть", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "с",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkInsurer.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Страховая компания", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            0,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Не задано", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            1,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "ОМС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbPolicyType.setItemText(
            2,
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog", "ДМС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Детализировать: ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyNomenclativeActions.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только номенклатурные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkActionExecPerson.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Выгружать испольнителя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExportOnlyExecutedTempInvalid.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Только законченые", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Интерпретация кода специальности врача", None,
                QtGui.QApplication.UnicodeUTF8))
        self.chkDocumentDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Документ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkPolicyDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Полис", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkAddressDetail.setText(
            QtGui.QApplication.translate("ExportPrimaryDocInXmlDialog",
                                         "Адрес", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkOnlyEndDiagnostic.setText(
            QtGui.QApplication.translate(
                "ExportPrimaryDocInXmlDialog",
                "Выгружать только заключительный диагноз", None,
                QtGui.QApplication.UnicodeUTF8))
Esempio n. 6
0
    def setupUi(self, ExportPrimaryDocInXmlDialog):
        ExportPrimaryDocInXmlDialog.setObjectName(
            _fromUtf8("ExportPrimaryDocInXmlDialog"))
        ExportPrimaryDocInXmlDialog.resize(538, 678)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            ExportPrimaryDocInXmlDialog.sizePolicy().hasHeightForWidth())
        ExportPrimaryDocInXmlDialog.setSizePolicy(sizePolicy)
        self.gridLayout = QtGui.QGridLayout(ExportPrimaryDocInXmlDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDateFrom = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateFrom.sizePolicy().hasHeightForWidth())
        self.lblDateFrom.setSizePolicy(sizePolicy)
        self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom"))
        self.gridLayout.addWidget(self.lblDateFrom, 0, 0, 1, 1)
        self.edtDateFrom = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateFrom.sizePolicy().hasHeightForWidth())
        self.edtDateFrom.setSizePolicy(sizePolicy)
        self.edtDateFrom.setObjectName(_fromUtf8("edtDateFrom"))
        self.gridLayout.addWidget(self.edtDateFrom, 0, 3, 1, 3)
        self.lblDateTo = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDateTo.sizePolicy().hasHeightForWidth())
        self.lblDateTo.setSizePolicy(sizePolicy)
        self.lblDateTo.setObjectName(_fromUtf8("lblDateTo"))
        self.gridLayout.addWidget(self.lblDateTo, 1, 0, 1, 1)
        self.edtDateTo = CDateEdit(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtDateTo.sizePolicy().hasHeightForWidth())
        self.edtDateTo.setSizePolicy(sizePolicy)
        self.edtDateTo.setObjectName(_fromUtf8("edtDateTo"))
        self.gridLayout.addWidget(self.edtDateTo, 1, 3, 1, 3)
        self.lblFilePath = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblFilePath.setObjectName(_fromUtf8("lblFilePath"))
        self.gridLayout.addWidget(self.lblFilePath, 2, 0, 1, 1)
        self.edtFilePath = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtFilePath.setObjectName(_fromUtf8("edtFilePath"))
        self.gridLayout.addWidget(self.edtFilePath, 2, 3, 1, 6)
        self.btnOpenFilePath = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnOpenFilePath.sizePolicy().hasHeightForWidth())
        self.btnOpenFilePath.setSizePolicy(sizePolicy)
        self.btnOpenFilePath.setObjectName(_fromUtf8("btnOpenFilePath"))
        self.gridLayout.addWidget(self.btnOpenFilePath, 2, 9, 1, 1)
        self.chkOnlyMes = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkOnlyMes.sizePolicy().hasHeightForWidth())
        self.chkOnlyMes.setSizePolicy(sizePolicy)
        self.chkOnlyMes.setChecked(True)
        self.chkOnlyMes.setObjectName(_fromUtf8("chkOnlyMes"))
        self.gridLayout.addWidget(self.chkOnlyMes, 4, 0, 1, 1)
        self.lblEventPurpose = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1)
        self.cmbEventPurpose = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 5, 3, 1, 7)
        self.lblEventType = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 6, 0, 1, 1)
        self.lblEventProfile = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 7, 0, 1, 1)
        self.cmbEventProfile = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 7, 3, 1, 7)
        self.lblMes = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 8, 0, 1, 1)
        self.cmbMes = CMESComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 8, 3, 1, 7)
        self.line = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 9, 0, 2, 10)
        self.chkSpeciality = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSpeciality.sizePolicy().hasHeightForWidth())
        self.chkSpeciality.setSizePolicy(sizePolicy)
        self.chkSpeciality.setObjectName(_fromUtf8("chkSpeciality"))
        self.gridLayout.addWidget(self.chkSpeciality, 11, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSpeciality.setEnabled(False)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 10, 3, 2, 7)
        self.chkDoctor = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkDoctor.sizePolicy().hasHeightForWidth())
        self.chkDoctor.setSizePolicy(sizePolicy)
        self.chkDoctor.setObjectName(_fromUtf8("chkDoctor"))
        self.gridLayout.addWidget(self.chkDoctor, 12, 0, 1, 1)
        self.cmbDoctor = CPersonComboBoxEx(ExportPrimaryDocInXmlDialog)
        self.cmbDoctor.setEnabled(False)
        self.cmbDoctor.setObjectName(_fromUtf8("cmbDoctor"))
        self.gridLayout.addWidget(self.cmbDoctor, 12, 3, 1, 7)
        self.chkSex = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSex.sizePolicy().hasHeightForWidth())
        self.chkSex.setSizePolicy(sizePolicy)
        self.chkSex.setObjectName(_fromUtf8("chkSex"))
        self.gridLayout.addWidget(self.chkSex, 13, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbSex.setEnabled(False)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 13, 3, 1, 1)
        self.chkAge = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkAge.sizePolicy().hasHeightForWidth())
        self.chkAge.setSizePolicy(sizePolicy)
        self.chkAge.setObjectName(_fromUtf8("chkAge"))
        self.gridLayout.addWidget(self.chkAge, 14, 0, 1, 1)
        self.edtAgeBegin = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeBegin.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeBegin.sizePolicy().hasHeightForWidth())
        self.edtAgeBegin.setSizePolicy(sizePolicy)
        self.edtAgeBegin.setMaximum(150)
        self.edtAgeBegin.setObjectName(_fromUtf8("edtAgeBegin"))
        self.gridLayout.addWidget(self.edtAgeBegin, 14, 4, 1, 2)
        self.label_5 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 14, 6, 1, 1)
        self.edtAgeEnd = QtGui.QSpinBox(ExportPrimaryDocInXmlDialog)
        self.edtAgeEnd.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAgeEnd.sizePolicy().hasHeightForWidth())
        self.edtAgeEnd.setSizePolicy(sizePolicy)
        self.edtAgeEnd.setMaximum(150)
        self.edtAgeEnd.setProperty("value", 150)
        self.edtAgeEnd.setObjectName(_fromUtf8("edtAgeEnd"))
        self.gridLayout.addWidget(self.edtAgeEnd, 14, 7, 1, 1)
        self.label = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 14, 8, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 14, 9, 1, 1)
        self.chkExportClientData = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportClientData.sizePolicy().hasHeightForWidth())
        self.chkExportClientData.setSizePolicy(sizePolicy)
        self.chkExportClientData.setChecked(True)
        self.chkExportClientData.setObjectName(
            _fromUtf8("chkExportClientData"))
        self.gridLayout.addWidget(self.chkExportClientData, 16, 0, 1, 7)
        self.chkExportActions = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportActions.sizePolicy().hasHeightForWidth())
        self.chkExportActions.setSizePolicy(sizePolicy)
        self.chkExportActions.setChecked(True)
        self.chkExportActions.setObjectName(_fromUtf8("chkExportActions"))
        self.gridLayout.addWidget(self.chkExportActions, 17, 0, 1, 3)
        self.chkExportVisits = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportVisits.sizePolicy().hasHeightForWidth())
        self.chkExportVisits.setSizePolicy(sizePolicy)
        self.chkExportVisits.setChecked(True)
        self.chkExportVisits.setObjectName(_fromUtf8("chkExportVisits"))
        self.gridLayout.addWidget(self.chkExportVisits, 18, 0, 1, 3)
        self.chkExportTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportTempInvalid.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkExportTempInvalid.sizePolicy().hasHeightForWidth())
        self.chkExportTempInvalid.setSizePolicy(sizePolicy)
        self.chkExportTempInvalid.setObjectName(
            _fromUtf8("chkExportTempInvalid"))
        self.gridLayout.addWidget(self.chkExportTempInvalid, 19, 0, 1, 3)
        self.progressBar = CProgressBar(ExportPrimaryDocInXmlDialog)
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.gridLayout.addWidget(self.progressBar, 24, 0, 1, 10)
        self.chkMakeRar = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkMakeRar.sizePolicy().hasHeightForWidth())
        self.chkMakeRar.setSizePolicy(sizePolicy)
        self.chkMakeRar.setObjectName(_fromUtf8("chkMakeRar"))
        self.gridLayout.addWidget(self.chkMakeRar, 25, 0, 1, 1)
        self.chkSendEmail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkSendEmail.sizePolicy().hasHeightForWidth())
        self.chkSendEmail.setSizePolicy(sizePolicy)
        self.chkSendEmail.setObjectName(_fromUtf8("chkSendEmail"))
        self.gridLayout.addWidget(self.chkSendEmail, 26, 0, 1, 1)
        self.edtSendEmail = QtGui.QLineEdit(ExportPrimaryDocInXmlDialog)
        self.edtSendEmail.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtSendEmail.sizePolicy().hasHeightForWidth())
        self.edtSendEmail.setSizePolicy(sizePolicy)
        self.edtSendEmail.setObjectName(_fromUtf8("edtSendEmail"))
        self.gridLayout.addWidget(self.edtSendEmail, 26, 3, 1, 7)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 27, 0, 1, 1)
        self.btnStart = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnStart.sizePolicy().hasHeightForWidth())
        self.btnStart.setSizePolicy(sizePolicy)
        self.btnStart.setObjectName(_fromUtf8("btnStart"))
        self.gridLayout.addWidget(self.btnStart, 27, 6, 1, 3)
        self.btnClose = QtGui.QPushButton(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnClose.sizePolicy().hasHeightForWidth())
        self.btnClose.setSizePolicy(sizePolicy)
        self.btnClose.setObjectName(_fromUtf8("btnClose"))
        self.gridLayout.addWidget(self.btnClose, 27, 9, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 28, 6, 1, 1)
        self.cmbEventType = CRBComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 6, 3, 1, 7)
        self.label_2 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 14, 3, 1, 1)
        self.chkInsurer = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.chkInsurer.sizePolicy().hasHeightForWidth())
        self.chkInsurer.setSizePolicy(sizePolicy)
        self.chkInsurer.setObjectName(_fromUtf8("chkInsurer"))
        self.gridLayout.addWidget(self.chkInsurer, 15, 0, 1, 1)
        self.cmbInsurer = CInsurerComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbInsurer.setEnabled(False)
        self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer"))
        self.gridLayout.addWidget(self.cmbInsurer, 15, 3, 1, 6)
        self.cmbPolicyType = QtGui.QComboBox(ExportPrimaryDocInXmlDialog)
        self.cmbPolicyType.setEnabled(False)
        self.cmbPolicyType.setObjectName(_fromUtf8("cmbPolicyType"))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.cmbPolicyType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPolicyType, 15, 9, 1, 1)
        self.lblDetail = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.lblDetail.setObjectName(_fromUtf8("lblDetail"))
        self.gridLayout.addWidget(self.lblDetail, 23, 0, 1, 3)
        self.line_2 = QtGui.QFrame(ExportPrimaryDocInXmlDialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 22, 0, 1, 10)
        self.chkOnlyNomenclativeActions = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyNomenclativeActions.setObjectName(
            _fromUtf8("chkOnlyNomenclativeActions"))
        self.gridLayout.addWidget(self.chkOnlyNomenclativeActions, 17, 6, 1, 4)
        self.chkActionExecPerson = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkActionExecPerson.setChecked(True)
        self.chkActionExecPerson.setObjectName(
            _fromUtf8("chkActionExecPerson"))
        self.gridLayout.addWidget(self.chkActionExecPerson, 17, 3, 1, 2)
        self.chkExportOnlyExecutedTempInvalid = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkExportOnlyExecutedTempInvalid.setEnabled(False)
        self.chkExportOnlyExecutedTempInvalid.setChecked(True)
        self.chkExportOnlyExecutedTempInvalid.setObjectName(
            _fromUtf8("chkExportOnlyExecutedTempInvalid"))
        self.gridLayout.addWidget(self.chkExportOnlyExecutedTempInvalid, 19, 3,
                                  1, 7)
        self.label_3 = QtGui.QLabel(ExportPrimaryDocInXmlDialog)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 3, 0, 1, 3)
        self.cmbPersonSpecialityCode = QtGui.QComboBox(
            ExportPrimaryDocInXmlDialog)
        self.cmbPersonSpecialityCode.setObjectName(
            _fromUtf8("cmbPersonSpecialityCode"))
        self.gridLayout.addWidget(self.cmbPersonSpecialityCode, 3, 3, 1, 2)
        self.chkDocumentDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkDocumentDetail.setObjectName(_fromUtf8("chkDocumentDetail"))
        self.gridLayout.addWidget(self.chkDocumentDetail, 23, 6, 1, 2)
        self.chkPolicyDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkPolicyDetail.setObjectName(_fromUtf8("chkPolicyDetail"))
        self.gridLayout.addWidget(self.chkPolicyDetail, 23, 4, 1, 1)
        self.chkAddressDetail = QtGui.QCheckBox(ExportPrimaryDocInXmlDialog)
        self.chkAddressDetail.setObjectName(_fromUtf8("chkAddressDetail"))
        self.gridLayout.addWidget(self.chkAddressDetail, 23, 3, 1, 1)
        self.chkOnlyEndDiagnostic = QtGui.QCheckBox(
            ExportPrimaryDocInXmlDialog)
        self.chkOnlyEndDiagnostic.setChecked(True)
        self.chkOnlyEndDiagnostic.setObjectName(
            _fromUtf8("chkOnlyEndDiagnostic"))
        self.gridLayout.addWidget(self.chkOnlyEndDiagnostic, 20, 0, 1, 10)
        self.lblEventType.setBuddy(self.cmbEventType)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(ExportPrimaryDocInXmlDialog)
        QtCore.QObject.connect(self.chkSendEmail,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtSendEmail.setEnabled)
        QtCore.QObject.connect(self.chkSpeciality,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbSpeciality.setEnabled)
        QtCore.QObject.connect(self.chkDoctor,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbDoctor.setEnabled)
        QtCore.QObject.connect(self.chkSex,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbSex.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtAgeBegin.setEnabled)
        QtCore.QObject.connect(self.chkAge,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.edtAgeEnd.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventPurpose.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventType.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbEventProfile.setEnabled)
        QtCore.QObject.connect(self.chkOnlyMes,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbMes.setEnabled)
        QtCore.QObject.connect(
            self.chkExportTempInvalid,
            QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
            self.chkExportOnlyExecutedTempInvalid.setEnabled)
        QtCore.QObject.connect(self.chkExportActions,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.chkOnlyNomenclativeActions.setEnabled)
        QtCore.QObject.connect(self.chkInsurer,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbInsurer.setEnabled)
        QtCore.QObject.connect(self.chkInsurer,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.cmbPolicyType.setEnabled)
        QtCore.QObject.connect(self.chkExportActions,
                               QtCore.SIGNAL(_fromUtf8("clicked(bool)")),
                               self.chkActionExecPerson.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(ExportPrimaryDocInXmlDialog)
Esempio n. 7
0
class Ui_TestDialog(object):
    def setupUi(self, TestDialog):
        TestDialog.setObjectName(_fromUtf8("TestDialog"))
        TestDialog.resize(400, 364)
        self.gridLayout = QtGui.QGridLayout(TestDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAge = QtGui.QLabel(TestDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAge = QtGui.QSpinBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAge.sizePolicy().hasHeightForWidth())
        self.edtAge.setSizePolicy(sizePolicy)
        self.edtAge.setMaximum(150)
        self.edtAge.setObjectName(_fromUtf8("edtAge"))
        self.gridLayout.addWidget(self.edtAge, 1, 1, 1, 1)
        self.lblSpeciality = QtGui.QLabel(TestDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(TestDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(TestDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKB.sizePolicy().hasHeightForWidth())
        self.edtMKB.setSizePolicy(sizePolicy)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridLayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        self.lblMES = QtGui.QLabel(TestDialog)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 8, 0, 1, 1)
        self.cmbMES = CMESComboBox(TestDialog)
        self.cmbMES.setObjectName(_fromUtf8("cmbMES"))
        self.gridLayout.addWidget(self.cmbMES, 8, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TestDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 7, 2, 1, 1)
        self.cmbEventProfile = CRBComboBox(TestDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 3, 1, 1, 2)
        self.lblEventProfile = QtGui.QLabel(TestDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 3, 0, 1, 1)
        self.lblSex = QtGui.QLabel(TestDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 0, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 0, 1, 1, 1)
        self.lblMESCodeTemplate = QtGui.QLabel(TestDialog)
        self.lblMESCodeTemplate.setObjectName(_fromUtf8("lblMESCodeTemplate"))
        self.gridLayout.addWidget(self.lblMESCodeTemplate, 4, 0, 1, 1)
        self.lblMESNameTemplate = QtGui.QLabel(TestDialog)
        self.lblMESNameTemplate.setObjectName(_fromUtf8("lblMESNameTemplate"))
        self.gridLayout.addWidget(self.lblMESNameTemplate, 5, 0, 1, 1)
        self.edtMESCodeTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESCodeTemplate.setObjectName(_fromUtf8("edtMESCodeTemplate"))
        self.gridLayout.addWidget(self.edtMESCodeTemplate, 4, 1, 1, 1)
        self.edtMESNameTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESNameTemplate.setObjectName(_fromUtf8("edtMESNameTemplate"))
        self.gridLayout.addWidget(self.edtMESNameTemplate, 5, 1, 1, 1)
        self.lblAge.setBuddy(self.edtAge)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblMES.setBuddy(self.cmbMES)
        self.lblEventProfile.setBuddy(self.cmbEventProfile)
        self.lblSex.setBuddy(self.cmbSex)

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

    def retranslateUi(self, TestDialog):
        TestDialog.setWindowTitle(
            QtGui.QApplication.translate("TestDialog", "Испытание МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblAge.setText(
            QtGui.QApplication.translate("TestDialog", "&Возраст пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("TestDialog", "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "TestDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblMKB.setText(
            QtGui.QApplication.translate("TestDialog", "Код &диагноза", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMES.setText(
            QtGui.QApplication.translate("TestDialog", "С&тандарт", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventProfile.setWhatsThis(
            QtGui.QApplication.translate(
                "TestDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("TestDialog", "Профиль события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSex.setText(
            QtGui.QApplication.translate("TestDialog", "&Пол пациента", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            1,
            QtGui.QApplication.translate("TestDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSex.setItemText(
            2,
            QtGui.QApplication.translate("TestDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMESCodeTemplate.setText(
            QtGui.QApplication.translate("TestDialog", "Шаблон кода  МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblMESNameTemplate.setText(
            QtGui.QApplication.translate("TestDialog",
                                         "Шаблон наименования МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
Esempio n. 8
0
    def setupUi(self, TestDialog):
        TestDialog.setObjectName(_fromUtf8("TestDialog"))
        TestDialog.resize(400, 364)
        self.gridLayout = QtGui.QGridLayout(TestDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblAge = QtGui.QLabel(TestDialog)
        self.lblAge.setObjectName(_fromUtf8("lblAge"))
        self.gridLayout.addWidget(self.lblAge, 1, 0, 1, 1)
        self.edtAge = QtGui.QSpinBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtAge.sizePolicy().hasHeightForWidth())
        self.edtAge.setSizePolicy(sizePolicy)
        self.edtAge.setMaximum(150)
        self.edtAge.setObjectName(_fromUtf8("edtAge"))
        self.gridLayout.addWidget(self.edtAge, 1, 1, 1, 1)
        self.lblSpeciality = QtGui.QLabel(TestDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1)
        self.cmbSpeciality = CRBComboBox(TestDialog)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 2)
        self.lblMKB = QtGui.QLabel(TestDialog)
        self.lblMKB.setObjectName(_fromUtf8("lblMKB"))
        self.gridLayout.addWidget(self.lblMKB, 7, 0, 1, 1)
        self.edtMKB = CICDCodeEditEx(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtMKB.sizePolicy().hasHeightForWidth())
        self.edtMKB.setSizePolicy(sizePolicy)
        self.edtMKB.setObjectName(_fromUtf8("edtMKB"))
        self.gridLayout.addWidget(self.edtMKB, 7, 1, 1, 1)
        self.lblMES = QtGui.QLabel(TestDialog)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 8, 0, 1, 1)
        self.cmbMES = CMESComboBox(TestDialog)
        self.cmbMES.setObjectName(_fromUtf8("cmbMES"))
        self.gridLayout.addWidget(self.cmbMES, 8, 1, 1, 2)
        spacerItem = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 9, 0, 1, 2)
        self.buttonBox = QtGui.QDialogButtonBox(TestDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 3)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 7, 2, 1, 1)
        self.cmbEventProfile = CRBComboBox(TestDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 3, 1, 1, 2)
        self.lblEventProfile = QtGui.QLabel(TestDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 3, 0, 1, 1)
        self.lblSex = QtGui.QLabel(TestDialog)
        self.lblSex.setObjectName(_fromUtf8("lblSex"))
        self.gridLayout.addWidget(self.lblSex, 0, 0, 1, 1)
        self.cmbSex = QtGui.QComboBox(TestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSex.sizePolicy().hasHeightForWidth())
        self.cmbSex.setSizePolicy(sizePolicy)
        self.cmbSex.setObjectName(_fromUtf8("cmbSex"))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.setItemText(0, _fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.cmbSex.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbSex, 0, 1, 1, 1)
        self.lblMESCodeTemplate = QtGui.QLabel(TestDialog)
        self.lblMESCodeTemplate.setObjectName(_fromUtf8("lblMESCodeTemplate"))
        self.gridLayout.addWidget(self.lblMESCodeTemplate, 4, 0, 1, 1)
        self.lblMESNameTemplate = QtGui.QLabel(TestDialog)
        self.lblMESNameTemplate.setObjectName(_fromUtf8("lblMESNameTemplate"))
        self.gridLayout.addWidget(self.lblMESNameTemplate, 5, 0, 1, 1)
        self.edtMESCodeTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESCodeTemplate.setObjectName(_fromUtf8("edtMESCodeTemplate"))
        self.gridLayout.addWidget(self.edtMESCodeTemplate, 4, 1, 1, 1)
        self.edtMESNameTemplate = QtGui.QLineEdit(TestDialog)
        self.edtMESNameTemplate.setObjectName(_fromUtf8("edtMESNameTemplate"))
        self.gridLayout.addWidget(self.edtMESNameTemplate, 5, 1, 1, 1)
        self.lblAge.setBuddy(self.edtAge)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblMKB.setBuddy(self.edtMKB)
        self.lblMES.setBuddy(self.cmbMES)
        self.lblEventProfile.setBuddy(self.cmbEventProfile)
        self.lblSex.setBuddy(self.cmbSex)

        self.retranslateUi(TestDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               TestDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               TestDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TestDialog)
        TestDialog.setTabOrder(self.cmbSex, self.edtAge)
        TestDialog.setTabOrder(self.edtAge, self.cmbEventProfile)
        TestDialog.setTabOrder(self.cmbEventProfile, self.edtMESCodeTemplate)
        TestDialog.setTabOrder(self.edtMESCodeTemplate,
                               self.edtMESNameTemplate)
        TestDialog.setTabOrder(self.edtMESNameTemplate, self.cmbSpeciality)
        TestDialog.setTabOrder(self.cmbSpeciality, self.edtMKB)
        TestDialog.setTabOrder(self.edtMKB, self.cmbMES)
        TestDialog.setTabOrder(self.cmbMES, self.buttonBox)
Esempio n. 9
0
class Ui_StationaryMESF14DCDialog(object):
    def setupUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setObjectName(
            _fromUtf8("StationaryMESF14DCDialog"))
        StationaryMESF14DCDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryMESF14DCDialog.resize(438, 267)
        StationaryMESF14DCDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryMESF14DCDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(StationaryMESF14DCDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        self.lblGroupMES = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupMES.setObjectName(_fromUtf8("lblGroupMES"))
        self.gridLayout.addWidget(self.lblGroupMES, 3, 0, 1, 1)
        self.cmbGroupMES = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbGroupMES.setObjectName(_fromUtf8("cmbGroupMES"))
        self.gridLayout.addWidget(self.cmbGroupMES, 3, 1, 1, 2)
        self.lblMes = QtGui.QLabel(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 4, 0, 1, 1)
        self.cmbMes = CMESComboBox(StationaryMESF14DCDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 4, 1, 1, 2)
        self.lblProfile = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblProfile.setObjectName(_fromUtf8("lblProfile"))
        self.gridLayout.addWidget(self.lblProfile, 5, 0, 1, 1)
        self.cmbFilterProfile = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbFilterProfile.setObjectName(_fromUtf8("cmbFilterProfile"))
        self.gridLayout.addWidget(self.cmbFilterProfile, 5, 1, 1, 2)
        self.lblGroupType = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupType.setObjectName(_fromUtf8("lblGroupType"))
        self.gridLayout.addWidget(self.lblGroupType, 6, 0, 1, 1)
        self.cmbGroupType = QtGui.QComboBox(StationaryMESF14DCDialog)
        self.cmbGroupType.setObjectName(_fromUtf8("cmbGroupType"))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbGroupType, 6, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryMESF14DCDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblMes.setBuddy(self.cmbMes)

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

    def retranslateUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setWindowTitle(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "параметры отчёта", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblBegDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &начала периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtBegDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEndDate.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Дата &окончания периода", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.edtEndDate.setDisplayFormat(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "&Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroupMES.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Группа МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblProfile.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Профиль койки", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblGroupType.setText(
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Группировать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            0,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "Не группировать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            1,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "По типу события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbGroupType.setItemText(
            2,
            QtGui.QApplication.translate("StationaryMESF14DCDialog",
                                         "По типу МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
Esempio n. 10
0
    def setupUi(self, StationaryMESF14DCDialog):
        StationaryMESF14DCDialog.setObjectName(
            _fromUtf8("StationaryMESF14DCDialog"))
        StationaryMESF14DCDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        StationaryMESF14DCDialog.resize(438, 267)
        StationaryMESF14DCDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(StationaryMESF14DCDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 2, 1, 1)
        self.lblEndDate = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 1, 2, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(StationaryMESF14DCDialog)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 2)
        self.lblGroupMES = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupMES.setObjectName(_fromUtf8("lblGroupMES"))
        self.gridLayout.addWidget(self.lblGroupMES, 3, 0, 1, 1)
        self.cmbGroupMES = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbGroupMES.setObjectName(_fromUtf8("cmbGroupMES"))
        self.gridLayout.addWidget(self.cmbGroupMES, 3, 1, 1, 2)
        self.lblMes = QtGui.QLabel(StationaryMESF14DCDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 4, 0, 1, 1)
        self.cmbMes = CMESComboBox(StationaryMESF14DCDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 4, 1, 1, 2)
        self.lblProfile = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblProfile.setObjectName(_fromUtf8("lblProfile"))
        self.gridLayout.addWidget(self.lblProfile, 5, 0, 1, 1)
        self.cmbFilterProfile = CRBComboBox(StationaryMESF14DCDialog)
        self.cmbFilterProfile.setObjectName(_fromUtf8("cmbFilterProfile"))
        self.gridLayout.addWidget(self.cmbFilterProfile, 5, 1, 1, 2)
        self.lblGroupType = QtGui.QLabel(StationaryMESF14DCDialog)
        self.lblGroupType.setObjectName(_fromUtf8("lblGroupType"))
        self.gridLayout.addWidget(self.lblGroupType, 6, 0, 1, 1)
        self.cmbGroupType = QtGui.QComboBox(StationaryMESF14DCDialog)
        self.cmbGroupType.setObjectName(_fromUtf8("cmbGroupType"))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.cmbGroupType.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbGroupType, 6, 1, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem2, 7, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(StationaryMESF14DCDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 8, 0, 1, 3)
        self.lblBegDate.setBuddy(self.edtBegDate)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblOrgStructure.setBuddy(self.cmbOrgStructure)
        self.lblMes.setBuddy(self.cmbMes)

        self.retranslateUi(StationaryMESF14DCDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               StationaryMESF14DCDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               StationaryMESF14DCDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StationaryMESF14DCDialog)
        StationaryMESF14DCDialog.setTabOrder(self.edtBegDate, self.edtEndDate)
        StationaryMESF14DCDialog.setTabOrder(self.edtEndDate,
                                             self.cmbOrgStructure)
        StationaryMESF14DCDialog.setTabOrder(self.cmbOrgStructure,
                                             self.cmbGroupMES)
        StationaryMESF14DCDialog.setTabOrder(self.cmbGroupMES, self.cmbMes)
        StationaryMESF14DCDialog.setTabOrder(self.cmbMes,
                                             self.cmbFilterProfile)
        StationaryMESF14DCDialog.setTabOrder(self.cmbFilterProfile,
                                             self.cmbGroupType)
        StationaryMESF14DCDialog.setTabOrder(self.cmbGroupType, self.buttonBox)
Esempio n. 11
0
    def setupUi(self, LogicalControlMesDialog):
        LogicalControlMesDialog.setObjectName(
            _fromUtf8("LogicalControlMesDialog"))
        LogicalControlMesDialog.resize(1096, 804)
        self.gridLayout = QtGui.QGridLayout(LogicalControlMesDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegin = QtGui.QLabel(LogicalControlMesDialog)
        self.lblBegin.setObjectName(_fromUtf8("lblBegin"))
        self.gridLayout.addWidget(self.lblBegin, 0, 0, 1, 1)
        self.dateBeginPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateBeginPeriod.sizePolicy().hasHeightForWidth())
        self.dateBeginPeriod.setSizePolicy(sizePolicy)
        self.dateBeginPeriod.setCalendarPopup(True)
        self.dateBeginPeriod.setObjectName(_fromUtf8("dateBeginPeriod"))
        self.gridLayout.addWidget(self.dateBeginPeriod, 0, 1, 1, 1)
        self.lblEnd = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEnd.setObjectName(_fromUtf8("lblEnd"))
        self.gridLayout.addWidget(self.lblEnd, 0, 2, 1, 1)
        self.dateEndPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEndPeriod.sizePolicy().hasHeightForWidth())
        self.dateEndPeriod.setSizePolicy(sizePolicy)
        self.dateEndPeriod.setCalendarPopup(True)
        self.dateEndPeriod.setObjectName(_fromUtf8("dateEndPeriod"))
        self.gridLayout.addWidget(self.dateEndPeriod, 0, 3, 1, 1)
        self.lblEventFeature = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventFeature.setObjectName(_fromUtf8("lblEventFeature"))
        self.gridLayout.addWidget(self.lblEventFeature, 0, 6, 1, 1)
        self.cmbEventFeature = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventFeature.setObjectName(_fromUtf8("cmbEventFeature"))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventFeature, 0, 7, 1, 1)
        spacerItem = QtGui.QSpacerItem(42, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 8, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(LogicalControlMesDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 6, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(LogicalControlMesDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 7, 1, 2)
        self.lblSpeciality = QtGui.QLabel(LogicalControlMesDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 4, 6, 1, 1)
        self.cmbSpeciality = CRBComboBox(LogicalControlMesDialog)
        self.cmbSpeciality.setEnabled(True)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 4, 7, 1, 2)
        self.lblPersonal = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout.addWidget(self.lblPersonal, 5, 6, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(LogicalControlMesDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 5, 7, 1, 2)
        self.prbControlMes = CProgressBar(LogicalControlMesDialog)
        self.prbControlMes.setObjectName(_fromUtf8("prbControlMes"))
        self.gridLayout.addWidget(self.prbControlMes, 9, 0, 1, 9)
        self.listResultControlMes = CRemarkListWidget(LogicalControlMesDialog)
        self.listResultControlMes.setEditTriggers(
            QtGui.QAbstractItemView.DoubleClicked
            | QtGui.QAbstractItemView.EditKeyPressed
            | QtGui.QAbstractItemView.SelectedClicked)
        self.listResultControlMes.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.listResultControlMes.setFlow(QtGui.QListView.TopToBottom)
        self.listResultControlMes.setObjectName(
            _fromUtf8("listResultControlMes"))
        self.gridLayout.addWidget(self.listResultControlMes, 10, 0, 1, 9)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnStartControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnStartControl.setAutoDefault(True)
        self.btnStartControl.setObjectName(_fromUtf8("btnStartControl"))
        self.horizontalLayout_2.addWidget(self.btnStartControl)
        self.lblCountLine = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCountLine.sizePolicy().hasHeightForWidth())
        self.lblCountLine.setSizePolicy(sizePolicy)
        self.lblCountLine.setText(_fromUtf8(""))
        self.lblCountLine.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountLine.setObjectName(_fromUtf8("lblCountLine"))
        self.horizontalLayout_2.addWidget(self.lblCountLine)
        self.btnEndControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnEndControl.setAutoDefault(True)
        self.btnEndControl.setObjectName(_fromUtf8("btnEndControl"))
        self.horizontalLayout_2.addWidget(self.btnEndControl)
        self.gridLayout.addLayout(self.horizontalLayout_2, 11, 0, 1, 9)
        self.chkMes = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMes.setObjectName(_fromUtf8("chkMes"))
        self.gridLayout.addWidget(self.chkMes, 8, 0, 1, 2)
        self.chkDuration = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkDuration.setObjectName(_fromUtf8("chkDuration"))
        self.gridLayout.addWidget(self.chkDuration, 8, 2, 1, 2)
        self.chkMKB = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 8, 4, 1, 1)
        self.chkExecActions = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkExecActions.setObjectName(_fromUtf8("chkExecActions"))
        self.gridLayout.addWidget(self.chkExecActions, 8, 8, 1, 1)
        self.chkCountVisits = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkCountVisits.setObjectName(_fromUtf8("chkCountVisits"))
        self.gridLayout.addWidget(self.chkCountVisits, 8, 7, 1, 1)
        self.cmbMes = CMESComboBox(LogicalControlMesDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 6, 2, 1, 7)
        self.lblMes = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 6, 0, 1, 2)
        self.cmbEventPurpose = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 2, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 2)
        self.lblEventType = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 2)
        self.cmbEventType = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 2, 1, 4)
        self.cmbEventProfile = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 5, 2, 1, 4)
        self.lblEventProfile = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 5, 0, 1, 2)
        self.cmbEventExec = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventExec.setObjectName(_fromUtf8("cmbEventExec"))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventExec, 0, 5, 1, 1)
        self.lblEventExec = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventExec.setObjectName(_fromUtf8("lblEventExec"))
        self.gridLayout.addWidget(self.lblEventExec, 0, 4, 1, 1)
        self.chkNotAlternative = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkNotAlternative.setObjectName(_fromUtf8("chkNotAlternative"))
        self.gridLayout.addWidget(self.chkNotAlternative, 8, 5, 1, 2)
        self.lblBegin.setBuddy(self.dateBeginPeriod)
        self.lblEnd.setBuddy(self.dateEndPeriod)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblMes.setBuddy(self.cmbMes)
        self.lblEventType.setBuddy(self.cmbEventType)

        self.retranslateUi(LogicalControlMesDialog)
        QtCore.QMetaObject.connectSlotsByName(LogicalControlMesDialog)
        LogicalControlMesDialog.setTabOrder(self.dateBeginPeriod,
                                            self.dateEndPeriod)
        LogicalControlMesDialog.setTabOrder(self.dateEndPeriod,
                                            self.cmbEventFeature)
        LogicalControlMesDialog.setTabOrder(self.cmbEventFeature,
                                            self.cmbEventPurpose)
        LogicalControlMesDialog.setTabOrder(self.cmbEventPurpose,
                                            self.cmbEventType)
        LogicalControlMesDialog.setTabOrder(self.cmbEventType,
                                            self.cmbEventProfile)
        LogicalControlMesDialog.setTabOrder(self.cmbEventProfile, self.cmbMes)
        LogicalControlMesDialog.setTabOrder(self.cmbMes, self.cmbOrgStructure)
        LogicalControlMesDialog.setTabOrder(self.cmbOrgStructure,
                                            self.cmbSpeciality)
        LogicalControlMesDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson)
        LogicalControlMesDialog.setTabOrder(self.cmbPerson, self.chkMes)
        LogicalControlMesDialog.setTabOrder(self.chkMes, self.chkDuration)
        LogicalControlMesDialog.setTabOrder(self.chkDuration, self.chkMKB)
        LogicalControlMesDialog.setTabOrder(self.chkMKB, self.chkCountVisits)
        LogicalControlMesDialog.setTabOrder(self.chkCountVisits,
                                            self.chkExecActions)
        LogicalControlMesDialog.setTabOrder(self.chkExecActions,
                                            self.listResultControlMes)
        LogicalControlMesDialog.setTabOrder(self.listResultControlMes,
                                            self.btnStartControl)
        LogicalControlMesDialog.setTabOrder(self.btnStartControl,
                                            self.btnEndControl)
Esempio n. 12
0
class Ui_LogicalControlMesDialog(object):
    def setupUi(self, LogicalControlMesDialog):
        LogicalControlMesDialog.setObjectName(
            _fromUtf8("LogicalControlMesDialog"))
        LogicalControlMesDialog.resize(1096, 804)
        self.gridLayout = QtGui.QGridLayout(LogicalControlMesDialog)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblBegin = QtGui.QLabel(LogicalControlMesDialog)
        self.lblBegin.setObjectName(_fromUtf8("lblBegin"))
        self.gridLayout.addWidget(self.lblBegin, 0, 0, 1, 1)
        self.dateBeginPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateBeginPeriod.sizePolicy().hasHeightForWidth())
        self.dateBeginPeriod.setSizePolicy(sizePolicy)
        self.dateBeginPeriod.setCalendarPopup(True)
        self.dateBeginPeriod.setObjectName(_fromUtf8("dateBeginPeriod"))
        self.gridLayout.addWidget(self.dateBeginPeriod, 0, 1, 1, 1)
        self.lblEnd = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEnd.setObjectName(_fromUtf8("lblEnd"))
        self.gridLayout.addWidget(self.lblEnd, 0, 2, 1, 1)
        self.dateEndPeriod = CDateEdit(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.dateEndPeriod.sizePolicy().hasHeightForWidth())
        self.dateEndPeriod.setSizePolicy(sizePolicy)
        self.dateEndPeriod.setCalendarPopup(True)
        self.dateEndPeriod.setObjectName(_fromUtf8("dateEndPeriod"))
        self.gridLayout.addWidget(self.dateEndPeriod, 0, 3, 1, 1)
        self.lblEventFeature = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventFeature.setObjectName(_fromUtf8("lblEventFeature"))
        self.gridLayout.addWidget(self.lblEventFeature, 0, 6, 1, 1)
        self.cmbEventFeature = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventFeature.setObjectName(_fromUtf8("cmbEventFeature"))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.cmbEventFeature.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventFeature, 0, 7, 1, 1)
        spacerItem = QtGui.QSpacerItem(42, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 8, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(LogicalControlMesDialog)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 3, 6, 1, 1)
        self.cmbOrgStructure = COrgStructureComboBox(LogicalControlMesDialog)
        self.cmbOrgStructure.setEnabled(True)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 3, 7, 1, 2)
        self.lblSpeciality = QtGui.QLabel(LogicalControlMesDialog)
        self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality"))
        self.gridLayout.addWidget(self.lblSpeciality, 4, 6, 1, 1)
        self.cmbSpeciality = CRBComboBox(LogicalControlMesDialog)
        self.cmbSpeciality.setEnabled(True)
        self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality"))
        self.gridLayout.addWidget(self.cmbSpeciality, 4, 7, 1, 2)
        self.lblPersonal = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPersonal.sizePolicy().hasHeightForWidth())
        self.lblPersonal.setSizePolicy(sizePolicy)
        self.lblPersonal.setObjectName(_fromUtf8("lblPersonal"))
        self.gridLayout.addWidget(self.lblPersonal, 5, 6, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(LogicalControlMesDialog)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout.addWidget(self.cmbPerson, 5, 7, 1, 2)
        self.prbControlMes = CProgressBar(LogicalControlMesDialog)
        self.prbControlMes.setObjectName(_fromUtf8("prbControlMes"))
        self.gridLayout.addWidget(self.prbControlMes, 9, 0, 1, 9)
        self.listResultControlMes = CRemarkListWidget(LogicalControlMesDialog)
        self.listResultControlMes.setEditTriggers(
            QtGui.QAbstractItemView.DoubleClicked
            | QtGui.QAbstractItemView.EditKeyPressed
            | QtGui.QAbstractItemView.SelectedClicked)
        self.listResultControlMes.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.listResultControlMes.setFlow(QtGui.QListView.TopToBottom)
        self.listResultControlMes.setObjectName(
            _fromUtf8("listResultControlMes"))
        self.gridLayout.addWidget(self.listResultControlMes, 10, 0, 1, 9)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btnStartControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnStartControl.setAutoDefault(True)
        self.btnStartControl.setObjectName(_fromUtf8("btnStartControl"))
        self.horizontalLayout_2.addWidget(self.btnStartControl)
        self.lblCountLine = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCountLine.sizePolicy().hasHeightForWidth())
        self.lblCountLine.setSizePolicy(sizePolicy)
        self.lblCountLine.setText(_fromUtf8(""))
        self.lblCountLine.setAlignment(QtCore.Qt.AlignCenter)
        self.lblCountLine.setObjectName(_fromUtf8("lblCountLine"))
        self.horizontalLayout_2.addWidget(self.lblCountLine)
        self.btnEndControl = QtGui.QPushButton(LogicalControlMesDialog)
        self.btnEndControl.setAutoDefault(True)
        self.btnEndControl.setObjectName(_fromUtf8("btnEndControl"))
        self.horizontalLayout_2.addWidget(self.btnEndControl)
        self.gridLayout.addLayout(self.horizontalLayout_2, 11, 0, 1, 9)
        self.chkMes = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMes.setObjectName(_fromUtf8("chkMes"))
        self.gridLayout.addWidget(self.chkMes, 8, 0, 1, 2)
        self.chkDuration = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkDuration.setObjectName(_fromUtf8("chkDuration"))
        self.gridLayout.addWidget(self.chkDuration, 8, 2, 1, 2)
        self.chkMKB = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkMKB.setObjectName(_fromUtf8("chkMKB"))
        self.gridLayout.addWidget(self.chkMKB, 8, 4, 1, 1)
        self.chkExecActions = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkExecActions.setObjectName(_fromUtf8("chkExecActions"))
        self.gridLayout.addWidget(self.chkExecActions, 8, 8, 1, 1)
        self.chkCountVisits = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkCountVisits.setObjectName(_fromUtf8("chkCountVisits"))
        self.gridLayout.addWidget(self.chkCountVisits, 8, 7, 1, 1)
        self.cmbMes = CMESComboBox(LogicalControlMesDialog)
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 6, 2, 1, 7)
        self.lblMes = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblMes.sizePolicy().hasHeightForWidth())
        self.lblMes.setSizePolicy(sizePolicy)
        self.lblMes.setObjectName(_fromUtf8("lblMes"))
        self.gridLayout.addWidget(self.lblMes, 6, 0, 1, 2)
        self.cmbEventPurpose = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose"))
        self.gridLayout.addWidget(self.cmbEventPurpose, 3, 2, 1, 4)
        self.lblEventPurpose = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose"))
        self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 2)
        self.lblEventType = QtGui.QLabel(LogicalControlMesDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEventType.sizePolicy().hasHeightForWidth())
        self.lblEventType.setSizePolicy(sizePolicy)
        self.lblEventType.setObjectName(_fromUtf8("lblEventType"))
        self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 2)
        self.cmbEventType = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventType.setObjectName(_fromUtf8("cmbEventType"))
        self.gridLayout.addWidget(self.cmbEventType, 4, 2, 1, 4)
        self.cmbEventProfile = CRBComboBox(LogicalControlMesDialog)
        self.cmbEventProfile.setObjectName(_fromUtf8("cmbEventProfile"))
        self.gridLayout.addWidget(self.cmbEventProfile, 5, 2, 1, 4)
        self.lblEventProfile = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventProfile.setObjectName(_fromUtf8("lblEventProfile"))
        self.gridLayout.addWidget(self.lblEventProfile, 5, 0, 1, 2)
        self.cmbEventExec = QtGui.QComboBox(LogicalControlMesDialog)
        self.cmbEventExec.setObjectName(_fromUtf8("cmbEventExec"))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.cmbEventExec.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbEventExec, 0, 5, 1, 1)
        self.lblEventExec = QtGui.QLabel(LogicalControlMesDialog)
        self.lblEventExec.setObjectName(_fromUtf8("lblEventExec"))
        self.gridLayout.addWidget(self.lblEventExec, 0, 4, 1, 1)
        self.chkNotAlternative = QtGui.QCheckBox(LogicalControlMesDialog)
        self.chkNotAlternative.setObjectName(_fromUtf8("chkNotAlternative"))
        self.gridLayout.addWidget(self.chkNotAlternative, 8, 5, 1, 2)
        self.lblBegin.setBuddy(self.dateBeginPeriod)
        self.lblEnd.setBuddy(self.dateEndPeriod)
        self.lblSpeciality.setBuddy(self.cmbSpeciality)
        self.lblPersonal.setBuddy(self.cmbPerson)
        self.lblMes.setBuddy(self.cmbMes)
        self.lblEventType.setBuddy(self.cmbEventType)

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

    def retranslateUi(self, LogicalControlMesDialog):
        LogicalControlMesDialog.setWindowTitle(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Логический контроль событий с МЭС ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblBegin.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "с   ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.dateBeginPeriod.setDisplayFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEnd.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "  по    ",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.dateEndPeriod.setDisplayFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "dd.MM.yyyy", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventFeature.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Особенности", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            0,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Не учитывать", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            1,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Только выполненные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventFeature.setItemText(
            2,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Только невыполненные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOrgStructure.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Подразделение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblSpeciality.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "&Специальность", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbSpeciality.setWhatsThis(
            QtGui.QApplication.translate(
                "LogicalControlMesDialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.lblPersonal.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "&Врач",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.prbControlMes.setFormat(
            QtGui.QApplication.translate("LogicalControlMesDialog", "%p%",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnStartControl.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "начать выполнение", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.btnEndControl.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "прервать",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.chkMes.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Наличие МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkDuration.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Длительность события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkMKB.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Заключительный диагноз", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkExecActions.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Наличие выполненных действий", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkCountVisits.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Кол-во визитов", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblMes.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog", "МЭС",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblEventPurpose.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Назначение события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventType.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Тип события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventProfile.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Профиль МЭС", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            0,
            QtGui.QApplication.translate("LogicalControlMesDialog", "Все",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            1,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Законченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbEventExec.setItemText(
            2,
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Незаконченные", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblEventExec.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Учитывать события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkNotAlternative.setText(
            QtGui.QApplication.translate("LogicalControlMesDialog",
                                         "Не выполнена альтернативность", None,
                                         QtGui.QApplication.UnicodeUTF8))
Esempio n. 13
0
    def setupUi(self, ReportStandart):
        ReportStandart.setObjectName(_fromUtf8("ReportStandart"))
        ReportStandart.resize(400, 459)
        self.gridLayout = QtGui.QGridLayout(ReportStandart)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtEndDate = CDateEdit(ReportStandart)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportStandart)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 0, 1, 6)
        self.lblEndDate = QtGui.QLabel(ReportStandart)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.label_2 = QtGui.QLabel(ReportStandart)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 2)
        self.edtBegDate = CDateEdit(ReportStandart)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportStandart)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.cmbHospitalization = QtGui.QComboBox(ReportStandart)
        self.cmbHospitalization.setObjectName(_fromUtf8("cmbHospitalization"))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbHospitalization, 2, 2, 1, 4)
        self.cmbOrgStructure = COrgStructureComboBox(ReportStandart)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 7, 2, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(ReportStandart)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 2)
        self.cmbInsurerFilterDialog = CInsurerComboBox(ReportStandart)
        self.cmbInsurerFilterDialog.setObjectName(_fromUtf8("cmbInsurerFilterDialog"))
        self.gridLayout.addWidget(self.cmbInsurerFilterDialog, 6, 2, 1, 4)
        self.label = QtGui.QLabel(ReportStandart)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 2)
        self.cmbStandart = CMESComboBox(ReportStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbStandart.sizePolicy().hasHeightForWidth())
        self.cmbStandart.setSizePolicy(sizePolicy)
        self.cmbStandart.setObjectName(_fromUtf8("cmbStandart"))
        self.gridLayout.addWidget(self.cmbStandart, 4, 2, 1, 4)
        self.lblPerson = QtGui.QLabel(ReportStandart)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportStandart)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 4)
        self.chkStandart = QtGui.QCheckBox(ReportStandart)
        self.chkStandart.setObjectName(_fromUtf8("chkStandart"))
        self.gridLayout.addWidget(self.chkStandart, 4, 0, 1, 2)
        self.lstStandart = CRBListBox(ReportStandart)
        self.lstStandart.setObjectName(_fromUtf8("lstStandart"))
        self.gridLayout.addWidget(self.lstStandart, 5, 0, 1, 6)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 10, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

        self.retranslateUi(ReportStandart)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportStandart.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportStandart.reject)
        QtCore.QMetaObject.connectSlotsByName(ReportStandart)
Esempio n. 14
0
class Ui_ReportStandart(object):
    def setupUi(self, ReportStandart):
        ReportStandart.setObjectName(_fromUtf8("ReportStandart"))
        ReportStandart.resize(400, 459)
        self.gridLayout = QtGui.QGridLayout(ReportStandart)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.edtEndDate = CDateEdit(ReportStandart)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(ReportStandart)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 11, 0, 1, 6)
        self.lblEndDate = QtGui.QLabel(ReportStandart)
        self.lblEndDate.setObjectName(_fromUtf8("lblEndDate"))
        self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2)
        self.label_2 = QtGui.QLabel(ReportStandart)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 2)
        self.edtBegDate = CDateEdit(ReportStandart)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 1)
        self.lblBegDate = QtGui.QLabel(ReportStandart)
        self.lblBegDate.setObjectName(_fromUtf8("lblBegDate"))
        self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2)
        self.cmbHospitalization = QtGui.QComboBox(ReportStandart)
        self.cmbHospitalization.setObjectName(_fromUtf8("cmbHospitalization"))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.cmbHospitalization.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbHospitalization, 2, 2, 1, 4)
        self.cmbOrgStructure = COrgStructureComboBox(ReportStandart)
        self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure"))
        self.gridLayout.addWidget(self.cmbOrgStructure, 7, 2, 1, 4)
        self.lblOrgStructure = QtGui.QLabel(ReportStandart)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 2)
        self.cmbInsurerFilterDialog = CInsurerComboBox(ReportStandart)
        self.cmbInsurerFilterDialog.setObjectName(_fromUtf8("cmbInsurerFilterDialog"))
        self.gridLayout.addWidget(self.cmbInsurerFilterDialog, 6, 2, 1, 4)
        self.label = QtGui.QLabel(ReportStandart)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 6, 0, 1, 2)
        self.cmbStandart = CMESComboBox(ReportStandart)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmbStandart.sizePolicy().hasHeightForWidth())
        self.cmbStandart.setSizePolicy(sizePolicy)
        self.cmbStandart.setObjectName(_fromUtf8("cmbStandart"))
        self.gridLayout.addWidget(self.cmbStandart, 4, 2, 1, 4)
        self.lblPerson = QtGui.QLabel(ReportStandart)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 2)
        self.cmbPerson = CPersonComboBoxEx(ReportStandart)
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.cmbPerson.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 4)
        self.chkStandart = QtGui.QCheckBox(ReportStandart)
        self.chkStandart.setObjectName(_fromUtf8("chkStandart"))
        self.gridLayout.addWidget(self.chkStandart, 4, 0, 1, 2)
        self.lstStandart = CRBListBox(ReportStandart)
        self.lstStandart.setObjectName(_fromUtf8("lstStandart"))
        self.gridLayout.addWidget(self.lstStandart, 5, 0, 1, 6)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 10, 0, 1, 1)
        self.lblEndDate.setBuddy(self.edtEndDate)
        self.lblBegDate.setBuddy(self.edtBegDate)

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

    def retranslateUi(self, ReportStandart):
        ReportStandart.setWindowTitle(_translate("ReportStandart", "Dialog", None))
        self.lblEndDate.setText(_translate("ReportStandart", "Дата &окончания периода", None))
        self.label_2.setText(_translate("ReportStandart", "Тип госпитализации", None))
        self.lblBegDate.setText(_translate("ReportStandart", "Дата &начала периода", None))
        self.cmbHospitalization.setItemText(0, _translate("ReportStandart", "не задано", None))
        self.cmbHospitalization.setItemText(1, _translate("ReportStandart", "Круглосуточная", None))
        self.cmbHospitalization.setItemText(2, _translate("ReportStandart", "Дневная", None))
        self.lblOrgStructure.setText(_translate("ReportStandart", "Подразделение", None))
        self.label.setText(_translate("ReportStandart", "Страховая организация", None))
        self.lblPerson.setText(_translate("ReportStandart", "Врач", None))
        self.cmbPerson.setItemText(0, _translate("ReportStandart", "Врач", None))
        self.chkStandart.setText(_translate("ReportStandart", "Стандарт", None))
Esempio n. 15
0
    def setupUi(self, QStandartPageWidget):
        QStandartPageWidget.setObjectName(_fromUtf8("QStandartPageWidget"))
        QStandartPageWidget.resize(1510, 582)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            QStandartPageWidget.sizePolicy().hasHeightForWidth())
        QStandartPageWidget.setSizePolicy(sizePolicy)
        self.gridLayout_4 = QtGui.QGridLayout(QStandartPageWidget)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.scrollArea = QtGui.QScrollArea(QStandartPageWidget)
        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, 1492, 564))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setMinimumSize(QtCore.QSize(0, 400))
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.groupBox_2 = QtGui.QGroupBox(self.splitter)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem = QtGui.QSpacerItem(197, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 2, 3, 1, 2)
        self.edtServiceFilter = QtGui.QLineEdit(self.groupBox_2)
        self.edtServiceFilter.setObjectName(_fromUtf8("edtServiceFilter"))
        self.gridLayout.addWidget(self.edtServiceFilter, 2, 2, 1, 1)
        self.lblFilter = QtGui.QLabel(self.groupBox_2)
        self.lblFilter.setObjectName(_fromUtf8("lblFilter"))
        self.gridLayout.addWidget(self.lblFilter, 2, 0, 1, 2)
        self.treeStandartList = QtGui.QTreeWidget(self.groupBox_2)
        self.treeStandartList.setContextMenuPolicy(
            QtCore.Qt.ActionsContextMenu)
        self.treeStandartList.setLineWidth(1)
        self.treeStandartList.setEditTriggers(
            QtGui.QAbstractItemView.DoubleClicked
            | QtGui.QAbstractItemView.EditKeyPressed
            | QtGui.QAbstractItemView.SelectedClicked)
        self.treeStandartList.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.treeStandartList.setObjectName(_fromUtf8("treeStandartList"))
        self.treeStandartList.header().setCascadingSectionResizes(False)
        self.treeStandartList.header().setHighlightSections(False)
        self.treeStandartList.header().setMinimumSectionSize(27)
        self.gridLayout.addWidget(self.treeStandartList, 1, 0, 1, 5)
        self.lblMES = QtGui.QLabel(self.groupBox_2)
        self.lblMES.setObjectName(_fromUtf8("lblMES"))
        self.gridLayout.addWidget(self.lblMES, 0, 0, 1, 1)
        self.cmbMes = CMESComboBox(self.groupBox_2)
        self.cmbMes.setMinimumSize(QtCore.QSize(300, 0))
        self.cmbMes.setBaseSize(QtCore.QSize(0, 0))
        self.cmbMes.setObjectName(_fromUtf8("cmbMes"))
        self.gridLayout.addWidget(self.cmbMes, 0, 1, 1, 3)
        self.btnAdd = QtGui.QPushButton(self.groupBox_2)
        self.btnAdd.setObjectName(_fromUtf8("btnAdd"))
        self.gridLayout.addWidget(self.btnAdd, 0, 4, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.splitter)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.tblStandart = QtGui.QTableView(self.groupBox_3)
        self.tblStandart.setObjectName(_fromUtf8("tblStandart"))
        self.gridLayout_3.addWidget(self.tblStandart, 1, 0, 1, 1)
        self.label = QtGui.QLabel(self.groupBox_3)
        self.label.setMinimumSize(QtCore.QSize(0, 23))
        self.label.setText(_fromUtf8(""))
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.lblPerson = QtGui.QLabel(self.groupBox)
        self.lblPerson.setObjectName(_fromUtf8("lblPerson"))
        self.gridLayout_2.addWidget(self.lblPerson, 0, 2, 1, 1)
        self.cmbPerson = CPersonComboBoxEx(self.groupBox)
        self.cmbPerson.setMinimumSize(QtCore.QSize(150, 0))
        self.cmbPerson.setObjectName(_fromUtf8("cmbPerson"))
        self.gridLayout_2.addWidget(self.cmbPerson, 0, 3, 1, 1)
        self.lblSetDate = QtGui.QLabel(self.groupBox)
        self.lblSetDate.setObjectName(_fromUtf8("lblSetDate"))
        self.gridLayout_2.addWidget(self.lblSetDate, 0, 4, 1, 1)
        self.edtSetDate = CDateEdit(self.groupBox)
        self.edtSetDate.setObjectName(_fromUtf8("edtSetDate"))
        self.gridLayout_2.addWidget(self.edtSetDate, 0, 5, 1, 1)
        self.lblExecDate = QtGui.QLabel(self.groupBox)
        self.lblExecDate.setObjectName(_fromUtf8("lblExecDate"))
        self.gridLayout_2.addWidget(self.lblExecDate, 0, 6, 1, 1)
        self.edtExecDate = CDateEdit(self.groupBox)
        self.edtExecDate.setObjectName(_fromUtf8("edtExecDate"))
        self.gridLayout_2.addWidget(self.edtExecDate, 0, 7, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(180, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 1, 1, 1)
        self.tblAPProps = CExActionPropertiesTableView(self.groupBox)
        self.tblAPProps.setObjectName(_fromUtf8("tblAPProps"))
        self.gridLayout_2.addWidget(self.tblAPProps, 1, 1, 1, 7)
        spacerItem2 = QtGui.QSpacerItem(338, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem2, 2, 7, 1, 1)
        self.btnLoadTemplate = CActionTemplateChooseButton(self.groupBox)
        self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate"))
        self.gridLayout_2.addWidget(self.btnLoadTemplate, 2, 3, 1, 1)
        self.btnAPPrint = CPrintButton(self.groupBox)
        self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint"))
        self.gridLayout_2.addWidget(self.btnAPPrint, 2, 2, 1, 1)
        self.verticalLayout.addWidget(self.splitter)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout_4.addWidget(self.scrollArea, 0, 0, 1, 1)

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