Results 1 to 2 of 2

Thread: QPainter and GL_SELECT

  1. #1
    Join Date
    Aug 2010
    Posts
    3

    Default QPainter and GL_SELECT

    Hi,

    is it basically possible to use the openGL selection buffer mechanism in conjunction with QPainter (within qglwidget with paintengine set to openGL)? For instance, i want to draw a QPainterPath and use GL_SELECT to determine wheter or not the path is under the mouse cursor.

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

    Default Re: QPainter and GL_SELECT

    You may just try it and see for yourself. I think it should be possible.
    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.


Similar Threads

  1. QPainter(&QPrinter) & QPainter(&QImage) communication
    By gufeatza in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2010, 07:25
  2. Replies: 5
    Last Post: 7th September 2009, 20:57
  3. QPainter
    By phil_ in forum Newbie
    Replies: 5
    Last Post: 16th December 2006, 19:54
  4. QPainter::save and QPAinter::restore()
    By quickNitin in forum Newbie
    Replies: 2
    Last Post: 17th June 2006, 22:11
  5. Replies: 3
    Last Post: 30th April 2006, 19:22

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.