[Qt-interest] nesting QGraphicsview inside QWidget

Martin Schröer gordon at gordonswelt.de
Sun Mar 8 16:14:49 CET 2009


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