def _save_data_dialog(self, title):
        dialog = QFileDialog(self, title)
        dialog.setAcceptMode(QFileDialog.AcceptSave)
        name_filters, io_mapping = self._get_writeable_formats()
        dialog.setNameFilters(name_filters)
        dialog.setConfirmOverwrite(True)
        if not dialog.exec_():
            return None, None

        return unicode(dialog.selectedFiles()[0]), \
               io_mapping[dialog.selectedNameFilter()]
Create a save dialog for data. Return the filename and selected IO
dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/ui/main_window_neo.py/MainWindowNeo._save_data_dialog