/****************************************************************************
** Form implementation generated from reading ui file 'Rub_Centrale.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.h"

#include <qvariant.h>
#include <qlabel.h>
#include <qheader.h>
#include <qlistview.h>
#include <qlayout.h>
#include <qtooltip.h>
#include <qwhatsthis.h>
#include "Rub_Centrale.ui.h"

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

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

    textLabel1 = new QLabel( this, "textLabel1" );
    textLabel1->setProperty( "maximumSize", QSize( 32767, 25 ) );
    textLabel1->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignCenter ) );
    layout3->addWidget( textLabel1 );

    textLabel_UserName = new QLabel( this, "textLabel_UserName" );
    textLabel_UserName->setProperty( "maximumSize", QSize( 150, 32767 ) );
    QFont textLabel_UserName_font(  textLabel_UserName->font() );
    textLabel_UserName->setFont( textLabel_UserName_font ); 
    textLabel_UserName->setProperty( "frameShape", "StyledPanel" );
    textLabel_UserName->setProperty( "frameShadow", "Sunken" );
    textLabel_UserName->setProperty( "scaledContents", QVariant( FALSE, 0 ) );
    textLabel_UserName->setProperty( "alignment", int( QLabel::AlignCenter ) );
    layout3->addWidget( textLabel_UserName );

    Rub_CentraleLayout->addLayout( layout3, 0, 0 );

    m_QListView_Liste = new QListView( this, "m_QListView_Liste" );
    m_QListView_Liste->addColumn( tr( "Type" ) );
    m_QListView_Liste->addColumn( tr( "Date" ) );
    m_QListView_Liste->addColumn( tr( "Libelle" ) );
    m_QListView_Liste->addColumn( tr( "New Column" ) );
    m_QListView_Liste->addColumn( tr( "New Column" ) );
    m_QListView_Liste->setProperty( "minimumSize", QSize( 210, 0 ) );
    m_QListView_Liste->setProperty( "maximumSize", QSize( 32767, 250 ) );
    QFont m_QListView_Liste_font(  m_QListView_Liste->font() );
    m_QListView_Liste_font.setPointSize( 10 );
    m_QListView_Liste->setFont( m_QListView_Liste_font ); 
    m_QListView_Liste->setProperty( "margin", 0 );
    m_QListView_Liste->setProperty( "midLineWidth", 0 );
    m_QListView_Liste->setProperty( "resizePolicy", "Manual" );
    m_QListView_Liste->setProperty( "allColumnsShowFocus", QVariant( TRUE, 0 ) );
    m_QListView_Liste->setProperty( "showSortIndicator", QVariant( TRUE, 0 ) );
    m_QListView_Liste->setProperty( "itemMargin", 3 );
    m_QListView_Liste->setProperty( "resizeMode", "LastColumn" );

    Rub_CentraleLayout->addWidget( m_QListView_Liste, 1, 0 );
    languageChange();
    resize( QSize(463, 270).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( m_QListView_Liste, SIGNAL( selectionChanged() ), this, SLOT( m_QListView_Liste_selectionChanged() ) );
    init();
}

/*
 *  Destroys the object and frees any allocated resources
 */
Rub_Centrale::~Rub_Centrale()
{
    destroy();
    // 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::languageChange()
{
    setProperty( "caption", tr( "Rub_Centrale" ) );
    textLabel1->setProperty( "text", tr( "<b>Menu Menu Menu Menu Menu Menu Menu Menu</b>" ) );
    textLabel_UserName->setProperty( "text", tr( "Utilisateur" ) );
    m_QListView_Liste->header()->setLabel( 0, tr( "Type" ) );
    m_QListView_Liste->header()->setLabel( 1, tr( "Date" ) );
    m_QListView_Liste->header()->setLabel( 2, tr( "Libelle" ) );
    m_QListView_Liste->header()->setLabel( 3, tr( "New Column" ) );
    m_QListView_Liste->header()->setLabel( 4, tr( "New Column" ) );
}

