Results 1 to 2 of 2

Thread: GLWidget based Designer Plugin leaves nasty trace in Qt Designer

  1. #1
    Join Date
    Nov 2006
    Location
    Dresden, Germany
    Posts
    108
    Thanks
    9
    Thanked 12 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question GLWidget based Designer Plugin leaves nasty trace in Qt Designer

    Hi there,

    I created a QGLWidget based Designer plugin. While this works all very nice and well, once I start dragging the new widget in Designer from the toolbox onto my form, it leaves a nasty trace. Take a look at the attached picture.

    Any suggestions what I could do about it? Is something missing in my plugin or is that a QGLWidget related problem?

    Thanks for any ideas...
    Andreas

    PS: I implemented all required Gl functions (initialisation, resize, the drawing is done in the paintEvent)
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2006
    Location
    Dresden, Germany
    Posts
    108
    Thanks
    9
    Thanked 12 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: GLWidget based Designer Plugin leaves nasty trace in Qt Designer

    To illustrate the problem I created two minimal Designer plugins, one based on QWidget which works fine and the other based on QGLWidget, which causes the trouble.

    Please let me know if
    1. the problem appears on your plattform/machine/Qt Version as well
    2. you have a solution for this problem

    Thanks a lot!
    Andreas
    Attached Files Attached Files

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.