/****************************************************************************
** Form interface generated from reading ui file 'DlgPassChange.ui'
**
** Created: Tue Jun 9 19:15:47 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!
****************************************************************************/

#ifndef DLGPASSCHANGE_H
#define DLGPASSCHANGE_H

#include <qvariant.h>
#include <qdialog.h>
#include "../../drtux/src/CMoteur_Base.h"
#include "DlgPassChangeDefine.h"

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLineEdit;
class QLabel;
class QCheckBox;
class QPushButton;

class DlgPassChange : public QDialog
{
    Q_OBJECT

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

    QLineEdit* lineEditPass1;
    QLineEdit* lineEditPass2;
    QLabel* textLabel2_2;
    QLabel* textLabel1;
    QLabel* textLabel2;
    QLabel* textLabel2_3;
    QCheckBox* checkBoxMemorise;
    QPushButton* pushButtonOK;

    CMoteurBase* m_pCMoteurBase;
    QString m_User;
    QString m_PassWord;
    int m_Mode;

public slots:
    virtual void initDialog( CMoteurBase * pCMoteurBase, const char * user, const char * pass, int mode );
    virtual void initDialog( CMoteurBase * pCMoteurBase, const char * user, int mode );
    virtual void lineEditPass1_textChanged( const QString & qstr );
    virtual void lineEditPass2_textChanged( const QString & qstr );
    virtual void pushButtonOK_clicked();

protected:
    QGridLayout* DlgPassChangeLayout;
    QGridLayout* layout3;
    QVBoxLayout* layout1;
    QVBoxLayout* layout2;
    QHBoxLayout* layout4;

protected slots:
    virtual void languageChange();

};

#endif // DLGPASSCHANGE_H
