pyQt5 attributes suggestion when typing dot
Unsolved
Qt Creator and other tools
-
I have trouble with finding out the possible attributes of an object.
For example, I wrotebtn = QPushButton(self) btn.setText('push me')
but when I type a new line
btn.
I don't get any suggestion. Why?
I am using Spyder, with Python3.6 and Qt5. Shall I change editor? Pycharm? -
@webgiorgio
I use PyCharm with PyQt5 and it's great, including completions; it's also an excellent debugger, which is petty important. I know nothing about "Spyder". In the case you show, as you type the.
afterbtn
PyCharm would indeed get the necessary information from PyQt to show the available completions.