PDA

View Full Version : AlignAbsolute - QGraphicsLayoutItem



onurozcelik
19th April 2010, 08:03
Hi

I have four QGraphicsLinearLayout items all contaning bunch of QGraphicsWidgetItems.
I have one QGraphicsGridLayout item.

Is it possible to align linear layouts on grid to absolute positions. If possible how?

onurozcelik
19th April 2010, 14:43
Guys,

Here is what I want.4528

Lykurg
19th April 2010, 15:12
Here is what I want.So why you don't do it? You set your layout to a QGraphicsWidget and this is a normal item so that you can use QGraphicsItem::setPos().

onurozcelik
22nd April 2010, 08:17
If I set linear layouts to a graphicswidgets and then set their positions with
QGraphicsItem::setPos(). it is working.
But when I put graphicswidgets inside another layout suppose QGraphicsGridLayout same method is not working.