summaryrefslogtreecommitdiffstats
path: root/doc/html/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/layout.html')
-rw-r--r--doc/html/layout.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/layout.html b/doc/html/layout.html
index 0358ed90..e2c64344 100644
--- a/doc/html/layout.html
+++ b/doc/html/layout.html
@@ -80,11 +80,11 @@ resized.
<p> The grid shown above can be produced by the following code:
<pre>
<a href="ntqgrid.html">TQGrid</a> *mainGrid = new <a href="ntqgrid.html">TQGrid</a>( 2 ); // a 2 x n grid
- new <a href="ntqlabel.html">TQLabel</a>( "One", mainGrid );
- new <a href="ntqlabel.html">TQLabel</a>( "Two", mainGrid );
- new <a href="ntqlabel.html">TQLabel</a>( "Three", mainGrid );
- new <a href="ntqlabel.html">TQLabel</a>( "Four", mainGrid );
- new <a href="ntqlabel.html">TQLabel</a>( "Five", mainGrid );
+ new <a href="tqlabel.html">TQLabel</a>( "One", mainGrid );
+ new <a href="tqlabel.html">TQLabel</a>( "Two", mainGrid );
+ new <a href="tqlabel.html">TQLabel</a>( "Three", mainGrid );
+ new <a href="tqlabel.html">TQLabel</a>( "Four", mainGrid );
+ new <a href="tqlabel.html">TQLabel</a>( "Five", mainGrid );
</pre>
<p> You can adjust the layout to some extent by calling
@@ -144,14 +144,14 @@ improvements:
<a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( main, 1, 1 );
// add the first four widgets with (row, column) addressing
- grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "One", main ), 0, 0 );
- grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "Two", main ), 0, 1 );
- grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "Three", main ), 1, 0 );
- grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "Four", main ), 1, 1 );
+ grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "One", main ), 0, 0 );
+ grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Two", main ), 0, 1 );
+ grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Three", main ), 1, 0 );
+ grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Four", main ), 1, 1 );
// add the last widget on row 2, spanning from column 0 to
// column 1, and center aligned
- grid-&gt;<a href="qgridlayout.html#addMultiCellWidget">addMultiCellWidget</a>( new <a href="ntqlabel.html">TQLabel</a>( "Five", main ), 2, 2, 0, 1,
+ grid-&gt;<a href="qgridlayout.html#addMultiCellWidget">addMultiCellWidget</a>( new <a href="tqlabel.html">TQLabel</a>( "Five", main ), 2, 2, 0, 1,
TQt::AlignCenter );
// let the ratio between the widths of columns 0 and 1 be 2:3
@@ -166,7 +166,7 @@ a parameter in the constructor.
<a href="ntqlineedit.html">TQLineEdit</a> *field = new <a href="ntqlineedit.html">TQLineEdit</a>( main );
<a href="ntqpushbutton.html">TQPushButton</a> *ok = new <a href="ntqpushbutton.html">TQPushButton</a>( "OK", main );
<a href="ntqpushbutton.html">TQPushButton</a> *cancel = new <a href="ntqpushbutton.html">TQPushButton</a>( "Cancel", main );
- <a href="ntqlabel.html">TQLabel</a> *label = new <a href="ntqlabel.html">TQLabel</a>( "Write once, compile everywhere.", main );
+ <a href="tqlabel.html">TQLabel</a> *label = new <a href="tqlabel.html">TQLabel</a>( "Write once, compile everywhere.", main );
// a layout on a widget
<a href="qvboxlayout.html">TQVBoxLayout</a> *vbox = new <a href="qvboxlayout.html">TQVBoxLayout</a>( main );