class_docstr: Convenience class used for laying out QWidgets in a grid.
  (It's just a little less effort to use than QGridLayout)
class_docstr_tok: ["Convenience","class","used","for","laying","out","QWidgets","in","a","grid",".","(","It","'s","just","a","little","less","effort","to","use","than","QGridLayout",")"]
code: def __init__(self, parent=None):
      QtWidgets.QWidget.__init__(self, parent)
      self.layout = QtWidgets.QGridLayout()
      self.setLayout(self.layout)
      self.items = {}
      self.rows = {}
      self.currentRow = 0
      self.currentCol = 0
  
file_path: pyqtgraph/pyqtgraph/widgets/LayoutWidget.py
imports: from ..Qt import QtWidgets
label_desc: Use image node_id 1 to create a new LayoutWidget object from inherited base classes: QtWidgets with example: obj = LayoutWidget(parent)