How to trigger a def from a QCombobox
Unsolved
Qt for Python
-
Hello Guys
I want to trigger a def from QCombobox when the item is clicked or changed. Such as searching a database table by a phrase from the QCombox. I understand buttons etc but this got me foxed.
Thanks for any help
Simon
-
I think i may be right in thinking that this should get the job done
combobox.currentIndexChanged.connect(doSomething)
Thanks