PDA

View Full Version : rotating a widget



oguzy
22nd November 2008, 20:29
Hi,

Is there any way like resizing or setting geometry for QInputDialog for
rotating it or should i create a rotatable widget including QInputDialog
and rotate it?

wysota
22nd November 2008, 23:20
Rotating a widget is a very tricky thing, so if you're sure you need it, implementing your own widget should be easier. If you are only after resizing it, then it's a widget like any other, so you can manipulate it with move() and resize().

baray98
23rd November 2008, 00:08
You might wanna take a look at QGraphicsWidgetItem and QGraphicsProxyItem ( i am not sure on the proxy but it sounds like that) only available on Qt 4.4

all you need is a scene an i believe if you wrap your widgets with these you can control them very well.... you can even make them wiggle of you want....

baray98