2017-10-28 15:46:39 +03:00
|
|
|
#pragma once
|
|
|
|
|
2017-10-15 22:08:51 +03:00
|
|
|
#include <QHBoxLayout>
|
|
|
|
#include <QResizeEvent>
|
2017-10-28 15:46:39 +03:00
|
|
|
#include <QWidget>
|
2017-10-15 22:08:51 +03:00
|
|
|
|
2017-10-28 15:46:39 +03:00
|
|
|
#include "FlatButton.h"
|
2017-10-15 22:08:51 +03:00
|
|
|
|
|
|
|
class SideBarActions : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
SideBarActions(QWidget *parent = nullptr);
|
|
|
|
~SideBarActions();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void resizeEvent(QResizeEvent *event) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QHBoxLayout *layout_;
|
|
|
|
|
|
|
|
FlatButton *settingsBtn_;
|
|
|
|
FlatButton *createRoomBtn_;
|
|
|
|
FlatButton *joinRoomBtn_;
|
|
|
|
};
|