parent
39a8150fae
commit
4659d0efc2
17 changed files with 212 additions and 137 deletions
28
include/dialogs/ReCaptcha.hpp
Normal file
28
include/dialogs/ReCaptcha.hpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue