diff --git a/doc/cfg_flag_AutoHideHasCloseButton.png b/doc/cfg_flag_AutoHideHasCloseButton.png new file mode 100644 index 0000000..4cd16a3 Binary files /dev/null and b/doc/cfg_flag_AutoHideHasCloseButton.png differ diff --git a/doc/cfg_flag_AutoHideHasMinimizeButton.png b/doc/cfg_flag_AutoHideHasMinimizeButton.png new file mode 100644 index 0000000..f99143a Binary files /dev/null and b/doc/cfg_flag_AutoHideHasMinimizeButton.png differ diff --git a/doc/user-guide.md b/doc/user-guide.md index 8615b50..4917d44 100644 --- a/doc/user-guide.md +++ b/doc/user-guide.md @@ -41,6 +41,8 @@ - [`AutoHideSideBarsIconOnly`](#autohidesidebarsicononly) - [`AutoHideShowOnMouseOver`](#autohideshowonmouseover) - [`AutoHideCloseButtonCollapsesDock`](#autohideclosebuttoncollapsesdock) + - [`AutoHideHasCloseButton`](#autohidehasclosebutton) + - [`AutoHideHasMinimizeButton`](#autohidehasminimizebutton) - [DockWidget Feature Flags](#dockwidget-feature-flags) - [`DockWidgetClosable`](#dockwidgetclosable) - [`DockWidgetMovable`](#dockwidgetmovable) @@ -610,6 +612,24 @@ closing it. ![AutoHideCloseButtonCollapsesDock true](cfg_flag_AutoHideCloseButtonCollapsesDock_true.gif) +If you enable the `AutoHideHasMinimizeButton` flag, you should disable this +flag our you will have two buttons with minimize functionality. + +### `AutoHideHasCloseButton` + +If this flag is set (default), then each auto hide widget has a close button: + +![AutoHideHasCloseButton](cfg_flag_AutoHideHasCloseButton.png) + +The functionality of the close button (close or minimize) is configured by the +`AutoHideCloseButtonCollapsesDock` flag. + +### `AutoHideHasMinimizeButton` + +If this flag is set (disabled by default), then each auto hide widget has a minimize button. + +![AutoHideHasMinimizeButton](cfg_flag_AutoHideHasMinimizeButton.png) + ## DockWidget Feature Flags ### `DockWidgetClosable`