From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/chart-optionsform-cpp.html | 106 ++++++++++++++++++------------------ 1 file changed, 53 insertions(+), 53 deletions(-) (limited to 'doc/html/chart-optionsform-cpp.html') diff --git a/doc/html/chart-optionsform-cpp.html b/doc/html/chart-optionsform-cpp.html index 1c8b1195f..c2caa73c7 100644 --- a/doc/html/chart-optionsform-cpp.html +++ b/doc/html/chart-optionsform-cpp.html @@ -34,91 +34,91 @@ body { background: #ffffff; color: black; }
#include "optionsform.h"
 
-#include <qbuttongroup.h>
-#include <qcombobox.h>
-#include <qfontdialog.h>
-#include <qframe.h>
-#include <qimage.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
+#include <ntqbuttongroup.h>
+#include <ntqcombobox.h>
+#include <ntqfontdialog.h>
+#include <ntqframe.h>
+#include <ntqimage.h>
+#include <ntqlabel.h>
+#include <ntqlayout.h>
+#include <ntqpushbutton.h>
+#include <ntqradiobutton.h>
+#include <ntqspinbox.h>
 
 #include "images/options_horizontalbarchart.xpm"
 #include "images/options_piechart.xpm"
 #include "images/options_verticalbarchart.xpm"
 
 
-OptionsForm::OptionsForm( TQWidget* parent, const char* name,
+OptionsForm::OptionsForm( TQWidget* parent, const char* name,
                           bool modal, WFlags f )
-    : TQDialog( parent, name, modal, f )
+    : TQDialog( parent, name, modal, f )
 {
-    setCaption( "Chart -- Options" );
-    resize( 320, 290 );
+    setCaption( "Chart -- Options" );
+    resize( 320, 290 );
 
     optionsFormLayout = new TQVBoxLayout( this, 11, 6 );
 
     chartTypeLayout = new TQHBoxLayout( 0, 0, 6 );
 
-    chartTypeTextLabel = new TQLabel( "&Chart Type", this );
+    chartTypeTextLabel = new TQLabel( "&Chart Type", this );
     chartTypeLayout->addWidget( chartTypeTextLabel );
 
-    chartTypeComboBox = new TQComboBox( FALSE, this );
-    chartTypeComboBox->insertItem( TQPixmap( options_piechart ), "Pie Chart" );
-    chartTypeComboBox->insertItem( TQPixmap( options_verticalbarchart ),
+    chartTypeComboBox = new TQComboBox( FALSE, this );
+    chartTypeComboBox->insertItem( TQPixmap( options_piechart ), "Pie Chart" );
+    chartTypeComboBox->insertItem( TQPixmap( options_verticalbarchart ),
                                    "Vertical Bar Chart" );
-    chartTypeComboBox->insertItem( TQPixmap( options_horizontalbarchart ),
+    chartTypeComboBox->insertItem( TQPixmap( options_horizontalbarchart ),
                                    "Horizontal Bar Chart" );
     chartTypeLayout->addWidget( chartTypeComboBox );
     optionsFormLayout->addLayout( chartTypeLayout );
 
     fontLayout = new TQHBoxLayout( 0, 0, 6 );
 
-    fontPushButton = new TQPushButton( "&Font...", this );
+    fontPushButton = new TQPushButton( "&Font...", this );
     fontLayout->addWidget( fontPushButton );
     TQSpacerItem* spacer = new TQSpacerItem( 0, 0,
                                            TQSizePolicy::Expanding,
                                            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 );
 
-    addValuesFrame = new TQFrame( this );
-    addValuesFrame->setFrameShape( TQFrame::StyledPanel );
-    addValuesFrame->setFrameShadow( TQFrame::Sunken );
+    addValuesFrame = new TQFrame( this );
+    addValuesFrame->setFrameShape( TQFrame::StyledPanel );
+    addValuesFrame->setFrameShadow( TQFrame::Sunken );
     addValuesFrameLayout = new TQVBoxLayout( addValuesFrame, 11, 6 );
 
-    addValuesButtonGroup = new TQButtonGroup( "Show Values", addValuesFrame );
-    addValuesButtonGroup->setColumnLayout(0, TQt::Vertical );
-    addValuesButtonGroup->layout()->setSpacing( 6 );
-    addValuesButtonGroup->layout()->setMargin( 11 );
+    addValuesButtonGroup = new TQButtonGroup( "Show Values", addValuesFrame );
+    addValuesButtonGroup->setColumnLayout(0, TQt::Vertical );
+    addValuesButtonGroup->layout()->setSpacing( 6 );
+    addValuesButtonGroup->layout()->setMargin( 11 );
     addValuesButtonGroupLayout = new TQVBoxLayout(
-                                        addValuesButtonGroup->layout() );
+                                        addValuesButtonGroup->layout() );
     addValuesButtonGroupLayout->setAlignment( TQt::AlignTop );
 
-    noRadioButton = new TQRadioButton( "&No", addValuesButtonGroup );
-    noRadioButton->setChecked( TRUE );
+    noRadioButton = new TQRadioButton( "&No", addValuesButtonGroup );
+    noRadioButton->setChecked( TRUE );
     addValuesButtonGroupLayout->addWidget( noRadioButton );
 
-    yesRadioButton = new TQRadioButton( "&Yes", addValuesButtonGroup );
+    yesRadioButton = new TQRadioButton( "&Yes", addValuesButtonGroup );
     addValuesButtonGroupLayout->addWidget( yesRadioButton );
 
-    asPercentageRadioButton = new TQRadioButton( "As &Percentage",
+    asPercentageRadioButton = new TQRadioButton( "As &Percentage",
                                                 addValuesButtonGroup );
     addValuesButtonGroupLayout->addWidget( asPercentageRadioButton );
     addValuesFrameLayout->addWidget( addValuesButtonGroup );
 
     decimalPlacesLayout = new TQHBoxLayout( 0, 0, 6 );
 
-    decimalPlacesTextLabel = new TQLabel( "&Decimal Places", addValuesFrame );
+    decimalPlacesTextLabel = new TQLabel( "&Decimal Places", addValuesFrame );
     decimalPlacesLayout->addWidget( decimalPlacesTextLabel );
 
-    decimalPlacesSpinBox = new TQSpinBox( addValuesFrame );
-    decimalPlacesSpinBox->setMinValue( 0 );
-    decimalPlacesSpinBox->setMaxValue( 9 );
+    decimalPlacesSpinBox = new TQSpinBox( addValuesFrame );
+    decimalPlacesSpinBox->setMinValue( 0 );
+    decimalPlacesSpinBox->setMaxValue( 9 );
     decimalPlacesLayout->addWidget( decimalPlacesSpinBox );
 
     addValuesFrameLayout->addLayout( decimalPlacesLayout );
@@ -130,41 +130,41 @@ body { background: #ffffff; color: black; }
                               TQSizePolicy::Expanding, TQSizePolicy::Minimum );
     buttonsLayout->addItem( spacer );
 
-    okPushButton = new TQPushButton( "OK", this );
-    okPushButton->setDefault( TRUE );
+    okPushButton = new TQPushButton( "OK", this );
+    okPushButton->setDefault( TRUE );
     buttonsLayout->addWidget( okPushButton );
 
-    cancelPushButton = new TQPushButton( "Cancel", this );
+    cancelPushButton = new TQPushButton( "Cancel", this );
     buttonsLayout->addWidget( cancelPushButton );
     optionsFormLayout->addLayout( buttonsLayout );
 
-    connect( fontPushButton, SIGNAL( clicked() ), this, SLOT( chooseFont() ) );
-    connect( okPushButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
-    connect( cancelPushButton, SIGNAL( clicked() ), this, SLOT( reject() ) );
+    connect( fontPushButton, SIGNAL( clicked() ), this, SLOT( chooseFont() ) );
+    connect( okPushButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
+    connect( cancelPushButton, SIGNAL( clicked() ), this, SLOT( reject() ) );
 
-    chartTypeTextLabel->setBuddy( chartTypeComboBox );
-    decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
+    chartTypeTextLabel->setBuddy( chartTypeComboBox );
+    decimalPlacesTextLabel->setBuddy( decimalPlacesSpinBox );
 }
 
 
 void OptionsForm::chooseFont()
 {
     bool ok;
-    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
+    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
     if ( ok )
-        setFont( font );
+        setFont( font );
 }
 
 
-void OptionsForm::setFont( TQFont font )
+void OptionsForm::setFont( TQFont font )
 {
-    TQString label = font.family() + " " +
-                    TQString::number( font.pointSize() ) + "pt";
-    if ( font.bold() )
+    TQString label = font.family() + " " +
+                    TQString::number( font.pointSize() ) + "pt";
+    if ( font.bold() )
         label += " Bold";
-    if ( font.italic() )
+    if ( font.italic() )
         label += " Italic";
-    fontTextLabel->setText( label );
+    fontTextLabel->setText( label );
     m_font = font;
 }
 
-- cgit v1.2.1