refactor: 大规模调整项目目录结构,将ChatClient和ChatServer整合为Monorepo结构,并分为两个独立文件夹:chatclient/ 和 chatserver/。更新了ChatClient的CMakeLists.txt配置以适配新结构。

This commit is contained in:
xyz
2025-09-16 19:47:22 +08:00
parent 89ff4fbac0
commit e7af9ad1d7
77 changed files with 146 additions and 168 deletions

View File

@ -0,0 +1,46 @@
#pragma once
#include <QDialog>
#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QGridLayout>
#include <QMessageBox>
#include "mainwidget.h"
#include "model/data.h"
#include "model/datacenter.h"
//using model::Message;
using namespace model;
class UserInfoWidget : public QDialog
{
Q_OBJECT
public:
UserInfoWidget(const UserInfo& userInfo, QWidget *parent);
void initSingleSlot();
void clickDeleteFriendBtn();
void clickApplyBtn();
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;
};