/****************************************************************************
** Form implementation generated from reading ui file 'Rub_Centrale_TTT.ui'
**
** Created: mer nov 19 01:46:17 2008
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "Rub_Centrale_TTT.h"

#include <qvariant.h>
#include <qpushbutton.h>
#include <qheader.h>
#include <qlistview.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include <qimage.h>
#include <qpixmap.h>

#include "Rub_Centrale_TTT.ui.h"

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

    but_TTT = new QPushButton( this, "but_TTT" );
    but_TTT->setProperty( "minimumSize", QSize( 22, 22 ) );
    but_TTT->setProperty( "maximumSize", QSize( 22, 22 ) );
    but_TTT->setProperty( "flat", QVariant( TRUE, 0 ) );

    Rub_Centrale_TTTLayout->addWidget( but_TTT, 0, 1 );

    but_Vaccins = new QPushButton( this, "but_Vaccins" );
    but_Vaccins->setProperty( "minimumSize", QSize( 22, 22 ) );
    but_Vaccins->setProperty( "maximumSize", QSize( 22, 22 ) );
    but_Vaccins->setProperty( "flat", QVariant( TRUE, 0 ) );

    Rub_Centrale_TTTLayout->addWidget( but_Vaccins, 0, 2 );

    but_Var = new QPushButton( this, "but_Var" );
    but_Var->setProperty( "minimumSize", QSize( 22, 22 ) );
    but_Var->setProperty( "maximumSize", QSize( 22, 22 ) );
    but_Var->setProperty( "flat", QVariant( TRUE, 0 ) );

    Rub_Centrale_TTTLayout->addWidget( but_Var, 0, 0 );

    listView1 = new QListView( this, "listView1" );
    listView1->addColumn( tr( "Column 1" ) );

    Rub_Centrale_TTTLayout->addMultiCellWidget( listView1, 1, 1, 0, 3 );
    spacer1 = new QSpacerItem( 400, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    Rub_Centrale_TTTLayout->addItem( spacer1, 0, 3 );
    languageChange();
    resize( QSize(600, 480).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( but_TTT, SIGNAL( clicked() ), this, SLOT( but_TTT_clicked() ) );
    connect( but_Vaccins, SIGNAL( clicked() ), this, SLOT( but_Vaccins_clicked() ) );
    connect( but_Var, SIGNAL( clicked() ), this, SLOT( but_Var_clicked() ) );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void Rub_Centrale_TTT::languageChange()
{
    setProperty( "caption", tr( "Rub_Centrale_TTT" ) );
    but_TTT->setProperty( "text", tr( "pushButton1" ) );
    but_Vaccins->setProperty( "text", tr( "pushButton1" ) );
    but_Var->setProperty( "text", tr( "pushButton1" ) );
    QToolTip::add( but_Var, trUtf8( "\x41\x63\x63\xc3\xa9\x64\x65\x7a\x20\x61\x75\x78\x20\x76\x61\x72\x69\x61\x62\x6c\x65\x73\x20\x64\x65\x20\x73\x75\x72\x76\x65\x69\x6c\x6c\x61\x6e\x63\x65" ) );
    listView1->header()->setLabel( 0, tr( "Column 1" ) );
    listView1->clear();
    QListViewItem * item = new QListViewItem( listView1, 0 );
    item->setText( 0, tr( "New Item" ) );

}

