mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Added missing DockAreaTitleBar_p.h to src.pro
This commit is contained in:
parent
726d73b2c2
commit
d418d92ef4
@ -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
|
||||||
|
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user