diff options
Diffstat (limited to 'doc/html/tutorial2-09.html')
-rw-r--r-- | doc/html/tutorial2-09.html | 52 |
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>( "&Chart Type", this ); - <a name="x2631"></a> chartTypeLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( chartTypeTextLabel ); + <a name="x2631"></a> chartTypeLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( chartTypeTextLabel ); chartTypeComboBox = new <a href="tqcombobox.html">TQComboBox</a>( FALSE, this ); <a name="x2633"></a> chartTypeComboBox-><a href="tqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_piechart ), "Pie Chart" ); @@ -126,26 +126,26 @@ vertical box layout. "Vertical Bar Chart" ); chartTypeComboBox-><a href="tqcombobox.html#insertItem">insertItem</a>( TQPixmap( options_horizontalbarchart ), "Horizontal Bar Chart" ); - chartTypeLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( chartTypeComboBox ); - <a name="x2630"></a> optionsFormLayout-><a href="qboxlayout.html#addLayout">addLayout</a>( chartTypeLayout ); + chartTypeLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( chartTypeComboBox ); + <a name="x2630"></a> optionsFormLayout-><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>( "&Font...", this ); - fontLayout-><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-><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-><a href="qboxlayout.html#addItem">addItem</a>( spacer ); + <a name="x2629"></a> fontLayout-><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-><a href="qboxlayout.html#addWidget">addWidget</a>( fontTextLabel ); - optionsFormLayout-><a href="qboxlayout.html#addLayout">addLayout</a>( fontLayout ); + fontLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( fontTextLabel ); + optionsFormLayout-><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-><a href="tqframe.html#setFrameShape">setFrameShape</a>( TQFrame::StyledPanel ); <a name="x2639"></a> addValuesFrame-><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-><a href="ntqgroupbox.html#setColumnLayout">setColumnLayout</a>(0, TQt::Vertical ); + <a name="x2641"></a> addValuesButtonGroup-><a href="tqgroupbox.html#setColumnLayout">setColumnLayout</a>(0, TQt::Vertical ); <a name="x2647"></a> addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>()->setSpacing( 6 ); addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>()->setMargin( 11 ); - addValuesButtonGroupLayout = new <a href="qvboxlayout.html">TQVBoxLayout</a>( + addValuesButtonGroupLayout = new <a href="tqvboxlayout.html">TQVBoxLayout</a>( addValuesButtonGroup-><a href="tqwidget.html#layout">layout</a>() ); - <a name="x2644"></a> addValuesButtonGroupLayout-><a href="qlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop ); + <a name="x2644"></a> addValuesButtonGroupLayout-><a href="tqlayoutitem.html#setAlignment">setAlignment</a>( TQt::AlignTop ); noRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "&No", addValuesButtonGroup ); <a name="x2645"></a> noRadioButton-><a href="tqradiobutton.html#setChecked">setChecked</a>( TRUE ); - addValuesButtonGroupLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( noRadioButton ); + addValuesButtonGroupLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( noRadioButton ); yesRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "&Yes", addValuesButtonGroup ); - addValuesButtonGroupLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( yesRadioButton ); + addValuesButtonGroupLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( yesRadioButton ); asPercentageRadioButton = new <a href="tqradiobutton.html">TQRadioButton</a>( "As &Percentage", addValuesButtonGroup ); - addValuesButtonGroupLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( asPercentageRadioButton ); - addValuesFrameLayout-><a href="qboxlayout.html#addWidget">addWidget</a>( addValuesButtonGroup ); + addValuesButtonGroupLayout-><a href="tqboxlayout.html#addWidget">addWidget</a>( asPercentageRadioButton ); + addValuesFrameLayout-><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. |