Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Making chat application with PyQT5

    Qt for Python
    2
    2
    1623
    Loading More Posts
    • 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.
    • Samuel Bachorik
      Samuel Bachorik last edited by 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

      JonB 1 Reply Last reply Reply Quote 0
      • JonB
        JonB @Samuel Bachorik last edited by JonB

        @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 Reply Quote 1
        • First post
          Last post