#include "simapi.h"
/****************************************************************************
** Form implementation generated from reading ui file './wifacecfgbase.ui'
**
** Created: вт мар 30 18:21:39 2004
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.1.2   edited Dec 19 11:45 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "wifacecfgbase.h"

#include <qvariant.h>
#include <qwidget.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

#include "editfile.h"
static const char* const img0_wifacecfgbase[] = { 
"22 22 2 1",
". c None",
"# c #a4c610",
"........######........",
".....###########......",
"....##############....",
"...################...",
"..######......######..",
"..#####........#####..",
".#####.......#..#####.",
".####.......###..####.",
"####.......#####..####",
"####......#####...####",
"####....#######...####",
"####....######....####",
"####...########...####",
".####.##########..####",
".####..####.#########.",
".#####..##...########.",
"..#####.......#######.",
"..######......######..",
"...###################",
"....##################",
"......###########.###.",
"........######.....#.."};

static const char* const img1_wifacecfgbase[] = { 
"22 22 2 1",
". c None",
"# c #a1c410",
"........######........",
".....###########......",
"....##############....",
"...################...",
"..######......######..",
"..#####........#####..",
".#####.......#..#####.",
".####.......###..####.",
"####.......#####..####",
"####......#####...####",
"####....#######...####",
"####....######....####",
"####...########...####",
".####.##########..####",
".####..####.#########.",
".#####..##...########.",
"..#####.......#######.",
"..######......######..",
"...###################",
"....##################",
"......###########.###.",
"........######.....#.."};


/* 
 *  Constructs a WIfaceCfgBase as a child of 'parent', with the 
 *  name 'name' and widget flags set to 'f'.
 */
WIfaceCfgBase::WIfaceCfgBase( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl ),
      image0( (const char **) img0_wifacecfgbase ),
      image1( (const char **) img1_wifacecfgbase )
{
    if ( !name )
	setName( "WIfaceCfg" );
    WIfaceCfgLayout = new QVBoxLayout( this, 11, 6, "WIfaceCfgLayout"); 

    Layout7 = new QHBoxLayout( 0, 0, 6, "Layout7"); 

    TextLabel2 = new QLabel( this, "TextLabel2" );
    Layout7->addWidget( TextLabel2 );

    edtText = new LineEdit( this, "edtText" );
    Layout7->addWidget( edtText );
    WIfaceCfgLayout->addLayout( Layout7 );

    TextLabel3 = new QLabel( this, "TextLabel3" );
    WIfaceCfgLayout->addWidget( TextLabel3 );

    edtTip = new MultiLineEdit( this, "edtTip" );
    WIfaceCfgLayout->addWidget( edtTip );

    TextLabel3_2 = new QLabel( this, "TextLabel3_2" );
    WIfaceCfgLayout->addWidget( TextLabel3_2 );

    edtForecastTip = new MultiLineEdit( this, "edtForecastTip" );
    WIfaceCfgLayout->addWidget( edtForecastTip );

    Layout8 = new QHBoxLayout( 0, 0, 6, "Layout8"); 

    btnHelp = new QPushButton( this, "btnHelp" );
    Layout8->addWidget( btnHelp );
    QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    Layout8->addItem( spacer );
    WIfaceCfgLayout->addLayout( Layout8 );
    languageChange();
    resize( QSize(371, 236).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

/*
 *  Destroys the object and frees any allocated resources
 */
WIfaceCfgBase::~WIfaceCfgBase()
{
    // no need to delete child widgets, Qt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void WIfaceCfgBase::languageChange()
{
    setProperty( "caption", i18n( "Form1" ) );
    TextLabel2->setProperty( "text", i18n( "Button text:" ) );
    TextLabel3->setProperty( "text", i18n( "Button tip:" ) );
    TextLabel3_2->setProperty( "text", i18n( "Forecast tip:" ) );
    btnHelp->setProperty( "text", i18n( "&Help" ) );
}

#include "wifacecfgbase.moc"
