Exemplo n.º 1
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(True)
     result.setOwnershipVisible(True)
     return result
Exemplo n.º 2
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setPayPeriodVisible(self.payPeriodVisible)
     result.setWorkTypeVisible(self.workTypeVisible)
     result.setOwnershipVisible(self.ownershipVisible)
     result.setTitle(self.title())
     return result
Exemplo n.º 3
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(True)
     result.setOrgStructureAttachTypeVisible(True)
     return result
Exemplo n.º 4
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(False)
     result.setWorkTypeVisible(False)
     result.chkOnlyPermanentAttach.setVisible(False)
     result.chkOnlyPayedEvents.setVisible(False)
     return result
Exemplo n.º 5
0
    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
Exemplo n.º 6
0
 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
Exemplo n.º 7
0
 def setParams(self, params):
     CReportSetupDialog.setParams(self, params)
     self.cmbPrimaryMark.setCurrentIndex(params.get('primaryMarkIndex', 0))
Exemplo n.º 8
0
 def params(self):
     result = CReportSetupDialog.params(self)
     result['primaryMarkIndex'] = self.cmbPrimaryMark.currentIndex()
     return result
Exemplo n.º 9
0
 def __init__(self, parent=None):
     CReportSetupDialog.__init__(self, parent)
Exemplo n.º 10
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
Exemplo n.º 11
0
 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.setTitle(self.title())
     return result
Exemplo n.º 12
0
 def getSetupDialog(self, parent):
     result = CReportSetupDialog(parent)
     result.setTitle(self.title())
     result.setEventTypeVisible(True)
     result.setPayPeriodVisible(True)
     if self.mode == '08':
         result.setOwnershipVisible(True)
     elif self.mode == '09':
         result.setOwnershipVisible(True)
     else:
         result.setWorkTypeVisible(True)
     return result
Exemplo n.º 13
0
    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