I have an interesting problem (or not):
I want to catch a signal clicked, that is coming from a button in another class... How do i do that?
I have an interesting problem (or not):
I want to catch a signal clicked, that is coming from a button in another class... How do i do that?
hi,
use class name before the button
ex: anotherClass->button
hope it helps
Bala
Archa4 (17th February 2011)
connect(source class->button, SIGNAL(clicked()), target_class, SLOT(handleButtonClick())). The connect statement connects signals and slots.
Qt 5.3 Opensource & Creator 3.1.2
Archa4 (17th February 2011)
Bookmarks