mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-01 02:10:47 +03:00
25 lines
392 B
C++
25 lines
392 B
C++
#pragma once
|
|
|
|
#include <QFrame>
|
|
|
|
class FlatButton;
|
|
|
|
namespace dialogs {
|
|
|
|
class LeaveRoom : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LeaveRoom(QWidget *parent = nullptr);
|
|
|
|
protected:
|
|
void paintEvent(QPaintEvent *event) override;
|
|
|
|
signals:
|
|
void closing(bool isLeaving);
|
|
|
|
private:
|
|
FlatButton *confirmBtn_;
|
|
FlatButton *cancelBtn_;
|
|
};
|
|
} // dialogs
|