forked from mirror/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
480 B
29 lines
480 B
7 years ago
|
#pragma once
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
class FlatButton;
|
||
|
class RaisedButton;
|
||
|
|
||
|
namespace dialogs {
|
||
|
|
||
|
class ReCaptcha : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
ReCaptcha(const QString &server, const QString &session, QWidget *parent = nullptr);
|
||
|
|
||
|
protected:
|
||
|
void paintEvent(QPaintEvent *event) override;
|
||
|
|
||
|
signals:
|
||
|
void closing();
|
||
|
|
||
|
private:
|
||
|
FlatButton *openCaptchaBtn_;
|
||
|
RaisedButton *confirmBtn_;
|
||
|
RaisedButton *cancelBtn_;
|
||
|
};
|
||
|
} // dialogs
|