Giter VIP home page Giter VIP logo

linecode / demo_messagechat_qt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shashidizhuanlan/demo_messagechat_qt

0.0 1.0 0.0 181 KB

Qt5气泡式聊天框——QListWidget+QPainter。 气泡式聊天的显示是由QListWidget作为控件,每个气泡是由QListWidgetItem提升成QWidget来实现的。每个气泡可以理解为可以自由布置里面内容的QWidget。每个Item保存聊天的对话、发送状态、时间、种类等。这个QWidget主要是显示一个头像+气泡,气泡里面是聊天的内容等。气泡是在paintEvent事件中,采用QPainter来绘制的。

QMake 2.58% C++ 97.42%

demo_messagechat_qt's Introduction

1、Qt的应用开发 之 Demo_MessageChat_Qt

Qt5气泡式聊天框——QListWidget+QPainter。
气泡式聊天的显示是由QListWidget作为控件,每个气泡是由QListWidgetItem提升成QWidget来实现的。每个气泡可以理解为可以自由布置里面内容的QWidget。每个Item保存聊天的对话、发送状态、时间、种类等。这个QWidget主要是显示一个头像+气泡,气泡里面是聊天的内容等。气泡是在paintEvent事件中,采用QPainter来绘制的。

2、更新信息

开发者:沙振宇(沙师弟专栏)
创建时间:2018-07-23
最后一次更新时间:2019-12-27
此项目CSDN博客:Qt5气泡式聊天框——QListWidget+QPainter实现
此项目博客地址:https://shazhenyu.blog.csdn.net/article/details/81505832

3、效果

image image

demo_messagechat_qt's People

Contributors

shashidizhuanlan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.