PrototypeCommon
ShaShiDiZhuanLan/Demo_MessageChat_Qt
Qt5气泡式聊天框——QListWidget+QPainter。 气泡式聊天的显示是由QListWidget作为控件,每个气泡是由QListWidgetItem提升成QWidget来实现的。每个气泡可以理解为可以自由布置里面内容的QWidget。每个Item保存聊天的对话、发送状态、时间、种类等。这个QWidget主要是显示一个头像+气泡,气泡里面是聊天的内容等。气泡是在paintEvent事件中,采用QPainter来绘制的。
- Owner
- ShaShiDiZhuanLan (personal account)
- Stars
- Stars: 114
- Forks
- Forks: 44
- Language
- C++
- License
- None
- Created
- 2019
- Tier
- Prototype (100 to 249 ★) What this tier means
Nearby in C++
All C++ repos- 2dom/keypadStars: 114C++Prototype
- swellweb/reameStars: 114C++Prototype
- SirSamael/ppsspp-switch-community-buildStars: 114C++Prototype
- vicaya/hypertableStars: 114C++Prototype
- apache/activemq-cppStars: 114C++Prototype
- vavrusa/libusbnetStars: 114C++Prototype