class_docstr: Extends QTableWidget with some useful functions for automatic data handling
  and copy / export context menu. Can automatically format and display a variety
  of data types (see :func:`setData() <pyqtgraph.TableWidget.setData>` for more
  information.
code: def sizeHint(self):
      # based on http://stackoverflow.com/a/7195443/54056
      width = sum(
          self.columnWidth(i) for i in range(self.columnCount())
      )
      width += self.verticalHeader().sizeHint().width()
      width += self.verticalScrollBar().sizeHint().width()
      width += self.frameWidth() * 2
      height = sum(self.rowHeight(i) for i in range(self.rowCount()))
      height += self.verticalHeader().sizeHint().height()
      height += self.horizontalScrollBar().sizeHint().height()
      return QtCore.QSize(width, height)
  
imports: import numpy
  from ..Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 15 for calling the TableWidget obj's underlying member method code with example usage: obj.sizeHint() and returns: QtCore