def onExport(self):
        fileName = qt.QFileDialog.getSaveFileName(self.parent, "Export to CSV file")
        if fileName:
            self.logic.exportCSV(fileName)
            qt.QMessageBox.information(slicer.util.mainWindow(), 'Data exported', 'The data were exported successfully')
Export the current csv file to a customized and formatted file
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/ui/CaseReportsWidget.py/CaseReportsWidget.onExport