matrixion/include/LeaveRoomDialog.h
2017-11-22 19:52:38 +02:00

22 lines
363 B
C++

#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_;
};