From d418d92ef48a101e2f7eb789663a0f522fea0bd9 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Wed, 13 May 2020 16:57:36 +0200 Subject: [PATCH] Added missing DockAreaTitleBar_p.h to src.pro --- src/DockAreaTitleBar_p.h | 19 ++++++++++--------- src/src.pro | 1 + 2 files changed, 11 insertions(+), 9 deletions(-) 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 \