diff options
Diffstat (limited to 'kchart/kchartHeaderFooterConfigPage.cc')
-rw-r--r-- | kchart/kchartHeaderFooterConfigPage.cc | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kchart/kchartHeaderFooterConfigPage.cc b/kchart/kchartHeaderFooterConfigPage.cc index c097c381..e6c6c99b 100644 --- a/kchart/kchartHeaderFooterConfigPage.cc +++ b/kchart/kchartHeaderFooterConfigPage.cc @@ -39,64 +39,64 @@ KChartHeaderFooterConfigPage::KChartHeaderFooterConfigPage( KChartParams* params TQWidget* parent ) : TQWidget( parent ),_params( params ) { - TQGridLayout* tqlayout = new TQGridLayout( this, 4, 3 ); - tqlayout->setSpacing( KDialog::spacingHint() ); - tqlayout->setMargin( KDialog::marginHint() ); + TQGridLayout* layout = new TQGridLayout( this, 4, 3 ); + layout->setSpacing( KDialog::spacingHint() ); + layout->setMargin( KDialog::marginHint() ); TQLabel *lab=new TQLabel(i18n("Title:"), this); TQWhatsThis::add(lab, i18n("Write here the title of your chart if you want one. The title will be centered on top above your chart.")); - tqlayout->addWidget(lab,0,0); + layout->addWidget(lab,0,0); titleEdit=new TQLineEdit(this); TQWhatsThis::add(titleEdit, i18n("Write here the title of your chart if you want one. The title will be centered on top above your chart.")); - tqlayout->addWidget(titleEdit,0,1); + layout->addWidget(titleEdit,0,1); titleColorButton=new KColorButton(this); TQWhatsThis::add(titleColorButton, i18n("Click on this button to choose the color for the title font.")); - tqlayout->addWidget(titleColorButton,0,2); + layout->addWidget(titleColorButton,0,2); titleFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(titleFontButton, i18n("Click on this button to choose the font family, style and size for the title.")); - tqlayout->addWidget(titleFontButton,0,3); + layout->addWidget(titleFontButton,0,3); connect( titleFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeTitleFont())); lab=new TQLabel(i18n("Subtitle:"),this); TQWhatsThis::add(lab, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(lab,1,0); + layout->addWidget(lab,1,0); subtitleEdit=new TQLineEdit(this); TQWhatsThis::add(subtitleEdit, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(subtitleEdit,1,1); + layout->addWidget(subtitleEdit,1,1); subtitleColorButton=new KColorButton(this); TQWhatsThis::add(subtitleColorButton, i18n("Click on this button to choose the color for the subtitle font.")); - tqlayout->addWidget(subtitleColorButton,1,2); + layout->addWidget(subtitleColorButton,1,2); subtitleFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(subtitleFontButton, i18n("Click on this button to choose the font family, style and size for the subtitle.")); - tqlayout->addWidget(subtitleFontButton,1,3); + layout->addWidget(subtitleFontButton,1,3); connect( subtitleFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeSubtitleFont())); lab=new TQLabel(i18n("Footer:"),this); TQWhatsThis::add(lab, i18n("Write here the footer of your chart if you want one. The footer will be centered at the bottom just below your chart.")); - tqlayout->addWidget(lab,2,0); + layout->addWidget(lab,2,0); footerEdit=new TQLineEdit(this); TQWhatsThis::add(footerEdit, i18n("Write here the subtitle of your chart if you want one. The subtitle will be centered on top just below the title.")); - tqlayout->addWidget(footerEdit,2,1); + layout->addWidget(footerEdit,2,1); footerColorButton=new KColorButton(this); TQWhatsThis::add(footerColorButton, i18n("Click on this button to choose the color for the footer font.")); - tqlayout->addWidget(footerColorButton,2,2); + layout->addWidget(footerColorButton,2,2); footerFontButton=new TQPushButton(i18n("Font..."),this); TQWhatsThis::add(footerFontButton, i18n("Click on this button to choose the font family, style and size for the footer.")); connect( footerFontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeFooterFont())); - tqlayout->addWidget(footerFontButton,2,3); + layout->addWidget(footerFontButton,2,3); - tqlayout->addItem( new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding ), 3, 0 ); + layout->addItem( new TQSpacerItem( 5, 5, TQSizePolicy::Minimum, TQSizePolicy::Expanding ), 3, 0 ); - tqlayout->activate(); + layout->activate(); } void KChartHeaderFooterConfigPage::init() |