2018-03-12 23:23:26 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
2018-09-20 09:59:14 +03:00
|
|
|
class QPushButton;
|
2018-03-12 23:23:26 +03:00
|
|
|
|
|
|
|
namespace dialogs {
|
|
|
|
|
|
|
|
class ReCaptcha : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-06-09 16:03:14 +03:00
|
|
|
ReCaptcha(const QString &session, QWidget *parent = nullptr);
|
2018-03-12 23:23:26 +03:00
|
|
|
|
|
|
|
signals:
|
2018-09-20 09:59:14 +03:00
|
|
|
void confirmation();
|
2018-03-12 23:23:26 +03:00
|
|
|
|
|
|
|
private:
|
2018-09-20 09:59:14 +03:00
|
|
|
QPushButton *openCaptchaBtn_;
|
|
|
|
QPushButton *confirmBtn_;
|
|
|
|
QPushButton *cancelBtn_;
|
2018-03-12 23:23:26 +03:00
|
|
|
};
|
|
|
|
} // dialogs
|