Results 1 to 2 of 2

Thread: Rasterview data entry edge?

  1. #1
    Join Date
    Apr 2012
    Posts
    38
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Rasterview data entry edge?

    Hello All,

    I'm trying to find out if there is a way to have a border of thickness maybe 1 or 2 pixels wide between data points in raster mode. This is a rough sketch of what I mean:

    No edge:



    With edge:



    Is it possible?


    Thanks

  2. #2
    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: Rasterview data entry edge?

    Not sure if it is really a spectrogram, what you want to display - but what you can do is to add a grid item on top of it.
    You would have to overload QwtPlotGrid::updateScaleDiv(), where you have to replace the values for the ticks with the positions of the edges for the given ranges.

    Uwe

Similar Threads

  1. Replies: 6
    Last Post: 7th June 2013, 13:39
  2. Edge-detection (maybe using QGL?)
    By mwgobetti in forum Newbie
    Replies: 6
    Last Post: 20th January 2012, 13:32
  3. Filll Edge QScintilla
    By wirasto in forum Qt Tools
    Replies: 0
    Last Post: 12th January 2011, 07:39

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.