Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Mousebutton is not releasing
Forum Updated to NodeBB v4.3 + New Features

Qt Mousebutton is not releasing

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    basil_fawlty
    wrote on last edited by
    #1

    In my programm it is possible to grab points with the mouse and moving them. The problem is that Qt is not releasing the point after I have released the mousebutton. Isnt there something like:

    @if(Qt::Leftbutton && isPressed(true))@
    

    I have searched this website but couldnt find something that would help

    thanks..

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dangelog
      wrote on last edited by
      #2

      Qt does not "grab points" (nor it releases them). Something must be wrong in the code you're using for dealing with that. Can you show us some?

      Software Engineer
      KDAB (UK) Ltd., a KDAB Group company

      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