Results 1 to 3 of 3

Thread: custom curves including text

  1. #1
    Join Date
    Nov 2011
    Posts
    8
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default custom curves including text

    Hey ho,

    I am trying to build a Waveformgenerator with QWT so I need curves for the 1bit signals and curves for the multibit signals. In other Waveformgenerators the multibit signals looks like you can see in the attachment.
    A naive idea would be deriving from QwtPlotCurve. The new class would include 2 QwtPlotCurves and a method to print text on the canvas (is this possible?).

    Maybe anyone knows a cool way to implement curves like this? How do I print text to canvas?

    Thanks!
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2011
    Posts
    8
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: custom curves including text

    No ideas?

    Is it a good idea to use QWT for a waveform viewer? Or does anyone knows a better library for this?

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

    Default Re: custom curves including text

    Quote Originally Posted by cradle View Post
    Is it a good idea to use QWT for a waveform viewer?
    Sure, but there is not enough information in your request to tell you how to proceed. Your options are to combine and manipulate one of the existing plot items or to implement your own.

    Uwe

Similar Threads

  1. QProgressBar with custom text
    By smoon in forum Qt Programming
    Replies: 2
    Last Post: 10th May 2012, 15:44
  2. Replies: 2
    Last Post: 16th May 2011, 00:15
  3. Custom Delegate and Text Wrap
    By enlightened_j in forum Newbie
    Replies: 2
    Last Post: 17th September 2010, 06:21
  4. How to read text file including all empty spaces..
    By umulingu in forum Qt Programming
    Replies: 1
    Last Post: 29th September 2009, 07:33
  5. Replies: 1
    Last Post: 11th September 2008, 09:07

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.