using qt designer to connect a widget to a method
-
I am trying to move from wxpython (wxglade) to pyqt designer. I know this is probably a stupid question, but I cannot find the answer. I want to connect a button widget to a method, The tutorials show how to connect to other widgets in the main window but thats it. Do I have to resort to hand coding, my apps tend to have quite a lot of widgets.
Thanks in advance
-
Hi and welcome to devnet,
You can use the auto connect feature but it has proven a bit fragile over time. So yes, better do it in code.
-
You're welcome !
I'll put it in a different way: it gives you more control and it's also easier to reason about when reading the code.
In any case, since you have the answer you sought, please mark the thread as solved using the Topic Tools button or the three dotted menu beside the answer your deem correct so other forum users may know a solution has been found :-)