|
1 |
| -#ifndef DockAreaTitleBarPH |
2 |
| -#define DockAreaTitleBarPH |
| 1 | +#ifndef DockAreaTitleBar_pH |
| 2 | +#define DockAreaTitleBar_pH |
3 | 3 | /*******************************************************************************
|
4 | 4 | ** Qt Advanced Docking System
|
5 | 5 | ** Copyright (C) 2017 Uwe Kindler
|
@@ -39,16 +39,17 @@ namespace ads
|
39 | 39 | {
|
40 | 40 | using tTitleBarButton = QToolButton;
|
41 | 41 |
|
42 |
| - /** |
43 |
| - * Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour |
44 |
| - * according to various config flags such as: |
45 |
| - * CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible |
46 |
| - * CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled |
47 |
| - */ |
| 42 | +/** |
| 43 | +* Title bar button of a dock area that customizes tTitleBarButton appearance/behaviour |
| 44 | +* according to various config flags such as: |
| 45 | +* CDockManager::DockAreaHas_xxx_Button - if set to 'false' keeps the button always invisible |
| 46 | +* CDockManager::DockAreaHideDisabledButtons - if set to 'true' hides button when it is disabled |
| 47 | +*/ |
48 | 48 | class CTitleBarButton : public tTitleBarButton
|
49 | 49 | {
|
50 | 50 | Q_OBJECT
|
51 | 51 |
|
| 52 | +private: |
52 | 53 | bool Visible = true;
|
53 | 54 | bool HideWhenDisabled = false;
|
54 | 55 |
|
@@ -90,4 +91,4 @@ class CSpacerWidget : public QWidget
|
90 | 91 | }
|
91 | 92 | // namespace ads
|
92 | 93 | //-----------------------------------------------------------------------------
|
93 |
| -#endif // DockAreaTitleBarPH |
| 94 | +#endif // DockAreaTitleBar_pH |
0 commit comments