text: The QGridLayout class lays out widgets in a grid. More...
  #include <QGridLayout>
  The QGridLayout class lays out widgets in a grid.
  QGridLayout takes the space made available to it (by its parent layout or by the parentWidget()), divides it up into rows and columns, and puts each widget it manages into the correct cell.
  Columns and rows behave identically; we will discuss columns, but there are equivalent functions for rows.
  Each column has a minimum width and a stretch factor. The minimum width is the greatest of that set using(). Row 0 consists of three QLabel objects, row 1 of three QLineEdit objects and row 2 of three QListBox objects. We used placeholder columns (1 and 3) to get the right amount of space between the columns.
  Note that the columns and rows are not equally wide or tall. If you want two columns to have the same width, you must set their minimum widths and stretch factors to be the same yourself. You do this using setColumnMinimumWidth() and setColumnStretch().
  If the QGridLayout is not the top-level layout (i.e. does not manage all of the widget's area and children), you must add it to its parent layout when you create it, but before you do anything with it. The normal way to add a layout is by calling.
  Reimplemented from QLayout::addItem()..
  Adds the given widget to the cell grid at row, column. The top-left position is (0, 0) by default.
  The alignment is specified by alignment. The default alignment is 0, which means that the widget fills the entire cell. stretch factor of column column to stretch. The first column is number 0.
  The stretch factor is relative to the other columns in this grid. Columns with a higher stretch factor take more of the available space.
  The default stretch factor is 0. If the stretch factor is 0 and no other column in this table can grow at all, the column may still grow.
  An alternative approach is to add spacing using addItem() with a QSpacerItem.
  See also columnStretch() and setRowStretch().().
  Sets the stretch factor of row row to stretch. The first row is number 0.
  The stretch factor is relative to the other rows in this grid. Rows with a higher stretch factor take more of the available space.
  The default stretch factor is 0. If the stretch factor is 0 and no other row in this table can grow at all, the row may still grow.
  See also rowStretch(), setRowMinimumHeight(), and setColumnStretch().().