PDA

View Full Version : graphicsView and widget embedding



wagmare
17th July 2009, 13:56
hi friends ,

i am posting the same problem again . i cant find a clear solution to this
error QPainter::begin: A paint device can only be painted by one painter at a time.
Segmentation fault


"There is no way to add a widget inside a QGraphicsView that is embedded into another one"

i am having a QGrahicsView1() having a QGraphicsProxyItem
that QGraphicsProxyItem having a QGraphicsView2()

so in QGraphicsView2() i want to add a QLineEdit() ...

how can i add that one ... please somebody help me ...

wysota
17th July 2009, 16:14
You can't. Simple as that. Get rid of the internal graphics view.