Making chat application with PyQT5
-
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
-
@Samuel-Bachorik
For the Qt code usingQWebSocket
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/.