Results 1 to 5 of 5

Thread: 2 Sliders on QSlider bar

  1. #1
    Join Date
    Jan 2012
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default 2 Sliders on QSlider bar

    Hi,
    I am trying to develop video player. Suppose I have selected a video from file open dialog box. Now, I want to play only some part of the entire video clip (like cropping the video). For that I want a slider with 2 slider bars. So, user can select start and end point using two bars. E.g. in movie maker you can drag slider bars and play cropped video clip. Can it be done for QSlider? Please help. Thanks.

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: 2 Sliders on QSlider bar

    Hey, Go to http://qt.nokia.com/qt-in-use/develo...d-widget-demos .
    Here you will get the widget catalog and also the source code of that.
    In that there is one widget i.e.;Sliders, Check that.
    From that you will get the idea.
    For further help keep posting..... ;-)

  3. The following user says thank you to sonulohani for this useful post:

    pallavi12345 (20th June 2012)

  4. #3
    Join Date
    Jan 2013
    Posts
    25
    Thanks
    2
    Platforms
    Windows

    Default Re: 2 Sliders on QSlider bar

    Dear Sonulohani,

    The link ( http://qt.nokia.com/qt-in-use/develo...d-widget-demos) is not working. Could you please post the answer again
    Thanks

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

    Default Re: 2 Sliders on QSlider bar


  6. #5
    Join Date
    Jan 2013
    Posts
    25
    Thanks
    2
    Platforms
    Windows

    Default Re: 2 Sliders on QSlider bar

    Thanks for your reply.
    How can I integrate QxtSpanSlider into existing QT project. It is not one of the standard QT modules.
    Regards,

Similar Threads

  1. Replies: 4
    Last Post: 1st December 2011, 19:53
  2. Need help on Sliders
    By santhoshv84 in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2008, 19:30
  3. Help with sliders
    By Erlendhg in forum Qt Programming
    Replies: 4
    Last Post: 21st August 2007, 17:03
  4. Multiple sliders for drawing
    By Misko in forum Newbie
    Replies: 1
    Last Post: 16th August 2007, 15:21
  5. Scroll bar with two sliders?
    By Morea in forum Newbie
    Replies: 3
    Last Post: 9th May 2006, 06:51

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.