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. Problem with left mouse moving window
Forum Updated to NodeBB v4.3 + New Features

Problem with left mouse moving window

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 478 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.
  • H Offline
    H Offline
    hsorby
    wrote on last edited by
    #1

    I have an application that uses a promoted widget in designer that captures mouse events to change the view on a QGLWidget scene. This works fine when the mouse event is accepted. But when I want a parent widget to handle mouse input and I set the QGLWidget derived class to ignore mouse events something happens to the ignored message on the way to the parent widget. When left mouse events occur on the QGLWidget and it is ignoring events the application window starts moving.

    I get the initial mousePressEvent but I don't get the subsequent mouseMoveEvent.

    How can I get my parent widget of the QGLWidget to receive mouseMoveEvents? Who or What is getting in the way?

    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