2017-04-12 17:46:44 +02:00
|
|
|
#ifndef USERPOPUPWIDGET_H
|
|
|
|
#define USERPOPUPWIDGET_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace Ui {
|
2017-04-12 17:46:44 +02:00
|
|
|
class UserPopup;
|
|
|
|
}
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace chatterino {
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
class Channel;
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
namespace widgets {
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
class UserPopupWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
UserPopupWidget(std::shared_ptr<Channel> &&_channel);
|
|
|
|
|
|
|
|
void setName(const QString &name);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::UserPopup *_ui;
|
|
|
|
|
|
|
|
std::shared_ptr<Channel> _channel;
|
|
|
|
};
|
|
|
|
|
2017-04-14 17:52:22 +02:00
|
|
|
} // namespace widgets
|
|
|
|
} // namespace chatterino
|
2017-04-12 17:46:44 +02:00
|
|
|
|
|
|
|
#endif // USERPOPUPWIDGET_H
|