def createEditor(self, parent, option, index): if index.column() == 0: editor = CActionTypeComboBox(parent) editor.setClass(index.model().actionTypeClass) editor.setDisabledActionTypeIdList( index.model().disabledActionTypeIdList) editor.setEnabledActionTypeIdList( index.model().enabledActionTypeIdList) # prefferedWidth = self.parent().model().col.prefferedWidth # editor.setPrefferedWidth(prefferedWidth) dialog = index.model().eventEditor editor.setFilter(dialog.clientSex, dialog.clientAge) return editor
def setupUi(self, ExportLOFOMSPage1): ExportLOFOMSPage1.setObjectName(_fromUtf8("ExportLOFOMSPage1")) ExportLOFOMSPage1.resize(400, 300) self.gridlayout = QtGui.QGridLayout(ExportLOFOMSPage1) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.lblFluorography = QtGui.QLabel(ExportLOFOMSPage1) self.lblFluorography.setObjectName(_fromUtf8("lblFluorography")) self.gridlayout.addWidget(self.lblFluorography, 0, 0, 1, 1) self.cmbActionTypeFluorography = CActionTypeComboBox(ExportLOFOMSPage1) self.cmbActionTypeFluorography.setObjectName(_fromUtf8("cmbActionTypeFluorography")) self.gridlayout.addWidget(self.cmbActionTypeFluorography, 1, 0, 1, 2) self.lblCytological = QtGui.QLabel(ExportLOFOMSPage1) self.lblCytological.setObjectName(_fromUtf8("lblCytological")) self.gridlayout.addWidget(self.lblCytological, 2, 0, 1, 1) self.cmbActionTypeCytological = CActionTypeComboBox(ExportLOFOMSPage1) self.cmbActionTypeCytological.setObjectName(_fromUtf8("cmbActionTypeCytological")) self.gridlayout.addWidget(self.cmbActionTypeCytological, 3, 0, 1, 2) self.gbAccountParams = QtGui.QGroupBox(ExportLOFOMSPage1) self.gbAccountParams.setObjectName(_fromUtf8("gbAccountParams")) self.verticalLayout = QtGui.QVBoxLayout(self.gbAccountParams) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.chkRFAccount = QtGui.QCheckBox(self.gbAccountParams) self.chkRFAccount.setObjectName(_fromUtf8("chkRFAccount")) self.verticalLayout.addWidget(self.chkRFAccount) self.lblAccountType = QtGui.QLabel(self.gbAccountParams) self.lblAccountType.setObjectName(_fromUtf8("lblAccountType")) self.verticalLayout.addWidget(self.lblAccountType) self.cmbAccountType = QtGui.QComboBox(self.gbAccountParams) self.cmbAccountType.setObjectName(_fromUtf8("cmbAccountType")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.verticalLayout.addWidget(self.cmbAccountType) self.gridlayout.addWidget(self.gbAccountParams, 4, 0, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem, 5, 0, 1, 1) self.retranslateUi(ExportLOFOMSPage1) QtCore.QMetaObject.connectSlotsByName(ExportLOFOMSPage1)
def setupUi(self, ReportSalary_ServiceSetupDialog): ReportSalary_ServiceSetupDialog.setObjectName( _fromUtf8("ReportSalary_ServiceSetupDialog")) ReportSalary_ServiceSetupDialog.resize(400, 144) self.formLayout = QtGui.QFormLayout(ReportSalary_ServiceSetupDialog) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(ReportSalary_ServiceSetupDialog) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label) self.edtBegDate = CDateEdit(ReportSalary_ServiceSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.edtBegDate) self.label_2 = QtGui.QLabel(ReportSalary_ServiceSetupDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.edtEndDate = CDateEdit(ReportSalary_ServiceSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.edtEndDate) self.label_3 = QtGui.QLabel(ReportSalary_ServiceSetupDialog) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3) self.cmbService = CActionTypeComboBox(ReportSalary_ServiceSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbService.sizePolicy().hasHeightForWidth()) self.cmbService.setSizePolicy(sizePolicy) self.cmbService.setObjectName(_fromUtf8("cmbService")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbService) self.label_4 = QtGui.QLabel(ReportSalary_ServiceSetupDialog) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4) self.chkGroup = QtGui.QCheckBox(ReportSalary_ServiceSetupDialog) self.chkGroup.setText(_fromUtf8("")) self.chkGroup.setObjectName(_fromUtf8("chkGroup")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.chkGroup) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.formLayout.setItem(4, QtGui.QFormLayout.LabelRole, spacerItem) self.buttonBox = QtGui.QDialogButtonBox( ReportSalary_ServiceSetupDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole, self.buttonBox) self.retranslateUi(ReportSalary_ServiceSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSalary_ServiceSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportSalary_ServiceSetupDialog)
class Ui_ExportLOFOMSPage1(object): def setupUi(self, ExportLOFOMSPage1): ExportLOFOMSPage1.setObjectName(_fromUtf8("ExportLOFOMSPage1")) ExportLOFOMSPage1.resize(400, 300) self.gridlayout = QtGui.QGridLayout(ExportLOFOMSPage1) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.lblFluorography = QtGui.QLabel(ExportLOFOMSPage1) self.lblFluorography.setObjectName(_fromUtf8("lblFluorography")) self.gridlayout.addWidget(self.lblFluorography, 0, 0, 1, 1) self.cmbActionTypeFluorography = CActionTypeComboBox(ExportLOFOMSPage1) self.cmbActionTypeFluorography.setObjectName(_fromUtf8("cmbActionTypeFluorography")) self.gridlayout.addWidget(self.cmbActionTypeFluorography, 1, 0, 1, 2) self.lblCytological = QtGui.QLabel(ExportLOFOMSPage1) self.lblCytological.setObjectName(_fromUtf8("lblCytological")) self.gridlayout.addWidget(self.lblCytological, 2, 0, 1, 1) self.cmbActionTypeCytological = CActionTypeComboBox(ExportLOFOMSPage1) self.cmbActionTypeCytological.setObjectName(_fromUtf8("cmbActionTypeCytological")) self.gridlayout.addWidget(self.cmbActionTypeCytological, 3, 0, 1, 2) self.gbAccountParams = QtGui.QGroupBox(ExportLOFOMSPage1) self.gbAccountParams.setObjectName(_fromUtf8("gbAccountParams")) self.verticalLayout = QtGui.QVBoxLayout(self.gbAccountParams) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.chkRFAccount = QtGui.QCheckBox(self.gbAccountParams) self.chkRFAccount.setObjectName(_fromUtf8("chkRFAccount")) self.verticalLayout.addWidget(self.chkRFAccount) self.lblAccountType = QtGui.QLabel(self.gbAccountParams) self.lblAccountType.setObjectName(_fromUtf8("lblAccountType")) self.verticalLayout.addWidget(self.lblAccountType) self.cmbAccountType = QtGui.QComboBox(self.gbAccountParams) self.cmbAccountType.setObjectName(_fromUtf8("cmbAccountType")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.cmbAccountType.addItem(_fromUtf8("")) self.verticalLayout.addWidget(self.cmbAccountType) self.gridlayout.addWidget(self.gbAccountParams, 4, 0, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem, 5, 0, 1, 1) self.retranslateUi(ExportLOFOMSPage1) QtCore.QMetaObject.connectSlotsByName(ExportLOFOMSPage1) def retranslateUi(self, ExportLOFOMSPage1): ExportLOFOMSPage1.setWindowTitle(QtGui.QApplication.translate("ExportLOFOMSPage1", "Form", None, QtGui.QApplication.UnicodeUTF8)) self.lblFluorography.setText(QtGui.QApplication.translate("ExportLOFOMSPage1", "Укажите тип действия для анализа \"Флюорография\":", None, QtGui.QApplication.UnicodeUTF8)) self.lblCytological.setText(QtGui.QApplication.translate("ExportLOFOMSPage1", "Укажите тип действия для анализа \"Цитологическое исследование\"", None, QtGui.QApplication.UnicodeUTF8)) self.gbAccountParams.setTitle(QtGui.QApplication.translate("ExportLOFOMSPage1", "Свойства счета", None, QtGui.QApplication.UnicodeUTF8)) self.chkRFAccount.setText(QtGui.QApplication.translate("ExportLOFOMSPage1", "Счет по РФ", None, QtGui.QApplication.UnicodeUTF8)) self.lblAccountType.setText(QtGui.QApplication.translate("ExportLOFOMSPage1", "Категория счета:", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(0, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за застрахованных жителей Лен.области", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(1, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за иные категории граждан (условно застрахованные)", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(2, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за жителей других субъектов РФ (кроме СПб)", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(3, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за жителей Лен. обл., работающих на предприятиях РФ", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(4, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за застрахованных жителей Лен.обл. по стоматологии", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(5, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за иные категории граждан (условно застрахованные) по стоматологии", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(6, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за жителей других субъектов РФ (кроме СПб) по стоматологии", None, QtGui.QApplication.UnicodeUTF8)) self.cmbAccountType.setItemText(7, QtGui.QApplication.translate("ExportLOFOMSPage1", "счет за жителей Лен. обл., работающих на предприятиях РФ по стоматологии", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, ItemEditorDialog): ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog")) ItemEditorDialog.resize(492, 196) ItemEditorDialog.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(ItemEditorDialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.edtReason = QtGui.QTextEdit(ItemEditorDialog) self.edtReason.setObjectName(_fromUtf8("edtReason")) self.gridlayout.addWidget(self.edtReason, 2, 1, 1, 3) self.cmbSecondActionType = CActionTypeComboBox(ItemEditorDialog) self.cmbSecondActionType.setObjectName( _fromUtf8("cmbSecondActionType")) self.gridlayout.addWidget(self.cmbSecondActionType, 0, 3, 1, 1) self.cmbFirstActionType = CActionTypeComboBox(ItemEditorDialog) self.cmbFirstActionType.setObjectName(_fromUtf8("cmbFirstActionType")) self.gridlayout.addWidget(self.cmbFirstActionType, 0, 1, 1, 1) self.lblFirstActionType = QtGui.QLabel(ItemEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblFirstActionType.sizePolicy().hasHeightForWidth()) self.lblFirstActionType.setSizePolicy(sizePolicy) self.lblFirstActionType.setObjectName(_fromUtf8("lblFirstActionType")) self.gridlayout.addWidget(self.lblFirstActionType, 0, 0, 1, 1) spacerItem = QtGui.QSpacerItem(103, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem, 3, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridlayout.addWidget(self.buttonBox, 4, 0, 1, 4) self.lblReason = QtGui.QLabel(ItemEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblReason.sizePolicy().hasHeightForWidth()) self.lblReason.setSizePolicy(sizePolicy) self.lblReason.setObjectName(_fromUtf8("lblReason")) self.gridlayout.addWidget(self.lblReason, 2, 0, 1, 1) self.label = QtGui.QLabel(ItemEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setMaximumSize(QtCore.QSize(20, 16777215)) self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName(_fromUtf8("label")) self.gridlayout.addWidget(self.label, 0, 2, 1, 1) self.retranslateUi(ItemEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ItemEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ItemEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog)
def setupUi(self, SetupReportMonthActionsDialog): SetupReportMonthActionsDialog.setObjectName( _fromUtf8("SetupReportMonthActionsDialog")) SetupReportMonthActionsDialog.resize(370, 330) self.gridLayout = QtGui.QGridLayout(SetupReportMonthActionsDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox(SetupReportMonthActionsDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 3) self.lblDate = QtGui.QLabel(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDate.sizePolicy().hasHeightForWidth()) self.lblDate.setSizePolicy(sizePolicy) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1) self.cmbFinance = CRBComboBox(SetupReportMonthActionsDialog) self.cmbFinance.setEnabled(False) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 1, 1, 1, 2) self.chkFinance = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkFinance.sizePolicy().hasHeightForWidth()) self.chkFinance.setSizePolicy(sizePolicy) self.chkFinance.setObjectName(_fromUtf8("chkFinance")) self.gridLayout.addWidget(self.chkFinance, 1, 0, 1, 1) self.chkClass = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkClass.sizePolicy().hasHeightForWidth()) self.chkClass.setSizePolicy(sizePolicy) self.chkClass.setObjectName(_fromUtf8("chkClass")) self.gridLayout.addWidget(self.chkClass, 2, 0, 1, 1) self.chkActionTypeGroup = QtGui.QCheckBox( SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkActionTypeGroup.sizePolicy().hasHeightForWidth()) self.chkActionTypeGroup.setSizePolicy(sizePolicy) self.chkActionTypeGroup.setObjectName(_fromUtf8("chkActionTypeGroup")) self.gridLayout.addWidget(self.chkActionTypeGroup, 3, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkStatus.sizePolicy().hasHeightForWidth()) self.chkStatus.setSizePolicy(sizePolicy) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 4, 0, 1, 1) self.chkOrgStructure = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkOrgStructure.sizePolicy().hasHeightForWidth()) self.chkOrgStructure.setSizePolicy(sizePolicy) self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure")) self.gridLayout.addWidget(self.chkOrgStructure, 5, 0, 1, 1) self.chkPerson = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPerson.sizePolicy().hasHeightForWidth()) self.chkPerson.setSizePolicy(sizePolicy) self.chkPerson.setObjectName(_fromUtf8("chkPerson")) self.gridLayout.addWidget(self.chkPerson, 6, 0, 1, 1) self.chkAssistant = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkAssistant.sizePolicy().hasHeightForWidth()) self.chkAssistant.setSizePolicy(sizePolicy) self.chkAssistant.setObjectName(_fromUtf8("chkAssistant")) self.gridLayout.addWidget(self.chkAssistant, 7, 0, 1, 1) self.cmbClass = QtGui.QComboBox(SetupReportMonthActionsDialog) self.cmbClass.setEnabled(False) self.cmbClass.setObjectName(_fromUtf8("cmbClass")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClass, 2, 1, 1, 2) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) self.cmbActionTypeGroup = CActionTypeComboBox( SetupReportMonthActionsDialog) self.cmbActionTypeGroup.setEnabled(False) self.cmbActionTypeGroup.setObjectName(_fromUtf8("cmbActionTypeGroup")) self.gridLayout.addWidget(self.cmbActionTypeGroup, 3, 1, 1, 2) self.cmbStatus = QtGui.QComboBox(SetupReportMonthActionsDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 4, 1, 1, 2) self.cmbOrgStructure = COrgStructureComboBox( SetupReportMonthActionsDialog) self.cmbOrgStructure.setEnabled(False) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 2) self.cmbPerson = CPersonComboBoxEx(SetupReportMonthActionsDialog) self.cmbPerson.setEnabled(False) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 6, 1, 1, 2) self.cmbAssistant = CPersonComboBoxEx(SetupReportMonthActionsDialog) self.cmbAssistant.setEnabled(False) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.gridLayout.addWidget(self.cmbAssistant, 7, 1, 1, 2) self.edtDate = QtGui.QDateEdit(SetupReportMonthActionsDialog) self.edtDate.setCurrentSectionIndex(0) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1) self.chkTissueType = QtGui.QCheckBox(SetupReportMonthActionsDialog) self.chkTissueType.setObjectName(_fromUtf8("chkTissueType")) self.gridLayout.addWidget(self.chkTissueType, 8, 0, 1, 1) self.cmbTissueType = CRBComboBox(SetupReportMonthActionsDialog) self.cmbTissueType.setEnabled(False) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 8, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 9, 0, 1, 1) self.retranslateUi(SetupReportMonthActionsDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SetupReportMonthActionsDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SetupReportMonthActionsDialog.reject) QtCore.QObject.connect(self.chkFinance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFinance.setEnabled) QtCore.QObject.connect(self.chkClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbClass.setEnabled) QtCore.QObject.connect(self.chkActionTypeGroup, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionTypeGroup.setEnabled) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled) QtCore.QObject.connect(self.chkPerson, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbAssistant.setEnabled) QtCore.QObject.connect(self.chkTissueType, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbTissueType.setEnabled) QtCore.QMetaObject.connectSlotsByName(SetupReportMonthActionsDialog) SetupReportMonthActionsDialog.setTabOrder(self.edtDate, self.chkFinance) SetupReportMonthActionsDialog.setTabOrder(self.chkFinance, self.cmbFinance) SetupReportMonthActionsDialog.setTabOrder(self.cmbFinance, self.chkClass) SetupReportMonthActionsDialog.setTabOrder(self.chkClass, self.cmbClass) SetupReportMonthActionsDialog.setTabOrder(self.cmbClass, self.chkActionTypeGroup) SetupReportMonthActionsDialog.setTabOrder(self.chkActionTypeGroup, self.cmbActionTypeGroup) SetupReportMonthActionsDialog.setTabOrder(self.cmbActionTypeGroup, self.chkStatus) SetupReportMonthActionsDialog.setTabOrder(self.chkStatus, self.cmbStatus) SetupReportMonthActionsDialog.setTabOrder(self.cmbStatus, self.chkOrgStructure) SetupReportMonthActionsDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure) SetupReportMonthActionsDialog.setTabOrder(self.cmbOrgStructure, self.chkPerson) SetupReportMonthActionsDialog.setTabOrder(self.chkPerson, self.cmbPerson) SetupReportMonthActionsDialog.setTabOrder(self.cmbPerson, self.chkAssistant) SetupReportMonthActionsDialog.setTabOrder(self.chkAssistant, self.cmbAssistant) SetupReportMonthActionsDialog.setTabOrder(self.cmbAssistant, self.chkTissueType) SetupReportMonthActionsDialog.setTabOrder(self.chkTissueType, self.cmbTissueType) SetupReportMonthActionsDialog.setTabOrder(self.cmbTissueType, self.buttonBox)
class Ui_SetupReportMonthActionsDialog(object): def setupUi(self, SetupReportMonthActionsDialog): SetupReportMonthActionsDialog.setObjectName( _fromUtf8("SetupReportMonthActionsDialog")) SetupReportMonthActionsDialog.resize(370, 330) self.gridLayout = QtGui.QGridLayout(SetupReportMonthActionsDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox(SetupReportMonthActionsDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 10, 0, 1, 3) self.lblDate = QtGui.QLabel(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDate.sizePolicy().hasHeightForWidth()) self.lblDate.setSizePolicy(sizePolicy) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1) self.cmbFinance = CRBComboBox(SetupReportMonthActionsDialog) self.cmbFinance.setEnabled(False) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 1, 1, 1, 2) self.chkFinance = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkFinance.sizePolicy().hasHeightForWidth()) self.chkFinance.setSizePolicy(sizePolicy) self.chkFinance.setObjectName(_fromUtf8("chkFinance")) self.gridLayout.addWidget(self.chkFinance, 1, 0, 1, 1) self.chkClass = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkClass.sizePolicy().hasHeightForWidth()) self.chkClass.setSizePolicy(sizePolicy) self.chkClass.setObjectName(_fromUtf8("chkClass")) self.gridLayout.addWidget(self.chkClass, 2, 0, 1, 1) self.chkActionTypeGroup = QtGui.QCheckBox( SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkActionTypeGroup.sizePolicy().hasHeightForWidth()) self.chkActionTypeGroup.setSizePolicy(sizePolicy) self.chkActionTypeGroup.setObjectName(_fromUtf8("chkActionTypeGroup")) self.gridLayout.addWidget(self.chkActionTypeGroup, 3, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkStatus.sizePolicy().hasHeightForWidth()) self.chkStatus.setSizePolicy(sizePolicy) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 4, 0, 1, 1) self.chkOrgStructure = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkOrgStructure.sizePolicy().hasHeightForWidth()) self.chkOrgStructure.setSizePolicy(sizePolicy) self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure")) self.gridLayout.addWidget(self.chkOrgStructure, 5, 0, 1, 1) self.chkPerson = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPerson.sizePolicy().hasHeightForWidth()) self.chkPerson.setSizePolicy(sizePolicy) self.chkPerson.setObjectName(_fromUtf8("chkPerson")) self.gridLayout.addWidget(self.chkPerson, 6, 0, 1, 1) self.chkAssistant = QtGui.QCheckBox(SetupReportMonthActionsDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkAssistant.sizePolicy().hasHeightForWidth()) self.chkAssistant.setSizePolicy(sizePolicy) self.chkAssistant.setObjectName(_fromUtf8("chkAssistant")) self.gridLayout.addWidget(self.chkAssistant, 7, 0, 1, 1) self.cmbClass = QtGui.QComboBox(SetupReportMonthActionsDialog) self.cmbClass.setEnabled(False) self.cmbClass.setObjectName(_fromUtf8("cmbClass")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClass, 2, 1, 1, 2) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) self.cmbActionTypeGroup = CActionTypeComboBox( SetupReportMonthActionsDialog) self.cmbActionTypeGroup.setEnabled(False) self.cmbActionTypeGroup.setObjectName(_fromUtf8("cmbActionTypeGroup")) self.gridLayout.addWidget(self.cmbActionTypeGroup, 3, 1, 1, 2) self.cmbStatus = QtGui.QComboBox(SetupReportMonthActionsDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 4, 1, 1, 2) self.cmbOrgStructure = COrgStructureComboBox( SetupReportMonthActionsDialog) self.cmbOrgStructure.setEnabled(False) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 2) self.cmbPerson = CPersonComboBoxEx(SetupReportMonthActionsDialog) self.cmbPerson.setEnabled(False) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 6, 1, 1, 2) self.cmbAssistant = CPersonComboBoxEx(SetupReportMonthActionsDialog) self.cmbAssistant.setEnabled(False) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.gridLayout.addWidget(self.cmbAssistant, 7, 1, 1, 2) self.edtDate = QtGui.QDateEdit(SetupReportMonthActionsDialog) self.edtDate.setCurrentSectionIndex(0) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1) self.chkTissueType = QtGui.QCheckBox(SetupReportMonthActionsDialog) self.chkTissueType.setObjectName(_fromUtf8("chkTissueType")) self.gridLayout.addWidget(self.chkTissueType, 8, 0, 1, 1) self.cmbTissueType = CRBComboBox(SetupReportMonthActionsDialog) self.cmbTissueType.setEnabled(False) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 8, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 9, 0, 1, 1) self.retranslateUi(SetupReportMonthActionsDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SetupReportMonthActionsDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SetupReportMonthActionsDialog.reject) QtCore.QObject.connect(self.chkFinance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFinance.setEnabled) QtCore.QObject.connect(self.chkClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbClass.setEnabled) QtCore.QObject.connect(self.chkActionTypeGroup, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionTypeGroup.setEnabled) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled) QtCore.QObject.connect(self.chkPerson, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbAssistant.setEnabled) QtCore.QObject.connect(self.chkTissueType, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbTissueType.setEnabled) QtCore.QMetaObject.connectSlotsByName(SetupReportMonthActionsDialog) SetupReportMonthActionsDialog.setTabOrder(self.edtDate, self.chkFinance) SetupReportMonthActionsDialog.setTabOrder(self.chkFinance, self.cmbFinance) SetupReportMonthActionsDialog.setTabOrder(self.cmbFinance, self.chkClass) SetupReportMonthActionsDialog.setTabOrder(self.chkClass, self.cmbClass) SetupReportMonthActionsDialog.setTabOrder(self.cmbClass, self.chkActionTypeGroup) SetupReportMonthActionsDialog.setTabOrder(self.chkActionTypeGroup, self.cmbActionTypeGroup) SetupReportMonthActionsDialog.setTabOrder(self.cmbActionTypeGroup, self.chkStatus) SetupReportMonthActionsDialog.setTabOrder(self.chkStatus, self.cmbStatus) SetupReportMonthActionsDialog.setTabOrder(self.cmbStatus, self.chkOrgStructure) SetupReportMonthActionsDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure) SetupReportMonthActionsDialog.setTabOrder(self.cmbOrgStructure, self.chkPerson) SetupReportMonthActionsDialog.setTabOrder(self.chkPerson, self.cmbPerson) SetupReportMonthActionsDialog.setTabOrder(self.cmbPerson, self.chkAssistant) SetupReportMonthActionsDialog.setTabOrder(self.chkAssistant, self.cmbAssistant) SetupReportMonthActionsDialog.setTabOrder(self.cmbAssistant, self.chkTissueType) SetupReportMonthActionsDialog.setTabOrder(self.chkTissueType, self.cmbTissueType) SetupReportMonthActionsDialog.setTabOrder(self.cmbTissueType, self.buttonBox) def retranslateUi(self, SetupReportMonthActionsDialog): SetupReportMonthActionsDialog.setWindowTitle( _translate("SetupReportMonthActionsDialog", "Dialog", None)) self.lblDate.setText( _translate("SetupReportMonthActionsDialog", "Месяц", None)) self.chkFinance.setText( _translate("SetupReportMonthActionsDialog", "Тип финансирования", None)) self.chkClass.setText( _translate("SetupReportMonthActionsDialog", "Класс", None)) self.chkActionTypeGroup.setText( _translate("SetupReportMonthActionsDialog", "Группа", None)) self.chkStatus.setText( _translate("SetupReportMonthActionsDialog", "Статус", None)) self.chkOrgStructure.setText( _translate("SetupReportMonthActionsDialog", "Подразделение", None)) self.chkPerson.setText( _translate("SetupReportMonthActionsDialog", "Исполнитель", None)) self.chkAssistant.setText( _translate("SetupReportMonthActionsDialog", "Ассистент", None)) self.cmbClass.setItemText( 0, _translate("SetupReportMonthActionsDialog", "Статус", None)) self.cmbClass.setItemText( 1, _translate("SetupReportMonthActionsDialog", "Диагностика", None)) self.cmbClass.setItemText( 2, _translate("SetupReportMonthActionsDialog", "Лечение", None)) self.cmbClass.setItemText( 3, _translate("SetupReportMonthActionsDialog", "Прочие мероприятия", None)) self.cmbClass.setItemText( 4, _translate("SetupReportMonthActionsDialog", "Назначено", None)) self.edtDate.setDisplayFormat( _translate("SetupReportMonthActionsDialog", "MM.yyyy", None)) self.chkTissueType.setText( _translate("SetupReportMonthActionsDialog", "Тип биоматериала", None))
class Ui_ActionTemplateEditorDialog(object): def setupUi(self, ActionTemplateEditorDialog): ActionTemplateEditorDialog.setObjectName( _fromUtf8("ActionTemplateEditorDialog")) ActionTemplateEditorDialog.resize(487, 565) ActionTemplateEditorDialog.setSizeGripEnabled(True) self.verticalLayout = QtGui.QVBoxLayout(ActionTemplateEditorDialog) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tabWidget = QtGui.QTabWidget(ActionTemplateEditorDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabInfo = QtGui.QWidget() self.tabInfo.setObjectName(_fromUtf8("tabInfo")) self.gridLayout = QtGui.QGridLayout(self.tabInfo) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBaseProperties = QtGui.QLabel(self.tabInfo) self.lblBaseProperties.setObjectName(_fromUtf8("lblBaseProperties")) self.gridLayout.addWidget(self.lblBaseProperties, 0, 0, 1, 12) self.lblName = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblName.sizePolicy().hasHeightForWidth()) self.lblName.setSizePolicy(sizePolicy) self.lblName.setObjectName(_fromUtf8("lblName")) self.gridLayout.addWidget(self.lblName, 1, 1, 1, 2) self.edtName = QtGui.QLineEdit(self.tabInfo) self.edtName.setMinimumSize(QtCore.QSize(200, 0)) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 1, 4, 1, 8) self.line_2 = QtGui.QFrame(self.tabInfo) 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, 2, 0, 1, 1) self.lblActionType = QtGui.QLabel(self.tabInfo) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 2, 1, 1, 2) self.cmbActionType = CActionTypeComboBox(self.tabInfo) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 2, 4, 1, 8) self.lblCase = QtGui.QLabel(self.tabInfo) self.lblCase.setObjectName(_fromUtf8("lblCase")) self.gridLayout.addWidget(self.lblCase, 3, 0, 1, 13) self.lblSex = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSex.sizePolicy().hasHeightForWidth()) self.lblSex.setSizePolicy(sizePolicy) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 4, 1, 1, 1) self.cmbSex = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, 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, 4, 4, 1, 2) spacerItem = QtGui.QSpacerItem(231, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 4, 6, 1, 6) self.lblAge = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAge.sizePolicy().hasHeightForWidth()) self.lblAge.setSizePolicy(sizePolicy) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 5, 1, 1, 1) self.cmbBegAgeUnit = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbBegAgeUnit.sizePolicy().hasHeightForWidth()) self.cmbBegAgeUnit.setSizePolicy(sizePolicy) self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.setItemText(0, _fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbBegAgeUnit, 5, 4, 1, 2) self.edtBegAgeCount = QtGui.QLineEdit(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegAgeCount.sizePolicy().hasHeightForWidth()) self.edtBegAgeCount.setSizePolicy(sizePolicy) self.edtBegAgeCount.setMaxLength(3) self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount")) self.gridLayout.addWidget(self.edtBegAgeCount, 5, 6, 1, 1) self.lblAgeSep = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeSep.sizePolicy().hasHeightForWidth()) self.lblAgeSep.setSizePolicy(sizePolicy) self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep")) self.gridLayout.addWidget(self.lblAgeSep, 5, 7, 1, 1) self.cmbEndAgeUnit = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbEndAgeUnit.sizePolicy().hasHeightForWidth()) self.cmbEndAgeUnit.setSizePolicy(sizePolicy) self.cmbEndAgeUnit.setSizeAdjustPolicy( QtGui.QComboBox.AdjustToContentsOnFirstShow) self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.setItemText(0, _fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbEndAgeUnit, 5, 8, 1, 1) self.edtEndAgeCount = QtGui.QLineEdit(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndAgeCount.sizePolicy().hasHeightForWidth()) self.edtEndAgeCount.setSizePolicy(sizePolicy) self.edtEndAgeCount.setMaxLength(3) self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount")) self.gridLayout.addWidget(self.edtEndAgeCount, 5, 9, 1, 2) spacerItem1 = QtGui.QSpacerItem(71, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 5, 11, 1, 1) self.line_3 = QtGui.QFrame(self.tabInfo) self.line_3.setFrameShape(QtGui.QFrame.HLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.gridLayout.addWidget(self.line_3, 6, 0, 1, 1) self.lblName_2 = QtGui.QLabel(self.tabInfo) self.lblName_2.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblName_2.sizePolicy().hasHeightForWidth()) self.lblName_2.setSizePolicy(sizePolicy) self.lblName_2.setObjectName(_fromUtf8("lblName_2")) self.gridLayout.addWidget(self.lblName_2, 6, 1, 1, 1) self.edtMKBList = QtGui.QLineEdit(self.tabInfo) self.edtMKBList.setEnabled(False) self.edtMKBList.setMinimumSize(QtCore.QSize(200, 0)) self.edtMKBList.setObjectName(_fromUtf8("edtMKBList")) self.gridLayout.addWidget(self.edtMKBList, 6, 4, 1, 8) self.lblVisibleTo = QtGui.QLabel(self.tabInfo) self.lblVisibleTo.setObjectName(_fromUtf8("lblVisibleTo")) self.gridLayout.addWidget(self.lblVisibleTo, 7, 0, 1, 12) self.rbVisibleToOwner = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToOwner.setChecked(True) self.rbVisibleToOwner.setObjectName(_fromUtf8("rbVisibleToOwner")) self.gridLayout.addWidget(self.rbVisibleToOwner, 8, 0, 1, 5) self.cmbOwner = CPersonComboBoxEx(self.tabInfo) self.cmbOwner.setObjectName(_fromUtf8("cmbOwner")) self.gridLayout.addWidget(self.cmbOwner, 8, 5, 1, 7) self.rbVisibleToSpeciality = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToSpeciality.setObjectName( _fromUtf8("rbVisibleToSpeciality")) self.gridLayout.addWidget(self.rbVisibleToSpeciality, 9, 0, 1, 5) self.cmbSpeciality = CRBComboBox(self.tabInfo) self.cmbSpeciality.setEnabled(False) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 9, 5, 1, 5) spacerItem2 = QtGui.QSpacerItem(232, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 9, 10, 1, 2) self.rbVisibleToAll = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToAll.setObjectName(_fromUtf8("rbVisibleToAll")) self.gridLayout.addWidget(self.rbVisibleToAll, 10, 0, 1, 5) spacerItem3 = QtGui.QSpacerItem(51, 331, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 11, 0, 1, 2) self.tabWidget.addTab(self.tabInfo, _fromUtf8("")) self.tabProperties = QtGui.QWidget() self.tabProperties.setObjectName(_fromUtf8("tabProperties")) self.gridLayout_2 = QtGui.QGridLayout(self.tabProperties) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblStatus = QtGui.QLabel(self.tabProperties) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout_2.addWidget(self.lblStatus, 0, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(self.tabProperties) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout_2.addWidget(self.cmbStatus, 0, 1, 1, 1) self.lblAmount = QtGui.QLabel(self.tabProperties) self.lblAmount.setObjectName(_fromUtf8("lblAmount")) self.gridLayout_2.addWidget(self.lblAmount, 0, 2, 1, 1) self.edtAmount = QtGui.QSpinBox(self.tabProperties) self.edtAmount.setObjectName(_fromUtf8("edtAmount")) self.gridLayout_2.addWidget(self.edtAmount, 0, 3, 1, 1) self.lblOffice = QtGui.QLabel(self.tabProperties) self.lblOffice.setObjectName(_fromUtf8("lblOffice")) self.gridLayout_2.addWidget(self.lblOffice, 0, 4, 1, 1) self.edtOffice = QtGui.QLineEdit(self.tabProperties) self.edtOffice.setMaxLength(16) self.edtOffice.setObjectName(_fromUtf8("edtOffice")) self.gridLayout_2.addWidget(self.edtOffice, 0, 5, 1, 1) spacerItem4 = QtGui.QSpacerItem(107, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem4, 0, 6, 1, 1) self.lblPerson = QtGui.QLabel(self.tabProperties) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 1, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.tabProperties) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout_2.addWidget(self.cmbPerson, 1, 1, 1, 5) spacerItem5 = QtGui.QSpacerItem(107, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem5, 1, 6, 1, 1) self.lblStatusNote = QtGui.QLabel(self.tabProperties) self.lblStatusNote.setObjectName(_fromUtf8("lblStatusNote")) self.gridLayout_2.addWidget(self.lblStatusNote, 2, 0, 1, 1) self.edtNote = QtGui.QLineEdit(self.tabProperties) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout_2.addWidget(self.edtNote, 2, 1, 1, 6) self.tblProps = CActionPropertiesTableView(self.tabProperties) self.tblProps.setEnabled(True) self.tblProps.setObjectName(_fromUtf8("tblProps")) self.gridLayout_2.addWidget(self.tblProps, 3, 0, 1, 7) self.tabWidget.addTab(self.tabProperties, _fromUtf8("")) self.verticalLayout.addWidget(self.tabWidget) self.buttonBox = QtGui.QDialogButtonBox(ActionTemplateEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.lblName.setBuddy(self.edtName) self.lblActionType.setBuddy(self.cmbActionType) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.cmbBegAgeUnit) self.lblAgeSep.setBuddy(self.cmbEndAgeUnit) self.lblName_2.setBuddy(self.edtMKBList) self.lblStatus.setBuddy(self.cmbStatus) self.lblAmount.setBuddy(self.edtAmount) self.lblOffice.setBuddy(self.edtOffice) self.lblPerson.setBuddy(self.cmbPerson) self.lblStatusNote.setBuddy(self.edtNote) self.retranslateUi(ActionTemplateEditorDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ActionTemplateEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ActionTemplateEditorDialog.reject) QtCore.QObject.connect(self.rbVisibleToOwner, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbOwner.setEnabled) QtCore.QObject.connect(self.rbVisibleToSpeciality, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbSpeciality.setEnabled) QtCore.QMetaObject.connectSlotsByName(ActionTemplateEditorDialog) ActionTemplateEditorDialog.setTabOrder(self.tabWidget, self.edtName) ActionTemplateEditorDialog.setTabOrder(self.edtName, self.cmbActionType) ActionTemplateEditorDialog.setTabOrder(self.cmbActionType, self.cmbSex) ActionTemplateEditorDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit) ActionTemplateEditorDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount) ActionTemplateEditorDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit) ActionTemplateEditorDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount) ActionTemplateEditorDialog.setTabOrder(self.edtEndAgeCount, self.edtMKBList) ActionTemplateEditorDialog.setTabOrder(self.edtMKBList, self.rbVisibleToOwner) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToOwner, self.cmbOwner) ActionTemplateEditorDialog.setTabOrder(self.cmbOwner, self.rbVisibleToSpeciality) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToSpeciality, self.cmbSpeciality) ActionTemplateEditorDialog.setTabOrder(self.cmbSpeciality, self.rbVisibleToAll) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToAll, self.cmbStatus) ActionTemplateEditorDialog.setTabOrder(self.cmbStatus, self.edtAmount) ActionTemplateEditorDialog.setTabOrder(self.edtAmount, self.edtOffice) ActionTemplateEditorDialog.setTabOrder(self.edtOffice, self.cmbPerson) ActionTemplateEditorDialog.setTabOrder(self.cmbPerson, self.edtNote) ActionTemplateEditorDialog.setTabOrder(self.edtNote, self.tblProps) ActionTemplateEditorDialog.setTabOrder(self.tblProps, self.buttonBox) def retranslateUi(self, ActionTemplateEditorDialog): ActionTemplateEditorDialog.setWindowTitle( _translate("ActionTemplateEditorDialog", "ChangeMe!", None)) self.lblBaseProperties.setText( _translate("ActionTemplateEditorDialog", "Основные свойства шаблона", None)) self.lblName.setText( _translate("ActionTemplateEditorDialog", "На&именование", None)) self.lblActionType.setText( _translate("ActionTemplateEditorDialog", "&Тип действия", None)) self.lblCase.setText( _translate("ActionTemplateEditorDialog", "Этот шаблон можно применять в случаях:", None)) self.lblSex.setText( _translate("ActionTemplateEditorDialog", "&Пол", None)) self.cmbSex.setItemText( 1, _translate("ActionTemplateEditorDialog", "М", None)) self.cmbSex.setItemText( 2, _translate("ActionTemplateEditorDialog", "Ж", None)) self.lblAge.setText( _translate("ActionTemplateEditorDialog", "&Возраст", None)) self.cmbBegAgeUnit.setItemText( 1, _translate("ActionTemplateEditorDialog", "Д", None)) self.cmbBegAgeUnit.setItemText( 2, _translate("ActionTemplateEditorDialog", "Н", None)) self.cmbBegAgeUnit.setItemText( 3, _translate("ActionTemplateEditorDialog", "М", None)) self.cmbBegAgeUnit.setItemText( 4, _translate("ActionTemplateEditorDialog", "Г", None)) self.edtBegAgeCount.setInputMask( _translate("ActionTemplateEditorDialog", "000; ", None)) self.lblAgeSep.setText( _translate("ActionTemplateEditorDialog", "по", None)) self.cmbEndAgeUnit.setItemText( 1, _translate("ActionTemplateEditorDialog", "Д", None)) self.cmbEndAgeUnit.setItemText( 2, _translate("ActionTemplateEditorDialog", "Н", None)) self.cmbEndAgeUnit.setItemText( 3, _translate("ActionTemplateEditorDialog", "М", None)) self.cmbEndAgeUnit.setItemText( 4, _translate("ActionTemplateEditorDialog", "Г", None)) self.edtEndAgeCount.setInputMask( _translate("ActionTemplateEditorDialog", "000; ", None)) self.lblName_2.setText( _translate("ActionTemplateEditorDialog", "&Диагнозы", None)) self.lblVisibleTo.setText( _translate("ActionTemplateEditorDialog", "Этот шаблон могут применять:", None)) self.rbVisibleToOwner.setText( _translate("ActionTemplateEditorDialog", "Врач", None)) self.rbVisibleToSpeciality.setText( _translate("ActionTemplateEditorDialog", "Специальность", None)) self.rbVisibleToAll.setText( _translate("ActionTemplateEditorDialog", "Все", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabInfo), _translate("ActionTemplateEditorDialog", "Описание", None)) self.lblStatus.setText( _translate("ActionTemplateEditorDialog", "Статус", None)) self.lblAmount.setText( _translate("ActionTemplateEditorDialog", "Количество", None)) self.lblOffice.setText( _translate("ActionTemplateEditorDialog", "Кабинет", None)) self.lblPerson.setText( _translate("ActionTemplateEditorDialog", "Исполнитель", None)) self.lblStatusNote.setText( _translate("ActionTemplateEditorDialog", "Примечания", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabProperties), _translate("ActionTemplateEditorDialog", "Свойства", None))
class Ui_ReportSetupDialog(object): def setupUi(self, ReportSetupDialog): ReportSetupDialog.setObjectName(_fromUtf8("ReportSetupDialog")) ReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportSetupDialog.resize(572, 668) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportSetupDialog.sizePolicy().hasHeightForWidth()) ReportSetupDialog.setSizePolicy(sizePolicy) ReportSetupDialog.setSizeGripEnabled(True) ReportSetupDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(ReportSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBegDate = QtGui.QLabel(ReportSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.lblEndPayDate = QtGui.QLabel(ReportSetupDialog) self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate")) self.gridLayout.addWidget(self.lblEndPayDate, 9, 4, 1, 1) self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPermanentAttach.setObjectName( _fromUtf8("chkOnlyPermanentAttach")) self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 5, 1, 1, 9) self.edtBegPayDate = CDateEdit(ReportSetupDialog) self.edtBegPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegPayDate.sizePolicy().hasHeightForWidth()) self.edtBegPayDate.setSizePolicy(sizePolicy) self.edtBegPayDate.setCalendarPopup(True) self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate")) self.gridLayout.addWidget(self.edtBegPayDate, 9, 1, 1, 3) self.cmbMKBFilter = QtGui.QComboBox(ReportSetupDialog) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbMKBFilter, 27, 1, 1, 2) spacerItem = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 24, 8, 1, 2) self.chkOnlyPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents")) self.gridLayout.addWidget(self.chkOnlyPayedEvents, 7, 1, 1, 9) self.frmAge = QtGui.QFrame(ReportSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeTo.sizePolicy().hasHeightForWidth()) self.lblAgeTo.setSizePolicy(sizePolicy) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) self.gridLayout.addWidget(self.frmAge, 21, 1, 1, 5) self.lblWorkOrganisation = QtGui.QLabel(ReportSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 19, 0, 1, 1) self.cmbActionType = CActionTypeComboBox(ReportSetupDialog) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 24, 1, 1, 7) self.lblAge = QtGui.QLabel(ReportSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 21, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 13, 1, 1, 9) self.edtEndPayDate = CDateEdit(ReportSetupDialog) self.edtEndPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndPayDate.sizePolicy().hasHeightForWidth()) self.edtEndPayDate.setSizePolicy(sizePolicy) self.edtEndPayDate.setCalendarPopup(True) self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate")) self.gridLayout.addWidget(self.edtEndPayDate, 9, 6, 1, 1) self.lblInsurer = QtGui.QLabel(ReportSetupDialog) self.lblInsurer.setObjectName(_fromUtf8("lblInsurer")) self.gridLayout.addWidget(self.lblInsurer, 12, 0, 1, 1) self.lblEndDate = QtGui.QLabel(ReportSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.lblActionTypeClass = QtGui.QLabel(ReportSetupDialog) self.lblActionTypeClass.setObjectName(_fromUtf8("lblActionTypeClass")) self.gridLayout.addWidget(self.lblActionTypeClass, 23, 0, 1, 1) self.cmbStage = CRBComboBox(ReportSetupDialog) self.cmbStage.setObjectName(_fromUtf8("cmbStage")) self.gridLayout.addWidget(self.cmbStage, 4, 1, 1, 9) self.chkDiagnosisType = QtGui.QCheckBox(ReportSetupDialog) self.chkDiagnosisType.setObjectName(_fromUtf8("chkDiagnosisType")) self.gridLayout.addWidget(self.chkDiagnosisType, 8, 1, 1, 9) self.lblSpeciality = QtGui.QLabel(ReportSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1) self.cmbInsurer = CInsurerComboBox(ReportSetupDialog) self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer")) self.gridLayout.addWidget(self.cmbInsurer, 12, 1, 1, 9) spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 20, 2, 1, 8) self.lblWorkType = QtGui.QLabel(ReportSetupDialog) self.lblWorkType.setObjectName(_fromUtf8("lblWorkType")) self.gridLayout.addWidget(self.lblWorkType, 17, 0, 1, 1) spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 0, 4, 1, 6) self.lblBegPayDate = QtGui.QLabel(ReportSetupDialog) self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate")) self.gridLayout.addWidget(self.lblBegPayDate, 9, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportSetupDialog) 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, 31, 0, 1, 10) self.lblActionType = QtGui.QLabel(ReportSetupDialog) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 24, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 30, 0, 1, 10) self.chkActionClass = QtGui.QCheckBox(ReportSetupDialog) self.chkActionClass.setObjectName(_fromUtf8("chkActionClass")) self.gridLayout.addWidget(self.chkActionClass, 22, 0, 1, 10) self.lblOrgStructure = QtGui.QLabel(ReportSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 13, 0, 1, 1) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 21, 6, 1, 4) self.btnSelectWorkOrganisation = QtGui.QToolButton(ReportSetupDialog) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 19, 9, 1, 1) self.edtMKBTo = CICDCodeEdit(ReportSetupDialog) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridLayout.addWidget(self.edtMKBTo, 27, 5, 1, 2) self.lblFinance = QtGui.QLabel(ReportSetupDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 25, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 16, 1, 1, 9) self.cmbFinance = CRBComboBox(ReportSetupDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 25, 1, 1, 7) self.lblStage = QtGui.QLabel(ReportSetupDialog) self.lblStage.setObjectName(_fromUtf8("lblStage")) self.gridLayout.addWidget(self.lblStage, 4, 0, 1, 1) self.lblSex = QtGui.QLabel(ReportSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 20, 0, 1, 1) self.edtBegDate = CDateEdit(ReportSetupDialog) 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, 3) self.lblEventType = QtGui.QLabel(ReportSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1) self.lblPerson = QtGui.QLabel(ReportSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 16, 0, 1, 1) self.lblOwnership = QtGui.QLabel(ReportSetupDialog) self.lblOwnership.setObjectName(_fromUtf8("lblOwnership")) self.gridLayout.addWidget(self.lblOwnership, 18, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 1, 4, 1, 6) self.lblMKBFilter = QtGui.QLabel(ReportSetupDialog) self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter")) self.gridLayout.addWidget(self.lblMKBFilter, 27, 0, 1, 1) self.cmbEventType = CRBComboBox(ReportSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 9) self.edtMKBFrom = CICDCodeEdit(ReportSetupDialog) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridLayout.addWidget(self.edtMKBFrom, 27, 3, 1, 2) self.cmbWorkType = QtGui.QComboBox(ReportSetupDialog) self.cmbWorkType.setObjectName(_fromUtf8("cmbWorkType")) self.gridLayout.addWidget(self.cmbWorkType, 17, 1, 1, 9) self.chkDetailPerson = QtGui.QCheckBox(ReportSetupDialog) self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson")) self.gridLayout.addWidget(self.chkDetailPerson, 15, 0, 1, 10) spacerItem6 = QtGui.QSpacerItem(117, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem6, 27, 7, 1, 3) self.lblContract = QtGui.QLabel(ReportSetupDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 26, 0, 1, 1) self.cmbContract = CContractComboBox(ReportSetupDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 26, 1, 1, 7) self.cmbActionTypeClass = QtGui.QComboBox(ReportSetupDialog) self.cmbActionTypeClass.setObjectName(_fromUtf8("cmbActionTypeClass")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbActionTypeClass, 23, 1, 1, 7) self.cmbSex = QtGui.QComboBox(ReportSetupDialog) 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, 20, 1, 1, 1) self.edtEndDate = CDateEdit(ReportSetupDialog) 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, 3) self.cmbOwnership = QtGui.QComboBox(ReportSetupDialog) self.cmbOwnership.setObjectName(_fromUtf8("cmbOwnership")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.setItemText(0, _fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbOwnership, 18, 1, 1, 9) spacerItem7 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem7, 23, 8, 1, 2) self.cmbSpeciality = CRBComboBox(ReportSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 9) self.cmbWorkOrganisation = COrgComboBox(ReportSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 19, 1, 1, 8) self.chkOnlyNotPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyNotPayedEvents.setObjectName( _fromUtf8("chkOnlyNotPayedEvents")) self.gridLayout.addWidget(self.chkOnlyNotPayedEvents, 8, 0, 1, 1) self.chkOnlyEmployee = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyEmployee.setObjectName(_fromUtf8("chkOnlyEmployee")) self.gridLayout.addWidget(self.chkOnlyEmployee, 5, 0, 1, 1) self.chkGroupByClients = QtGui.QCheckBox(ReportSetupDialog) self.chkGroupByClients.setObjectName(_fromUtf8("chkGroupByClients")) self.gridLayout.addWidget(self.chkGroupByClients, 7, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(ReportSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 9) self.lblEventPurpose = QtGui.QLabel(ReportSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1) self.btnBrowseSourceDataFile = QtGui.QToolButton(ReportSetupDialog) self.btnBrowseSourceDataFile.setEnabled(False) self.btnBrowseSourceDataFile.setObjectName( _fromUtf8("btnBrowseSourceDataFile")) self.gridLayout.addWidget(self.btnBrowseSourceDataFile, 28, 9, 1, 1) self.edtSourceDataFileName = QtGui.QLineEdit(ReportSetupDialog) self.edtSourceDataFileName.setEnabled(False) self.edtSourceDataFileName.setObjectName( _fromUtf8("edtSourceDataFileName")) self.gridLayout.addWidget(self.edtSourceDataFileName, 28, 1, 1, 8) self.chkIsDataFromFile = QtGui.QCheckBox(ReportSetupDialog) self.chkIsDataFromFile.setObjectName(_fromUtf8("chkIsDataFromFile")) self.gridLayout.addWidget(self.chkIsDataFromFile, 28, 0, 1, 1) self.lblOrgStrucutreAttachType = QtGui.QLabel(ReportSetupDialog) self.lblOrgStrucutreAttachType.setObjectName( _fromUtf8("lblOrgStrucutreAttachType")) self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 29, 0, 1, 1) self.cmbOrgStructureAttachType = COrgStructureComboBox( ReportSetupDialog) self.cmbOrgStructureAttachType.setObjectName( _fromUtf8("cmbOrgStructureAttachType")) self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 29, 1, 1, 7) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndPayDate.setBuddy(self.edtEndPayDate) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAge.setBuddy(self.edtAgeFrom) self.lblEndDate.setBuddy(self.edtEndDate) self.lblActionTypeClass.setBuddy(self.cmbActionTypeClass) self.lblWorkType.setBuddy(self.cmbWorkType) self.lblBegPayDate.setBuddy(self.edtBegPayDate) self.lblActionType.setBuddy(self.cmbActionType) self.lblStage.setBuddy(self.cmbStage) self.lblSex.setBuddy(self.cmbSex) self.lblEventType.setBuddy(self.cmbEventType) self.lblOwnership.setBuddy(self.cmbOwnership) self.lblMKBFilter.setBuddy(self.cmbMKBFilter) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.retranslateUi(ReportSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSetupDialog.reject) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegPayDate.setEnabled) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndPayDate.setEnabled) QtCore.QObject.connect(self.chkDetailPerson, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionTypeClass.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionType.setDisabled) QtCore.QMetaObject.connectSlotsByName(ReportSetupDialog) ReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventType) ReportSetupDialog.setTabOrder(self.cmbEventType, self.cmbStage) ReportSetupDialog.setTabOrder(self.cmbStage, self.chkOnlyPermanentAttach) ReportSetupDialog.setTabOrder(self.chkOnlyPermanentAttach, self.chkOnlyPayedEvents) ReportSetupDialog.setTabOrder(self.chkOnlyPayedEvents, self.edtBegPayDate) ReportSetupDialog.setTabOrder(self.edtBegPayDate, self.cmbInsurer) ReportSetupDialog.setTabOrder(self.cmbInsurer, self.cmbOrgStructure) ReportSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality) ReportSetupDialog.setTabOrder(self.cmbSpeciality, self.chkDetailPerson) ReportSetupDialog.setTabOrder(self.chkDetailPerson, self.cmbPerson) ReportSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkType) ReportSetupDialog.setTabOrder(self.cmbWorkType, self.cmbOwnership) ReportSetupDialog.setTabOrder(self.cmbOwnership, self.cmbWorkOrganisation) ReportSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) ReportSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbSex) ReportSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportSetupDialog.setTabOrder(self.edtAgeTo, self.chkActionClass) ReportSetupDialog.setTabOrder(self.chkActionClass, self.cmbActionTypeClass) ReportSetupDialog.setTabOrder(self.cmbActionTypeClass, self.cmbActionType) ReportSetupDialog.setTabOrder(self.cmbActionType, self.cmbFinance) ReportSetupDialog.setTabOrder(self.cmbFinance, self.cmbMKBFilter) ReportSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) ReportSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) ReportSetupDialog.setTabOrder(self.edtMKBTo, self.buttonBox) def retranslateUi(self, ReportSetupDialog): ReportSetupDialog.setWindowTitle( _translate("ReportSetupDialog", "параметры отчёта", None)) self.lblBegDate.setText( _translate("ReportSetupDialog", "Дата &начала периода", None)) self.lblEndPayDate.setText(_translate("ReportSetupDialog", "по", None)) self.chkOnlyPermanentAttach.setText( _translate("ReportSetupDialog", "&Прикреплённые к базовому ЛПУ", None)) self.cmbMKBFilter.setItemText( 0, _translate("ReportSetupDialog", "Игнор.", None)) self.cmbMKBFilter.setItemText( 1, _translate("ReportSetupDialog", "Интервал", None)) self.chkOnlyPayedEvents.setText( _translate("ReportSetupDialog", "Только опла&ченные", None)) self.lblAgeTo.setText(_translate("ReportSetupDialog", "по", None)) self.lblAgeYears.setText(_translate("ReportSetupDialog", "лет", None)) self.lblWorkOrganisation.setText( _translate("ReportSetupDialog", "Место работы", None)) self.lblAge.setText(_translate("ReportSetupDialog", "Возраст с", None)) self.lblInsurer.setText(_translate("ReportSetupDialog", "СМО", None)) self.lblEndDate.setText( _translate("ReportSetupDialog", "Дата &окончания периода", None)) self.lblActionTypeClass.setText( _translate("ReportSetupDialog", "Кла&сс", None)) self.chkDiagnosisType.setText( _translate("ReportSetupDialog", "Учитывать сопуствующие диагнозы", None)) self.lblSpeciality.setText( _translate("ReportSetupDialog", "Специальность", None)) self.lblWorkType.setText( _translate("ReportSetupDialog", "По ОКВЭД", None)) self.lblBegPayDate.setText( _translate("ReportSetupDialog", "Оплачено в период с", None)) self.lblActionType.setText( _translate("ReportSetupDialog", "&Мероприятие", None)) self.chkActionClass.setText( _translate("ReportSetupDialog", "Не учитывать класс", None)) self.lblOrgStructure.setText( _translate("ReportSetupDialog", "Подразделение", None)) self.btnSelectWorkOrganisation.setText( _translate("ReportSetupDialog", "...", None)) self.edtMKBTo.setInputMask( _translate("ReportSetupDialog", "a00.00; ", None)) self.edtMKBTo.setText(_translate("ReportSetupDialog", "Z99.9", None)) self.lblFinance.setText( _translate("ReportSetupDialog", "Тип финанисирования", None)) self.lblStage.setText(_translate("ReportSetupDialog", "Стадия", None)) self.lblSex.setText(_translate("ReportSetupDialog", "По&л", None)) self.lblEventType.setText( _translate("ReportSetupDialog", "&Тип обращения", None)) self.lblPerson.setText(_translate("ReportSetupDialog", "Врач", None)) self.lblOwnership.setText( _translate("ReportSetupDialog", "Собственность", None)) self.lblMKBFilter.setText( _translate("ReportSetupDialog", "Коды диагнозов по &МКБ", None)) self.edtMKBFrom.setInputMask( _translate("ReportSetupDialog", "a00.00; ", None)) self.edtMKBFrom.setText(_translate("ReportSetupDialog", "A.", None)) self.chkDetailPerson.setText( _translate("ReportSetupDialog", "Детализировать по врачам", None)) self.lblContract.setText( _translate("ReportSetupDialog", "Договор", None)) self.cmbActionTypeClass.setItemText( 0, _translate("ReportSetupDialog", "Статус", None)) self.cmbActionTypeClass.setItemText( 1, _translate("ReportSetupDialog", "Диагностика", None)) self.cmbActionTypeClass.setItemText( 2, _translate("ReportSetupDialog", "Лечение", None)) self.cmbActionTypeClass.setItemText( 3, _translate("ReportSetupDialog", "Прочие мероприятия", None)) self.cmbSex.setItemText(1, _translate("ReportSetupDialog", "М", None)) self.cmbSex.setItemText(2, _translate("ReportSetupDialog", "Ж", None)) self.cmbOwnership.setItemText( 1, _translate("ReportSetupDialog", "Бюджетная", None)) self.cmbOwnership.setItemText( 2, _translate("ReportSetupDialog", "Частная", None)) self.cmbOwnership.setItemText( 3, _translate("ReportSetupDialog", "Смешенная", None)) self.chkOnlyNotPayedEvents.setText( _translate("ReportSetupDialog", "Не оплаченные услуги", None)) self.chkOnlyEmployee.setText( _translate("ReportSetupDialog", "Сотрудник", None)) self.chkGroupByClients.setText( _translate("ReportSetupDialog", "Группировать по пациентам", None)) self.lblEventPurpose.setText( _translate("ReportSetupDialog", "Назначение обращения", None)) self.btnBrowseSourceDataFile.setText( _translate("ReportSetupDialog", "...", None)) self.chkIsDataFromFile.setText( _translate("ReportSetupDialog", "Исходные данные из файла", None)) self.lblOrgStrucutreAttachType.setText( _translate("ReportSetupDialog", "Подразделение прикрепления", None))
def setupUi(self, ExportActionResult_Wizard_1): ExportActionResult_Wizard_1.setObjectName( _fromUtf8("ExportActionResult_Wizard_1")) ExportActionResult_Wizard_1.resize(640, 504) self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1) self.treeContracts.setObjectName(_fromUtf8("treeContracts")) self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tabFilter = QtGui.QTabWidget(self.groupBox) self.tabFilter.setObjectName(_fromUtf8("tabFilter")) self.tabEvent = QtGui.QWidget() self.tabEvent.setObjectName(_fromUtf8("tabEvent")) self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent) self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose")) self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1) self.chkEventType = QtGui.QCheckBox(self.tabEvent) self.chkEventType.setObjectName(_fromUtf8("chkEventType")) self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(self.tabEvent) self.cmbEventPurpose.setEnabled(False) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1) self.cmbEventType = CRBComboBox(self.tabEvent) self.cmbEventType.setEnabled(False) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtEventExecBegDate = CDateEdit(self.tabEvent) self.edtEventExecBegDate.setEnabled(False) self.edtEventExecBegDate.setObjectName( _fromUtf8("edtEventExecBegDate")) self.horizontalLayout_3.addWidget(self.edtEventExecBegDate) self.edtEventExecEndDate = CDateEdit(self.tabEvent) self.edtEventExecEndDate.setEnabled(False) self.edtEventExecEndDate.setObjectName( _fromUtf8("edtEventExecEndDate")) self.horizontalLayout_3.addWidget(self.edtEventExecEndDate) self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1) self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent) self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate")) self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1) self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent) self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate")) self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtEventSetBegDate = CDateEdit(self.tabEvent) self.edtEventSetBegDate.setEnabled(False) self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate")) self.horizontalLayout_4.addWidget(self.edtEventSetBegDate) self.edtEventSetEndDate = CDateEdit(self.tabEvent) self.edtEventSetEndDate.setEnabled(False) self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate")) self.horizontalLayout_4.addWidget(self.edtEventSetEndDate) self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1) self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent) self.cmbEventLPU.setEnabled(False) self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU")) self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1) self.chkEventLPU = QtGui.QCheckBox(self.tabEvent) self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU")) self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1) self.tabFilter.addTab(self.tabEvent, _fromUtf8("")) self.tabAction = QtGui.QWidget() self.tabAction.setObjectName(_fromUtf8("tabAction")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.chkActionDate = QtGui.QCheckBox(self.tabAction) self.chkActionDate.setObjectName(_fromUtf8("chkActionDate")) self.verticalLayout_3.addWidget(self.chkActionDate) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.edtActionBegDate = CDateEdit(self.tabAction) self.edtActionBegDate.setEnabled(False) self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate")) self.horizontalLayout_2.addWidget(self.edtActionBegDate) self.edtActionEndDate = CDateEdit(self.tabAction) self.edtActionEndDate.setEnabled(False) self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate")) self.horizontalLayout_2.addWidget(self.edtActionEndDate) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.chkActionStatus = QtGui.QCheckBox(self.tabAction) self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus")) self.verticalLayout_3.addWidget(self.chkActionStatus) self.cmbActionStatus = QtGui.QComboBox(self.tabAction) self.cmbActionStatus.setEnabled(False) self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbActionStatus) self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction) self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson")) self.verticalLayout_3.addWidget(self.chkActionSetPerson) self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction) self.cmbActionSetPerson.setEnabled(False) self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson")) self.verticalLayout_3.addWidget(self.cmbActionSetPerson) self.chkActionClass = QtGui.QCheckBox(self.tabAction) self.chkActionClass.setObjectName(_fromUtf8("chkActionClass")) self.verticalLayout_3.addWidget(self.chkActionClass) self.cmbActionClass = QtGui.QComboBox(self.tabAction) self.cmbActionClass.setEnabled(False) self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbActionClass) self.chkActionType = QtGui.QCheckBox(self.tabAction) self.chkActionType.setObjectName(_fromUtf8("chkActionType")) self.verticalLayout_3.addWidget(self.chkActionType) self.cmbActionType = CActionTypeComboBox(self.tabAction) self.cmbActionType.setEnabled(False) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.verticalLayout_3.addWidget(self.cmbActionType) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem1) self.tabFilter.addTab(self.tabAction, _fromUtf8("")) self.tabAdditional = QtGui.QWidget() self.tabAdditional.setObjectName(_fromUtf8("tabAdditional")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.label = QtGui.QLabel(self.tabAdditional) self.label.setObjectName(_fromUtf8("label")) self.verticalLayout_4.addWidget(self.label) self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientEventInfo.setObjectName( _fromUtf8("chkIncludeClientEventInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo) self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientWorkInfo.setObjectName( _fromUtf8("chkIncludeClientWorkInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo) self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientAddressInfo.setObjectName( _fromUtf8("chkIncludeClientAddressInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo) self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientDocumentInfo.setObjectName( _fromUtf8("chkIncludeClientDocumentInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo) self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientContactInfo.setObjectName( _fromUtf8("chkIncludeClientContactInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_4.addItem(spacerItem2) self.tabFilter.addTab(self.tabAdditional, _fromUtf8("")) self.verticalLayout_2.addWidget(self.tabFilter) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.btnResetFilter = QtGui.QPushButton(self.groupBox) self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter")) self.horizontalLayout.addWidget(self.btnResetFilter) self.verticalLayout_2.addLayout(self.horizontalLayout) self.verticalLayout.addWidget(self.groupBox) self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1) self.retranslateUi(ExportActionResult_Wizard_1) self.tabFilter.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(ExportActionResult_Wizard_1) ExportActionResult_Wizard_1.setTabOrder(self.treeContracts, self.tabFilter) ExportActionResult_Wizard_1.setTabOrder(self.tabFilter, self.chkEventExecDate) ExportActionResult_Wizard_1.setTabOrder(self.chkEventExecDate, self.edtEventExecBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecBegDate, self.edtEventExecEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecEndDate, self.chkEventSetDate) ExportActionResult_Wizard_1.setTabOrder(self.chkEventSetDate, self.edtEventSetBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetBegDate, self.edtEventSetEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetEndDate, self.chkEventPurpose) ExportActionResult_Wizard_1.setTabOrder(self.chkEventPurpose, self.cmbEventPurpose) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventPurpose, self.chkEventType) ExportActionResult_Wizard_1.setTabOrder(self.chkEventType, self.cmbEventType) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventType, self.chkEventLPU) ExportActionResult_Wizard_1.setTabOrder(self.chkEventLPU, self.cmbEventLPU) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventLPU, self.btnResetFilter) ExportActionResult_Wizard_1.setTabOrder(self.btnResetFilter, self.chkActionDate) ExportActionResult_Wizard_1.setTabOrder(self.chkActionDate, self.edtActionBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtActionBegDate, self.edtActionEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtActionEndDate, self.chkActionStatus) ExportActionResult_Wizard_1.setTabOrder(self.chkActionStatus, self.cmbActionStatus) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionStatus, self.chkActionSetPerson) ExportActionResult_Wizard_1.setTabOrder(self.chkActionSetPerson, self.cmbActionSetPerson) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionSetPerson, self.chkActionClass) ExportActionResult_Wizard_1.setTabOrder(self.chkActionClass, self.cmbActionClass) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionClass, self.chkActionType) ExportActionResult_Wizard_1.setTabOrder(self.chkActionType, self.cmbActionType) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionType, self.chkIncludeClientEventInfo) ExportActionResult_Wizard_1.setTabOrder(self.chkIncludeClientEventInfo, self.chkIncludeClientWorkInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientWorkInfo, self.chkIncludeClientAddressInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientAddressInfo, self.chkIncludeClientDocumentInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientDocumentInfo, self.chkIncludeClientContactInfo)
class Ui_ExportActionResult_Wizard_1(object): def setupUi(self, ExportActionResult_Wizard_1): ExportActionResult_Wizard_1.setObjectName( _fromUtf8("ExportActionResult_Wizard_1")) ExportActionResult_Wizard_1.resize(640, 504) self.gridLayout = QtGui.QGridLayout(ExportActionResult_Wizard_1) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.treeContracts = QtGui.QTreeView(ExportActionResult_Wizard_1) self.treeContracts.setObjectName(_fromUtf8("treeContracts")) self.gridLayout.addWidget(self.treeContracts, 5, 0, 1, 1) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.groupBox = QtGui.QGroupBox(ExportActionResult_Wizard_1) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tabFilter = QtGui.QTabWidget(self.groupBox) self.tabFilter.setObjectName(_fromUtf8("tabFilter")) self.tabEvent = QtGui.QWidget() self.tabEvent.setObjectName(_fromUtf8("tabEvent")) self.gridLayout_2 = QtGui.QGridLayout(self.tabEvent) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.chkEventPurpose = QtGui.QCheckBox(self.tabEvent) self.chkEventPurpose.setObjectName(_fromUtf8("chkEventPurpose")) self.gridLayout_2.addWidget(self.chkEventPurpose, 6, 0, 1, 1) self.chkEventType = QtGui.QCheckBox(self.tabEvent) self.chkEventType.setObjectName(_fromUtf8("chkEventType")) self.gridLayout_2.addWidget(self.chkEventType, 8, 0, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 12, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(self.tabEvent) self.cmbEventPurpose.setEnabled(False) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout_2.addWidget(self.cmbEventPurpose, 7, 0, 1, 1) self.cmbEventType = CRBComboBox(self.tabEvent) self.cmbEventType.setEnabled(False) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout_2.addWidget(self.cmbEventType, 9, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtEventExecBegDate = CDateEdit(self.tabEvent) self.edtEventExecBegDate.setEnabled(False) self.edtEventExecBegDate.setObjectName( _fromUtf8("edtEventExecBegDate")) self.horizontalLayout_3.addWidget(self.edtEventExecBegDate) self.edtEventExecEndDate = CDateEdit(self.tabEvent) self.edtEventExecEndDate.setEnabled(False) self.edtEventExecEndDate.setObjectName( _fromUtf8("edtEventExecEndDate")) self.horizontalLayout_3.addWidget(self.edtEventExecEndDate) self.gridLayout_2.addLayout(self.horizontalLayout_3, 1, 0, 1, 1) self.chkEventExecDate = QtGui.QCheckBox(self.tabEvent) self.chkEventExecDate.setObjectName(_fromUtf8("chkEventExecDate")) self.gridLayout_2.addWidget(self.chkEventExecDate, 0, 0, 1, 1) self.chkEventSetDate = QtGui.QCheckBox(self.tabEvent) self.chkEventSetDate.setObjectName(_fromUtf8("chkEventSetDate")) self.gridLayout_2.addWidget(self.chkEventSetDate, 2, 0, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtEventSetBegDate = CDateEdit(self.tabEvent) self.edtEventSetBegDate.setEnabled(False) self.edtEventSetBegDate.setObjectName(_fromUtf8("edtEventSetBegDate")) self.horizontalLayout_4.addWidget(self.edtEventSetBegDate) self.edtEventSetEndDate = CDateEdit(self.tabEvent) self.edtEventSetEndDate.setEnabled(False) self.edtEventSetEndDate.setObjectName(_fromUtf8("edtEventSetEndDate")) self.horizontalLayout_4.addWidget(self.edtEventSetEndDate) self.gridLayout_2.addLayout(self.horizontalLayout_4, 3, 0, 1, 1) self.cmbEventLPU = CPolyclinicComboBox(self.tabEvent) self.cmbEventLPU.setEnabled(False) self.cmbEventLPU.setObjectName(_fromUtf8("cmbEventLPU")) self.gridLayout_2.addWidget(self.cmbEventLPU, 11, 0, 1, 1) self.chkEventLPU = QtGui.QCheckBox(self.tabEvent) self.chkEventLPU.setObjectName(_fromUtf8("chkEventLPU")) self.gridLayout_2.addWidget(self.chkEventLPU, 10, 0, 1, 1) self.tabFilter.addTab(self.tabEvent, _fromUtf8("")) self.tabAction = QtGui.QWidget() self.tabAction.setObjectName(_fromUtf8("tabAction")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabAction) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.chkActionDate = QtGui.QCheckBox(self.tabAction) self.chkActionDate.setObjectName(_fromUtf8("chkActionDate")) self.verticalLayout_3.addWidget(self.chkActionDate) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.edtActionBegDate = CDateEdit(self.tabAction) self.edtActionBegDate.setEnabled(False) self.edtActionBegDate.setObjectName(_fromUtf8("edtActionBegDate")) self.horizontalLayout_2.addWidget(self.edtActionBegDate) self.edtActionEndDate = CDateEdit(self.tabAction) self.edtActionEndDate.setEnabled(False) self.edtActionEndDate.setObjectName(_fromUtf8("edtActionEndDate")) self.horizontalLayout_2.addWidget(self.edtActionEndDate) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.chkActionStatus = QtGui.QCheckBox(self.tabAction) self.chkActionStatus.setObjectName(_fromUtf8("chkActionStatus")) self.verticalLayout_3.addWidget(self.chkActionStatus) self.cmbActionStatus = QtGui.QComboBox(self.tabAction) self.cmbActionStatus.setEnabled(False) self.cmbActionStatus.setObjectName(_fromUtf8("cmbActionStatus")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.cmbActionStatus.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbActionStatus) self.chkActionSetPerson = QtGui.QCheckBox(self.tabAction) self.chkActionSetPerson.setObjectName(_fromUtf8("chkActionSetPerson")) self.verticalLayout_3.addWidget(self.chkActionSetPerson) self.cmbActionSetPerson = CPersonComboBoxEx(self.tabAction) self.cmbActionSetPerson.setEnabled(False) self.cmbActionSetPerson.setObjectName(_fromUtf8("cmbActionSetPerson")) self.verticalLayout_3.addWidget(self.cmbActionSetPerson) self.chkActionClass = QtGui.QCheckBox(self.tabAction) self.chkActionClass.setObjectName(_fromUtf8("chkActionClass")) self.verticalLayout_3.addWidget(self.chkActionClass) self.cmbActionClass = QtGui.QComboBox(self.tabAction) self.cmbActionClass.setEnabled(False) self.cmbActionClass.setObjectName(_fromUtf8("cmbActionClass")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.cmbActionClass.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbActionClass) self.chkActionType = QtGui.QCheckBox(self.tabAction) self.chkActionType.setObjectName(_fromUtf8("chkActionType")) self.verticalLayout_3.addWidget(self.chkActionType) self.cmbActionType = CActionTypeComboBox(self.tabAction) self.cmbActionType.setEnabled(False) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.verticalLayout_3.addWidget(self.cmbActionType) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem1) self.tabFilter.addTab(self.tabAction, _fromUtf8("")) self.tabAdditional = QtGui.QWidget() self.tabAdditional.setObjectName(_fromUtf8("tabAdditional")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabAdditional) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.label = QtGui.QLabel(self.tabAdditional) self.label.setObjectName(_fromUtf8("label")) self.verticalLayout_4.addWidget(self.label) self.chkIncludeClientEventInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientEventInfo.setObjectName( _fromUtf8("chkIncludeClientEventInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientEventInfo) self.chkIncludeClientWorkInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientWorkInfo.setObjectName( _fromUtf8("chkIncludeClientWorkInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientWorkInfo) self.chkIncludeClientAddressInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientAddressInfo.setObjectName( _fromUtf8("chkIncludeClientAddressInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientAddressInfo) self.chkIncludeClientDocumentInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientDocumentInfo.setObjectName( _fromUtf8("chkIncludeClientDocumentInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientDocumentInfo) self.chkIncludeClientContactInfo = QtGui.QCheckBox(self.tabAdditional) self.chkIncludeClientContactInfo.setObjectName( _fromUtf8("chkIncludeClientContactInfo")) self.verticalLayout_4.addWidget(self.chkIncludeClientContactInfo) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_4.addItem(spacerItem2) self.tabFilter.addTab(self.tabAdditional, _fromUtf8("")) self.verticalLayout_2.addWidget(self.tabFilter) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem3) self.btnResetFilter = QtGui.QPushButton(self.groupBox) self.btnResetFilter.setObjectName(_fromUtf8("btnResetFilter")) self.horizontalLayout.addWidget(self.btnResetFilter) self.verticalLayout_2.addLayout(self.horizontalLayout) self.verticalLayout.addWidget(self.groupBox) self.gridLayout.addLayout(self.verticalLayout, 5, 1, 1, 1) self.retranslateUi(ExportActionResult_Wizard_1) self.tabFilter.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(ExportActionResult_Wizard_1) ExportActionResult_Wizard_1.setTabOrder(self.treeContracts, self.tabFilter) ExportActionResult_Wizard_1.setTabOrder(self.tabFilter, self.chkEventExecDate) ExportActionResult_Wizard_1.setTabOrder(self.chkEventExecDate, self.edtEventExecBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecBegDate, self.edtEventExecEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventExecEndDate, self.chkEventSetDate) ExportActionResult_Wizard_1.setTabOrder(self.chkEventSetDate, self.edtEventSetBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetBegDate, self.edtEventSetEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtEventSetEndDate, self.chkEventPurpose) ExportActionResult_Wizard_1.setTabOrder(self.chkEventPurpose, self.cmbEventPurpose) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventPurpose, self.chkEventType) ExportActionResult_Wizard_1.setTabOrder(self.chkEventType, self.cmbEventType) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventType, self.chkEventLPU) ExportActionResult_Wizard_1.setTabOrder(self.chkEventLPU, self.cmbEventLPU) ExportActionResult_Wizard_1.setTabOrder(self.cmbEventLPU, self.btnResetFilter) ExportActionResult_Wizard_1.setTabOrder(self.btnResetFilter, self.chkActionDate) ExportActionResult_Wizard_1.setTabOrder(self.chkActionDate, self.edtActionBegDate) ExportActionResult_Wizard_1.setTabOrder(self.edtActionBegDate, self.edtActionEndDate) ExportActionResult_Wizard_1.setTabOrder(self.edtActionEndDate, self.chkActionStatus) ExportActionResult_Wizard_1.setTabOrder(self.chkActionStatus, self.cmbActionStatus) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionStatus, self.chkActionSetPerson) ExportActionResult_Wizard_1.setTabOrder(self.chkActionSetPerson, self.cmbActionSetPerson) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionSetPerson, self.chkActionClass) ExportActionResult_Wizard_1.setTabOrder(self.chkActionClass, self.cmbActionClass) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionClass, self.chkActionType) ExportActionResult_Wizard_1.setTabOrder(self.chkActionType, self.cmbActionType) ExportActionResult_Wizard_1.setTabOrder(self.cmbActionType, self.chkIncludeClientEventInfo) ExportActionResult_Wizard_1.setTabOrder(self.chkIncludeClientEventInfo, self.chkIncludeClientWorkInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientWorkInfo, self.chkIncludeClientAddressInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientAddressInfo, self.chkIncludeClientDocumentInfo) ExportActionResult_Wizard_1.setTabOrder( self.chkIncludeClientDocumentInfo, self.chkIncludeClientContactInfo) def retranslateUi(self, ExportActionResult_Wizard_1): ExportActionResult_Wizard_1.setWindowTitle( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Экспорт результатов действий", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.chkEventPurpose.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Назначение", None, QtGui.QApplication.UnicodeUTF8)) self.chkEventType.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Тип события", None, QtGui.QApplication.UnicodeUTF8)) self.chkEventExecDate.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Период выполнения", None, QtGui.QApplication.UnicodeUTF8)) self.chkEventSetDate.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Период назначения", None, QtGui.QApplication.UnicodeUTF8)) self.chkEventLPU.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.tabFilter.setTabText( self.tabFilter.indexOf(self.tabEvent), QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Событие", None, QtGui.QApplication.UnicodeUTF8)) self.chkActionDate.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Период", None, QtGui.QApplication.UnicodeUTF8)) self.chkActionStatus.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Состояние", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionStatus.setItemText( 0, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Начато", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionStatus.setItemText( 1, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Ожидание", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionStatus.setItemText( 2, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Закончено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionStatus.setItemText( 3, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Отменено", None, QtGui.QApplication.UnicodeUTF8)) self.chkActionSetPerson.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Назначил", None, QtGui.QApplication.UnicodeUTF8)) self.chkActionClass.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Класс действия", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionClass.setItemText( 0, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Статус", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionClass.setItemText( 1, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Диагностика", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionClass.setItemText( 2, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Лечение", None, QtGui.QApplication.UnicodeUTF8)) self.cmbActionClass.setItemText( 3, QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Прочие мероприятия", None, QtGui.QApplication.UnicodeUTF8)) self.chkActionType.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Тип действия", None, QtGui.QApplication.UnicodeUTF8)) self.tabFilter.setTabText( self.tabFilter.indexOf(self.tabAction), QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Действие", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Для пациента выгружать данные о:", None, QtGui.QApplication.UnicodeUTF8)) self.chkIncludeClientEventInfo.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Событии", None, QtGui.QApplication.UnicodeUTF8)) self.chkIncludeClientWorkInfo.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Занятости", None, QtGui.QApplication.UnicodeUTF8)) self.chkIncludeClientAddressInfo.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Адресе", None, QtGui.QApplication.UnicodeUTF8)) self.chkIncludeClientDocumentInfo.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Документе удост. личность", None, QtGui.QApplication.UnicodeUTF8)) self.chkIncludeClientContactInfo.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Контактах", None, QtGui.QApplication.UnicodeUTF8)) self.tabFilter.setTabText( self.tabFilter.indexOf(self.tabAdditional), QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Дополнительно", None, QtGui.QApplication.UnicodeUTF8)) self.btnResetFilter.setText( QtGui.QApplication.translate("ExportActionResult_Wizard_1", "Сброс", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, ExportActionResultDialog): ExportActionResultDialog.setObjectName( _fromUtf8("ExportActionResultDialog")) ExportActionResultDialog.resize(769, 714) self.gridLayout = QtGui.QGridLayout(ExportActionResultDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.splitter = QtGui.QSplitter(ExportActionResultDialog) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeContracts = QtGui.QTreeView(self.splitter) self.treeContracts.setObjectName(_fromUtf8("treeContracts")) self.widget = QtGui.QWidget(self.splitter) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout = QtGui.QVBoxLayout(self.widget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblBegDate = QtGui.QLabel(self.widget) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.horizontalLayout_2.addWidget(self.lblBegDate) self.edtBegDate = CDateEdit(self.widget) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_2.addWidget(self.edtBegDate) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lblEndDate = QtGui.QLabel(self.widget) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.horizontalLayout_3.addWidget(self.lblEndDate) self.edtEndDate = CDateEdit(self.widget) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_3.addWidget(self.edtEndDate) self.verticalLayout.addLayout(self.horizontalLayout_3) self.horizontalLayout_14 = QtGui.QHBoxLayout() self.horizontalLayout_14.setObjectName( _fromUtf8("horizontalLayout_14")) self.label_9 = QtGui.QLabel(self.widget) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_14.addWidget(self.label_9) self.edtDate = CDateEdit(self.widget) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.horizontalLayout_14.addWidget(self.edtDate) self.verticalLayout.addLayout(self.horizontalLayout_14) self.horizontalLayout_15 = QtGui.QHBoxLayout() self.horizontalLayout_15.setObjectName( _fromUtf8("horizontalLayout_15")) self.label_10 = QtGui.QLabel(self.widget) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_15.addWidget(self.label_10) self.boxPeriod = QtGui.QSpinBox(self.widget) self.boxPeriod.setObjectName(_fromUtf8("boxPeriod")) self.horizontalLayout_15.addWidget(self.boxPeriod) self.verticalLayout.addLayout(self.horizontalLayout_15) self.chkPerevystavl = QtGui.QCheckBox(self.widget) self.chkPerevystavl.setChecked(True) self.chkPerevystavl.setObjectName(_fromUtf8("chkPerevystavl")) self.verticalLayout.addWidget(self.chkPerevystavl) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblOrgStructure = QtGui.QLabel(self.widget) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.horizontalLayout.addWidget(self.lblOrgStructure) self.cmbOrgStructure = COrgStructureComboBox(self.widget) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.horizontalLayout.addWidget(self.cmbOrgStructure) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblPerson = QtGui.QLabel(self.widget) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.horizontalLayout_4.addWidget(self.lblPerson) self.cmbPerson = CPersonComboBoxEx(self.widget) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.horizontalLayout_4.addWidget(self.cmbPerson) self.verticalLayout.addLayout(self.horizontalLayout_4) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.lblEventType = QtGui.QLabel(self.widget) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.horizontalLayout_5.addWidget(self.lblEventType) self.cmbEventType = CRBComboBox(self.widget) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.horizontalLayout_5.addWidget(self.cmbEventType) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.lblClass = QtGui.QLabel(self.widget) self.lblClass.setObjectName(_fromUtf8("lblClass")) self.horizontalLayout_6.addWidget(self.lblClass) self.cmbClass = QtGui.QComboBox(self.widget) self.cmbClass.setObjectName(_fromUtf8("cmbClass")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.horizontalLayout_6.addWidget(self.cmbClass) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.lblActionType = QtGui.QLabel(self.widget) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.horizontalLayout_7.addWidget(self.lblActionType) self.cmbActionType = CActionTypeComboBox(self.widget) self.cmbActionType.setEnabled(False) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.horizontalLayout_7.addWidget(self.cmbActionType) self.verticalLayout.addLayout(self.horizontalLayout_7) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ExportActionResultDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventType.setBuddy(self.cmbPerson) self.lblClass.setBuddy(self.cmbClass) self.lblActionType.setBuddy(self.cmbActionType) self.retranslateUi(ExportActionResultDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ExportActionResultDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ExportActionResultDialog.reject) QtCore.QMetaObject.connectSlotsByName(ExportActionResultDialog)
class Ui_ExportActionResultDialog(object): def setupUi(self, ExportActionResultDialog): ExportActionResultDialog.setObjectName( _fromUtf8("ExportActionResultDialog")) ExportActionResultDialog.resize(769, 714) self.gridLayout = QtGui.QGridLayout(ExportActionResultDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.splitter = QtGui.QSplitter(ExportActionResultDialog) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeContracts = QtGui.QTreeView(self.splitter) self.treeContracts.setObjectName(_fromUtf8("treeContracts")) self.widget = QtGui.QWidget(self.splitter) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout = QtGui.QVBoxLayout(self.widget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.lblBegDate = QtGui.QLabel(self.widget) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.horizontalLayout_2.addWidget(self.lblBegDate) self.edtBegDate = CDateEdit(self.widget) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_2.addWidget(self.edtBegDate) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lblEndDate = QtGui.QLabel(self.widget) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.horizontalLayout_3.addWidget(self.lblEndDate) self.edtEndDate = CDateEdit(self.widget) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_3.addWidget(self.edtEndDate) self.verticalLayout.addLayout(self.horizontalLayout_3) self.horizontalLayout_14 = QtGui.QHBoxLayout() self.horizontalLayout_14.setObjectName( _fromUtf8("horizontalLayout_14")) self.label_9 = QtGui.QLabel(self.widget) self.label_9.setObjectName(_fromUtf8("label_9")) self.horizontalLayout_14.addWidget(self.label_9) self.edtDate = CDateEdit(self.widget) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.horizontalLayout_14.addWidget(self.edtDate) self.verticalLayout.addLayout(self.horizontalLayout_14) self.horizontalLayout_15 = QtGui.QHBoxLayout() self.horizontalLayout_15.setObjectName( _fromUtf8("horizontalLayout_15")) self.label_10 = QtGui.QLabel(self.widget) self.label_10.setObjectName(_fromUtf8("label_10")) self.horizontalLayout_15.addWidget(self.label_10) self.boxPeriod = QtGui.QSpinBox(self.widget) self.boxPeriod.setObjectName(_fromUtf8("boxPeriod")) self.horizontalLayout_15.addWidget(self.boxPeriod) self.verticalLayout.addLayout(self.horizontalLayout_15) self.chkPerevystavl = QtGui.QCheckBox(self.widget) self.chkPerevystavl.setChecked(True) self.chkPerevystavl.setObjectName(_fromUtf8("chkPerevystavl")) self.verticalLayout.addWidget(self.chkPerevystavl) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblOrgStructure = QtGui.QLabel(self.widget) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.horizontalLayout.addWidget(self.lblOrgStructure) self.cmbOrgStructure = COrgStructureComboBox(self.widget) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.horizontalLayout.addWidget(self.cmbOrgStructure) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblPerson = QtGui.QLabel(self.widget) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.horizontalLayout_4.addWidget(self.lblPerson) self.cmbPerson = CPersonComboBoxEx(self.widget) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.horizontalLayout_4.addWidget(self.cmbPerson) self.verticalLayout.addLayout(self.horizontalLayout_4) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.lblEventType = QtGui.QLabel(self.widget) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.horizontalLayout_5.addWidget(self.lblEventType) self.cmbEventType = CRBComboBox(self.widget) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.horizontalLayout_5.addWidget(self.cmbEventType) self.verticalLayout.addLayout(self.horizontalLayout_5) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.lblClass = QtGui.QLabel(self.widget) self.lblClass.setObjectName(_fromUtf8("lblClass")) self.horizontalLayout_6.addWidget(self.lblClass) self.cmbClass = QtGui.QComboBox(self.widget) self.cmbClass.setObjectName(_fromUtf8("cmbClass")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.cmbClass.addItem(_fromUtf8("")) self.horizontalLayout_6.addWidget(self.cmbClass) self.verticalLayout.addLayout(self.horizontalLayout_6) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.lblActionType = QtGui.QLabel(self.widget) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.horizontalLayout_7.addWidget(self.lblActionType) self.cmbActionType = CActionTypeComboBox(self.widget) self.cmbActionType.setEnabled(False) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.horizontalLayout_7.addWidget(self.cmbActionType) self.verticalLayout.addLayout(self.horizontalLayout_7) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ExportActionResultDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventType.setBuddy(self.cmbPerson) self.lblClass.setBuddy(self.cmbClass) self.lblActionType.setBuddy(self.cmbActionType) self.retranslateUi(ExportActionResultDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ExportActionResultDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ExportActionResultDialog.reject) QtCore.QMetaObject.connectSlotsByName(ExportActionResultDialog) def retranslateUi(self, ExportActionResultDialog): ExportActionResultDialog.setWindowTitle( _translate("ExportActionResultDialog", "Экспорт результатов действий", None)) self.lblBegDate.setText( _translate("ExportActionResultDialog", "Дата начала периода", None)) self.lblEndDate.setText( _translate("ExportActionResultDialog", "Дата окончания периода", None)) self.label_9.setText( _translate("ExportActionResultDialog", "дата посылки", None)) self.label_10.setText( _translate("ExportActionResultDialog", "отчётный месяц", None)) self.chkPerevystavl.setText( _translate("ExportActionResultDialog", "включать подлежащие перевыставлению", None)) self.lblOrgStructure.setText( _translate("ExportActionResultDialog", "Подразделение", None)) self.lblPerson.setText( _translate("ExportActionResultDialog", "&Врач", None)) self.cmbPerson.setItemText( 0, _translate("ExportActionResultDialog", "Врач", None)) self.lblEventType.setText( _translate("ExportActionResultDialog", "&Тип обращения", None)) self.lblClass.setText( _translate("ExportActionResultDialog", "Кла&сс действия", None)) self.cmbClass.setItemText( 0, _translate("ExportActionResultDialog", "Статус", None)) self.cmbClass.setItemText( 1, _translate("ExportActionResultDialog", "Диагностика", None)) self.cmbClass.setItemText( 2, _translate("ExportActionResultDialog", "Лечение", None)) self.cmbClass.setItemText( 3, _translate("ExportActionResultDialog", "Прочие мероприятия", None)) self.lblActionType.setText( _translate("ExportActionResultDialog", "&Тип действия", None))
def setupUi(self, ActionTemplateEditorDialog): ActionTemplateEditorDialog.setObjectName( _fromUtf8("ActionTemplateEditorDialog")) ActionTemplateEditorDialog.resize(487, 565) ActionTemplateEditorDialog.setSizeGripEnabled(True) self.verticalLayout = QtGui.QVBoxLayout(ActionTemplateEditorDialog) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tabWidget = QtGui.QTabWidget(ActionTemplateEditorDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabInfo = QtGui.QWidget() self.tabInfo.setObjectName(_fromUtf8("tabInfo")) self.gridLayout = QtGui.QGridLayout(self.tabInfo) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBaseProperties = QtGui.QLabel(self.tabInfo) self.lblBaseProperties.setObjectName(_fromUtf8("lblBaseProperties")) self.gridLayout.addWidget(self.lblBaseProperties, 0, 0, 1, 12) self.lblName = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblName.sizePolicy().hasHeightForWidth()) self.lblName.setSizePolicy(sizePolicy) self.lblName.setObjectName(_fromUtf8("lblName")) self.gridLayout.addWidget(self.lblName, 1, 1, 1, 2) self.edtName = QtGui.QLineEdit(self.tabInfo) self.edtName.setMinimumSize(QtCore.QSize(200, 0)) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 1, 4, 1, 8) self.line_2 = QtGui.QFrame(self.tabInfo) 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, 2, 0, 1, 1) self.lblActionType = QtGui.QLabel(self.tabInfo) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 2, 1, 1, 2) self.cmbActionType = CActionTypeComboBox(self.tabInfo) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 2, 4, 1, 8) self.lblCase = QtGui.QLabel(self.tabInfo) self.lblCase.setObjectName(_fromUtf8("lblCase")) self.gridLayout.addWidget(self.lblCase, 3, 0, 1, 13) self.lblSex = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSex.sizePolicy().hasHeightForWidth()) self.lblSex.setSizePolicy(sizePolicy) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 4, 1, 1, 1) self.cmbSex = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, 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, 4, 4, 1, 2) spacerItem = QtGui.QSpacerItem(231, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 4, 6, 1, 6) self.lblAge = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAge.sizePolicy().hasHeightForWidth()) self.lblAge.setSizePolicy(sizePolicy) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 5, 1, 1, 1) self.cmbBegAgeUnit = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbBegAgeUnit.sizePolicy().hasHeightForWidth()) self.cmbBegAgeUnit.setSizePolicy(sizePolicy) self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.setItemText(0, _fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbBegAgeUnit, 5, 4, 1, 2) self.edtBegAgeCount = QtGui.QLineEdit(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegAgeCount.sizePolicy().hasHeightForWidth()) self.edtBegAgeCount.setSizePolicy(sizePolicy) self.edtBegAgeCount.setMaxLength(3) self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount")) self.gridLayout.addWidget(self.edtBegAgeCount, 5, 6, 1, 1) self.lblAgeSep = QtGui.QLabel(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeSep.sizePolicy().hasHeightForWidth()) self.lblAgeSep.setSizePolicy(sizePolicy) self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep")) self.gridLayout.addWidget(self.lblAgeSep, 5, 7, 1, 1) self.cmbEndAgeUnit = QtGui.QComboBox(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbEndAgeUnit.sizePolicy().hasHeightForWidth()) self.cmbEndAgeUnit.setSizePolicy(sizePolicy) self.cmbEndAgeUnit.setSizeAdjustPolicy( QtGui.QComboBox.AdjustToContentsOnFirstShow) self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.setItemText(0, _fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbEndAgeUnit, 5, 8, 1, 1) self.edtEndAgeCount = QtGui.QLineEdit(self.tabInfo) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndAgeCount.sizePolicy().hasHeightForWidth()) self.edtEndAgeCount.setSizePolicy(sizePolicy) self.edtEndAgeCount.setMaxLength(3) self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount")) self.gridLayout.addWidget(self.edtEndAgeCount, 5, 9, 1, 2) spacerItem1 = QtGui.QSpacerItem(71, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 5, 11, 1, 1) self.line_3 = QtGui.QFrame(self.tabInfo) self.line_3.setFrameShape(QtGui.QFrame.HLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.gridLayout.addWidget(self.line_3, 6, 0, 1, 1) self.lblName_2 = QtGui.QLabel(self.tabInfo) self.lblName_2.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblName_2.sizePolicy().hasHeightForWidth()) self.lblName_2.setSizePolicy(sizePolicy) self.lblName_2.setObjectName(_fromUtf8("lblName_2")) self.gridLayout.addWidget(self.lblName_2, 6, 1, 1, 1) self.edtMKBList = QtGui.QLineEdit(self.tabInfo) self.edtMKBList.setEnabled(False) self.edtMKBList.setMinimumSize(QtCore.QSize(200, 0)) self.edtMKBList.setObjectName(_fromUtf8("edtMKBList")) self.gridLayout.addWidget(self.edtMKBList, 6, 4, 1, 8) self.lblVisibleTo = QtGui.QLabel(self.tabInfo) self.lblVisibleTo.setObjectName(_fromUtf8("lblVisibleTo")) self.gridLayout.addWidget(self.lblVisibleTo, 7, 0, 1, 12) self.rbVisibleToOwner = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToOwner.setChecked(True) self.rbVisibleToOwner.setObjectName(_fromUtf8("rbVisibleToOwner")) self.gridLayout.addWidget(self.rbVisibleToOwner, 8, 0, 1, 5) self.cmbOwner = CPersonComboBoxEx(self.tabInfo) self.cmbOwner.setObjectName(_fromUtf8("cmbOwner")) self.gridLayout.addWidget(self.cmbOwner, 8, 5, 1, 7) self.rbVisibleToSpeciality = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToSpeciality.setObjectName( _fromUtf8("rbVisibleToSpeciality")) self.gridLayout.addWidget(self.rbVisibleToSpeciality, 9, 0, 1, 5) self.cmbSpeciality = CRBComboBox(self.tabInfo) self.cmbSpeciality.setEnabled(False) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 9, 5, 1, 5) spacerItem2 = QtGui.QSpacerItem(232, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 9, 10, 1, 2) self.rbVisibleToAll = QtGui.QRadioButton(self.tabInfo) self.rbVisibleToAll.setObjectName(_fromUtf8("rbVisibleToAll")) self.gridLayout.addWidget(self.rbVisibleToAll, 10, 0, 1, 5) spacerItem3 = QtGui.QSpacerItem(51, 331, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 11, 0, 1, 2) self.tabWidget.addTab(self.tabInfo, _fromUtf8("")) self.tabProperties = QtGui.QWidget() self.tabProperties.setObjectName(_fromUtf8("tabProperties")) self.gridLayout_2 = QtGui.QGridLayout(self.tabProperties) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblStatus = QtGui.QLabel(self.tabProperties) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout_2.addWidget(self.lblStatus, 0, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(self.tabProperties) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout_2.addWidget(self.cmbStatus, 0, 1, 1, 1) self.lblAmount = QtGui.QLabel(self.tabProperties) self.lblAmount.setObjectName(_fromUtf8("lblAmount")) self.gridLayout_2.addWidget(self.lblAmount, 0, 2, 1, 1) self.edtAmount = QtGui.QSpinBox(self.tabProperties) self.edtAmount.setObjectName(_fromUtf8("edtAmount")) self.gridLayout_2.addWidget(self.edtAmount, 0, 3, 1, 1) self.lblOffice = QtGui.QLabel(self.tabProperties) self.lblOffice.setObjectName(_fromUtf8("lblOffice")) self.gridLayout_2.addWidget(self.lblOffice, 0, 4, 1, 1) self.edtOffice = QtGui.QLineEdit(self.tabProperties) self.edtOffice.setMaxLength(16) self.edtOffice.setObjectName(_fromUtf8("edtOffice")) self.gridLayout_2.addWidget(self.edtOffice, 0, 5, 1, 1) spacerItem4 = QtGui.QSpacerItem(107, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem4, 0, 6, 1, 1) self.lblPerson = QtGui.QLabel(self.tabProperties) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 1, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.tabProperties) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout_2.addWidget(self.cmbPerson, 1, 1, 1, 5) spacerItem5 = QtGui.QSpacerItem(107, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem5, 1, 6, 1, 1) self.lblStatusNote = QtGui.QLabel(self.tabProperties) self.lblStatusNote.setObjectName(_fromUtf8("lblStatusNote")) self.gridLayout_2.addWidget(self.lblStatusNote, 2, 0, 1, 1) self.edtNote = QtGui.QLineEdit(self.tabProperties) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout_2.addWidget(self.edtNote, 2, 1, 1, 6) self.tblProps = CActionPropertiesTableView(self.tabProperties) self.tblProps.setEnabled(True) self.tblProps.setObjectName(_fromUtf8("tblProps")) self.gridLayout_2.addWidget(self.tblProps, 3, 0, 1, 7) self.tabWidget.addTab(self.tabProperties, _fromUtf8("")) self.verticalLayout.addWidget(self.tabWidget) self.buttonBox = QtGui.QDialogButtonBox(ActionTemplateEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.verticalLayout.addWidget(self.buttonBox) self.lblName.setBuddy(self.edtName) self.lblActionType.setBuddy(self.cmbActionType) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.cmbBegAgeUnit) self.lblAgeSep.setBuddy(self.cmbEndAgeUnit) self.lblName_2.setBuddy(self.edtMKBList) self.lblStatus.setBuddy(self.cmbStatus) self.lblAmount.setBuddy(self.edtAmount) self.lblOffice.setBuddy(self.edtOffice) self.lblPerson.setBuddy(self.cmbPerson) self.lblStatusNote.setBuddy(self.edtNote) self.retranslateUi(ActionTemplateEditorDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ActionTemplateEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ActionTemplateEditorDialog.reject) QtCore.QObject.connect(self.rbVisibleToOwner, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbOwner.setEnabled) QtCore.QObject.connect(self.rbVisibleToSpeciality, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbSpeciality.setEnabled) QtCore.QMetaObject.connectSlotsByName(ActionTemplateEditorDialog) ActionTemplateEditorDialog.setTabOrder(self.tabWidget, self.edtName) ActionTemplateEditorDialog.setTabOrder(self.edtName, self.cmbActionType) ActionTemplateEditorDialog.setTabOrder(self.cmbActionType, self.cmbSex) ActionTemplateEditorDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit) ActionTemplateEditorDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount) ActionTemplateEditorDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit) ActionTemplateEditorDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount) ActionTemplateEditorDialog.setTabOrder(self.edtEndAgeCount, self.edtMKBList) ActionTemplateEditorDialog.setTabOrder(self.edtMKBList, self.rbVisibleToOwner) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToOwner, self.cmbOwner) ActionTemplateEditorDialog.setTabOrder(self.cmbOwner, self.rbVisibleToSpeciality) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToSpeciality, self.cmbSpeciality) ActionTemplateEditorDialog.setTabOrder(self.cmbSpeciality, self.rbVisibleToAll) ActionTemplateEditorDialog.setTabOrder(self.rbVisibleToAll, self.cmbStatus) ActionTemplateEditorDialog.setTabOrder(self.cmbStatus, self.edtAmount) ActionTemplateEditorDialog.setTabOrder(self.edtAmount, self.edtOffice) ActionTemplateEditorDialog.setTabOrder(self.edtOffice, self.cmbPerson) ActionTemplateEditorDialog.setTabOrder(self.cmbPerson, self.edtNote) ActionTemplateEditorDialog.setTabOrder(self.edtNote, self.tblProps) ActionTemplateEditorDialog.setTabOrder(self.tblProps, self.buttonBox)
def setupUi(self, PEDSalaryReportsSetupDialog): PEDSalaryReportsSetupDialog.setObjectName( _fromUtf8("PEDSalaryReportsSetupDialog")) PEDSalaryReportsSetupDialog.setWindowModality( QtCore.Qt.ApplicationModal) PEDSalaryReportsSetupDialog.resize(437, 550) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( PEDSalaryReportsSetupDialog.sizePolicy().hasHeightForWidth()) PEDSalaryReportsSetupDialog.setSizePolicy(sizePolicy) PEDSalaryReportsSetupDialog.setSizeGripEnabled(False) self.gridLayout = QtGui.QGridLayout(PEDSalaryReportsSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.grbPeriod = QtGui.QGroupBox(PEDSalaryReportsSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grbPeriod.sizePolicy().hasHeightForWidth()) self.grbPeriod.setSizePolicy(sizePolicy) self.grbPeriod.setMaximumSize(QtCore.QSize(16777215, 70)) self.grbPeriod.setObjectName(_fromUtf8("grbPeriod")) self.edtBegDate = CDateEdit(self.grbPeriod) self.edtBegDate.setGeometry(QtCore.QRect(143, 18, 121, 20)) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.lblEndDate = QtGui.QLabel(self.grbPeriod) self.lblEndDate.setGeometry(QtCore.QRect(10, 42, 129, 20)) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.edtEndDate = CDateEdit(self.grbPeriod) self.edtEndDate.setGeometry(QtCore.QRect(143, 42, 121, 20)) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.lblBegDate = QtGui.QLabel(self.grbPeriod) self.lblBegDate.setGeometry(QtCore.QRect(10, 18, 129, 20)) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.grbPeriod, 5, 1, 1, 1) self.grbPatient = QtGui.QGroupBox(PEDSalaryReportsSetupDialog) self.grbPatient.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grbPatient.sizePolicy().hasHeightForWidth()) self.grbPatient.setSizePolicy(sizePolicy) self.grbPatient.setMaximumSize(QtCore.QSize(16777215, 140)) self.grbPatient.setObjectName(_fromUtf8("grbPatient")) self.gridLayoutWidget = QtGui.QWidget(self.grbPatient) self.gridLayoutWidget.setGeometry(QtCore.QRect(9, 19, 411, 111)) self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget")) self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.chkCode = QtGui.QCheckBox(self.gridLayoutWidget) self.chkCode.setEnabled(True) self.chkCode.setObjectName(_fromUtf8("chkCode")) self.gridLayout_2.addWidget(self.chkCode, 0, 0, 1, 1) self.editAmbCard = QtGui.QLineEdit(self.gridLayoutWidget) self.editAmbCard.setObjectName(_fromUtf8("editAmbCard")) self.gridLayout_2.addWidget(self.editAmbCard, 0, 1, 1, 1) self.lblFirstName = QtGui.QLabel(self.gridLayoutWidget) self.lblFirstName.setObjectName(_fromUtf8("lblFirstName")) self.gridLayout_2.addWidget(self.lblFirstName, 2, 0, 1, 1) self.lblLastName = QtGui.QLabel(self.gridLayoutWidget) self.lblLastName.setObjectName(_fromUtf8("lblLastName")) self.gridLayout_2.addWidget(self.lblLastName, 1, 0, 1, 1) self.lblPatrName = QtGui.QLabel(self.gridLayoutWidget) self.lblPatrName.setObjectName(_fromUtf8("lblPatrName")) self.gridLayout_2.addWidget(self.lblPatrName, 3, 0, 1, 1) self.editLastName = QtGui.QLineEdit(self.gridLayoutWidget) self.editLastName.setObjectName(_fromUtf8("editLastName")) self.gridLayout_2.addWidget(self.editLastName, 1, 1, 1, 1) self.editFirstName = QtGui.QLineEdit(self.gridLayoutWidget) self.editFirstName.setObjectName(_fromUtf8("editFirstName")) self.gridLayout_2.addWidget(self.editFirstName, 2, 1, 1, 1) self.editPatrName = QtGui.QLineEdit(self.gridLayoutWidget) self.editPatrName.setObjectName(_fromUtf8("editPatrName")) self.gridLayout_2.addWidget(self.editPatrName, 3, 1, 1, 1) self.gridLayout_2.setColumnMinimumWidth(0, 90) self.gridLayout.addWidget(self.grbPatient, 8, 1, 1, 1) self.grbReport = QtGui.QGroupBox(PEDSalaryReportsSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.grbReport.sizePolicy().hasHeightForWidth()) self.grbReport.setSizePolicy(sizePolicy) self.grbReport.setMaximumSize(QtCore.QSize(16777215, 80)) self.grbReport.setObjectName(_fromUtf8("grbReport")) self.gridLayoutWidget_4 = QtGui.QWidget(self.grbReport) self.gridLayoutWidget_4.setGeometry(QtCore.QRect(10, 20, 411, 51)) self.gridLayoutWidget_4.setObjectName(_fromUtf8("gridLayoutWidget_4")) self.gridLayout_5 = QtGui.QGridLayout(self.gridLayoutWidget_4) self.gridLayout_5.setMargin(0) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.radioByStructure = QtGui.QRadioButton(self.gridLayoutWidget_4) self.radioByStructure.setObjectName(_fromUtf8("radioByStructure")) self.gridLayout_5.addWidget(self.radioByStructure, 0, 2, 1, 1) self.radioByPerformer = QtGui.QRadioButton(self.gridLayoutWidget_4) self.radioByPerformer.setObjectName(_fromUtf8("radioByPerformer")) self.gridLayout_5.addWidget(self.radioByPerformer, 0, 1, 1, 1) self.radioByService = QtGui.QRadioButton(self.gridLayoutWidget_4) self.radioByService.setChecked(True) self.radioByService.setObjectName(_fromUtf8("radioByService")) self.gridLayout_5.addWidget(self.radioByService, 0, 0, 1, 1) self.radioByPatient = QtGui.QRadioButton(self.gridLayoutWidget_4) self.radioByPatient.setObjectName(_fromUtf8("radioByPatient")) self.gridLayout_5.addWidget(self.radioByPatient, 0, 3, 1, 1) self.chkGroupByPatients = QtGui.QCheckBox(self.gridLayoutWidget_4) self.chkGroupByPatients.setObjectName(_fromUtf8("chkGroupByPatients")) self.gridLayout_5.addWidget(self.chkGroupByPatients, 1, 0, 1, 4) self.gridLayout.addWidget(self.grbReport, 2, 1, 1, 1) self.wgtCommon = QtGui.QWidget(PEDSalaryReportsSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.wgtCommon.sizePolicy().hasHeightForWidth()) self.wgtCommon.setSizePolicy(sizePolicy) self.wgtCommon.setMaximumSize(QtCore.QSize(16777215, 60)) self.wgtCommon.setObjectName(_fromUtf8("wgtCommon")) self.gridLayoutWidget_2 = QtGui.QWidget(self.wgtCommon) self.gridLayoutWidget_2.setGeometry(QtCore.QRect(10, 0, 411, 61)) self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2")) self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_2) self.gridLayout_3.setMargin(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblOrgStructure = QtGui.QLabel(self.gridLayoutWidget_2) self.lblOrgStructure.setEnabled(True) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout_3.addWidget(self.lblOrgStructure, 0, 0, 1, 1) self.lblService = QtGui.QLabel(self.gridLayoutWidget_2) self.lblService.setObjectName(_fromUtf8("lblService")) self.gridLayout_3.addWidget(self.lblService, 1, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(self.gridLayoutWidget_2) self.cmbOrgStructure.setEnabled(True) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout_3.addWidget(self.cmbOrgStructure, 0, 1, 1, 1) self.cmbService = CActionTypeComboBox(self.gridLayoutWidget_2) self.cmbService.setObjectName(_fromUtf8("cmbService")) self.gridLayout_3.addWidget(self.cmbService, 1, 1, 1, 1) self.gridLayout_3.setColumnMinimumWidth(1, 313) self.gridLayout.addWidget(self.wgtCommon, 6, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(PEDSalaryReportsSetupDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 9, 1, 1, 1) self.wgtByPerformer = QtGui.QWidget(PEDSalaryReportsSetupDialog) self.wgtByPerformer.setEnabled(True) self.wgtByPerformer.setMaximumSize(QtCore.QSize(16777215, 150)) self.wgtByPerformer.setObjectName(_fromUtf8("wgtByPerformer")) self.gridLayoutWidget_3 = QtGui.QWidget(self.wgtByPerformer) self.gridLayoutWidget_3.setGeometry(QtCore.QRect(10, 10, 411, 141)) self.gridLayoutWidget_3.setObjectName(_fromUtf8("gridLayoutWidget_3")) self.gridLayout_4 = QtGui.QGridLayout(self.gridLayoutWidget_3) self.gridLayout_4.setMargin(0) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.cmbAssistant2 = CPersonComboBoxEx(self.gridLayoutWidget_3) self.cmbAssistant2.setEnabled(True) self.cmbAssistant2.setEditable(True) self.cmbAssistant2.setObjectName(_fromUtf8("cmbAssistant2")) self.cmbAssistant2.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbAssistant2, 2, 1, 1, 1) self.radioAssistant = QtGui.QRadioButton(self.gridLayoutWidget_3) self.radioAssistant.setEnabled(True) self.radioAssistant.setObjectName(_fromUtf8("radioAssistant")) self.gridLayout_4.addWidget(self.radioAssistant, 1, 0, 1, 1) self.radioPerformer = QtGui.QRadioButton(self.gridLayoutWidget_3) self.radioPerformer.setEnabled(True) self.radioPerformer.setChecked(True) self.radioPerformer.setObjectName(_fromUtf8("radioPerformer")) self.gridLayout_4.addWidget(self.radioPerformer, 0, 0, 1, 1) self.cmbPerformer = CPersonComboBoxEx(self.gridLayoutWidget_3) self.cmbPerformer.setEnabled(True) self.cmbPerformer.setEditable(True) self.cmbPerformer.setObjectName(_fromUtf8("cmbPerformer")) self.cmbPerformer.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbPerformer, 0, 1, 1, 1) self.cmbAssistant = CPersonComboBoxEx(self.gridLayoutWidget_3) self.cmbAssistant.setEnabled(True) self.cmbAssistant.setEditable(True) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.cmbAssistant.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbAssistant, 1, 1, 1, 1) self.cmbAssistant3 = CPersonComboBoxEx(self.gridLayoutWidget_3) self.cmbAssistant3.setEnabled(True) self.cmbAssistant3.setEditable(True) self.cmbAssistant3.setObjectName(_fromUtf8("cmbAssistant3")) self.cmbAssistant3.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbAssistant3, 3, 1, 1, 1) self.gridLayout_4.setColumnMinimumWidth(1, 313) self.gridLayout.addWidget(self.wgtByPerformer, 7, 1, 1, 1) self.lblEndDate.setBuddy(self.edtEndDate) self.lblBegDate.setBuddy(self.edtBegDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.retranslateUi(PEDSalaryReportsSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), PEDSalaryReportsSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(PEDSalaryReportsSetupDialog)
def setupUi(self, ActionTemplateFindDialog): ActionTemplateFindDialog.setObjectName( _fromUtf8("ActionTemplateFindDialog")) ActionTemplateFindDialog.resize(772, 394) ActionTemplateFindDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(ActionTemplateFindDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbActionType = CActionTypeComboBox(ActionTemplateFindDialog) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 1, 1, 1, 2) self.cmbSpeciality = CRBComboBox(ActionTemplateFindDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 3, 1, 1, 2) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.cmbSex = QtGui.QComboBox(ActionTemplateFindDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.horizontalLayout_3.addWidget(self.cmbSex) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout_3, 2, 1, 1, 2) self.cmbPerson = CPersonComboBoxEx(ActionTemplateFindDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 4, 1, 1, 2) self.lblSex = QtGui.QLabel(ActionTemplateFindDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 2, 0, 1, 1) self.label_5 = QtGui.QLabel(ActionTemplateFindDialog) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1) self.label_4 = QtGui.QLabel(ActionTemplateFindDialog) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1) self.edtName = QtGui.QLineEdit(ActionTemplateFindDialog) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 0, 1, 1, 2) self.tblRecords = CTableView(ActionTemplateFindDialog) self.tblRecords.setObjectName(_fromUtf8("tblRecords")) self.gridLayout.addWidget(self.tblRecords, 5, 0, 1, 3) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.buttonBox = QtGui.QDialogButtonBox(ActionTemplateFindDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.buttonBox.sizePolicy().hasHeightForWidth()) self.buttonBox.setSizePolicy(sizePolicy) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Close | QtGui.QDialogButtonBox.Reset) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.gridLayout.addLayout(self.horizontalLayout, 8, 0, 1, 3) self.lblRecordsCount = QtGui.QLabel(ActionTemplateFindDialog) self.lblRecordsCount.setObjectName(_fromUtf8("lblRecordsCount")) self.gridLayout.addWidget(self.lblRecordsCount, 7, 0, 1, 3) self.lblName = QtGui.QLabel(ActionTemplateFindDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblName.sizePolicy().hasHeightForWidth()) self.lblName.setSizePolicy(sizePolicy) self.lblName.setObjectName(_fromUtf8("lblName")) self.gridLayout.addWidget(self.lblName, 0, 0, 1, 1) self.lblActionType = QtGui.QLabel(ActionTemplateFindDialog) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 1, 0, 1, 1) self.lblName.setBuddy(self.edtName) self.retranslateUi(ActionTemplateFindDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ActionTemplateFindDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ActionTemplateFindDialog.reject) QtCore.QMetaObject.connectSlotsByName(ActionTemplateFindDialog) ActionTemplateFindDialog.setTabOrder(self.edtName, self.tblRecords) ActionTemplateFindDialog.setTabOrder(self.tblRecords, self.buttonBox)
def setupUi(self, ReportSetupDialog): ReportSetupDialog.setObjectName(_fromUtf8("ReportSetupDialog")) ReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportSetupDialog.resize(572, 668) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportSetupDialog.sizePolicy().hasHeightForWidth()) ReportSetupDialog.setSizePolicy(sizePolicy) ReportSetupDialog.setSizeGripEnabled(True) ReportSetupDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(ReportSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBegDate = QtGui.QLabel(ReportSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.lblEndPayDate = QtGui.QLabel(ReportSetupDialog) self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate")) self.gridLayout.addWidget(self.lblEndPayDate, 9, 4, 1, 1) self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPermanentAttach.setObjectName( _fromUtf8("chkOnlyPermanentAttach")) self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 5, 1, 1, 9) self.edtBegPayDate = CDateEdit(ReportSetupDialog) self.edtBegPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegPayDate.sizePolicy().hasHeightForWidth()) self.edtBegPayDate.setSizePolicy(sizePolicy) self.edtBegPayDate.setCalendarPopup(True) self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate")) self.gridLayout.addWidget(self.edtBegPayDate, 9, 1, 1, 3) self.cmbMKBFilter = QtGui.QComboBox(ReportSetupDialog) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbMKBFilter, 27, 1, 1, 2) spacerItem = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 24, 8, 1, 2) self.chkOnlyPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents")) self.gridLayout.addWidget(self.chkOnlyPayedEvents, 7, 1, 1, 9) self.frmAge = QtGui.QFrame(ReportSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeTo.sizePolicy().hasHeightForWidth()) self.lblAgeTo.setSizePolicy(sizePolicy) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) self.gridLayout.addWidget(self.frmAge, 21, 1, 1, 5) self.lblWorkOrganisation = QtGui.QLabel(ReportSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 19, 0, 1, 1) self.cmbActionType = CActionTypeComboBox(ReportSetupDialog) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 24, 1, 1, 7) self.lblAge = QtGui.QLabel(ReportSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 21, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 13, 1, 1, 9) self.edtEndPayDate = CDateEdit(ReportSetupDialog) self.edtEndPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndPayDate.sizePolicy().hasHeightForWidth()) self.edtEndPayDate.setSizePolicy(sizePolicy) self.edtEndPayDate.setCalendarPopup(True) self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate")) self.gridLayout.addWidget(self.edtEndPayDate, 9, 6, 1, 1) self.lblInsurer = QtGui.QLabel(ReportSetupDialog) self.lblInsurer.setObjectName(_fromUtf8("lblInsurer")) self.gridLayout.addWidget(self.lblInsurer, 12, 0, 1, 1) self.lblEndDate = QtGui.QLabel(ReportSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.lblActionTypeClass = QtGui.QLabel(ReportSetupDialog) self.lblActionTypeClass.setObjectName(_fromUtf8("lblActionTypeClass")) self.gridLayout.addWidget(self.lblActionTypeClass, 23, 0, 1, 1) self.cmbStage = CRBComboBox(ReportSetupDialog) self.cmbStage.setObjectName(_fromUtf8("cmbStage")) self.gridLayout.addWidget(self.cmbStage, 4, 1, 1, 9) self.chkDiagnosisType = QtGui.QCheckBox(ReportSetupDialog) self.chkDiagnosisType.setObjectName(_fromUtf8("chkDiagnosisType")) self.gridLayout.addWidget(self.chkDiagnosisType, 8, 1, 1, 9) self.lblSpeciality = QtGui.QLabel(ReportSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1) self.cmbInsurer = CInsurerComboBox(ReportSetupDialog) self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer")) self.gridLayout.addWidget(self.cmbInsurer, 12, 1, 1, 9) spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 20, 2, 1, 8) self.lblWorkType = QtGui.QLabel(ReportSetupDialog) self.lblWorkType.setObjectName(_fromUtf8("lblWorkType")) self.gridLayout.addWidget(self.lblWorkType, 17, 0, 1, 1) spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 0, 4, 1, 6) self.lblBegPayDate = QtGui.QLabel(ReportSetupDialog) self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate")) self.gridLayout.addWidget(self.lblBegPayDate, 9, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportSetupDialog) 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, 31, 0, 1, 10) self.lblActionType = QtGui.QLabel(ReportSetupDialog) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 24, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 30, 0, 1, 10) self.chkActionClass = QtGui.QCheckBox(ReportSetupDialog) self.chkActionClass.setObjectName(_fromUtf8("chkActionClass")) self.gridLayout.addWidget(self.chkActionClass, 22, 0, 1, 10) self.lblOrgStructure = QtGui.QLabel(ReportSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 13, 0, 1, 1) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 21, 6, 1, 4) self.btnSelectWorkOrganisation = QtGui.QToolButton(ReportSetupDialog) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 19, 9, 1, 1) self.edtMKBTo = CICDCodeEdit(ReportSetupDialog) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridLayout.addWidget(self.edtMKBTo, 27, 5, 1, 2) self.lblFinance = QtGui.QLabel(ReportSetupDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 25, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 16, 1, 1, 9) self.cmbFinance = CRBComboBox(ReportSetupDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 25, 1, 1, 7) self.lblStage = QtGui.QLabel(ReportSetupDialog) self.lblStage.setObjectName(_fromUtf8("lblStage")) self.gridLayout.addWidget(self.lblStage, 4, 0, 1, 1) self.lblSex = QtGui.QLabel(ReportSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 20, 0, 1, 1) self.edtBegDate = CDateEdit(ReportSetupDialog) 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, 3) self.lblEventType = QtGui.QLabel(ReportSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1) self.lblPerson = QtGui.QLabel(ReportSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 16, 0, 1, 1) self.lblOwnership = QtGui.QLabel(ReportSetupDialog) self.lblOwnership.setObjectName(_fromUtf8("lblOwnership")) self.gridLayout.addWidget(self.lblOwnership, 18, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 1, 4, 1, 6) self.lblMKBFilter = QtGui.QLabel(ReportSetupDialog) self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter")) self.gridLayout.addWidget(self.lblMKBFilter, 27, 0, 1, 1) self.cmbEventType = CRBComboBox(ReportSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 9) self.edtMKBFrom = CICDCodeEdit(ReportSetupDialog) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridLayout.addWidget(self.edtMKBFrom, 27, 3, 1, 2) self.cmbWorkType = QtGui.QComboBox(ReportSetupDialog) self.cmbWorkType.setObjectName(_fromUtf8("cmbWorkType")) self.gridLayout.addWidget(self.cmbWorkType, 17, 1, 1, 9) self.chkDetailPerson = QtGui.QCheckBox(ReportSetupDialog) self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson")) self.gridLayout.addWidget(self.chkDetailPerson, 15, 0, 1, 10) spacerItem6 = QtGui.QSpacerItem(117, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem6, 27, 7, 1, 3) self.lblContract = QtGui.QLabel(ReportSetupDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 26, 0, 1, 1) self.cmbContract = CContractComboBox(ReportSetupDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 26, 1, 1, 7) self.cmbActionTypeClass = QtGui.QComboBox(ReportSetupDialog) self.cmbActionTypeClass.setObjectName(_fromUtf8("cmbActionTypeClass")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbActionTypeClass, 23, 1, 1, 7) self.cmbSex = QtGui.QComboBox(ReportSetupDialog) 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, 20, 1, 1, 1) self.edtEndDate = CDateEdit(ReportSetupDialog) 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, 3) self.cmbOwnership = QtGui.QComboBox(ReportSetupDialog) self.cmbOwnership.setObjectName(_fromUtf8("cmbOwnership")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.setItemText(0, _fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbOwnership, 18, 1, 1, 9) spacerItem7 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem7, 23, 8, 1, 2) self.cmbSpeciality = CRBComboBox(ReportSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 9) self.cmbWorkOrganisation = COrgComboBox(ReportSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 19, 1, 1, 8) self.chkOnlyNotPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyNotPayedEvents.setObjectName( _fromUtf8("chkOnlyNotPayedEvents")) self.gridLayout.addWidget(self.chkOnlyNotPayedEvents, 8, 0, 1, 1) self.chkOnlyEmployee = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyEmployee.setObjectName(_fromUtf8("chkOnlyEmployee")) self.gridLayout.addWidget(self.chkOnlyEmployee, 5, 0, 1, 1) self.chkGroupByClients = QtGui.QCheckBox(ReportSetupDialog) self.chkGroupByClients.setObjectName(_fromUtf8("chkGroupByClients")) self.gridLayout.addWidget(self.chkGroupByClients, 7, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(ReportSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 9) self.lblEventPurpose = QtGui.QLabel(ReportSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1) self.btnBrowseSourceDataFile = QtGui.QToolButton(ReportSetupDialog) self.btnBrowseSourceDataFile.setEnabled(False) self.btnBrowseSourceDataFile.setObjectName( _fromUtf8("btnBrowseSourceDataFile")) self.gridLayout.addWidget(self.btnBrowseSourceDataFile, 28, 9, 1, 1) self.edtSourceDataFileName = QtGui.QLineEdit(ReportSetupDialog) self.edtSourceDataFileName.setEnabled(False) self.edtSourceDataFileName.setObjectName( _fromUtf8("edtSourceDataFileName")) self.gridLayout.addWidget(self.edtSourceDataFileName, 28, 1, 1, 8) self.chkIsDataFromFile = QtGui.QCheckBox(ReportSetupDialog) self.chkIsDataFromFile.setObjectName(_fromUtf8("chkIsDataFromFile")) self.gridLayout.addWidget(self.chkIsDataFromFile, 28, 0, 1, 1) self.lblOrgStrucutreAttachType = QtGui.QLabel(ReportSetupDialog) self.lblOrgStrucutreAttachType.setObjectName( _fromUtf8("lblOrgStrucutreAttachType")) self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 29, 0, 1, 1) self.cmbOrgStructureAttachType = COrgStructureComboBox( ReportSetupDialog) self.cmbOrgStructureAttachType.setObjectName( _fromUtf8("cmbOrgStructureAttachType")) self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 29, 1, 1, 7) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndPayDate.setBuddy(self.edtEndPayDate) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAge.setBuddy(self.edtAgeFrom) self.lblEndDate.setBuddy(self.edtEndDate) self.lblActionTypeClass.setBuddy(self.cmbActionTypeClass) self.lblWorkType.setBuddy(self.cmbWorkType) self.lblBegPayDate.setBuddy(self.edtBegPayDate) self.lblActionType.setBuddy(self.cmbActionType) self.lblStage.setBuddy(self.cmbStage) self.lblSex.setBuddy(self.cmbSex) self.lblEventType.setBuddy(self.cmbEventType) self.lblOwnership.setBuddy(self.cmbOwnership) self.lblMKBFilter.setBuddy(self.cmbMKBFilter) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.retranslateUi(ReportSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSetupDialog.reject) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegPayDate.setEnabled) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndPayDate.setEnabled) QtCore.QObject.connect(self.chkDetailPerson, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionTypeClass.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionType.setDisabled) QtCore.QMetaObject.connectSlotsByName(ReportSetupDialog) ReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventType) ReportSetupDialog.setTabOrder(self.cmbEventType, self.cmbStage) ReportSetupDialog.setTabOrder(self.cmbStage, self.chkOnlyPermanentAttach) ReportSetupDialog.setTabOrder(self.chkOnlyPermanentAttach, self.chkOnlyPayedEvents) ReportSetupDialog.setTabOrder(self.chkOnlyPayedEvents, self.edtBegPayDate) ReportSetupDialog.setTabOrder(self.edtBegPayDate, self.cmbInsurer) ReportSetupDialog.setTabOrder(self.cmbInsurer, self.cmbOrgStructure) ReportSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality) ReportSetupDialog.setTabOrder(self.cmbSpeciality, self.chkDetailPerson) ReportSetupDialog.setTabOrder(self.chkDetailPerson, self.cmbPerson) ReportSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkType) ReportSetupDialog.setTabOrder(self.cmbWorkType, self.cmbOwnership) ReportSetupDialog.setTabOrder(self.cmbOwnership, self.cmbWorkOrganisation) ReportSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) ReportSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbSex) ReportSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportSetupDialog.setTabOrder(self.edtAgeTo, self.chkActionClass) ReportSetupDialog.setTabOrder(self.chkActionClass, self.cmbActionTypeClass) ReportSetupDialog.setTabOrder(self.cmbActionTypeClass, self.cmbActionType) ReportSetupDialog.setTabOrder(self.cmbActionType, self.cmbFinance) ReportSetupDialog.setTabOrder(self.cmbFinance, self.cmbMKBFilter) ReportSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) ReportSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) ReportSetupDialog.setTabOrder(self.edtMKBTo, self.buttonBox)