PDA

View Full Version : Text Shadowed Problem



QbelcorT
23rd March 2009, 02:12
Hi,
Thanks for your help recently. I have another problem. I have some text that is 'mirrored'. Time/Date. These items are movable, however when I move the item the mirrored result does not move with the item, it stays at the original position. Maybe it's related to the boundingrect()??. This is a QGraphicsRectItem on a QGraphicsScene. In the png file you can see I have moved the Date part, and the shadow remains at the original position. I did not move the time part. I tried a few things with the boundingrect() but could not get the result I was looking for. I would like the shadow part moved with the item, if not, at least the shadow should be 'reset' when moved to a new position.
I have attached my code if it helps.
Thanks for your assistance.