Unsolved mac style: merged title bar and content area?
-
not using Qt i can create a window where the title bar appear to be part of the content:
using Qt i can't seem to get that effect:
if i try "unifiedTitleAndToolBarOnMac", it looks a WEE bit better, but doesn't do the job:
how do i get what i want? I think it may be related to "brushed metal" look but that's been removed? (using latest Qt)
-
does nobody have an idea?
-
Have a try with this method of QMainWindow:
unifiedTitleAndToolBarOnMac : bool This property holds whether the window uses the unified title and toolbar look on OS X. Note that the Qt 5 implementation has several limitations compared to Qt 4: Use in windows with OpenGL content is not supported. This includes QGLWidget and QOpenGLWidget. Using dockable or movable toolbars may result in painting errors and is not recommended This property was introduced in Qt 5.2. Access functions: bool unifiedTitleAndToolBarOnMac() const void setUnifiedTitleAndToolBarOnMac(bool set)
[EDIT]
if i try "unifiedTitleAndToolBarOnMac", it looks a WEE bit better, but doesn't do the job:
Sorry i missed that ...
-
@davecotter said in mac style: merged title bar and content area?:
unifiedTitleAndToolBarOnMac
sigh. why remove the "brushed metal" selector when the OS still supports it, even if deprecated?
-
nobody knows?