Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Making chat application with PyQT5
Qt 6.12 LTS is out! See what's new in the release blog

Making chat application with PyQT5

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 3.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Samuel Bachorik
    wrote on last edited by Samuel Bachorik
    #1

    Hello dear users, i want to create simple chat app for windows and i am finding best GUI solution for this. Do you think it is possible to make this with PyQT5 ? Can you recommend to me best widgets for this ? I mean what do you think what widget will be best for theese message boxes ? Iam leaving screen shot of what i mean. Just normal chat desing that will automaticaly scroll down when new messages come.

    THANK YOU

    ef1140fa-9fc3-4955-aae6-19b6d767e307-image.png

    JonBJ 1 Reply Last reply
    0
    • S Samuel Bachorik

      Hello dear users, i want to create simple chat app for windows and i am finding best GUI solution for this. Do you think it is possible to make this with PyQT5 ? Can you recommend to me best widgets for this ? I mean what do you think what widget will be best for theese message boxes ? Iam leaving screen shot of what i mean. Just normal chat desing that will automaticaly scroll down when new messages come.

      THANK YOU

      ef1140fa-9fc3-4955-aae6-19b6d767e307-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Samuel-Bachorik
      For the Qt code using QWebSocket you have the example https://doc.qt.io/qt-5/qtwebsockets-simplechat-example.html. PyQt5 instead of C++ is fine for this.

      It's not my area, but you may get something closer to your look & feel by using QML instead of QWidgets. There is an example at https://doc.qt.io/qt-5/qtquickcontrols-chattutorial-example.html, though it looks quite large to me. For PyQt5 you may want to read through https://www.riverbankcomputing.com/static/Docs/PyQt5/qml.html & https://codeloop.org/how-to-create-window-in-pyqt5-qtquick/.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved