mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
refactor: 大规模调整项目目录结构,将ChatClient和ChatServer整合为Monorepo结构,并分为两个独立文件夹:chatclient/ 和 chatserver/。更新了ChatClient的CMakeLists.txt配置以适配新结构。
This commit is contained in:
37
ChatClient/include/groupsessiondetailwidget.h
Normal file
37
ChatClient/include/groupsessiondetailwidget.h
Normal file
@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QWidget>
|
||||
#include <QLabel>
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <qscrollarea.h>
|
||||
#include <qscrollbar.h>
|
||||
#include <qgridlayout.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qgridlayout.h>
|
||||
#include "sessiondetailwidget.h"
|
||||
#include "debug.h"
|
||||
|
||||
class AvatarItem;
|
||||
|
||||
class GroupSessionDetailWidget : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
GroupSessionDetailWidget(QWidget* parent);
|
||||
|
||||
void initData();
|
||||
void initMembers(const QString& chatSessionId);
|
||||
|
||||
void addMember(AvatarItem* avatarItem);
|
||||
|
||||
private:
|
||||
QGridLayout* glayout;
|
||||
QLabel* groupNameLabel;
|
||||
|
||||
//表示当前所要添加的AvatarItem处在的行和列
|
||||
int curRow = 0;
|
||||
int curCol = 1;
|
||||
};
|
||||
Reference in New Issue
Block a user