mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-13 16:41:48 +08:00
42 lines
703 B
C++
42 lines
703 B
C++
#pragma once
|
||
|
||
#include <QDialog>
|
||
#include <QWidget>
|
||
#include <QPushButton>
|
||
#include <QLabel>
|
||
#include <QGridLayout>
|
||
#include <QMessageBox>
|
||
|
||
#include "mainwidget.h"
|
||
#include "model/data.h"
|
||
|
||
//using model::Message;
|
||
using namespace model;
|
||
|
||
class UserInfoWidget : public QDialog
|
||
{
|
||
Q_OBJECT
|
||
|
||
public:
|
||
UserInfoWidget(const UserInfo& userInfo, QWidget *parent);
|
||
|
||
private:
|
||
////保存对应的Message对象,暂时先放在这里
|
||
//Message message;
|
||
const UserInfo& userInfo;
|
||
|
||
QPushButton* avatarBtn;
|
||
QLabel* idTag;
|
||
QLabel* idLabel;
|
||
|
||
QLabel* nameTag;
|
||
QLabel* nameLabel;
|
||
|
||
QLabel* phoneTag;
|
||
QLabel* phoneLabel;
|
||
|
||
QPushButton* applyBtn;
|
||
QPushButton* sendMessageBtn;
|
||
QPushButton* deleteFriendBtn;
|
||
};
|