Results 1 to 1 of 1

Thread: Solved... A Qwidget representing the screen fails between calls...

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Solved... A Qwidget representing the screen fails between calls...

    I want to have a 'parent' reference .
    I have a private QWidget * w_parent_destiny;
    Qt Code:
    1. w_parent_destiny = QDesktopWidget().screen();
    To copy to clipboard, switch view to plain text mode 
    This works only into the function it is created.
    Any idea ? Thanks
    Answering mysefl .....
    .qApp->desktop()->screen();
    Last edited by tonnot; 30th January 2012 at 09:31.

Similar Threads

  1. Finding a QWidget from a screen XY
    By andyp in forum Qt Programming
    Replies: 5
    Last Post: 26th August 2012, 09:15
  2. QWidget displaying the previous screen
    By asmncl in forum Qt Programming
    Replies: 2
    Last Post: 1st July 2011, 13:10
  3. Replies: 1
    Last Post: 18th May 2011, 14:36
  4. EDITED: Representing an Array REDUX!!!!
    By bobby in forum Newbie
    Replies: 4
    Last Post: 17th November 2009, 09:02
  5. Display a QWidget using multi-screen
    By tarod in forum Qt Programming
    Replies: 3
    Last Post: 30th June 2008, 14:02

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.