Results 1 to 2 of 2

Thread: Qt::FramelessWindowHint + qgraphicsview + qgraphicwidget + showminimized problem

  1. #1
    Join Date
    Nov 2008
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt::FramelessWindowHint + qgraphicsview + qgraphicwidget + showminimized problem

    Hello, I have a Qgraphicsview window that have the following flags:
    window->setWindowFlags (Qt::FramelessWindowHint | Qt::WindowSystemMenuHint | Qt::WindowStaysOnBottomHint);

    It does contain some qgraphicswidgets that can be moved around the Qgraphicsview, such as icons.

    The issue I have, is that after I execute a window->showMinimized ();, and then click on the windows taskbar to restore the window, all the qGraphicWidgets stop responding to mouse clicks.

    Trying to find the cause, I've found that Qt::FramelessWindowHint is the cause (seems like a bug in Qt itself to me), but I need it, because the app is meant to be fullscreen.

    Does anyone knows of this problem and possible solutions?

    Thanks in advance.

  2. #2
    Join Date
    Aug 2007
    Posts
    166
    Thanks
    16
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt::FramelessWindowHint + qgraphicsview + qgraphicwidget + showminimized problem

    I don't know solution for the showMinimized() issue but if the application must go fullscreen you can just use showFullScreen() on the main window and avoid using the Qt::FramelessWindowHint flag.

Similar Threads

  1. showMinimized() is not working on xburts linux processor
    By jthacker in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 2nd June 2010, 07:51
  2. Replies: 0
    Last Post: 27th March 2009, 08:02
  3. showMinimized() steals the focus
    By The Storm in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2009, 07:11
  4. setWindowFlags(Qt::FramelessWindowHint)
    By smarinr in forum Qt Programming
    Replies: 5
    Last Post: 30th April 2008, 20:12
  5. Qt::FramelessWindowHint
    By L.Marvell in forum Qt Programming
    Replies: 16
    Last Post: 6th May 2006, 16:27

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.