matrixion/include/dialogs/JoinRoom.h
2018-01-16 22:50:47 +02:00

30 lines
504 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;
void showEvent(QShowEvent *event) override;
private:
FlatButton *confirmBtn_;
FlatButton *cancelBtn_;
TextField *roomInput_;
};
} // dialogs