Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT Creator Mouse
Forum Updated to NodeBB v4.3 + New Features

QT Creator Mouse

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 568 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dante90
    wrote on last edited by
    #1

    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]

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved