matrixion/include/SideBarActions.h
2017-11-02 00:41:13 +02:00

29 lines
505 B
C++

#pragma once
#include <QHBoxLayout>
#include <QResizeEvent>
#include <QWidget>
#include "FlatButton.h"
class SideBarActions : public QWidget
{
Q_OBJECT
public:
SideBarActions(QWidget *parent = nullptr);
~SideBarActions();
signals:
void showSettings();
protected:
void resizeEvent(QResizeEvent *event) override;
private:
QHBoxLayout *layout_;
FlatButton *settingsBtn_;
FlatButton *createRoomBtn_;
FlatButton *joinRoomBtn_;
};