2011-03-02 16:57:41 +01:00
|
|
|
#ifndef AUTOFILLWIDGET_H
|
|
|
|
#define AUTOFILLWIDGET_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QUrl>
|
2011-03-02 17:54:12 +01:00
|
|
|
#include <QTimeLine>
|
2011-03-03 13:38:41 +01:00
|
|
|
#include <QTimer>
|
2011-03-03 15:24:23 +01:00
|
|
|
#include <QDebug>
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class AutoFillWidget;
|
|
|
|
}
|
|
|
|
|
2011-03-03 14:25:02 +01:00
|
|
|
class AutoFillNotification : public QWidget
|
2011-03-02 16:57:41 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2011-03-03 14:25:02 +01:00
|
|
|
explicit AutoFillNotification(QUrl url, QByteArray data, QString pass, QWidget *parent = 0);
|
|
|
|
~AutoFillNotification();
|
2011-03-02 16:57:41 +01:00
|
|
|
|
|
|
|
private slots:
|
2011-03-02 17:54:12 +01:00
|
|
|
void frameChanged(int frame);
|
2011-03-02 16:57:41 +01:00
|
|
|
void remember();
|
|
|
|
void never();
|
|
|
|
|
2011-03-02 17:54:12 +01:00
|
|
|
void hide();
|
|
|
|
|
2011-03-02 16:57:41 +01:00
|
|
|
private:
|
|
|
|
Ui::AutoFillWidget *ui;
|
|
|
|
QUrl m_url;
|
|
|
|
QByteArray m_data;
|
|
|
|
QString m_pass;
|
2011-03-02 17:54:12 +01:00
|
|
|
QTimeLine* m_animation;
|
2011-03-02 16:57:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // AUTOFILLWIDGET_H
|