Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

fortunesettings.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Form implementation generated from reading ui file 'fortunesettings.ui'
00003 **
00004 ** Created: Sat May 10 11:58:07 2003
00005 **      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
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  *  Constructs a FortuneSettings as a child of 'parent', with the 
00021  *  name 'name' and widget flags set to 'f'.
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  *  Destroys the object and frees any allocated resources
00044  */
00045 FortuneSettings::~FortuneSettings()
00046 {
00047     // no need to delete child widgets, Qt does it all for us
00048 }
00049 
00050 /*
00051  *  Sets the strings of the subwidgets using the current
00052  *  language.
00053  */
00054 void FortuneSettings::languageChange()
00055 {
00056     setCaption( tr( "Form1" ) );
00057     textLabel1->setText( tr( "Fortune arguments" ) );
00058 }
00059 

Generated on Sat May 10 15:09:26 2003 for qnet by doxygen1.3