def getSetupDialog(self, parent): setupDialog = CReportSetupDialog(parent) setupDialog.setOnlyNotPayedVisible(False) setupDialog.setOnlyEmployeeVisible(False) setupDialog.setGroupByClients(False) setupDialog.setOnlyPermanentAttachVisible(False) setupDialog.setContractVisible(False) setupDialog.setFinanceVisible(False) setupDialog.setPersonVisible(False) setupDialog.setPersonWithoutDetailCheckboxVisible(False) setupDialog.setSpecialityVisible(False) setupDialog.setInsurerVisible(False) setupDialog.setStageVisible(False) setupDialog.setPayPeriodVisible(False) setupDialog.setWorkTypeVisible(False) setupDialog.setOwnershipVisible(False) setupDialog.setWorkOrganisationVisible(False) setupDialog.setSexVisible(False) setupDialog.setDiagnosisType(False) setupDialog.setAgeVisible(False) setupDialog.setActionTypeVisible(False) setupDialog.setMKBFilterVisible(False) setupDialog.setEventTypeVisible(True) setupDialog.setOrgStructureVisible(True) setupDialog.setEventPurposeVisible(True) setupDialog.setSourceFileVisible(True) setupDialog.setSourceFileFilter( u'XML Files (*.xml);;DBF Files (*.dbf)') setupDialog.resize(setupDialog.sizeHint()) return setupDialog
def getSetupDialog(self, parent): result = CReportSetupDialog(parent) result.setPayPeriodVisible(True) result.setWorkOrganisationVisible(True) result.setSexVisible(True) result.setAgeVisible(True) result.setActionTypeVisible(True) result.setMKBFilterVisible(True) result.setInsurerVisible(True) result.setOrgStructureVisible(True) result.setSpecialityVisible(True) result.setPersonVisible(True) result.setFinanceVisible(True) result.setTitle(self.title()) return result
def getSetupDialog(self, parent): result = CReportSetupDialog(parent) result.setPayPeriodVisible(True) result.setWorkOrganisationVisible(True) result.setSexVisible(True) result.setAgeVisible(True) result.setMKBFilterVisible(True) result.setInsurerVisible(True) result.setOrgStructureVisible(True) result.setSpecialityVisible(True) result.setPersonVisible(True) result.setFinanceVisible(True) result.setTitle(self.title()) self.mainOrgStructureItems = result.cmbOrgStructure.model( ).getRootItem().items() return result