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. QSlider problem on OS X - bug in Qt?
QtWS25 Last Chance

QSlider problem on OS X - bug in Qt?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.4k Views
  • 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
    marlon.smith10
    wrote on last edited by
    #1

    Hi everyone,

    I've got a project that uses a QSlider, and I've connected the QSlider's valueChanged(int) signal to a function I've written. Everything works fine on Windows and Linux, but on Mac when the user clicks on the slider, it immediately sends out a valueChanged signal even though I have disabled tracking and they have not released the mouse button. If the user keeps the mouse held down, they can continue to drag the slider and another signal will not be sent until they release (which is good). The extra signal at the beginning is a problem for me though.

    I've tried checking with isSliderDown() when my function gets called, but that function returns false even when the mouse button is still being held down.

    Has anyone else had this problem? Could this be a bug in Qt?

    I'm using Qt 4.8.1 on Mac OS X 10.6.8.

    Thanks!

    Marlon

    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