Results 1 to 2 of 2

Thread: Drawing a QwtPlot object element on top of other elements (QWT library)

  1. #1
    Join Date
    Jun 2024
    Posts
    3
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Drawing a QwtPlot object element on top of other elements (QWT library)

    Good day! Help me please. It is necessary to draw the QwtPlotMarker element on top of the QwtCurvePlot to improve rendering performance (to bypass the replot() method, which rebuilds the entire contents of the QwtPlot).

    I am attaching a link to the example itemeditor

    <https://github.com/opencor/qwt/tree/master/examples/itemeditor>

    I'm trying to create my own QwtWidgetOverlay class similar to the example from QWT itemeditor, but I don't understand where to start

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

    Default Re: Drawing a QwtPlot object element on top of other elements (QWT library)

    Start with copying the Editor class and replace QwtPlotShapeItem by QwtPlotMarker.

    HTH,
    Uwe

Similar Threads

  1. Replies: 1
    Last Post: 10th June 2024, 08:13
  2. Drawing icon on QwtPlot
    By gorec323 in forum Qwt
    Replies: 3
    Last Post: 24th December 2015, 14:26
  3. Replies: 1
    Last Post: 7th June 2013, 06:06
  4. Drawing Rect on QwtPlot
    By baray98 in forum Qwt
    Replies: 4
    Last Post: 26th October 2012, 16:34
  5. Mapping of .ui elements to object methods
    By KieranS in forum Qt Tools
    Replies: 2
    Last Post: 5th November 2009, 21:33

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.