Results 1 to 2 of 2

Thread: QwtPlot layers?

  1. #1
    Join Date
    Sep 2015
    Posts
    36
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    1

    Default QwtPlot layers?

    I am currently using QwtPlot with multiple axes and multiple curves. Every curve can have one or more QwtPlotZoneItem meaning that some samples of curve are invalid. But unfortunately some of these zones will be on top of some curves and some won't. I want to have 2 layer groups - curves and plotZones, so first will be all curve layers and then above all of them will be layer group with zones. How can I achieve that if I can't attach these items in this order?

  2. #2
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    120
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanked 42 Times in 41 Posts

    Default Re: QwtPlot layers?

    Hello,

    looks like you are looking for setting the QwtPlotItem z-order. See http://qwt.sourceforge.net/class_qwt...89c71b3a643e82. Both QwtPlotCurve and QwtPlotZoneItem are derived from QwtPlotItem.

    Best regards
    ars

Similar Threads

  1. Layers of pngs on a push button
    By enaim in forum Qt Programming
    Replies: 1
    Last Post: 31st August 2014, 15:09
  2. Replies: 1
    Last Post: 10th May 2013, 22:16
  3. QLabel with multiple layers
    By augusbas in forum Qt Programming
    Replies: 4
    Last Post: 16th June 2011, 15:10
  4. How does Qt implement layers?
    By FinderCheng in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2009, 14:12
  5. QGraphicsItems Layers
    By qtuser20 in forum Qt Programming
    Replies: 7
    Last Post: 24th July 2009, 01:21

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.