[Qt-interest] Implement click event on QLabel

Lucas P. Caixeta lpcnew at gmail.com
Tue Dec 7 16:59:18 CET 2010


Hello!

Guys, i need to implement a click event on a QLabel...

i 'm trying:

    connect(ui->label_exit, SIGNAL(linkActivated(QString)), this
,close_event() );

    void mainwindows_plus::close_event()

    {

        qDebug("foi!!!!!!!!!!!");

    }


But it dont run...=/


How can i reimplement or use the click event on a QLabel??


Thanks a lot

*

Att,*
*Lucas Pereira Caixeta*
*+55 (61) 8527-1148*
Lpcnew at gmail.com
<Lpcnew at gmail.com>
*"O que me preocupa não é o grito dos maus.*
*É o silêncio dos bons." - Martin Luther King
**







*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101207/185e6cc6/attachment.html 


More information about the Qt-interest-old mailing list