Results 1 to 4 of 4

Thread: QSlider with tick marks numbers

  1. #1
    Join Date
    May 2009
    Posts
    75
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QSlider with tick marks numbers

    Is possible to draw numbers near tick marks of a QSlider?

    something like:


    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QSlider with tick marks numbers

    Not without reimplementing the slider or adding additional labels to the layout.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,311
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QSlider with tick marks numbers

    The Qwt package offers sliders with scales. See http://qwt.sourceforge.net/controlscreenshots.html

    Uwe

  4. #4
    Join Date
    May 2009
    Posts
    75
    Thanks
    5
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QSlider with tick marks numbers

    Quote Originally Posted by Uwe View Post
    The Qwt package offers sliders with scales. See http://qwt.sourceforge.net/controlscreenshots.html
    I see. I need an integer value, and I think this is not a problem.

    thanks
    Last edited by mastupristi; 6th July 2009 at 10:06.

Similar Threads

  1. QSlider with a custom set of labels for the tick marks?
    By whitefurrows in forum Qt Programming
    Replies: 3
    Last Post: 5th August 2007, 16:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.