diff options
Diffstat (limited to 'include/dialogs/JoinRoomDialog.h')
-rw-r--r-- | include/dialogs/JoinRoomDialog.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dialogs/JoinRoomDialog.h b/include/dialogs/JoinRoomDialog.h new file mode 100644 index 00000000..84184733 --- /dev/null +++ b/include/dialogs/JoinRoomDialog.h @@ -0,0 +1,22 @@ +#pragma once + +#include <QFrame> +#include <QLineEdit> + +class FlatButton; + +class JoinRoomDialog : public QFrame +{ + Q_OBJECT +public: + JoinRoomDialog(QWidget *parent = nullptr); + +signals: + void closing(bool isJoining, QString roomAlias); + +private: + FlatButton *confirmBtn_; + FlatButton *cancelBtn_; + + QLineEdit *roomAliasEdit_; +}; |