How to Set the item has fixed line width(bigger 1 ) in QGraphicsView And not be transformed after view transformation changed?
joeQ last edited by joeQ
i just want to use QGraphicsView and QGraphicsScene to show some item.
but, i has some problem.
i want to complete this function. like the following bmp file;
help me. thank u.
is the box border belong to the bmp file?
no, it is a
I want to use
QGraphicsRectItemto come true it. but
QGraphicsRectItem's line width was also zoomin after view zoomin.
I also find
GraphicsItem::ItemIgnoresTransformations.. I think, them can save my problem.
I am testing these code now. hold on.
Yes, But it caused another problem. I was crazy.
so what's the new problem?
First, I want to save this problem item line width also zoomed after view zoom, I find the solution.
But, this solution, caused another problem screen flashing. I was crazy at yesterday.
Today, I must to save the screen flashing. I don't know ho to save it. so, i think, i was wrong at the first step.
To fixed the line width(bigger 1), I used the wrong way at first.
I find the page now. It maybe can help me.
I am so stupid. i cost two days to save it. tried some wrong way.
I found this doc helpful.
now, i list the key wrolds
You can read them from Qt manual.