Hi experts,
Kindly do the needfull for the same.
Hi experts,
Kindly do the needfull for the same.
You are creating a layout for WaveDraw but forget to add the two frames that contain the buttons.
You are also lucky that QThread::msleep() is a static method, because WaveDraw::thread() returns the thread that owns the WaveDraw object, which is the main thread.
You do not have any synchronization on access to the data shared between the two threads.
Cheers.
_
Hi anda_skoa,
Kindly let me know the solution for smooth drawing in same code.
I have no idea what you mean, the drawing seems to work fine.
Cheers,
_
Hi anda_skoa,
I used QImage for drawing wave.Mouse clicked not working on button but keyboard event working.
On keyboard enter button click, wave stuck for a while.Please find Attachment for updated WaveDraw.zip file.
I also used a separate thread class,problem is still remain same.Kindly let me know the solution for smooth drawing.
Last edited by Girish1483; 10th February 2014 at 09:24.
Bookmarks