/****************************************************************************
** Form implementation generated from reading ui file 'FormRubParam.ui'
**
** Created: Tue Jun 9 19:16:04 2009
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.8   edited Jan 11 14:47 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "FormRubParam.h"

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

/*
 *  Constructs a FormRubParam as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
FormRubParam::FormRubParam( QWidget* parent, const char* name, WFlags fl )
    : QWidget( parent, name, fl )
{
    if ( !name )
	setProperty( "name", "FormRubParam" );
    setProperty( "minimumSize", QSize( 0, 40 ) );
    FormRubParamLayout = new QGridLayout( this, 1, 1, 11, 6, "FormRubParamLayout"); 

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

    textLabel1 = new QLabel( this, "textLabel1" );
    textLabel1->setProperty( "frameShape", "NoFrame" );
    textLabel1->setProperty( "frameShadow", "Plain" );
    layout1->addWidget( textLabel1 );

    lineEdit_NameDoc = new QLineEdit( this, "lineEdit_NameDoc" );
    layout1->addWidget( lineEdit_NameDoc );

    pushButtonNew = new QPushButton( this, "pushButtonNew" );
    layout1->addWidget( pushButtonNew );

    FormRubParamLayout->addLayout( layout1, 0, 0 );
    languageChange();
    resize( QSize(624, 48).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void FormRubParam::languageChange()
{
    setProperty( "caption", tr( "FormRubParam" ) );
    textLabel1->setProperty( "text", tr( "Nom du document" ) );
    pushButtonNew->setProperty( "text", QString::null );
    QToolTip::add( pushButtonNew, trUtf8( "\x43\x72\xc3\xa9\x65\x72\x20\x6c\x65\x20\x64\x6f\x63\x75\x6d\x65\x6e\x74\x20\x61\x76"
    "\x65\x63\x20\x6c\x65\x20\x4d\x6f\x64\xc3\xa8\x6c\x65\x20\x73\x74\x61\x6e\x64\x61"
    "\x72\x64" ) );
}

