matrixion/include/dialogs/LeaveRoom.h

26 lines
392 B
C
Raw Permalink Normal View History

#pragma once
#include <QFrame>
2017-10-28 15:46:39 +03:00
class FlatButton;
namespace dialogs {
class LeaveRoom : public QFrame
{
Q_OBJECT
public:
explicit LeaveRoom(QWidget *parent = nullptr);
protected:
2017-11-22 22:13:22 +03:00
void paintEvent(QPaintEvent *event) override;
signals:
void closing(bool isLeaving);
private:
FlatButton *confirmBtn_;
FlatButton *cancelBtn_;
};
} // dialogs