Hello!

I do not understand the Qt doc referring to Qt::CustomizeWindowHint. When I want to add a min max buttons hint to a dialog, should I also set this customize flag? It works either way, but I want to ensure I am using the correct code for future Qt versions and platforms.

From Qt doc:

The CustomizeWindowHint flag is used to enable customization of the window controls. This flag must be set to allow the WindowTitleHint, WindowSystemMenuHint, WindowMinimizeButtonHint, WindowMaximizeButtonHint and WindowCloseButtonHint flags to be changed.
Qt::CustomizeWindowHint - Turns off the default window title hints.
Practically, it seems that setting the customize flag disables all flags.

The example in examples/widgets/windowflags is very weird in behavior.