kpilot/kpilot

kpilotConfigWizard_app.cc

00001 #include <kdialog.h>
00002 #include <klocale.h>
00003 /****************************************************************************
00004 ** Form implementation generated from reading ui file './kpilotConfigWizard_app.ui'
00005 **
00006 ** Created: Thu Mar 29 05:52:08 2007
00007 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
00008 **
00009 ** WARNING! All changes made in this file will be lost!
00010 ****************************************************************************/
00011 
00012 #include "kpilotConfigWizard_app.h"
00013 
00014 #include <qvariant.h>
00015 #include <qlabel.h>
00016 #include <qbuttongroup.h>
00017 #include <qradiobutton.h>
00018 #include <qlayout.h>
00019 #include <qtooltip.h>
00020 #include <qwhatsthis.h>
00021 
00022 /*
00023  *  Constructs a ConfigWizard_base3 as a child of 'parent', with the
00024  *  name 'name' and widget flags set to 'f'.
00025  */
00026 ConfigWizard_base3::ConfigWizard_base3( QWidget* parent, const char* name, WFlags fl )
00027     : QWidget( parent, name, fl )
00028 {
00029     if ( !name )
00030     setName( "ConfigWizard_base3" );
00031     ConfigWizard_base3Layout = new QGridLayout( this, 1, 1, 11, 6, "ConfigWizard_base3Layout"); 
00032 
00033     textLabel6 = new QLabel( this, "textLabel6" );
00034     textLabel6->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter ) );
00035 
00036     ConfigWizard_base3Layout->addWidget( textLabel6, 0, 0 );
00037 
00038     fAppType = new QButtonGroup( this, "fAppType" );
00039     fAppType->setColumnLayout(0, Qt::Vertical );
00040     fAppType->layout()->setSpacing( 6 );
00041     fAppType->layout()->setMargin( 11 );
00042     fAppTypeLayout = new QVBoxLayout( fAppType->layout() );
00043     fAppTypeLayout->setAlignment( Qt::AlignTop );
00044 
00045     radioButton6 = new QRadioButton( fAppType, "radioButton6" );
00046     radioButton6->setChecked( TRUE );
00047     fAppTypeLayout->addWidget( radioButton6 );
00048 
00049     radioButton8 = new QRadioButton( fAppType, "radioButton8" );
00050     fAppTypeLayout->addWidget( radioButton8 );
00051 
00052     radioButton4 = new QRadioButton( fAppType, "radioButton4" );
00053     fAppTypeLayout->addWidget( radioButton4 );
00054 
00055     ConfigWizard_base3Layout->addWidget( fAppType, 2, 0 );
00056     spacer5 = new QSpacerItem( 20, 120, QSizePolicy::Minimum, QSizePolicy::Expanding );
00057     ConfigWizard_base3Layout->addItem( spacer5, 3, 0 );
00058     spacer5_2 = new QSpacerItem( 20, 12, QSizePolicy::Minimum, QSizePolicy::Minimum );
00059     ConfigWizard_base3Layout->addItem( spacer5_2, 1, 0 );
00060     languageChange();
00061     resize( QSize(462, 404).expandedTo(minimumSizeHint()) );
00062     clearWState( WState_Polished );
00063 
00064     // tab order
00065 }
00066 
00067 /*
00068  *  Destroys the object and frees any allocated resources
00069  */
00070 ConfigWizard_base3::~ConfigWizard_base3()
00071 {
00072     // no need to delete child widgets, Qt does it all for us
00073 }
00074 
00075 /*
00076  *  Sets the strings of the subwidgets using the current
00077  *  language.
00078  */
00079 void ConfigWizard_base3::languageChange()
00080 {
00081     textLabel6->setText( tr2i18n( "Finally, you can configure KPilot specifically for some PIM applications, like Kontact (KDE's integrated PIM application) or Evolution (GNOME's integrated PIM application).\n"
00082 "\n"
00083 "Press \"Finish\" to setup KPilot according to the settings in this configuration Wizard." ) );
00084     fAppType->setTitle( tr2i18n( "Set Default Values for Syncing With" ) );
00085     radioButton6->setText( tr2i18n( "&KDE-PIM suite (Kontact)" ) );
00086     radioButton8->setText( tr2i18n( "&GNOME-PIM (Evolution)" ) );
00087     radioButton4->setText( tr2i18n( "No sync, just backup" ) );
00088 }
00089 
00090 #include "kpilotConfigWizard_app.moc"
KDE Home | KDE Accessibility Home | Description of Access Keys