Results 1 to 3 of 3

Thread: QGraphicsView, OpenGL widgets and event handling

  1. #1
    Join Date
    Jan 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default QGraphicsView, OpenGL widgets and event handling

    Hi,

    I would like to create a simple image viewer application where the images are display with OpenGL but I also would like to be able to have these images handling event so that the user will be able to some operations on this image.

    I create a QGraphicsView with a QGraphicsScene but it seems that my OpenGL renderer can't interact with the QWidget I added in the QGraphicsScene. Is it possible or not?

    Can I create my own widget so that my OpenGL renderer takes the responsibility of rendering the widget and keep Qt handling the events? (Any transformation synchronization system?)

    Hope there are answers to this ... not sure.
    Thanks,
    Christophe

  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: QGraphicsView, OpenGL widgets and event handling

    Please provide some code. It's hard to understand what your problem is.
    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. #3
    Join Date
    Jan 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QGraphicsView, OpenGL widgets and event handling

    Thanks but I found what I was looking for (hopefully!)

    http://labs.trolltech.com/blogs/2008...sion-wolfenqt/

Similar Threads

  1. Replies: 2
    Last Post: 17th April 2009, 05:56
  2. SplashScreen and Event handling???
    By Nithya in forum Qt Programming
    Replies: 4
    Last Post: 25th April 2008, 07:05
  3. event handling...
    By xyzt in forum Qt Programming
    Replies: 1
    Last Post: 25th March 2008, 07:16
  4. Event handling problem
    By Mel Seyle in forum Qt Programming
    Replies: 2
    Last Post: 23rd August 2007, 04:15
  5. QGraphicsView Handling Child Event
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2007, 00:32

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.