Reimplement QPushButton released() signal
Hi, I'd like to reimplement the released() signal of a push button in order to pass a QString to the slot.
Is it possible to do it in a simple way?
My current solution is to use another signal emitted inside the slot passing the QString from this single to the final slot.
released() --->>> slot1()
slot1() ---EMITS>>> customSignal(QString) --->>> finalSlot(QString)
I want the following
released(QString) --->>> finalSlot(QString)
Thanks a lot
and it is not really different from my solution.. I think mine is "faster".
You can also catch the QEvent::KeyRelase, reimplement the keyReleaseEvent method
Hope it helps