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

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

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


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

    TextLabel3 = new QLabel( this, "TextLabel3" );
    TextLabel3->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignLeft ) );
    SMSConfigLayout->addWidget( TextLabel3 );

    edtBefore = new QMultiLineEdit( this, "edtBefore" );
    SMSConfigLayout->addWidget( edtBefore );

    TextLabel4 = new QLabel( this, "TextLabel4" );
    TextLabel4->setProperty( "alignment", int( QLabel::AlignVCenter | QLabel::AlignLeft ) );
    SMSConfigLayout->addWidget( TextLabel4 );

    edtAfter = new QMultiLineEdit( this, "edtAfter" );
    SMSConfigLayout->addWidget( edtAfter );
    languageChange();
    resize( QSize(321, 274).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void SMSConfigBase::languageChange()
{
    setProperty( "caption", i18n( "Form1" ) );
    TextLabel3->setProperty( "text", i18n( "Text before cursor:" ) );
    TextLabel4->setProperty( "text", i18n( "Text after cursor:" ) );
}

#include "smscfgbase.moc"
