mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
7ad45d8d64
* 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.
22 lines
375 B
C++
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_;
|
|
};
|