PDA

View Full Version : 2D drawing



WXNSNW
7th September 2008, 12:47
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.,

caduel
7th September 2008, 15:25
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

WXNSNW
11th September 2008, 07:47
Hi,

But suggest some other links other than QWT.

franco.amato
6th October 2010, 00:01
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