mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
update winodws
This commit is contained in:
41
userinfowidget.h
Normal file
41
userinfowidget.h
Normal file
@ -0,0 +1,41 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user