Results 1 to 7 of 7

Thread: QGLWidget doesn't hide

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2013
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11
    Thanked 2 Times in 2 Posts

    Default QGLWidget doesn't hide

    Hello,

    I built an application for omap3530 device, based on (Qt 4.7 then Qt4.8) + Opengles.
    I followed this tutorial for SGX + Qt installation.

    The application consists in three main widgets: a QGLWidget used to display frames from a webcam, a QTableView used to display some execution events and a vertical QWidget with different QPushButton. One of them is used to switch between QGLWidget and QTableView.

    The application is able to switch once from QTableView to QGLWidget but when i get in that view, i can't hide the QGLWidget to display the QTableView. It seems that QGLWidget remains at the top of the screen, catching touch events, and that the main widget doesn't refresh the screen.

    I tried different solutions : put the three widget in a QHboxLayout and use hide/show slots, put QTableView and QGLWidget in a QStackedWidget, remove QGLWidget from the layout and set null size to QGLWidget (causes segfault) but none of these solutions works.

    Any ideas ?
    Thanks

  2. The following user says thank you to sebc06 for this useful post:


Similar Threads

  1. One QGLWidget that manage QGLWidget childs
    By polch in forum Qt Programming
    Replies: 4
    Last Post: 12th December 2012, 12:26
  2. TrayIcon ContextMenu doesn't hide
    By krisztiantobias in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2012, 15:27
  3. QGLWidget doesn't update
    By qtbnl in forum Qt Programming
    Replies: 12
    Last Post: 14th February 2011, 18:41
  4. QGLWidget doesn't paint when I add another data member
    By Thoughtjacked in forum Qt Programming
    Replies: 6
    Last Post: 17th October 2007, 16:45
  5. Simple frame control doesn't resize when I hide()
    By MrGarbage in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2007, 23:32

Tags for this Thread

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.