From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tutorial2-09.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/tutorial2-09.html') diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html index dbc4ad9d5..174c2d3e1 100644 --- a/doc/html/tutorial2-09.html +++ b/doc/html/tutorial2-09.html @@ -50,16 +50,16 @@ apply to all data sets in one place. TQFont font() const { return m_font; } void setFont( TQFont font ); - TQLabel *chartTypeTextLabel; + TQLabel *chartTypeTextLabel; TQComboBox *chartTypeComboBox; TQPushButton *fontPushButton; - TQLabel *fontTextLabel; + TQLabel *fontTextLabel; TQFrame *addValuesFrame; TQButtonGroup *addValuesButtonGroup; TQRadioButton *noRadioButton; TQRadioButton *yesRadioButton; TQRadioButton *asPercentageRadioButton; - TQLabel *decimalPlacesTextLabel; + TQLabel *decimalPlacesTextLabel; TQSpinBox *decimalPlacesSpinBox; TQPushButton *okPushButton; TQPushButton *cancelPushButton; @@ -117,7 +117,7 @@ vertical box layout.

        chartTypeLayout = new TQHBoxLayout( 0, 0, 6 );
 

The chart type label and combobox will be laid out side by side. -

        chartTypeTextLabel = new TQLabel( "&Chart Type", this );
+

        chartTypeTextLabel = new TQLabel( "&Chart Type", this );
         chartTypeLayout->addWidget( chartTypeTextLabel );
 
         chartTypeComboBox = new TQComboBox( FALSE, this );
@@ -143,7 +143,7 @@ vertical layout.
                                                TQSizePolicy::Minimum );
         fontLayout->addItem( spacer );
 
-        fontTextLabel = new TQLabel( this ); // Must be set by caller via setFont()
+        fontTextLabel = new TQLabel( this ); // Must be set by caller via setFont()
         fontLayout->addWidget( fontTextLabel );
         optionsFormLayout->addLayout( fontLayout );
 
@@ -198,8 +198,8 @@ caller to read the data from the dialog's widgets and perform any necessary actions.
  • If the user clicks Cancel we call TQDialog::reject(). -

            chartTypeTextLabel->setBuddy( chartTypeComboBox );
    -        decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
    +

            chartTypeTextLabel->setBuddy( chartTypeComboBox );
    +        decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
     

    We use the setBuddy() function to associate widgets with label accelerators. @@ -225,7 +225,7 @@ will present a textual description of the font in the font label. label += " Bold"; if ( font.italic() ) label += " Italic"; - fontTextLabel->setText( label ); + fontTextLabel->setText( label ); m_font = font; }

    -- cgit v1.2.3