[Qt-interest] nesting QGraphicsview inside QWidget

Luc Devallonné luc.devallonne at mnemis.com
Sun Mar 8 16:22:52 CET 2009


Strange behavior, could you post some code that demonstrates the problem ?

Luc

On Sun, Mar 8, 2009 at 4:14 PM, Martin Schröer <gordon at gordonswelt.de> wrote:
> Hmm ... when i try to do so ( i have some graphicsview code inside a QWidget
> class implementation), it shows the GraphicsView content outside of the
> window containing the widget in a own window ... ?
>
> Luc Devallonné schrieb:
>>
>> Martin,
>>
>> Actually QGraphicsView is a QWidget (QAbstractScrollArea -> QFrame ->
>> QWidget), and as such can be layout as any other QWidget.
>>
>> Luc
>>
>> On Sun, Mar 8, 2009 at 3:51 PM, Martin Schröer <gordon at gordonswelt.de>
>> wrote:
>>
>>>
>>> Is it possible to have a QGraphicsview nested inside a QWidget, so
>>> the resulting Widget could be placed, used and layouted like any other
>>> widget ?
>>>
>>> Martin
>>> _______________________________________________
>>> Qt-interest mailing list
>>> Qt-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>>
>>>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>>
>
>




More information about the Qt-interest-old mailing list