/****************************************************************************
** Form implementation generated from reading ui file '../../MedinTuxTools/DlgListOff_Listes.ui'
**
** Created: mer. mai 4 22:19:16 2011
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "DlgListOff_Listes.h"

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

#include "../../../MedinTuxTools/DlgListOff_Listes.ui.h"
static const unsigned char image0_data[] = { 
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18,
    0x08, 0x06, 0x00, 0x00, 0x00, 0xe0, 0x77, 0x3d, 0xf8, 0x00, 0x00, 0x01,
    0x2c, 0x49, 0x44, 0x41, 0x54, 0x78, 0x9c, 0xed, 0x95, 0xa1, 0x4b, 0x43,
    0x51, 0x14, 0xc6, 0x7f, 0x67, 0x4e, 0xa6, 0x41, 0x59, 0x1e, 0xe8, 0x4c,
    0x16, 0xb1, 0x99, 0x5e, 0x18, 0x16, 0x93, 0xcd, 0x22, 0xea, 0xd2, 0x92,
    0x41, 0xf0, 0x2f, 0xb0, 0x1b, 0x95, 0x05, 0x93, 0xb3, 0x0c, 0x4c, 0x5a,
    0x64, 0xcb, 0x62, 0xb8, 0x18, 0x16, 0xdc, 0x8b, 0x32, 0xd8, 0x43, 0x51,
    0x83, 0x63, 0x2c, 0xac, 0x3c, 0x78, 0xbc, 0xbb, 0x20, 0x7b, 0x38, 0xd9,
    0x1b, 0xf7, 0xe1, 0x7b, 0x82, 0xe2, 0x89, 0x27, 0x7c, 0xbf, 0x73, 0xef,
    0xf7, 0xdd, 0x73, 0x45, 0x29, 0x45, 0x92, 0x95, 0x4a, 0x54, 0xfd, 0x27,
    0x00, 0xe9, 0x71, 0x4d, 0xcb, 0xb2, 0xf4, 0x77, 0x85, 0x95, 0x52, 0x12,
    0x0a, 0x00, 0xf0, 0x3c, 0x8f, 0x7e, 0xff, 0x8d, 0x4c, 0x66, 0xde, 0x58,
    0xd4, 0xf7, 0x3d, 0x3a, 0x9d, 0x57, 0xf2, 0xf9, 0xd5, 0xa0, 0x37, 0x01,
    0xe0, 0xd2, 0x6a, 0xd5, 0x80, 0x28, 0x87, 0x11, 0xda, 0xed, 0xd1, 0x5b,
    0x0f, 0x05, 0x74, 0xbb, 0x2f, 0xd8, 0xb6, 0x8b, 0xd6, 0xe6, 0x00, 0x11,
    0xc1, 0x71, 0xde, 0xcd, 0x00, 0xb9, 0xdc, 0xb2, 0xb1, 0xf0, 0x44, 0x68,
    0xd2, 0xef, 0xe0, 0x3f, 0x45, 0x5f, 0xea, 0x2f, 0xa6, 0x28, 0x00, 0x7c,
    0x36, 0x76, 0x68, 0x50, 0xac, 0x00, 0x80, 0xf2, 0xf6, 0x0a, 0x07, 0xfb,
    0x6b, 0x48, 0xdc, 0x29, 0x1a, 0x4e, 0x3f, 0x35, 0x9d, 0x82, 0xd9, 0x34,
    0xba, 0xb6, 0x83, 0x6c, 0x5e, 0xd2, 0xeb, 0x3d, 0xc7, 0x93, 0xa2, 0xad,
    0xc2, 0x22, 0x57, 0xc7, 0x1b, 0x1f, 0xcb, 0xdb, 0xd7, 0x30, 0x37, 0x83,
    0xae, 0xef, 0x22, 0xd9, 0x05, 0x1a, 0x8d, 0xb3, 0x08, 0x73, 0x87, 0xa4,
    0xe8, 0xfa, 0xee, 0x09, 0xb1, 0xce, 0xa9, 0xae, 0x2f, 0xb1, 0x77, 0x54,
    0x80, 0x9b, 0x47, 0xe4, 0xe4, 0x9e, 0x4a, 0xe5, 0x94, 0x66, 0xd3, 0x35,
    0x97, 0x0f, 0x4b, 0x91, 0x52, 0x4a, 0x02, 0x93, 0x2f, 0x1e, 0x90, 0xaa,
    0x0d, 0x40, 0xa9, 0x74, 0x18, 0x61, 0xfa, 0xf1, 0x35, 0x62, 0x72, 0xf1,
    0xd6, 0xa1, 0x48, 0xbc, 0x29, 0x4a, 0x7c, 0xd9, 0xfd, 0xfe, 0x4f, 0x7f,
    0x00, 0x6a, 0xfc, 0x8c, 0x5d, 0x1b, 0x75, 0xf4, 0x7b, 0x00, 0x00, 0x00,
    0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82
};


/*
 *  Constructs a FormDlgListOff_Listes as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The dialog will by default be modeless, unless you set 'modal' to
 *  TRUE to construct a modal dialog.
 */
FormDlgListOff_Listes::FormDlgListOff_Listes( QWidget* parent, const char* name, bool modal, WFlags fl )
    : QDialog( parent, name, modal, fl )
{
    QImage img;
    img.loadFromData( image0_data, sizeof( image0_data ), "PNG" );
    image0 = img;
    if ( !name )
	setProperty( "name", "FormDlgListOff_Listes" );
    setProperty( "icon", image0 );
    FormDlgListOff_ListesLayout = new QGridLayout( this, 1, 1, 11, 6, "FormDlgListOff_ListesLayout"); 

    listBoxListes = new QListBox( this, "listBoxListes" );

    FormDlgListOff_ListesLayout->addMultiCellWidget( listBoxListes, 1, 1, 0, 1 );

    layout2 = new QHBoxLayout( 0, 0, 6, "layout2"); 
    spacer1 = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
    layout2->addItem( spacer1 );

    but_Valide = new QPushButton( this, "but_Valide" );
    layout2->addWidget( but_Valide );

    but_Annule = new QPushButton( this, "but_Annule" );
    layout2->addWidget( but_Annule );

    FormDlgListOff_ListesLayout->addMultiCellLayout( layout2, 2, 2, 0, 1 );

    lineEdit_Find = new QLineEdit( this, "lineEdit_Find" );

    FormDlgListOff_ListesLayout->addWidget( lineEdit_Find, 0, 1 );

    textLabel1 = new QLabel( this, "textLabel1" );

    FormDlgListOff_ListesLayout->addWidget( textLabel1, 0, 0 );
    languageChange();
    resize( QSize(387, 600).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( listBoxListes, SIGNAL( clicked(QListBoxItem*) ), this, SLOT( listBoxListes_clicked(QListBoxItem*) ) );
    connect( listBoxListes, SIGNAL( returnPressed(QListBoxItem*) ), this, SLOT( listBoxListes_returnPressed(QListBoxItem*) ) );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void FormDlgListOff_Listes::languageChange()
{
    setProperty( "caption", trUtf8( "\x4c\x69\x73\x74\x65\x73\x20\x64\xc3\xa9\x72\x6f\x75\x6c\x61\x6e\x74\x65\x73" ) );
    listBoxListes->clear();
    listBoxListes->insertItem( QString::null );
    but_Valide->setProperty( "text", tr( "Valider" ) );
    but_Annule->setProperty( "text", tr( "Annuler" ) );
    textLabel1->setProperty( "text", tr( "Rechercher" ) );
}

