Results 1 to 2 of 2

Thread: graphicsView and widget embedding

  1. #1
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default graphicsView and widget embedding

    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 ...
    "Behind every great fortune lies a crime" - Balzac

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: graphicsView and widget embedding

    You can't. Simple as that. Get rid of the internal graphics view.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    wagmare (18th July 2009)

Similar Threads

  1. GraphicsScene navigation widget
    By EricTheFruitbat in forum Qt Programming
    Replies: 4
    Last Post: 2nd April 2007, 22:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.