summaryrefslogtreecommitdiffstats
path: root/doc/html/tutorial2-09.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-16 19:11:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-16 19:11:00 +0900
commit82ecd83484c9fa1ede059986ab771e74e33e68ef (patch)
treed0e76f19632bb02fc55028625bdb903902e1bac1 /doc/html/tutorial2-09.html
parentc55ef27a2c511c29a8a82d00bd2ede1fb02cfa41 (diff)
downloadtqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.tar.gz
tqt3-82ecd83484c9fa1ede059986ab771e74e33e68ef.zip
Rename layout nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tutorial2-09.html')
-rw-r--r--doc/html/tutorial2-09.html52
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html
index f14160781..4210771c7 100644
--- a/doc/html/tutorial2-09.html
+++ b/doc/html/tutorial2-09.html
@@ -68,13 +68,13 @@ apply to all data sets in one place.
void chooseFont();
protected:
- <a href="qvboxlayout.html">TQVBoxLayout</a> *optionsFormLayout;
- <a href="qhboxlayout.html">TQHBoxLayout</a> *chartTypeLayout;
- <a href="qhboxlayout.html">TQHBoxLayout</a> *fontLayout;
- <a href="qvboxlayout.html">TQVBoxLayout</a> *addValuesFrameLayout;
- <a href="qvboxlayout.html">TQVBoxLayout</a> *addValuesButtonGroupLayout;
- <a href="qhboxlayout.html">TQHBoxLayout</a> *decimalPlacesLayout;
- <a href="qhboxlayout.html">TQHBoxLayout</a> *buttonsLayout;
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *optionsFormLayout;
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> *chartTypeLayout;
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> *fontLayout;
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *addValuesFrameLayout;
+ <a href="tqvboxlayout.html">TQVBoxLayout</a> *addValuesButtonGroupLayout;
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> *decimalPlacesLayout;
+ <a href="tqhboxlayout.html">TQHBoxLayout</a> *buttonsLayout;
private:
<a href="tqfont.html">TQFont</a> m_font;
@@ -111,14 +111,14 @@ buttons will also be placed in a horizontal layout, but with a spacer
to move them to the right. The show values radio buttons will be
vertically aligned within a frame. All of these will be laid out in a
vertical box layout.
-<p> <pre> optionsFormLayout = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this, 11, 6 );
+<p> <pre> optionsFormLayout = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( this, 11, 6 );
</pre>
<p> All the widgets will be laid out within the form's vertical box layout.
-<p> <pre> chartTypeLayout = new <a href="qhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6 );
+<p> <pre> chartTypeLayout = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6 );
</pre>
<p> The chart type label and combobox will be laid out side by side.
<p> <pre> chartTypeTextLabel = new <a href="tqlabel.html">TQLabel</a>( "&amp;Chart Type", this );
- <a name="x2631"></a> chartTypeLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( chartTypeTextLabel );
+ <a name="x2631"></a> chartTypeLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( chartTypeTextLabel );
chartTypeComboBox = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this );
<a name="x2633"></a> chartTypeComboBox-&gt;<a href="tqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_piechart ), "Pie Chart" );
@@ -126,26 +126,26 @@ vertical box layout.
"Vertical Bar Chart" );
chartTypeComboBox-&gt;<a href="tqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_horizontalbarchart ),
"Horizontal Bar Chart" );
- chartTypeLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( chartTypeComboBox );
- <a name="x2630"></a> optionsFormLayout-&gt;<a href="qboxlayout.html#addLayout">addLayout</a>( chartTypeLayout );
+ chartTypeLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( chartTypeComboBox );
+ <a name="x2630"></a> optionsFormLayout-&gt;<a href="tqboxlayout.html#addLayout">addLayout</a>( chartTypeLayout );
</pre>
<p> We create the chart type label (with an accelerator which we'll relate
to the chart type combobox later). We also create a chart type
combobox, populating it with both pixmaps and text. We add them both
to the horizontal layout and add the horizontal layout to the form's
vertical layout.
-<p> <pre> fontLayout = new <a href="qhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6 );
+<p> <pre> fontLayout = new <a href="tqhboxlayout.html">TQHBoxLayout</a>( 0, 0, 6 );
fontPushButton = new <a href="tqpushbutton.html">TQPushButton</a>( "&amp;Font...", this );
- fontLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( fontPushButton );
- <a href="qspaceritem.html">TQSpacerItem</a>* spacer = new <a href="qspaceritem.html">TQSpacerItem</a>( 0, 0,
+ fontLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( fontPushButton );
+ <a href="tqspaceritem.html">TQSpacerItem</a>* spacer = new <a href="tqspaceritem.html">TQSpacerItem</a>( 0, 0,
TQSizePolicy::Expanding,
TQSizePolicy::Minimum );
- <a name="x2629"></a> fontLayout-&gt;<a href="qboxlayout.html#addItem">addItem</a>( spacer );
+ <a name="x2629"></a> fontLayout-&gt;<a href="tqboxlayout.html#addItem">addItem</a>( spacer );
fontTextLabel = new <a href="tqlabel.html">TQLabel</a>( this ); // Must be set by caller via setFont()
- fontLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( fontTextLabel );
- optionsFormLayout-&gt;<a href="qboxlayout.html#addLayout">addLayout</a>( fontLayout );
+ fontLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( fontTextLabel );
+ optionsFormLayout-&gt;<a href="tqboxlayout.html#addLayout">addLayout</a>( fontLayout );
</pre>
<p> We create a horizontal box layout to hold the font button and font
label. The font button is straight-forward. We add a spacer to improve
@@ -154,27 +154,27 @@ know what font the user is using).
<p> <pre> addValuesFrame = new <a href="tqframe.html">TQFrame</a>( this );
<a name="x2640"></a> addValuesFrame-&gt;<a href="tqframe.html#setFrameShape">setFrameShape</a>( TQFrame::StyledPanel );
<a name="x2639"></a> addValuesFrame-&gt;<a href="tqframe.html#setFrameShadow">setFrameShadow</a>( TQFrame::Sunken );
- addValuesFrameLayout = new <a href="qvboxlayout.html">TQVBoxLayout</a>( addValuesFrame, 11, 6 );
+ addValuesFrameLayout = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( addValuesFrame, 11, 6 );
addValuesButtonGroup = new <a href="tqbuttongroup.html">TQButtonGroup</a>( "Show Values", addValuesFrame );
- <a name="x2641"></a> addValuesButtonGroup-&gt;<a href="ntqgroupbox.html#setColumnLayout">setColumnLayout</a>(0, TQt::Vertical );
+ <a name="x2641"></a> addValuesButtonGroup-&gt;<a href="tqgroupbox.html#setColumnLayout">setColumnLayout</a>(0, TQt::Vertical );
<a name="x2647"></a> addValuesButtonGroup-&gt;<a href="tqwidget.html#layout">layout</a>()-&gt;setSpacing( 6 );
addValuesButtonGroup-&gt;<a href="tqwidget.html#layout">layout</a>()-&gt;setMargin( 11 );
- addValuesButtonGroupLayout = new <a href="qvboxlayout.html">TQVBoxLayout</a>(
+ addValuesButtonGroupLayout = new <a href="tqvboxlayout.html">TQVBoxLayout</a>(
addValuesButtonGroup-&gt;<a href="tqwidget.html#layout">layout</a>() );
- <a name="x2644"></a> addValuesButtonGroupLayout-&gt;<a href="qlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop );
+ <a name="x2644"></a> addValuesButtonGroupLayout-&gt;<a href="tqlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop );
noRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;No", addValuesButtonGroup );
<a name="x2645"></a> noRadioButton-&gt;<a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE );
- addValuesButtonGroupLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( noRadioButton );
+ addValuesButtonGroupLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( noRadioButton );
yesRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "&amp;Yes", addValuesButtonGroup );
- addValuesButtonGroupLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( yesRadioButton );
+ addValuesButtonGroupLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( yesRadioButton );
asPercentageRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "As &amp;Percentage",
addValuesButtonGroup );
- addValuesButtonGroupLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( asPercentageRadioButton );
- addValuesFrameLayout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( addValuesButtonGroup );
+ addValuesButtonGroupLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( asPercentageRadioButton );
+ addValuesFrameLayout-&gt;<a href="tqboxlayout.html#addWidget">addWidget</a>( addValuesButtonGroup );
</pre>
<p> The user may opt to display their own labels as they are or to add the
values at the end of each label, either as-is or as percentages.