mirror-chatterino2/src/widgets/AccountSwitchPopupWidget.hpp

29 lines
488 B
C++
Raw Normal View History

#pragma once
2018-06-26 14:09:39 +02:00
#include "widgets/AccountSwitchWidget.hpp"
#include <QWidget>
namespace chatterino {
class AccountSwitchPopupWidget : public QWidget
{
Q_OBJECT
public:
AccountSwitchPopupWidget(QWidget *parent = nullptr);
void refresh();
protected:
void focusOutEvent(QFocusEvent *event) final;
void paintEvent(QPaintEvent *event) override;
private:
struct {
AccountSwitchWidget *accountSwitchWidget = nullptr;
} ui;
};
} // namespace chatterino