Beispiel #1
0
    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.setOrgStructureVisible(True)
     result.setSpecialityVisible(True)
     result.setPersonWithoutDetailCheckboxVisible(True)
     result.setContractVisible(True)
     result.setEventTypeVisible(False)
     result.setOnlyPermanentAttachVisible(False)
     result.setOnlyNotPayedVisible(True)
     result.setOnlyEmployeeVisible(True)
     result.setGroupByClients(True)
     result.setAgeVisible(True)
     result.setTitle(self.title())
     return result