kpilot/kpilot
kpilotConfigWizard_app.cc00001 #include <kdialog.h>
00002 #include <klocale.h>
00003
00004
00005
00006
00007
00008
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
00023
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
00064 }
00065
00066
00067
00068
00069 ConfigWizard_base3::~ConfigWizard_base3()
00070 {
00071
00072 }
00073
00074
00075
00076
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"
|