Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
pyQt5 attributes suggestion when typing dot
webgiorgio last edited by
I have trouble with finding out the possible attributes of an object.
For example, I wrote
btn = QPushButton(self) btn.setText('push me')
but when I type a new line
I don't get any suggestion. Why?
I am using Spyder, with Python3.6 and Qt5. Shall I change editor? Pycharm?
JonB last edited by
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
btnPyCharm would indeed get the necessary information from PyQt to show the available completions.