matrixion/include/dialogs/JoinRoom.h

30 lines
452 B
C
Raw Permalink Normal View History

#pragma once
#include <QFrame>
2017-10-28 15:46:39 +03:00
class FlatButton;
2017-12-10 16:22:01 +03:00
class TextField;
namespace dialogs {
class JoinRoom : public QFrame
{
Q_OBJECT
public:
JoinRoom(QWidget *parent = nullptr);
signals:
2017-12-10 16:22:01 +03:00
void closing(bool isJoining, const QString &room);
protected:
void paintEvent(QPaintEvent *event) override;
private:
FlatButton *confirmBtn_;
FlatButton *cancelBtn_;
2017-12-10 16:22:01 +03:00
TextField *roomInput_;
};
} // dialogs