#pragma once #include class QPushButton; namespace dialogs { class LeaveRoom : public QFrame { Q_OBJECT public: explicit LeaveRoom(QWidget *parent = nullptr); signals: void leaving(); private: QPushButton *confirmBtn_; QPushButton *cancelBtn_; }; } // dialogs