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