keygenwizard.cc00001 #include <kdialog.h>
00002 #include <klocale.h>
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "keygenwizard.h"
00013
00014 #include <qvariant.h>
00015 #include <kdialog.h>
00016 #include <qlabel.h>
00017 #include <qlayout.h>
00018 #include <qtooltip.h>
00019 #include <qwhatsthis.h>
00020
00021
00022
00023
00024
00025 KGWizardPage1::KGWizardPage1( QWidget* parent, const char* name, WFlags fl )
00026 : QWidget( parent, name, fl )
00027 {
00028 if ( !name )
00029 setName( "KGWizardPage1" );
00030 KGWizardPage1Layout = new QGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "KGWizardPage1Layout");
00031
00032 TextLabel1 = new QLabel( this, "TextLabel1" );
00033 TextLabel1->setTextFormat( QLabel::RichText );
00034 TextLabel1->setScaledContents( FALSE );
00035 TextLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) );
00036
00037 KGWizardPage1Layout->addWidget( TextLabel1, 0, 0 );
00038 languageChange();
00039 resize( QSize(345, 142).expandedTo(minimumSizeHint()) );
00040 clearWState( WState_Polished );
00041 }
00042
00043
00044
00045
00046 KGWizardPage1::~KGWizardPage1()
00047 {
00048
00049 }
00050
00051
00052
00053
00054
00055 void KGWizardPage1::languageChange()
00056 {
00057 TextLabel1->setText( tr2i18n( "You have indicated that you wish to obtain or purchase a secure certificate. This wizard is intended to guide you through the procedure. You may cancel at any time, and this will abort the transaction." ) );
00058 }
00059
00060 #include "keygenwizard.moc"
|