#include "simapi.h"
/****************************************************************************
** Form implementation generated from reading ui file './infoproxybase.ui'
**
** Created: вт мар 30 17:35:00 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 "infoproxybase.h"

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

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


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

    tabInfo = new QTabWidget( this, "tabInfo" );

    tab = new QWidget( tabInfo, "tab" );
    tabInfo->insertTab( tab, QString("") );
    InfoProxyLayout->addWidget( tabInfo );
    languageChange();
    resize( QSize(429, 279).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void InfoProxyBase::languageChange()
{
    setProperty( "caption", i18n( "Form1" ) );
    tabInfo->changeTab( tab, QString::null );
}

#include "infoproxybase.moc"
