Results 1 to 2 of 2

Thread: can not go back to the previous window

  1. #1

    Default can not go back to the previous window

    I have a window(inherit from QWidget, call it W1). in the window I create another window(inherit from QWidget, call it W2).
    In W1, I call W2.showFullScreen(), W2 shows; In W2, I call hide(), the W2 hide, W1 show.
    this works well.

    another case:
    I have a window(inherit from QWidget, call it V1). in the window I create another window(inherit from QGraphicsView, call it V2, in V2 it has scene).
    In V1, I call V2.showFullScreen(), V2 shows; In V2, I call hide(), the V2 hide, V1 does not show.
    why?

  2. #2

    Default Re: can not go back to the previous window

    resolved, I use QGraphicsSceneMouseEvent::Widget to get the widget, but do not why, it is wrong.

Similar Threads

  1. Replies: 2
    Last Post: 29th June 2010, 00:40
  2. Path to the previous folder
    By Zergi in forum Newbie
    Replies: 2
    Last Post: 15th July 2008, 18:24
  3. Replies: 3
    Last Post: 26th November 2007, 08:18
  4. Replies: 5
    Last Post: 4th August 2006, 23:44
  5. Replies: 12
    Last Post: 14th June 2006, 09:24

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.