mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 06:08:48 +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.
19 lines
310 B
C++
19 lines
310 B
C++
#pragma once
|
|
|
|
#include <QFrame>
|
|
|
|
#include "FlatButton.h"
|
|
|
|
class LeaveRoomDialog : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LeaveRoomDialog(QWidget *parent = nullptr);
|
|
|
|
signals:
|
|
void closing(bool isLeaving);
|
|
|
|
private:
|
|
FlatButton *confirmBtn_;
|
|
FlatButton *cancelBtn_;
|
|
};
|