From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/qgridlayout.html | 74 +++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'doc/html/qgridlayout.html') diff --git a/doc/html/qgridlayout.html b/doc/html/qgridlayout.html index 98233c487..b13b260a3 100644 --- a/doc/html/qgridlayout.html +++ b/doc/html/qgridlayout.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }

The TQGridLayout class lays out widgets in a grid. More... -

#include <qlayout.h> -

Inherits TQLayout. +

#include <ntqlayout.h> +

Inherits TQLayout.

List of all member functions.

Public Members


Member Function Documentation

-

TQGridLayout::TQGridLayout ( TQWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 ) +

TQGridLayout::TQGridLayout ( TQWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 )

Constructs a new TQGridLayout with nRows rows, nCols columns and parent widget, parent. parent may not be 0. The grid @@ -160,17 +160,17 @@ between cells. If space is -1, the value of margin is used. Constructs a new grid with nRows rows and nCols columns. If spacing is -1, this TQGridLayout inherits its parent's -spacing(); otherwise spacing is used. The grid layout is called +spacing(); otherwise spacing is used. The grid layout is called name.

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. -

TQGridLayout::TQGridLayout ( TQLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 ) +

TQGridLayout::TQGridLayout ( TQLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )

Constructs a new grid that is placed inside parentLayout with nRows rows and nCols columns. If spacing is -1, this -TQGridLayout inherits its parent's spacing(); otherwise spacing +TQGridLayout inherits its parent's spacing(); otherwise spacing is used. The grid layout is called name.

This grid is placed according to parentLayout's default placement rules. @@ -202,8 +202,8 @@ ownership of the item. This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Adds item to the next free position of this layout. -

Reimplemented from TQLayout. -

void TQGridLayout::addLayout ( TQLayout * layout, int row, int col ) +

Reimplemented from TQLayout. +

void TQGridLayout::addLayout ( TQLayout * layout, int row, int col )

Places the layout at position (row, col) in the grid. The top-left position is (0, 0). @@ -218,15 +218,15 @@ automatically added to the parent layout as it is constructed. Adds the item to the cell grid, spanning multiple rows/columns.

The cell will span from fromRow, fromCol to toRow, toCol. Alignment is specified by alignment, which is a bitwise -OR of TQt::AlignmentFlags values. The default alignment is 0, +OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell. -

void TQGridLayout::addMultiCellLayout ( TQLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 ) +

void TQGridLayout::addMultiCellLayout ( TQLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )

Adds the layout layout to the cell grid, spanning multiple rows/columns. The cell will span from fromRow, fromCol to toRow, toCol.

Alignment is specified by alignment, which is a bitwise OR of -TQt::AlignmentFlags values. The default alignment is 0, which +TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.

A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to @@ -234,12 +234,12 @@ fill the available space but should be sized according to

layout becomes a child of the grid layout.

See also addLayout(). -

void TQGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 ) +

void TQGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )

Adds the widget w to the cell grid, spanning multiple rows/columns. The cell will span from fromRow, fromCol to toRow, toCol.

Alignment is specified by alignment, which is a bitwise OR of -TQt::AlignmentFlags values. The default alignment is 0, which +TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.

A non-zero alignment indicates that the widget should not grow to fill the available space but should be sized according to @@ -253,16 +253,16 @@ fill the available space but should be sized according to

Sets the minimum height of row row to minsize pixels.

Use setRowSpacing() instead. -

void TQGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 ) +

void TQGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 )

Adds the widget w to the cell grid at row, col. The top-left position is (0, 0) by default.

Alignment is specified by alignment, which is a bitwise OR of -TQt::AlignmentFlags values. The default alignment is 0, which +TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.