00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "updateolder.h"
00011
00012 #include <qvariant.h>
00013 #include <qlabel.h>
00014 #include <qpushbutton.h>
00015 #include <qspinbox.h>
00016 #include <qlayout.h>
00017 #include <qtooltip.h>
00018 #include <qwhatsthis.h>
00019 #include <qimage.h>
00020 #include <qpixmap.h>
00021
00022 #include "updateolder.ui.h"
00023
00024
00025
00026
00027
00028
00029
00030 updateOlder::updateOlder( QWidget* parent, const char* name, bool modal, WFlags fl )
00031 : QDialog( parent, name, modal, fl )
00032 {
00033 if ( !name )
00034 setName( "updateOlder" );
00035
00036 textLabel4 = new QLabel( this, "textLabel4" );
00037 textLabel4->setGeometry( QRect( 20, 50, 181, 20 ) );
00038
00039 textLabel2 = new QLabel( this, "textLabel2" );
00040 textLabel2->setGeometry( QRect( 20, 20, 200, 20 ) );
00041
00042 upLabel = new QLabel( this, "upLabel" );
00043 upLabel->setGeometry( QRect( 220, 20, 30, 20 ) );
00044
00045 upOk = new QPushButton( this, "upOk" );
00046 upOk->setGeometry( QRect( 40, 90, 82, 26 ) );
00047
00048 uoCancel = new QPushButton( this, "uoCancel" );
00049 uoCancel->setGeometry( QRect( 170, 90, 82, 26 ) );
00050
00051 uoSpin = new QSpinBox( this, "uoSpin" );
00052 uoSpin->setGeometry( QRect( 220, 50, 55, 20 ) );
00053 uoSpin->setMinValue( 1 );
00054 languageChange();
00055 resize( QSize(312, 129).expandedTo(minimumSizeHint()) );
00056 clearWState( WState_Polished );
00057
00058
00059 connect( upOk, SIGNAL( clicked() ), this, SLOT( upOk_clicked() ) );
00060 connect( uoCancel, SIGNAL( clicked() ), this, SLOT( uoCancel_clicked() ) );
00061 }
00062
00063
00064
00065
00066 updateOlder::~updateOlder()
00067 {
00068
00069 }
00070
00071
00072
00073
00074
00075 void updateOlder::languageChange()
00076 {
00077 setCaption( tr( "Update to an Older Version" ) );
00078 textLabel4->setText( tr( "Update to Revision :" ) );
00079 textLabel2->setText( tr( "The current <b>Revision Number</b> is :" ) );
00080 upLabel->setText( tr( "1000" ) );
00081 upOk->setText( tr( "Ok" ) );
00082 uoCancel->setText( tr( "Cancel" ) );
00083 }
00084