PDA

View Full Version : Connecting signal to custom slot?



dbrmik
28th April 2009, 15:22
Hi

Using qt4.5. Is it possible to connect a signal from a widget to a custom slot in my GUI form using designer?

I have connected a signal to the form, a box appears (Configure connection) allowing you to edit the slots in my gui form. Click 'Edit' , and I can add my custom slot to the slots list for my GUI class, click OK again to return to "configure connection" box. However the new slot does not appear in the list?

How come?

Regards

wysota
28th April 2009, 19:52
Did you choose a signal compatible to the slot? It seems to work fine for me.

dbrmik
30th April 2009, 09:28
Hi Wysota

I have figured it out,:o

thanks