[Qt-interest] inherit QPushButton and implement clicked()?
Sebastian Songemann
seson at gmx.de
Sat Feb 27 22:28:19 CET 2010
Hi,
I created a custom button and inherited QPushButton. The button should notice when it has been clicked. Can I implement a method that is called as soon as the button is clicked? (I've tried clicked(), but no luck.)
Of course, I could connect the clicked() signal to a private slot and then emit another signal, but this should be easier. I can, for example, just implement mouseMoved() without having to connect a signal and slot in QWidget.
Thanks,
Sebastian
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the Qt-interest-old
mailing list