validator
17th September 2008, 10:46
Hi,
I added 100 pixel length of QgrahicsLineItem in QGraphicsScene. I want to change color 30 length of QGraphicsItem. How can I do that
QGraphicsLineItem
-----------------------------------------
-----------------------------------------
<-------><---------------------------->
30 pixel 70 pixel
yellow blue
<--------------------------------------->
100 pixel
I added 100 pixel length of QgrahicsLineItem in QGraphicsScene. I want to change color 30 length of QGraphicsItem. How can I do that
QGraphicsLineItem
-----------------------------------------
-----------------------------------------
<-------><---------------------------->
30 pixel 70 pixel
yellow blue
<--------------------------------------->
100 pixel