mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 12:08:50 +03:00
29 lines
452 B
C++
29 lines
452 B
C++
#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
|