#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './progresswidget.ui'
**
** Created: Mon Sep 6 01:23:48 2004
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.2.1   edited May 19 14:22 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "progresswidget.h"

#include <qvariant.h>
#include <qpushbutton.h>
#include <qframe.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>

/*
 *  Constructs a ProgressWidget as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
ProgressWidget::ProgressWidget( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setName( "ProgressWidget" );
    ProgressWidgetLayout = new QGridLayout( this, 1, 1, 11, 6, "ProgressWidgetLayout"); 
    ProgressWidgetLayout->setResizeMode( QLayout::FreeResize );

    frame6 = new QFrame( this, "frame6" );
    frame6->setBackgroundOrigin( QFrame::WidgetOrigin );
    frame6->setFrameShape( QFrame::Panel );
    frame6->setFrameShadow( QFrame::Sunken );
    frame6->setLineWidth( 1 );
    frame6Layout = new QGridLayout( frame6, 1, 1, 11, 6, "frame6Layout"); 

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

    progressTextLabel = new QLabel( frame6, "progressTextLabel" );
    progressTextLabel->setFrameShadow( QLabel::Plain );
    layout2->addWidget( progressTextLabel );

    layout1 = new QHBoxLayout( 0, 0, 6, "layout1"); 
    QSpacerItem* spacer = new QSpacerItem( 30, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
    layout1->addItem( spacer );
    layout2->addLayout( layout1 );

    frame6Layout->addLayout( layout2, 0, 0 );

    ProgressWidgetLayout->addWidget( frame6, 0, 0 );
    languageChange();
    resize( QSize(261, 94).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void ProgressWidget::languageChange()
{
    setCaption( tr2i18n( "Form1" ) );
    progressTextLabel->setText( tr2i18n( "Ready" ) );
}

#include "progresswidget.moc"
