mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
22 lines
363 B
C++
22 lines
363 B
C++
#pragma once
|
|
|
|
#include <QFrame>
|
|
|
|
class FlatButton;
|
|
|
|
class LeaveRoomDialog : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LeaveRoomDialog(QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
|
|
signals:
|
|
void closing(bool isLeaving);
|
|
|
|
private:
|
|
FlatButton *confirmBtn_;
|
|
FlatButton *cancelBtn_;
|
|
};
|