CustomWidgetBase

class glue.viewers.custom.qt.custom_viewer.CustomWidgetBase(session, parent=None)[source]

Bases: glue.viewers.common.qt.data_viewer.DataViewer

Base Qt widget class for custom viewers

Attributes Summary

LABEL
coordinator_cls
tools

Methods Summary

add_data(data) Add a new data set to the widget
add_subset(subset) Add a subset to the widget
apply_roi(roi)
options_widget()
register_to_hub(hub)
settings_changed() Called when UI settings change
unregister(hub)

Attributes Documentation

LABEL = ''
coordinator_cls = None
tools[source]

Methods Documentation

add_data(data)[source]

Add a new data set to the widget

Returns:True if the addition was expected, False otherwise
add_subset(subset)[source]

Add a subset to the widget

Returns:True if the addition was accepted, False otherwise
apply_roi(roi)[source]
options_widget()[source]
register_to_hub(hub)[source]
settings_changed()[source]

Called when UI settings change

unregister(hub)[source]