#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './migratedlgbase.ui' ** ** Created: Вск Мар 4 15:40:42 2007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "migratedlgbase.h" #include #include #include #include #include #include #include #include #include #include /* * Constructs a MigrateDialogBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. * * The wizard will by default be modeless, unless you set 'modal' to * TRUE to construct a modal wizard. */ MigrateDialogBase::MigrateDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl ) : QWizard( parent, name, modal, fl ) { if ( !name ) setName( "MigrateDialog" ); page1 = new QWidget( this, "page1" ); page1Layout = new QVBoxLayout( page1, 11, 6, "page1Layout"); TextLabel1 = new QLabel( page1, "TextLabel1" ); page1Layout->addWidget( TextLabel1 ); Line1 = new QFrame( page1, "Line1" ); Line1->setProperty( "sizePolicy", QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, Line1->sizePolicy().hasHeightForWidth() ) ); page1Layout->addWidget( Line1 ); chkRemove = new QCheckBox( page1, "chkRemove" ); page1Layout->addWidget( chkRemove ); TextLabel3 = new QLabel( page1, "TextLabel3" ); TextLabel3->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); page1Layout->addWidget( TextLabel3 ); Spacer1 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); page1Layout->addItem( Spacer1 ); addPage( page1, QString("") ); page2 = new QWidget( this, "page2" ); page2Layout = new QVBoxLayout( page2, 11, 6, "page2Layout"); Spacer2 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); page2Layout->addItem( Spacer2 ); lblStatus = new QLabel( page2, "lblStatus" ); page2Layout->addWidget( lblStatus ); barCnv = new QProgressBar( page2, "barCnv" ); page2Layout->addWidget( barCnv ); Spacer3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); page2Layout->addItem( Spacer3 ); addPage( page2, QString("") ); languageChange(); resize( QSize(507, 316).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ MigrateDialogBase::~MigrateDialogBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void MigrateDialogBase::languageChange() { setProperty( "caption", i18n( "Convert configuration from old version" ) ); TextLabel1->setProperty( "text", i18n( "Directories for convert:" ) ); chkRemove->setProperty( "text", i18n( "&Remove old files" ) ); TextLabel3->setProperty( "text", i18n( "Note!\n" "If you select an option \" Remove old files \", you can not use the old version" ) ); setTitle( page1, i18n( "Select directories for convert" ) ); lblStatus->setProperty( "text", QString::null ); setTitle( page2, i18n( "Convert configuration" ) ); } #include "migratedlgbase.moc"