Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Making chat application with PyQT5
Servers for Qt installer are currently down

Making chat application with PyQT5

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 2.6k 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 9 Aug 2020, 11:44 last edited by Samuel Bachorik 8 Sept 2020, 11:48
    #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

    J 1 Reply Last reply 9 Aug 2020, 11:50
    0
    • S Samuel Bachorik
      9 Aug 2020, 11:44

      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

      J Offline
      J Offline
      JonB
      wrote on 9 Aug 2020, 11:50 last edited by JonB 8 Sept 2020, 11:52
      #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

      1/2

      9 Aug 2020, 11:44

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved