Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. [Solved]QWT plot and scrollbars
Qt 6.12 LTS is out! See what's new in the release blog

[Solved]QWT plot and scrollbars

Scheduled Pinned Locked Moved 3rd Party Software
3 Posts 2 Posters 5.7k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello
    When I go thru the doc of the QWT plot I couldn't find any scrollbars.
    Is there another way to do it on a similar way to scroll the plotter/canvas.

    Maybe there is a simple way to do this.(I hope).

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      "QwtPlot":http://qwt.sourceforge.net/qwt__plot_8h_source.html subclasses QFrame, so indeed, it does not supply scroll bars. However, you can simply put a QwtPlot in a [[doc:QScrollArea]], and give it the size you want it to be. That way, you can add scroll bars to any widget, including QwtPlot.

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Do someone got an example of this.
        I don't get it to work.

        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
        • Unsolved