PDA

View Full Version : Create more signal and slot on widget are designed by hand



khanhsk
3rd October 2011, 03:36
How to create more signal on the widget are designed by hand? help me!!!

Now, I can only more signal by overriding methods on that widget.

Jonny174
3rd October 2011, 04:20
Define


signals:
void yourSignal();


and call:


emit yourSignal();

khanhsk
5th October 2011, 04:20
Thanks a lot! But where to write the code? Because these widget are designed by hand, even if the widget was designed by the code is OK!
Define


signals:
void yourSignal();


and call:


emit yourSignal();

Jonny174
5th October 2011, 04:30
Write particularly that is necessary for you

khanhsk
6th October 2011, 18:18
Thanks for the help