mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 18:00:48 +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_;
|
|
};
|