mirror-chatterino2/src/widgets/AccountSwitchPopupWidget.hpp
2018-07-06 19:24:35 +02:00

29 lines
489 B
C++

#pragma once
#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