Implemented the accountpopup. Also fixed regex again. (#89)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "concurrentmap.hpp"
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
@@ -25,7 +26,19 @@ public:
|
||||
private:
|
||||
Ui::AccountPopup *_ui;
|
||||
|
||||
void getUserId();
|
||||
void getUserData();
|
||||
void loadAvatar(const QUrl &avatarUrl);
|
||||
|
||||
std::shared_ptr<Channel> &_channel;
|
||||
|
||||
QString userID;
|
||||
QPixmap avatar;
|
||||
|
||||
ConcurrentMap<QString,QPixmap> avatarMap;
|
||||
|
||||
protected:
|
||||
virtual void focusOutEvent(QFocusEvent *event) override;
|
||||
};
|
||||
|
||||
} // namespace widgets
|
||||
|
||||
Reference in New Issue
Block a user