summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqgridlayout.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqgridlayout.3qt')
-rw-r--r--doc/man/man3/tqgridlayout.3qt18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqgridlayout.3qt b/doc/man/man3/tqgridlayout.3qt
index 98fff8e31..8bf8f4615 100644
--- a/doc/man/man3/tqgridlayout.3qt
+++ b/doc/man/man3/tqgridlayout.3qt
@@ -16,7 +16,7 @@ Inherits QLayout.
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQGridLayout\fR ( QWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 )"
+.BI "\fBQGridLayout\fR ( TQWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 )"
.br
.ti -1c
.BI "\fBQGridLayout\fR ( int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
@@ -91,10 +91,10 @@ Inherits QLayout.
.BI "void \fBaddMultiCell\fR ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.br
.ti -1c
-.BI "void \fBaddWidget\fR ( QWidget * w, int row, int col, int alignment = 0 )"
+.BI "void \fBaddWidget\fR ( TQWidget * w, int row, int col, int alignment = 0 )"
.br
.ti -1c
-.BI "void \fBaddMultiCellWidget\fR ( QWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.BI "void \fBaddMultiCellWidget\fR ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.br
.ti -1c
.BI "void \fBaddLayout\fR ( QLayout * layout, int row, int col )"
@@ -127,7 +127,7 @@ Inherits QLayout.
.SS "Protected Members"
.in +1c
.ti -1c
-.BI "bool \fBfindWidget\fR ( QWidget * w, int * row, int * col )"
+.BI "bool \fBfindWidget\fR ( TQWidget * w, int * row, int * col )"
.br
.ti -1c
.BI "void \fBadd\fR ( QLayoutItem * item, int row, int col )"
@@ -144,7 +144,7 @@ Each column has a minimum width and a stretch factor. The minimum width is the g
.PP
Normally, each managed widget or layout is put into a cell of its own using addWidget(), addLayout() or by the auto-add facility. It is also possible for a widget to occupy multiple cells using addMultiCellWidget(). If you do this, QGridLayout will guess how to distribute the size over the columns/rows (based on the stretch factors).
.PP
-To remove a widget from a layout, call remove(). Calling QWidget::hide() on a widget also effectively removes the widget from the layout until QWidget::show() is called.
+To remove a widget from a layout, call remove(). Calling TQWidget::hide() on a widget also effectively removes the widget from the layout until TQWidget::show() is called.
.PP
This illustration shows a fragment of a dialog with a five-column, three-row grid (the grid is shown overlaid in magenta):
.PP
@@ -179,7 +179,7 @@ This enum identifies which corner is the origin (0, 0) of the layout.
.TP
\fCQGridLayout::BottomRight\fR - the bottom-right corner
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QGridLayout::QGridLayout ( QWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 )"
+.SH "QGridLayout::QGridLayout ( TQWidget * parent, int nRows = 1, int nCols = 1, int margin = 0, int space = -1, const char * name = 0 )"
Constructs a new QGridLayout with \fInRows\fR rows, \fInCols\fR columns and parent widget, \fIparent\fR. \fIparent\fR may not be 0. The grid layout is called \fIname\fR.
.PP
\fImargin\fR is the number of pixels between the edge of the widget and its managed children. \fIspace\fR is the default number of pixels between cells. If \fIspace\fR is -1, the value of \fImargin\fR is used.
@@ -236,7 +236,7 @@ A non-zero alignment indicates that the layout should not grow to fill the avail
\fIlayout\fR becomes a child of the grid layout.
.PP
See also addLayout().
-.SH "void QGridLayout::addMultiCellWidget ( QWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.SH "void QGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
@@ -253,7 +253,7 @@ Examples:
Sets the minimum height of row \fIrow\fR to \fIminsize\fR pixels.
.PP
Use setRowSpacing() instead.
-.SH "void QGridLayout::addWidget ( QWidget * w, int row, int col, int alignment = 0 )"
+.SH "void QGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid at \fIrow\fR, \fIcol\fR. The top-left position is (0, 0) by default.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
@@ -285,7 +285,7 @@ Expands this grid so that it will have \fInRows\fR rows and \fInCols\fR columns.
Returns whether this layout can make use of more space than sizeHint(). A value of Vertical or Horizontal means that it wants to grow in only one dimension, whereas \fCBothDirections\fR means that it wants to grow in both dimensions.
.PP
Reimplemented from QLayout.
-.SH "bool QGridLayout::findWidget ( QWidget * w, int * row, int * col )\fC [protected]\fR"
+.SH "bool QGridLayout::findWidget ( TQWidget * w, int * row, int * col )\fC [protected]\fR"
Searches for widget \fIw\fR in this layout (not including child layouts). If \fIw\fR is found, it sets \fC<em>row</em>\fR and \fC<em>col</em>\fR to the row and column and returns TRUE; otherwise returns FALSE.
.PP
Note: if a widget spans multiple rows/columns, the top-left cell is returned.