/****************************************************************************
** Form interface generated from reading ui file 'DlgChoixUser.ui'
**
** Created: mer nov 19 01:37:40 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!
****************************************************************************/

#ifndef DLGCHOIXUSER_H
#define DLGCHOIXUSER_H

#include <qvariant.h>
#include <qdialog.h>
#include "CMoteur_Base.h"

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QSplitter;
class QListView;
class QListViewItem;
class QPushButton;
class QLabel;
class QLineEdit;

class DlgChoixUser : public QDialog
{
    Q_OBJECT

public:
    DlgChoixUser( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~DlgChoixUser();

    QSplitter* splitterCentral;
    QListView* ListView_UserList;
    QPushButton* pushButtonConfig;
    QLabel* textLabelPassWord;
    QLineEdit* lineEditPassWord;
    QPushButton* pushButtonOK;
    QPushButton* pushButtonAnnuler;

    QString m_User;
    CMoteurBase *m_pCMoteurBase;
    QString *m_pParam;
    QString m_SignUser;

    virtual QListViewItem * getSignUser();
    virtual QListViewItem * getSignUser( QListViewItem * pQListViewItem );
    virtual QListViewItem * getUserItem( const QString & user, const QString & sign_user );

public slots:
    virtual void initDialog( CMoteurBase * pCMoteurBase, QString user, QString sign_user, QString * pParam );
    virtual void pushButtonAnnuler_clicked();
    virtual void pushButtonOK_clicked();
    virtual void ListView_UserList_clicked( QListViewItem * pQListViewItem );
    virtual void ListView_UserList_doubleClicked( QListViewItem * pQListViewItem );
    virtual void pushButtonConfig_clicked();
    virtual void lineEditPassWord_textChanged( const QString & password );

protected:
    QGridLayout* DlgChoixUserLayout;
    QVBoxLayout* layout8;
    QSpacerItem* spacer2;
    QSpacerItem* spacer1;
    QHBoxLayout* layout4;
    QHBoxLayout* layout2;
    QHBoxLayout* layout1;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // DLGCHOIXUSER_H
