Results 1 to 7 of 7

Thread: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

  1. #1
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Hello,

    I'm working on graph, in this graph can be zoomed or might extend because of continuous signal on the graph.
    I want to add vertical and horizontal scroll bars which can be added for any type of zoom or auto rolling of graph.
    With the help of scroll bars I can see the extreme previous/left most signal value.

    Please suggest, so that I can start in that way
    Thanks

  2. #2
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Hi Uwe,

    Somehow I have tried your realtime code from this link https://github.com/GoldenCheetah/Gol...mples/realtime
    In which on QwtPlotzoomer, scroll bars working perfectly fine.

    Now I want to add QwtPlotMagnifier feature, so on wheel scroll event, scroll bars should works.

    I have added QwtPlotMagnifier successfully, zooming also in effect but scroll bars are not updating, scroll bars still in the same position and only update on QwtPlotZoomer.

    I'm trying to dig into the code but getting difficult, can you please help me in this regard ?

    Thanks

  3. #3
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Hello Uwe,

    I'm working on graph, in this graph can be zoomed or might extend because of continuous signal on the graph.
    I want to add vertical and horizontal scroll bars which can be added for any type of zoom or auto rolling of graph.
    With the help of scroll bars I can see the extreme previous/left most signal value.

    Somehow I have tried your realtime code from this link https://github.com/GoldenCheetah/Gol...mples/realtime
    In which on QwtPlotzoomer, scroll bars working perfectly fine.

    Now I want to add QwtPlotMagnifier feature, so on wheel scroll event, scroll bars should works.

    I have added QwtPlotMagnifier successfully, zooming also in effect but scroll bars are not updating, scroll bars still in the same position and only update on QwtPlotZoomer.

    I'm trying to dig into the code but getting difficult, can you please help me in this regard ?

    Thanks

  4. #4
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Sir please help me, I still didn't find proper way to solve this

  5. #5
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Please somebody reply

  6. #6
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    Hi, a hint will be sufficient to bring the work, just want to ensure that I should be in right direction, I do have very less time for this.

  7. #7
    Join Date
    Jun 2015
    Posts
    109
    Thanks
    20
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to add scroll bars on zoom(QwtPlotzoomer/QwtPlotmagnifire/QwtPlotpanner)

    I still not find any solution over this, so finally I have used panner feature which helps me drag the graph in any direction.
    qwt_plot_panner

    Thanks

Similar Threads

  1. Replies: 4
    Last Post: 12th January 2016, 08:36
  2. Zoom out with QwtPlotZoomer
    By vonheld in forum Newbie
    Replies: 0
    Last Post: 28th August 2015, 01:20
  3. QwtPlotZoomer- problem with zoom out
    By GG2013 in forum Qwt
    Replies: 2
    Last Post: 2nd September 2013, 01:11
  4. Scroll bars in scroll area not comming in scroll area
    By aurora in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2012, 07:50
  5. Scroll bars in scroll area not comming
    By aurora in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2011, 20:56

Tags for this Thread

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.