mirror of
https://gitee.com/Zhaoxin59/my-chat_-client.git
synced 2026-02-14 00:51:48 +08:00
update SelfInfoWidget
This commit is contained in:
@ -1,14 +1,38 @@
|
||||
#ifndef MESSAGEEDITAREA_H
|
||||
#ifndef MESSAGEEDITAREA_H
|
||||
#define MESSAGEEDITAREA_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <QPushButton>
|
||||
#include <QPlainTextEdit>
|
||||
#include <QVBoxLayout>
|
||||
#include <QHBoxLayout>
|
||||
#include <QScrollBar>
|
||||
//#include <QGraphicsDropShadowEffect>
|
||||
//#include <qpropertyanimation.h>
|
||||
//#include <QEvent>
|
||||
|
||||
//编辑消息的区域
|
||||
class MessageEditArea : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit MessageEditArea(QWidget *parent = nullptr);
|
||||
|
||||
//花式按钮事件
|
||||
//bool eventFilter(QObject* obj, QEvent* event) override;
|
||||
|
||||
private:
|
||||
QPushButton* sendImageBtn;
|
||||
QPushButton* sendFileBtn;
|
||||
QPushButton* sendSpeechBtn;
|
||||
QPushButton* showHistoryBtn;
|
||||
QPlainTextEdit* textEdit;
|
||||
QPushButton* sendTextButton;
|
||||
|
||||
//花式按钮
|
||||
//QGraphicsDropShadowEffect* shadowEffect;
|
||||
|
||||
|
||||
signals:
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user