How can i return any value when i will click to button. It is possible to use QObject::connect(&get, SIGNAL(clicked()), &give, SLOT(return value)?
Code:
(ignore the code errors... i want only know, if i can použÃ*t QObject::connect(&but2, SIGNAL(clicked()), &wid1, SLOT(return a = 50;));