forked from mirror/nheko
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
370 B
22 lines
370 B
#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_;
|
|
};
|
|
|