hello-
I have a slot with the following code:
Qt Code:
{ etc... } if(locSlider == zXag[2]) { etc.... } if( (locSlider == NULL) && (locBG == NULL) ) { etc... }To copy to clipboard, switch view to plain text mode
and 3 things connected to the slot: a QSlider, a QButtonGroup, and a custom signal, customSG. This works: if customSG makes the call, the appropriate conditional is entered (i.e. when locSlider and locBG are NULL). But... what if I want to connect two Signals? How can I determine which Signal made the call? Or in such situations, should I just code a 2nd SLOT?
Bookmarks