Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Making chat application with PyQT5
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.
JonB last edited by JonB
For the Qt code using
QWebSocketyou 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/.