<class name="QGridLayout" doc="/**
&lt;p&gt;The &lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; class lays out widgets in a grid.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; takes the space made available to it (by its parent layout or by the &lt;a href=&quot;QLayout.html#parentWidget()&quot;&gt;&lt;tt&gt;parentWidget&lt;/tt&gt;&lt;/a&gt;), divides it up into rows and columns, and puts each widget it manages into the correct cell.&lt;/p&gt;
&lt;p&gt;Columns and rows behave identically; we will discuss columns, but there are equivalent functions for rows.&lt;/p&gt;
&lt;p&gt;Each column has a minimum width and a stretch factor. The minimum width is the greatest of that set using &lt;a href=&quot;QGridLayout.html#setColumnMinimumWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnMinimumWidth&lt;/tt&gt;&lt;/a&gt; and the minimum width of each widget in that column. The stretch factor is set using &lt;a href=&quot;QGridLayout.html#setColumnStretch(int, int)&quot;&gt;&lt;tt&gt;setColumnStretch&lt;/tt&gt;&lt;/a&gt; and determines how much of the available space the column will get over and above its necessary minimum.&lt;/p&gt;
&lt;p&gt;Normally, each managed widget or layout is put into a cell of its own using &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;. It is also possible for a widget to occupy multiple cells using the row and column spanning overloads of &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;. If you do this, &lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; will guess how to distribute the size over the columns/rows (based on the stretch factors).&lt;/p&gt;
&lt;p&gt;To remove a widget from a layout, call &lt;a href=&quot;%2E%2E/qtjambi-typesystem.html#remove&quot;&gt;&lt;tt&gt;remove&lt;/tt&gt;&lt;/a&gt;. Calling QWidget::hide() on a widget also effectively removes the widget from the layout until QWidget::show() is called.&lt;/p&gt;
&lt;p&gt;This illustration shows a fragment of a dialog with a five-column, three-row grid (the grid is shown overlaid in magenta):&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/gridlayout.png&quot; alt=&quot;A grid layout&quot; /&gt;&lt;/p&gt;&lt;p&gt;Columns 0, 2 and 4 in this dialog fragment are made up of a &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt;, a &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt;, and a &lt;a href=&quot;%2E%2E/porting4.html#qlistbox&quot;&gt;&lt;tt&gt;QListBox&lt;/tt&gt;&lt;/a&gt;. Columns 1 and 3 are placeholders made with &lt;a href=&quot;QGridLayout.html#setColumnMinimumWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnMinimumWidth&lt;/tt&gt;&lt;/a&gt;. Row 0 consists of three &lt;a href=&quot;QLabel.html&quot;&gt;&lt;tt&gt;QLabel&lt;/tt&gt;&lt;/a&gt; objects, row 1 of three &lt;a href=&quot;QLineEdit.html&quot;&gt;&lt;tt&gt;QLineEdit&lt;/tt&gt;&lt;/a&gt; objects and row 2 of three &lt;a href=&quot;%2E%2E/porting4.html#qlistbox&quot;&gt;&lt;tt&gt;QListBox&lt;/tt&gt;&lt;/a&gt; objects. We used placeholder columns (1 and 3) to get the right amount of space between the columns.&lt;/p&gt;
&lt;p&gt;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 &lt;a href=&quot;QGridLayout.html#setColumnMinimumWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnMinimumWidth&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QGridLayout.html#setColumnStretch(int, int)&quot;&gt;&lt;tt&gt;setColumnStretch&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If the &lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; is not the top-level layout (i.e&amp;#x2e; 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 &lt;a href=&quot;QGridLayout.html#addLayout(com.trolltech.qt.gui.QLayout, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addLayout&lt;/tt&gt;&lt;/a&gt; on the parent layout.&lt;/p&gt;
&lt;p&gt;Once you have added your layout you can start putting widgets and other layouts into the cells of your grid layout using &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QGridLayout.html#addLayout(com.trolltech.qt.gui.QLayout, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addLayout&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; also includes two margin widths: the margin() and the &lt;a href=&quot;QGridLayout.html#spacing()&quot;&gt;&lt;tt&gt;spacing&lt;/tt&gt;&lt;/a&gt;. The margin is the width of the reserved space along each of the &lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt;'s four sides. The spacing is the width of the automatically allocated spacing between neighboring boxes.&lt;/p&gt;
&lt;p&gt;The default margin() and &lt;a href=&quot;QGridLayout.html#spacing()&quot;&gt;&lt;tt&gt;spacing&lt;/tt&gt;&lt;/a&gt; values are provided by the style. The default margin Qt styles specify is 9 for child widgets and 11 for windows. The spacing defaults to the same as the margin width for a top-level layout, or to the same as the parent layout.&lt;/p&gt;

@see &lt;a href=&quot;QBoxLayout.html&quot;&gt;&lt;tt&gt;QBoxLayout&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStackedLayout.html&quot;&gt;&lt;tt&gt;QStackedLayout&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/layout.html&quot;&gt;Layout Classes&lt;/tt&gt;&lt;/a&gt;
@see Basic Layouts Example&lt;/tt&gt; */">
    <method name="public QGridLayout(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a new &lt;a href=&quot;QGridLayout.html#QGridLayout()&quot;&gt;&lt;tt&gt;QGridLayout&lt;/tt&gt;&lt;/a&gt; with parent widget, &lt;tt&gt;parent&lt;/tt&gt;. The layout has one row and one column initially, and will expand when new items are inserted.&lt;/p&gt;
 */"/>
    <method name="public QGridLayout()" doc="/**
&lt;p&gt;Constructs a new grid layout.&lt;/p&gt;
&lt;p&gt;You must insert this grid into another layout. You can insert widgets and layouts into this layout at any time, but laying out will not be performed before this is inserted into another layout.&lt;/p&gt;
 */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QLayoutItemInterface item, int row, int column, int rowSpan, int columnSpan, com.trolltech.qt.core.Qt.Alignment arg__6)" doc="/**
&lt;p&gt;Adds &lt;tt&gt;item&lt;/tt&gt; at position &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, spanning &lt;tt&gt;rowSpan&lt;/tt&gt; rows and &lt;tt&gt;columnSpan&lt;/tt&gt; columns, and aligns it according to &lt;tt&gt;arg__6&lt;/tt&gt;. If &lt;tt&gt;rowSpan&lt;/tt&gt; and/or &lt;tt&gt;columnSpan&lt;/tt&gt; is -1, then the item will extend to the bottom and/or right edge, respectively. The layout takes ownership of the &lt;tt&gt;item&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; Do not use this function to add child layouts or child widget items. Use &lt;a href=&quot;QGridLayout.html#addLayout(com.trolltech.qt.gui.QLayout, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addLayout&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; instead.&lt;/p&gt;
 */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QLayoutItemInterface item, int row, int column, int rowSpan, int columnSpan)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;rowSpan&lt;/tt&gt;, &lt;tt&gt;columnSpan&lt;/tt&gt;, 0). */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QLayoutItemInterface item, int row, int column, int rowSpan)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;rowSpan&lt;/tt&gt;, 1, 0). */"/>
    <method name="public final void addItem(com.trolltech.qt.gui.QLayoutItemInterface item, int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;item&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, 1, 1, 0). */"/>
    <method name="public final void addLayout(com.trolltech.qt.gui.QLayout arg__1, int row, int column, com.trolltech.qt.core.Qt.Alignment arg__4)" doc="/**
&lt;p&gt;Places the &lt;tt&gt;arg__1&lt;/tt&gt; at position (&lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;) in the grid. The top-left position is (0, 0).&lt;/p&gt;
&lt;p&gt;The alignment is specified by &lt;tt&gt;arg__4&lt;/tt&gt;. The default alignment is 0, which means that the widget fills the entire cell.&lt;/p&gt;
&lt;p&gt;A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to &lt;a href=&quot;QGridLayout.html#sizeHint()&quot;&gt;&lt;tt&gt;sizeHint&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;tt&gt;arg__1&lt;/tt&gt; becomes a child of the grid layout.&lt;/p&gt;
 */"/>
    <method name="public final void addLayout(com.trolltech.qt.gui.QLayout arg__1, int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addLayout(com.trolltech.qt.gui.QLayout, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addLayout&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, 0). */"/>
    <method name="public final void addLayout(com.trolltech.qt.gui.QLayout arg__1, int row, int column, int rowSpan, int columnSpan, com.trolltech.qt.core.Qt.Alignment arg__6)" doc="/**
&lt;p&gt;This version adds the layout &lt;tt&gt;arg__1&lt;/tt&gt; to the cell grid, spanning multiple rows/columns. The cell will start at &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt; spanning &lt;tt&gt;rowSpan&lt;/tt&gt; rows and &lt;tt&gt;columnSpan&lt;/tt&gt; columns.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;rowSpan&lt;/tt&gt; and/or &lt;tt&gt;columnSpan&lt;/tt&gt; is -1, then the layout will extend to the bottom and/or right edge, respectively.&lt;/p&gt;
 */"/>
    <method name="public final void addLayout(com.trolltech.qt.gui.QLayout arg__1, int row, int column, int rowSpan, int columnSpan)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addLayout(com.trolltech.qt.gui.QLayout, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addLayout&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;rowSpan&lt;/tt&gt;, &lt;tt&gt;columnSpan&lt;/tt&gt;, 0). */"/>
    <method name="public final void addWidget(com.trolltech.qt.gui.QWidget arg__1, int row, int column, com.trolltech.qt.core.Qt.Alignment arg__4)" doc="/**
&lt;p&gt;Adds the given &lt;tt&gt;arg__1&lt;/tt&gt; to the cell grid at &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;. The top-left position is (0, 0) by default.&lt;/p&gt;
&lt;p&gt;The alignment is specified by &lt;tt&gt;arg__4&lt;/tt&gt;. The default alignment is 0, which means that the widget fills the entire cell.&lt;/p&gt;
 */"/>
    <method name="public final void addWidget(com.trolltech.qt.gui.QWidget arg__1, int row, int column)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, 0). */"/>
    <method name="public final void addWidget(com.trolltech.qt.gui.QWidget arg__1, int row, int column, int rowSpan, int columnSpan, com.trolltech.qt.core.Qt.Alignment arg__6)" doc="/**
&lt;p&gt;This version adds the given &lt;tt&gt;arg__1&lt;/tt&gt; to the cell grid, spanning multiple rows/columns. The cell will start at &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt; spanning &lt;tt&gt;rowSpan&lt;/tt&gt; rows and &lt;tt&gt;columnSpan&lt;/tt&gt; columns. The &lt;tt&gt;arg__1&lt;/tt&gt; will have the given &lt;tt&gt;arg__6&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;rowSpan&lt;/tt&gt; and/or &lt;tt&gt;columnSpan&lt;/tt&gt; is -1, then the widget will extend to the bottom and/or right edge, respectively.&lt;/p&gt;
 */"/>
    <method name="public final void addWidget(com.trolltech.qt.gui.QWidget arg__1, int row, int column, int rowSpan, int columnSpan)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QGridLayout.html#addWidget(com.trolltech.qt.gui.QWidget, int, int, int, int, com.trolltech.qt.core.Qt.Alignment)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;arg__1&lt;/tt&gt;, &lt;tt&gt;row&lt;/tt&gt;, &lt;tt&gt;column&lt;/tt&gt;, &lt;tt&gt;rowSpan&lt;/tt&gt;, &lt;tt&gt;columnSpan&lt;/tt&gt;, 0). */"/>
    <method name="public final com.trolltech.qt.core.QRect cellRect(int row, int column)" doc="/**
&lt;p&gt;Returns the geometry of the cell with row &lt;tt&gt;row&lt;/tt&gt; and column &lt;tt&gt;column&lt;/tt&gt; in the grid. Returns an invalid rectangle if &lt;tt&gt;row&lt;/tt&gt; or &lt;tt&gt;column&lt;/tt&gt; is outside the grid.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Warning:&lt;/b&gt; in the current version of Qt this function does not return valid results until &lt;a href=&quot;QGridLayout.html#setGeometry(com.trolltech.qt.core.QRect)&quot;&gt;&lt;tt&gt;setGeometry&lt;/tt&gt;&lt;/a&gt; has been called, i.e&amp;#x2e; after the &lt;a href=&quot;QLayout.html#parentWidget()&quot;&gt;&lt;tt&gt;parentWidget&lt;/tt&gt;&lt;/a&gt; is visible.&lt;/p&gt;
 */"/>
    <method name="public final int columnCount()" doc="/**
&lt;p&gt;Returns the number of columns in this grid.&lt;/p&gt;
 */"/>
    <method name="public final int columnMinimumWidth(int column)" doc="/**
&lt;p&gt;Returns the column spacing for column &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setColumnMinimumWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnMinimumWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int columnStretch(int column)" doc="/**
&lt;p&gt;Returns the stretch factor for column &lt;tt&gt;column&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setColumnStretch(int, int)&quot;&gt;&lt;tt&gt;setColumnStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int horizontalSpacing()" doc="/**
&lt;p&gt;Returns the spacing between widgets that are laid out side by side.&lt;/p&gt;
&lt;p&gt;If no value is explicitly set, the layout's horizontal spacing is inherited from the parent layout, or from the style settings for the parent widget.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setHorizontalSpacing(int)&quot;&gt;&lt;tt&gt;setHorizontalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#verticalSpacing()&quot;&gt;&lt;tt&gt;verticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;PM_LayoutHorizontalSpacing&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Corner originCorner()" doc="/**
&lt;p&gt;Returns the corner that's used for the grid's origin, i.e&amp;#x2e; for position (0, 0).&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setOriginCorner(com.trolltech.qt.core.Qt.Corner)&quot;&gt;&lt;tt&gt;setOriginCorner&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int rowCount()" doc="/**
&lt;p&gt;Returns the number of rows in this grid.&lt;/p&gt;
 */"/>
    <method name="public final int rowMinimumHeight(int row)" doc="/**
&lt;p&gt;Returns the minimum width set for row &lt;tt&gt;row&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setRowMinimumHeight(int, int)&quot;&gt;&lt;tt&gt;setRowMinimumHeight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int rowStretch(int row)" doc="/**
&lt;p&gt;Returns the stretch factor for row &lt;tt&gt;row&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setRowStretch(int, int)&quot;&gt;&lt;tt&gt;setRowStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColumnMinimumWidth(int column, int minSize)" doc="/**
&lt;p&gt;Sets the minimum width of column &lt;tt&gt;column&lt;/tt&gt; to &lt;tt&gt;minSize&lt;/tt&gt; pixels.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#columnMinimumWidth(int)&quot;&gt;&lt;tt&gt;columnMinimumWidth&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setRowMinimumHeight(int, int)&quot;&gt;&lt;tt&gt;setRowMinimumHeight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setColumnStretch(int column, int stretch)" doc="/**
&lt;p&gt;Sets the stretch factor of column &lt;tt&gt;column&lt;/tt&gt; to &lt;tt&gt;stretch&lt;/tt&gt;. The first column is number 0.&lt;/p&gt;
&lt;p&gt;The stretch factor is relative to the other columns in this grid. Columns with a higher stretch factor take more of the available space.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;An alternative approach is to add spacing using &lt;a href=&quot;QGridLayout.html#addItem(com.trolltech.qt.gui.QLayoutItemInterface)&quot;&gt;&lt;tt&gt;addItem&lt;/tt&gt;&lt;/a&gt; with a &lt;a href=&quot;QSpacerItem.html&quot;&gt;&lt;tt&gt;QSpacerItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#columnStretch(int)&quot;&gt;&lt;tt&gt;columnStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setRowStretch(int, int)&quot;&gt;&lt;tt&gt;setRowStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDefaultPositioning(int n, com.trolltech.qt.core.Qt.Orientation orient)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final void setHorizontalSpacing(int spacing)" doc="/**
&lt;p&gt;Sets the spacing between widgets that are laid out side by side to &lt;tt&gt;spacing&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If no value is explicitly set, the layout's horizontal spacing is inherited from the parent layout, or from the style settings for the parent widget.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#horizontalSpacing()&quot;&gt;&lt;tt&gt;horizontalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#verticalSpacing()&quot;&gt;&lt;tt&gt;verticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;PM_LayoutHorizontalSpacing&lt;/tt&gt; */"/>
    <method name="public final void setOriginCorner(com.trolltech.qt.core.Qt.Corner arg__1)" doc="/**
&lt;p&gt;Sets the grid's origin corner, i.e&amp;#x2e; position (0, 0), to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#originCorner()&quot;&gt;&lt;tt&gt;originCorner&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRowMinimumHeight(int row, int minSize)" doc="/**
&lt;p&gt;Sets the minimum height of row &lt;tt&gt;row&lt;/tt&gt; to &lt;tt&gt;minSize&lt;/tt&gt; pixels.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#rowMinimumHeight(int)&quot;&gt;&lt;tt&gt;rowMinimumHeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setColumnMinimumWidth(int, int)&quot;&gt;&lt;tt&gt;setColumnMinimumWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setRowStretch(int row, int stretch)" doc="/**
&lt;p&gt;Sets the stretch factor of row &lt;tt&gt;row&lt;/tt&gt; to &lt;tt&gt;stretch&lt;/tt&gt;. The first row is number 0.&lt;/p&gt;
&lt;p&gt;The stretch factor is relative to the other rows in this grid. Rows with a higher stretch factor take more of the available space.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#rowStretch(int)&quot;&gt;&lt;tt&gt;rowStretch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setRowMinimumHeight(int, int)&quot;&gt;&lt;tt&gt;setRowMinimumHeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setColumnStretch(int, int)&quot;&gt;&lt;tt&gt;setColumnStretch&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setSpacing(int spacing)" doc="/**
&lt;p&gt;This function sets both the vertical and horizontal spacing to &lt;tt&gt;spacing&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#spacing()&quot;&gt;&lt;tt&gt;spacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setVerticalSpacing(int)&quot;&gt;&lt;tt&gt;setVerticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#setHorizontalSpacing(int)&quot;&gt;&lt;tt&gt;setHorizontalSpacing&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalSpacing(int spacing)" doc="/**
&lt;p&gt;Sets the spacing between widgets that are laid out on top of each other to &lt;tt&gt;spacing&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If no value is explicitly set, the layout's vertical spacing is inherited from the parent layout, or from the style settings for the parent widget.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#verticalSpacing()&quot;&gt;&lt;tt&gt;verticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#horizontalSpacing()&quot;&gt;&lt;tt&gt;horizontalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;PM_LayoutHorizontalSpacing&lt;/tt&gt; */"/>
    <method name="public final int spacing()" doc="/**
&lt;p&gt;If the vertical spacing is equal to the horizontal spacing, this function returns that value; otherwise it return -1.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setSpacing(int)&quot;&gt;&lt;tt&gt;setSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#verticalSpacing()&quot;&gt;&lt;tt&gt;verticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#horizontalSpacing()&quot;&gt;&lt;tt&gt;horizontalSpacing&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int verticalSpacing()" doc="/**
&lt;p&gt;Returns the spacing between widgets that are laid out on top of each other.&lt;/p&gt;
&lt;p&gt;If no value is explicitly set, the layout's vertical spacing is inherited from the parent layout, or from the style settings for the parent widget.&lt;/p&gt;

@see &lt;a href=&quot;QGridLayout.html#setVerticalSpacing(int)&quot;&gt;&lt;tt&gt;setVerticalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QGridLayout.html#horizontalSpacing()&quot;&gt;&lt;tt&gt;horizontalSpacing&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QStyle::pixelMetric&lt;/tt&gt;
@see &lt;tt&gt;PM_LayoutHorizontalSpacing&lt;/tt&gt; */"/>
    <method name="public void addItem(com.trolltech.qt.gui.QLayoutItemInterface arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int count()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.Qt.Orientations expandingDirections()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean hasHeightForWidth()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int heightForWidth(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void invalidate()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.gui.QLayoutItemInterface itemAt(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize maximumSize()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public int minimumHeightForWidth(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize minimumSize()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public void setGeometry(com.trolltech.qt.core.QRect arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.core.QSize sizeHint()" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public com.trolltech.qt.gui.QLayoutItemInterface takeAt(int arg__1)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>
