[{"title":"( 15 个子文件 182KB ) Demo_MessageChat_Qt:Qt5气泡式聊天框——QListWidget+QPainter。 气泡式聊天的显示是由QListWidget作为控件,每个气泡是由QListWidgetItem提升成QWidget来实现的。每个气泡可以理解为可以自由布置里面内容的QWidget。每个Item保存聊天的对话、发送状态、时间、种类等。这个QWidget主要是显示一个头像+气泡,气泡里面是聊天的内容等。气泡是在paintEvent事件中,采用QPainter来绘制的","children":[{"title":"Demo_MessageChat_Qt-master","children":[{"title":"img","children":[{"title":"Customer Copy.png <span style='color:#111;'> 10.09KB </span>","children":null,"spread":false},{"title":"loading4.gif <span style='color:#111;'> 1.72KB </span>","children":null,"spread":false},{"title":"CustomerService.png <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"效果1.png <span style='color:#111;'> 78.24KB </span>","children":null,"spread":false},{"title":"chatmessage","children":[{"title":"qnchatmessage.cpp <span style='color:#111;'> 9.41KB </span>","children":null,"spread":false},{"title":"qnchatmessage.h <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false}],"spread":true},{"title":"img.qrc <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":"Demo_MessageChat_Qt.pro <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false},{"title":"效果2.png <span style='color:#111;'> 80.35KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]