QT Creator Mouse



  • i want to make a video in my gui wth a mouse click invisible.
    i dont know how to integrate this in my code:
    @
    void Live_Window::mousePressEvent ( QMouseEvent * event )

    {

    QLabel::mousePressEvent(event);

    emit clicked();

    lvw->lbl_thermoimg->setVisible(false);

    }
    @

    maybe someone an idea what i have to change, that it works

    [edit: added missing coding tags @ SGaist]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.