简体   繁体   中英

PySide Fullscreen Mac os x widget

Is there native support on a Qt fullscreen widget on the Main Window object in Mac Os X

I would like to add right top corner widget as seen on Google Chrome:

在此输入图像描述

in my application:

在此输入图像描述

I am aware of:

self.showFullScreen()

I can't test this myself, but the Mac fullscreen button seems to be supported in Qt5 because there is a window flag for it:

Qt::WindowFullscreenButtonHint  0x80000000  On Mac OS X adds a fullscreen button.

Unfortunately, it does not look like this will ever be supported in Qt4, which is now effectively in feature-freeze (ie there probably will be no official Qt-4.9 release, contrary to some rumours that appeared a few years ago).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM