[Qt-interest] slot parameters
emmanuel_mayssat at lynceantech.com
emmanuel_mayssat at lynceantech.com
Fri Sep 10 18:32:39 CEST 2010
Hello,
I would like to have a signal with no parameters (ex. pushbutton clicked() ) and have it change my toolBox to page 3 ( slot: toolBox changeIndex(int) )
Given that clicked cannot send a parameter (and shouldn't), how can I have my toolbox receive the signal. In designer I cannot link those the above signal and slot together.
The first thing that come to mind is to create a pseudo slot on the toolBox, such as goToPage3(), which would be an alias to the changeIndex(3) slot.
Obviously I would like to do this with as little programming as possible if at all.
Any advice?
--
Emmanuel
More information about the Qt-interest-old
mailing list