Added missing DockAreaTitleBar_p.h to src.pro

This commit is contained in:
Uwe Kindler 2020-05-13 16:57:36 +02:00
parent 726d73b2c2
commit d418d92ef4
2 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#ifndef DockAreaTitleBarPH #ifndef DockAreaTitleBar_pH
#define DockAreaTitleBarPH #define DockAreaTitleBar_pH
/******************************************************************************* /*******************************************************************************
** Qt Advanced Docking System ** Qt Advanced Docking System
** Copyright (C) 2017 Uwe Kindler ** Copyright (C) 2017 Uwe Kindler
@ -39,16 +39,17 @@ namespace ads
{ {
using tTitleBarButton = QToolButton; using tTitleBarButton = QToolButton;
/** /**
* Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour * Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour
* according to various config flags such as: * according to various config flags such as:
* CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible * 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 * CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled
*/ */
class CTitleBarButton : public tTitleBarButton class CTitleBarButton : public tTitleBarButton
{ {
Q_OBJECT Q_OBJECT
private:
bool Visible = true; bool Visible = true;
bool HideWhenDisabled = false; bool HideWhenDisabled = false;
@ -90,4 +91,4 @@ public:
} }
// namespace ads // namespace ads
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#endif // DockAreaTitleBarPH #endif // DockAreaTitleBar_pH

View File

@ -41,6 +41,7 @@ HEADERS += \
FloatingDragPreview.h \ FloatingDragPreview.h \
DockOverlay.h \ DockOverlay.h \
DockSplitter.h \ DockSplitter.h \
DockAreaTitleBar_p.h \
DockAreaTitleBar.h \ DockAreaTitleBar.h \
ElidingLabel.h \ ElidingLabel.h \
IconProvider.h \ IconProvider.h \