mad_gui.plugins.example.ExampleExporter#

class mad_gui.plugins.example.ExampleExporter(parent=None)[source]#

Bases: BaseExporter

An exemplary exporter, which writes all existing annotations into a csv file.

Methods

name()

Return a name, which is used to represent this Exporter in a dropdown in the GUI.

process_data(global_data)

This method must be implemented by your plugin.

classmethod name()[source]#

Return a name, which is used to represent this Exporter in a dropdown in the GUI.

process_data(global_data: GlobalData)[source]#

This method must be implemented by your plugin.

Parameters:
global_data

The GUI's mad_gui.models.global_data.GlobalData object, which is kept in mad_gui.windows.main.MainWindow

Returns:
Nothing

Everything you want to to/save must be done inside your plugin.