LayoutWidget#
- class pyqtgraph.LayoutWidget(
- parent=None,
Convenience class used for laying out QWidgets in a grid. (It’s just a little less effort to use than QGridLayout)
- addLabel(
- text=' ',
- row=None,
- col=None,
- rowspan=1,
- colspan=1,
- **kargs,
Create a QLabel with text and place it in the next available cell (or in the cell specified) All extra keyword arguments are passed to QLabel(). Returns the created widget.
- addLayout(
- row=None,
- col=None,
- rowspan=1,
- colspan=1,
- **kargs,
Create an empty LayoutWidget and place it in the next available cell (or in the cell specified) All extra keyword arguments are passed to
LayoutWidget.__init__
Returns the created widget.
- addWidget(
- item,
- row=None,
- col=None,
- rowspan=1,
- colspan=1,
Add a widget to the layout and place it in the next available cell (or in the cell specified).