/**
 *  This work is distributed under the Lesser General Public License,
 *	see LICENSE for details
 *
 *  @author Gwennaël ARBONA
 **/

#ifndef PASSWORD_H
#define PASSWORD_H

/*----------------------------------------------
    Includes & definitions
----------------------------------------------*/

#include <QDialogButtonBox>
#include <QGridLayout>
#include <QStringList>
#include <QPushButton>
#include <QLineEdit>
#include <QComboBox>
#include <QLabel>

#include "common.h"


/*----------------------------------------------
    Class definitions
----------------------------------------------*/

class Password : public QDialog
{
    Q_OBJECT
    public:
        explicit Password(QWidget *parent = 0);

    signals:
        void PasswordEntered(QString password);

    public slots:
        void SlotPasswordEntered();

    private:
        QLineEdit* editPassword;
        QDialogButtonBox* buttons;
    
};

#endif // PASSWORD_H
