mirror-chatterino2/src/widgets/AccountSwitchPopup.hpp
2019-09-08 12:43:12 +02:00

30 lines
514 B
C++

#pragma once
#include "widgets/AccountSwitchWidget.hpp"
#include "widgets/BaseWindow.hpp"
#include <QWidget>
namespace chatterino {
class AccountSwitchPopup : public BaseWindow
{
Q_OBJECT
public:
AccountSwitchPopup(QWidget *parent = nullptr);
void refresh();
protected:
void focusOutEvent(QFocusEvent *event) final;
void paintEvent(QPaintEvent *event) override;
private:
struct {
AccountSwitchWidget *accountSwitchWidget = nullptr;
} ui_;
};
} // namespace chatterino