diff --git a/src/DockAreaTitleBar_p.h b/src/DockAreaTitleBar_p.h index c159de2..b94a510 100644 --- a/src/DockAreaTitleBar_p.h +++ b/src/DockAreaTitleBar_p.h @@ -1,5 +1,5 @@ -#ifndef DockAreaTitleBarPH -#define DockAreaTitleBarPH +#ifndef DockAreaTitleBar_pH +#define DockAreaTitleBar_pH /******************************************************************************* ** Qt Advanced Docking System ** Copyright (C) 2017 Uwe Kindler @@ -39,16 +39,17 @@ namespace ads { using tTitleBarButton = QToolButton; - /** - * Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour - * according to various config flags such as: - * CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible - * CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled - */ +/** +* Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour +* according to various config flags such as: +* CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible +* CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled +*/ class CTitleBarButton : public tTitleBarButton { Q_OBJECT +private: bool Visible = true; bool HideWhenDisabled = false; @@ -90,4 +91,4 @@ public: } // namespace ads //----------------------------------------------------------------------------- -#endif // DockAreaTitleBarPH +#endif // DockAreaTitleBar_pH diff --git a/src/src.pro b/src/src.pro index 73367b0..f117495 100644 --- a/src/src.pro +++ b/src/src.pro @@ -41,6 +41,7 @@ HEADERS += \ FloatingDragPreview.h \ DockOverlay.h \ DockSplitter.h \ + DockAreaTitleBar_p.h \ DockAreaTitleBar.h \ ElidingLabel.h \ IconProvider.h \