mirror of https://github.com/Nheko-Reborn/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.
29 lines
452 B
29 lines
452 B
#pragma once
|
|
|
|
#include <QFrame>
|
|
|
|
class FlatButton;
|
|
class TextField;
|
|
|
|
namespace dialogs {
|
|
|
|
class JoinRoom : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
JoinRoom(QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
void closing(bool isJoining, const QString &room);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
|
|
private:
|
|
FlatButton *confirmBtn_;
|
|
FlatButton *cancelBtn_;
|
|
|
|
TextField *roomInput_;
|
|
};
|
|
|
|
} // dialogs
|
|
|