TableViewer#
- class glue_qt.viewers.table.TableViewer(*args, **kwargs)#
Bases:
DataViewerAttributes Summary
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])get_layer_artist(cls[, layer, layer_state])keyPressEvent(self, a0)update_viewer_state(rec, context)Attributes Documentation
- LABEL = 'Table Viewer'#
- inherit_tools = False#
- subtools = {'window': ['window:movetab', 'window:title']}#
- tools = ['table:rowselect', 'window']#
- window_title#
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)#
- get_layer_artist(cls, layer=None, layer_state=None)#
- selection_changed()#
- static update_viewer_state(rec, context)#