mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 22:28:49 +03:00
4659d0efc2
fixes #264
28 lines
480 B
C++
28 lines
480 B
C++
#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
|