mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
31 lines
557 B
C++
31 lines
557 B
C++
#pragma once
|
|
|
|
#include "widgets/accountswitchwidget.hpp"
|
|
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
namespace widgets {
|
|
|
|
class AccountSwitchPopupWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AccountSwitchPopupWidget(QWidget *parent = nullptr);
|
|
|
|
void refresh();
|
|
|
|
protected:
|
|
virtual void focusOutEvent(QFocusEvent *event) override final;
|
|
virtual void paintEvent(QPaintEvent *event) override;
|
|
|
|
private:
|
|
struct {
|
|
AccountSwitchWidget *accountSwitchWidget = nullptr;
|
|
} ui;
|
|
};
|
|
|
|
} // namespace widgets
|
|
} // namespace chatterino
|