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.
26 lines
392 B
26 lines
392 B
7 years ago
|
#pragma once
|
||
|
|
||
|
#include <QFrame>
|
||
|
|
||
7 years ago
|
class FlatButton;
|
||
7 years ago
|
|
||
7 years ago
|
namespace dialogs {
|
||
|
|
||
|
class LeaveRoom : public QFrame
|
||
7 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
7 years ago
|
explicit LeaveRoom(QWidget *parent = nullptr);
|
||
7 years ago
|
|
||
7 years ago
|
protected:
|
||
7 years ago
|
void paintEvent(QPaintEvent *event) override;
|
||
7 years ago
|
|
||
7 years ago
|
signals:
|
||
|
void closing(bool isLeaving);
|
||
|
|
||
|
private:
|
||
|
FlatButton *confirmBtn_;
|
||
|
FlatButton *cancelBtn_;
|
||
|
};
|
||
7 years ago
|
} // dialogs
|