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. Embedded QSlider in QGraphicsProxy unreponsive to mouse slide
Qt 6.11 is out! See what's new in the release blog

Embedded QSlider in QGraphicsProxy unreponsive to mouse slide

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 780 Views 2 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.
  • M Offline
    M Offline
    Misty River
    wrote on last edited by
    #1

    I have a QSlider embedded in a QGraphicsProxywidget and it is unresponsive to mouse movements... it only responds to mouse clicks..
    I have same problem with a scrollbar... how can I fix this?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Asperamanca
      wrote on last edited by
      #2

      I use a QScrollbar embedded via QGraphicsPoxyWidget, and I don't have any issues.
      Maybe you use the wrong signals (I use valueChanged)

      M 1 Reply Last reply
      0
      • A Asperamanca

        I use a QScrollbar embedded via QGraphicsPoxyWidget, and I don't have any issues.
        Maybe you use the wrong signals (I use valueChanged)

        M Offline
        M Offline
        Misty River
        wrote on last edited by
        #3

        @Asperamanca Thank you for the response. No I found the problem I have subclassed QGraphicsView and overridden the moveEvent, thus It doesn't reach the widget. You don't have to connect signals to slide the slider.

        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