summary refs log tree commit diff
path: root/src/dialogs/FallbackAuth.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 11:42:29 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-23 13:44:05 +0100
commit3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4 (patch)
tree99988bb1803817b1e60899a3bf78072bf4b067a0 /src/dialogs/FallbackAuth.h
parentMerge pull request #128 from adasauce/no-setstylesheet (diff)
downloadnheko-3ef0d9db3cb1fe84c3c905fe7fbd80c3bbb51fd4.tar.xz
Fix Registration
fixes #97
fixes #51
Diffstat (limited to '')
-rw-r--r--src/dialogs/FallbackAuth.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/dialogs/FallbackAuth.h b/src/dialogs/FallbackAuth.h
new file mode 100644

index 00000000..245fa03e --- /dev/null +++ b/src/dialogs/FallbackAuth.h
@@ -0,0 +1,26 @@ +#pragma once + +#include <QWidget> + +class QPushButton; +class QLabel; + +namespace dialogs { + +class FallbackAuth : public QWidget +{ + Q_OBJECT + +public: + FallbackAuth(const QString &authType, const QString &session, QWidget *parent = nullptr); + +signals: + void confirmation(); + void cancel(); + +private: + QPushButton *openBtn_; + QPushButton *confirmBtn_; + QPushButton *cancelBtn_; +}; +} // dialogs