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.
28 lines
457 B
28 lines
457 B
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class FlatButton;
|
|
class RaisedButton;
|
|
|
|
namespace dialogs {
|
|
|
|
class ReCaptcha : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ReCaptcha(const QString &session, QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
|
|
signals:
|
|
void closing();
|
|
|
|
private:
|
|
FlatButton *openCaptchaBtn_;
|
|
RaisedButton *confirmBtn_;
|
|
RaisedButton *cancelBtn_;
|
|
};
|
|
} // dialogs
|
|
|