TableViewer

class glue.viewers.table.qt.TableViewer(session, parent=None, widget=None)

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

Attributes Summary

LABEL
tools

Methods Summary

add_data(data)
add_subset(subset)
closeEvent(event) On close, Qt seems to scan through the entire model if the data set is big.
finalize_selection([clear])
keyPressEvent(self, QKeyEvent)
register_to_hub(hub)
restore_layers(rec, context)
selection_changed()
unregister(hub)

Attributes Documentation

LABEL = 'Table Viewer'
tools = ['table:rowselect']

Methods Documentation

add_data(data)
add_subset(subset)
closeEvent(event)

On close, Qt seems to scan through the entire model if the data set is big. To sidestep that, we swap out with a tiny data set before closing

finalize_selection(clear=True)
keyPressEvent(self, QKeyEvent)
register_to_hub(hub)
restore_layers(rec, context)
selection_changed()
unregister(hub)