mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
update layout code
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
#include <QScrollBar>
|
||||
#include <QVBoxLayout>
|
||||
#include <QPushButton>
|
||||
#include <QGridLayout>
|
||||
#include <QLabel>
|
||||
|
||||
SessionFriendArea::SessionFriendArea(QWidget *parent)
|
||||
: QScrollArea {parent}
|
||||
@ -34,7 +36,14 @@ SessionFriendArea::SessionFriendArea(QWidget *parent)
|
||||
// }
|
||||
}
|
||||
|
||||
SessionFriendItem::SessionFriendItem(QWidget *owner, const QIcon *avatar, const QString *name, const QString &text)
|
||||
void SessionFriendArea::clear()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SessionFriendArea::addItem(const QIcon &avatar, const QString &name, const QString &text)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user