2017-10-01 19:49:36 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QFrame>
|
|
|
|
|
2018-09-19 22:42:26 +03:00
|
|
|
class QPushButton;
|
2017-10-01 19:49:36 +03:00
|
|
|
|
2017-11-30 21:02:46 +03:00
|
|
|
namespace dialogs {
|
|
|
|
|
|
|
|
class LeaveRoom : public QFrame
|
2017-10-01 19:49:36 +03:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2017-11-30 21:02:46 +03:00
|
|
|
explicit LeaveRoom(QWidget *parent = nullptr);
|
2017-10-01 19:49:36 +03:00
|
|
|
|
|
|
|
signals:
|
2018-09-19 22:42:26 +03:00
|
|
|
void leaving();
|
2017-10-01 19:49:36 +03:00
|
|
|
|
|
|
|
private:
|
2018-09-19 22:42:26 +03:00
|
|
|
QPushButton *confirmBtn_;
|
|
|
|
QPushButton *cancelBtn_;
|
2017-10-01 19:49:36 +03:00
|
|
|
};
|
2017-11-30 21:02:46 +03:00
|
|
|
} // dialogs
|