I think I'm confusing myself. Hahaha I'm watching Qt C++ vids on YouTube and trying to find the equivalent in PyQt/PySide.
I apologize.
Let me start again:
I have a function. Same one above, myPrint()
Using the non signal method, this works:
ui.pushbutton1.clicked.connect(myPrint())
Now I'm trying to see if I can get it using Signals&Slots.
This doesn't work.
connect(ui.pushbutton1, SIGNAL(clicked()), ui.pushbutton1, SLOT(myPrint()))
Neither does this...
connect(ui.pushbutton1, SIGNAL(clicked()), myPrint())
What is the correct syntax?
Thanks!
Bookmarks