Using system window buttons in frameless QWindow
-
I'm wondering if there is a way to use system built-in Minimize, Maximize, Close buttons. I know there are some good project that uses frameless window and let you use Aero if you run under Windows, but I want to use win32 buttons and their event.
For example, let see how Netflix / Spotify app in Windows 11 are created :
As you can see there is normal title bar at startup then it will become all black, with no title but with all system buttons
In spotify you can see that they use only a little part of title bar (black) at startup, after that the gui become black.Is this possible to achieve in Qt6?
I'd like to use system buttons 'cause I want to create my own window style without losing the events, like this in Win11:
-
All buttons, windows, layouts can be customized by using Qt Style Sheets.
Here some more info: https://doc.qt.io/qt-5/stylesheet-examples.html
And also you have already complete example about it: https://doc.qt.io/qt-5/qtwidgets-widgets-stylesheet-example.html -
@mcf1lmnfs No, because title bar is not a Qt element, is system made, so I cannot change it via Qt Style Sheets.