Results 1 to 15 of 15

Thread: paintGL() and initializeGL() help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: paintGL() and initializeGL() help

    3 paintGL() are called when app starts. there are no any window on my app.

    I insert a getchar() at begin of paintGL(). 1st paint() make nothing, second paint draw my app (windows, toolbar, toolbox) with myWidgetGL black! 3st paint fill myWidgetGL with the objects of the scene....
    Regards

  2. #2
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: paintGL() and initializeGL() help

    Hi,
    I know only now that the problem of multiple start of PaintGL() is my ToolBox. If I delete it paintGL() not starts three times instead of only one!
    What I can do? Idesinger myWidget and myToolBox from designerover a WidgetStack...
    Regards

Similar Threads

  1. QGLWidget, toolbox and paintGL()
    By mickey in forum Qt Programming
    Replies: 3
    Last Post: 21st March 2006, 01:05

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.