X
X
xRA1Nx2022-02-08 16:22:20
PyQt
xRA1Nx, 2022-02-08 16:22:20

Where can I learn about all the widgets and their methods in PyQt5?

please tell me useful sources with which you can study the PyQt5 library on your own.
Ideally, the documentation / tutorial , which would describe each widget, describe all the methods and what they do at least briefly. The official documentation contains all the methods, but they are described extremely dryly for me .. Yes, and I didn’t find a description there for the widgets themselves (what kind of widget it is and what it is for) .....

A banal example, I can’t understand how the Plain Text Edit widget differs from text edit.

Also, I would like to rewrite my application (tic-tac-toe) into a graphical interface. You choose a cell, put a cross. If someone did something similar, please tell me which widget is better to use for this

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dmshar, 2022-02-08
@xRA1Nx

I sincerely feel sorry for you. The official documentation does not suit you because it is too dry.
And the descriptions of the widgets there - probably specially from you - were hidden
https://doc.qt.io/qt-5/gallery.html
You can’t find books or sources on the Internet on your own either, probably Google was turned off in your city. Help:
https://www.amazon.com/Introduction-Python-Program...
https://www.pythonguis.com/pyqt5-book/
https://ru.pdfdrive.com/pyqt-Creating-Windows- app...
https://ru.pdfdrive.com/python-3-and-pyqt-5-devel...
https://docplayer.com/26121670-Pyqt-5-dlya-lingvis...
https: //build-system.fman.io/pyqt5-tutorial
https://www.pythonguis.com/tutorials/pyqt-basic-wi...
https://habr.com/ru/company/skillfactory/blog/599599/
https://www.tutorialspoint.com/pyqt/pyqt_basic_wid...
And it's probably just not enough to search and find 257 implementations of the tic-tac-toe game on your own time. I won’t give everything, but here are some:
https://blog.emptyq.net/a?id=00013-be7e3c74-e0b6-4...
https://www.youtube.com/watch?v=EZGzCQa_PBI
https: //www.geeksforgeeks.org/tic-tac-toe-game-usi...
https://github.com/pisceswolf96/PyQt5-Tic-Tac-Toe
I hope that having mastered at least some of the above information to write a game for you won't make up.

X
xRA1Nx, 2022-02-08
@xRA1Nx

dmshr thank you very much for the work done and the detailed answer, although it is issued in a harsh manner)
I figured out the documentation myself, I had to spend a lot of time, but it seems to have gone mostly.
I was not interested in all possible books because of their variety, my eyes run wide, but something specific that you could recommend, what was enough for you to master pyq5t ... Friends at one time suggested to me a book on algorithms - "growing algorithms", I remained very much to her satisfied...
I’m not looking for ready-made solutions either, I did everything myself, but from the point of view of visual design, in my opinion, it turned out to be poor ... I still don’t really understand what each of the widgets is, I get to know them, I feel them out. Therefore, I asked for a hint, a specific widget that could beautifully decorate the playing field, but oh well ....
In any case, thanks! ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question