Results 1 to 4 of 4

Thread: 2D drawing

  1. #1
    Join Date
    Aug 2008
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default 2D drawing

    Hi,

    I want to draw the 2D diagram of digital wave forms. Am new to Qt. Am having Qt 4.4 with Visual Studio 2008. How could i start with? for 0 the waveform should be lower and for 1 the waveform should be higher. I need to set up zoom, pan e.t.c.,

  2. #2
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: 2D drawing

    Have a look at the Qwt library (http://qwt.sourceforge.net/).
    Will save you some work.

    (Of course, if you want to learn Qt... have a look at the tutorials and implement your own waveform widget. Appreciate the learned things and then still use Qwt.)

    HTH

  3. #3
    Join Date
    Aug 2008
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: 2D drawing

    Hi,

    But suggest some other links other than QWT.

  4. #4
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    691
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: 2D drawing

    Quote Originally Posted by WXNSNW View Post
    Hi,

    But suggest some other links other than QWT.
    In this case QWT is not the better option. I did a small audio editor where, after decoded, I drawn the audio samples
    over a widget inherited from QWidget.
    Hi, which tool are you using to decode the audio files? ffmpeg?

    Regards
    Franco Amato

Similar Threads

  1. [SOLVED] QTreeView drawing selection with icons
    By Timewarp in forum Qt Programming
    Replies: 7
    Last Post: 7th February 2013, 07:52
  2. Replies: 2
    Last Post: 23rd July 2012, 08:42
  3. Drawing speed: QPixmap vs QPicture
    By maverick_pol in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:17
  4. Drawing
    By chethana in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2007, 06:29
  5. Drawing on QWidget - strech & resize
    By kemp in forum Qt Programming
    Replies: 5
    Last Post: 22nd January 2007, 14:39

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.