mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
29 lines
505 B
C++
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_;
|
|
};
|