mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
add choose friend to group chats
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
|
||||
#include "debug.h"
|
||||
#include "model/data.h"
|
||||
#include "choosefrienddialog.h"
|
||||
|
||||
using namespace model;
|
||||
|
||||
@ -22,6 +23,10 @@ class AvatarItem : public QWidget {
|
||||
public:
|
||||
AvatarItem(const QIcon& avatar, const QString& name);
|
||||
|
||||
QPushButton* getAvatar() {
|
||||
return avatarBtn;
|
||||
}
|
||||
|
||||
private:
|
||||
QPushButton* avatarBtn;
|
||||
QLabel* nameLabel;
|
||||
|
||||
Reference in New Issue
Block a user