My Struggle with Qwt

Posts: 281
Joined: Sat Apr 04 2015 2:32 am

Re: My Struggle with Qwt

Post by barbara »

We would like to follow up on this issue regarding painting text using a rotation. I understand you are using Qwt however we should ensure text rotation is working properly in CopperSpice. There maybe some interaction between the Qwt and CS which is making the issue harder to find.

I tried a simple example by adding the following code in KitchenSink ( draw_area.cpp ) to the paintevent() method. It did not crash and the text was indeed rotated as expected.

Code: Select all

QTransform tmp;
painter.drawText(150, 150, "Hello CopperSpice");
Can you experiment with this and see if you can get it repeatable. Then we can add Qwt back in to the mix.


Post Reply