Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, August 2007
unbounded QGraphicsItem


Message 1 in thread

Hello,

I am wondering how unbounded objects fit into the GraphicsScene Framework.

In our applications we have rays, wedges, even unbounded lines. So already
the notion of bounding box makes no sense for these objects.

thanks for any input,

andreas

--
 [ signature omitted ] 

Message 2 in thread

On onsdag den 29. August 2007, Andreas Fabri wrote:
> Hello,
>
> I am wondering how unbounded objects fit into the GraphicsScene Framework.
>
> In our applications we have rays, wedges, even unbounded lines. So already
> the notion of bounding box makes no sense for these objects.

I actually don't think you can do that. To work around it, you might set a 
scene rect and make sure your unbounded items are actually bounded outside 
the scene rect.

Bo.

-- 
 [ signature omitted ]