Results 1 to 3 of 3

Thread: Mac OS X Lion how to hide the entire OS Dock Bar

  1. #1
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Mac OS X Lion how to hide the entire OS Dock Bar

    Not sure if I am stating the question correctly.
    I am trying to get an Qt app to use 100% of the screen.
    This includes the Dock Bar with all the programs at the bottom.
    I would prefer not to use:
    Qt Code:
    1. this->showFullScreen();
    To copy to clipboard, switch view to plain text mode 
    because I would like the app to use the entire desktop, including multiple monitors.
    without showFullScreen() I have all of the screen real estate, but the OS Dock Bar is ontop of my app....
    if I use showFullScreen() the app is fullscreen with the bottom Dock Bar hidden unless you hover at the bottom, but only for 1 monitor.....
    is there a way to manually hide the OS Dock Bar? like how the showFullScreen() does it?

    I am using Qt5.3.1 for Mac OS X 10.7.3 Lion, and also relevant is:
    Qt Code:
    1. this->setWindowFlags(Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint|Qt::X11BypassWindowManagerHint);
    To copy to clipboard, switch view to plain text mode 
    Last edited by budda; 25th August 2014 at 05:46.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Mac OS X Lion how to hide the entire OS Dock Bar

    I don't know much about Mac OS, but I know that in Windows apps can go full-screen and hide the Windows task bar at the bottom of the screen. So if there are Mac apps that can do the same thing, then it must be possible. You might have to step outside of Qt to issue a Mac OS-specific call, though.

  3. #3
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mac OS X Lion how to hide the entire OS Dock Bar

    I mostly code in Windows as well, all I have to do in Windows is get the desktop height and width and change the app size to that...
    which then covers the task bar, but an app going full-screen on extended desktop monitors only goes full screen on 1 monitor. (regardless of the apps 3 monitor size)
    I've been messing with 3 or 6 monitor systems and have been writing apps to take that into account, and I just got a Mac OSX Lion VirtualBox up and running and
    am trying to duplicate what I've been doing in Windows... I'll keep searching....

Similar Threads

  1. Qt 4.7.3 in Mac OSX Lion???
    By sword726 in forum Qt Programming
    Replies: 3
    Last Post: 5th September 2011, 01:10
  2. QThread with MAC OSX 10.7 Lion
    By r41nb0ww4RR10R in forum Qt Programming
    Replies: 2
    Last Post: 29th July 2011, 09:29
  3. hide tab within a tabified dock widget
    By navid in forum Qt Programming
    Replies: 9
    Last Post: 7th July 2010, 17:12
  4. MAC: Getting Dock widget show/hide events
    By jay in forum Qt Programming
    Replies: 3
    Last Post: 31st May 2010, 08:07
  5. forcing dock windows to dock?
    By eric_vi in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2009, 15:32

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.