mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
ae20acb7ea
This has been triggering me forever
29 lines
477 B
C++
29 lines
477 B
C++
#pragma once
|
|
|
|
#include "widgets/AccountSwitchWidget.hpp"
|
|
|
|
#include <QWidget>
|
|
|
|
namespace chatterino {
|
|
|
|
class AccountSwitchPopup : public QWidget
|
|
{
|
|
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
|