matrixion/include/JoinRoomDialog.h
Max Sandholm 7ad45d8d64 React to externally left and joined rooms, and add "leave room" button in room menu (#75)
* Initial "join room" feature.
* React correctly to remotely joined rooms.
* Leaving rooms implemented both locally using the room menu
   in nheko, and reacting properly when leaving a room remotely 
   from another client.
2017-10-01 19:49:36 +03:00

22 lines
375 B
C++

#pragma once
#include <QFrame>
#include <QLineEdit>
#include "FlatButton.h"
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_;
};