00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "fortunesettings.h"
00011
00012 #include <qvariant.h>
00013 #include <qlabel.h>
00014 #include <qlineedit.h>
00015 #include <qlayout.h>
00016 #include <qtooltip.h>
00017 #include <qwhatsthis.h>
00018
00019
00020
00021
00022
00023 FortuneSettings::FortuneSettings( QWidget* parent, const char* name, WFlags fl )
00024 : QWidget( parent, name, fl )
00025 {
00026 if ( !name )
00027 setName( "FortuneSettings" );
00028 FortuneSettingsLayout = new QGridLayout( this, 1, 1, 11, 6, "FortuneSettingsLayout");
00029
00030 textLabel1 = new QLabel( this, "textLabel1" );
00031
00032 FortuneSettingsLayout->addWidget( textLabel1, 0, 0 );
00033
00034 fortune_edit = new QLineEdit( this, "fortune_edit" );
00035
00036 FortuneSettingsLayout->addWidget( fortune_edit, 0, 1 );
00037 languageChange();
00038 resize( QSize(439, 358).expandedTo(minimumSizeHint()) );
00039 clearWState( WState_Polished );
00040 }
00041
00042
00043
00044
00045 FortuneSettings::~FortuneSettings()
00046 {
00047
00048 }
00049
00050
00051
00052
00053
00054 void FortuneSettings::languageChange()
00055 {
00056 setCaption( tr( "Form1" ) );
00057 textLabel1->setText( tr( "Fortune arguments" ) );
00058 }
00059