mirror-chatterino2/src/widgets/AccountSwitchPopup.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
539 B
C++
Raw Normal View History

#pragma once
2019-09-08 12:43:12 +02:00
#include "widgets/BaseWindow.hpp"
#include <QWidget>
namespace chatterino {
class AccountSwitchWidget;
2019-09-08 12:43:12 +02:00
class AccountSwitchPopup : public BaseWindow
{
Q_OBJECT
public:
AccountSwitchPopup(QWidget *parent = nullptr);
void refresh();
protected:
void focusOutEvent(QFocusEvent *event) final;
void paintEvent(QPaintEvent *event) override;
void themeChangedEvent() override;
private:
struct {
AccountSwitchWidget *accountSwitchWidget = nullptr;
2018-07-06 19:23:47 +02:00
} ui_;
};
} // namespace chatterino