Results 1 to 3 of 3

Thread: Move Window beyond screen border

  1. #1
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4

    Question Move Window beyond screen border

    I have a fairly simple question I cannot find a solution for: I want to move a window out of the visible screen area. My first try was using
    Qt Code:
    1. move (-100,0);
    To copy to clipboard, switch view to plain text mode 

    Unfortunately this does not work - the window only moves to (0,0). Only when I drag the window manually over the screen border, let's say to (-10,0) and then call move(-100,0) the window will actually move to (-100,0)!

    Is there any possibility to solve this? What I finally want to is create a fullscreen GUI and fade out single "views" to the left by moving the respective widget out of the visible are. Maybe there is a better way of doing that?

  2. #2
    Join Date
    Mar 2009
    Location
    Tennessee, US
    Posts
    41
    Thanks
    3
    Thanked 11 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Move Window beyond screen border

    Amos
    Qt Programmer Extraordinaire

    Current Work:
    Ripxx Sports Measurement Device - www.ripxx.com
    (Featured in MYTHBUSTERS on 2010-05-19 in S08E08)

  3. The following user says thank you to amoswood for this useful post:

    the_flow (11th June 2010)

  4. #3
    Join Date
    Mar 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4

    Thumbs up Re: Move Window beyond screen border

    Using the Qt::X11BypassWindowManagerHint flag solved the problem for me! Thanks for you hint to the window manager system!

Similar Threads

  1. Window Style: No border but resizable
    By Peppy in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2010, 18:21
  2. How to make my application screen-border stick
    By Fenix Voltres in forum Qt Programming
    Replies: 5
    Last Post: 28th February 2010, 13:35
  3. Move the window
    By santhoshv84 in forum Qt Programming
    Replies: 3
    Last Post: 16th September 2008, 09:54
  4. Showing QWidget border around the window
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2008, 20:14
  5. QWidgte::move(int x, int y) beyond the screen boundaries
    By momesana in forum Qt Programming
    Replies: 7
    Last Post: 20th February 2007, 10:12

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.