Results 1 to 2 of 2

Thread: help on my slider

  1. #1
    Join Date
    Apr 2010
    Posts
    48
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default help on my slider

    hi...

    i am implementing slider in my app like below...

    Slider = new QSlider(this);

    Slider->setOrientation ( Qt::Horizontal );

    when i run the app it shows the slider but i cant able to move the slider handle...

    what i am doing wrong ...

    please help me out
    Last edited by newb; 13th July 2010 at 15:26.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: help on my slider

    You probably have to set a range: QAbstractSlider::setRange().

Similar Threads

  1. A progress bar that has a slider on top of it
    By gbw88 in forum Qt Programming
    Replies: 2
    Last Post: 11th June 2010, 17:16
  2. Replies: 2
    Last Post: 21st March 2010, 09:01
  3. vertical slider
    By TomASS in forum Newbie
    Replies: 4
    Last Post: 29th November 2009, 00:30
  4. Rotating a slider...
    By ACFred in forum Newbie
    Replies: 7
    Last Post: 24th February 2008, 15:56
  5. get slider value
    By eric in forum Qt Programming
    Replies: 1
    Last Post: 8th November 2007, 19:47

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
  •  
Qt is a trademark of The Qt Company.