indicators: Also install the headers

So that the example app can show how to switch style type
This commit is contained in:
Sergio Martins
2020-08-23 16:43:54 +01:00
parent 034dc25483
commit 283d814dc6
6 changed files with 10 additions and 5 deletions

View File

@@ -203,6 +203,9 @@ install(FILES private/multisplitter/Separator_qwidget.h DESTINATION include/kddo
install(FILES private/multisplitter/multisplitter_export.h DESTINATION include/kddockwidgets/private/multisplitter)
install(FILES ${DOCKS_INSTALLABLE_PRIVATE_WIDGET_INCLUDES} DESTINATION include/kddockwidgets/private/widgets)
install(FILES private/indicators/ClassicIndicators_p.h DESTINATION include/kddockwidgets/private/indicators)
install(FILES private/indicators/SegmentedIndicators_p.h DESTINATION include/kddockwidgets/private/indicators)
include(CMakePackageConfigHelpers)
write_basic_package_version_file(
KDDockWidgetsConfigVersion.cmake

View File

@@ -0,0 +1 @@
#include "../../../../private/indicators/ClassicIndicators_p.h"

View File

@@ -0,0 +1 @@
#include "../../../../private/indicators/SegmentedIndicators_p.h"

View File

@@ -22,7 +22,7 @@ namespace KDDockWidgets {
class FloatingWindow;
class DropArea;
class DOCKS_EXPORT_FOR_UNIT_TESTS DropIndicatorOverlayInterface : public QWidgetAdapter
class DOCKS_EXPORT DropIndicatorOverlayInterface : public QWidgetAdapter
{
Q_OBJECT
Q_PROPERTY(QRect hoveredFrameRect READ hoveredFrameRect NOTIFY hoveredFrameRectChanged)

View File

@@ -12,14 +12,14 @@
#ifndef KD_INDICATORS_CLASSICINDICATORS_P_H
#define KD_INDICATORS_CLASSICINDICATORS_P_H
#include "DropIndicatorOverlayInterface_p.h"
#include "../DropIndicatorOverlayInterface_p.h"
namespace KDDockWidgets {
class IndicatorWindow;
class Indicator;
class ClassicIndicators : public DropIndicatorOverlayInterface
class DOCKS_EXPORT ClassicIndicators : public DropIndicatorOverlayInterface
{
Q_OBJECT

View File

@@ -12,14 +12,14 @@
#ifndef KD_SEGMENTED_INDICATORS_P_H
#define KD_SEGMENTED_INDICATORS_P_H
#include "DropIndicatorOverlayInterface_p.h"
#include "../DropIndicatorOverlayInterface_p.h"
#include <QHash>
#include <QPolygon>
namespace KDDockWidgets {
class SegmentedIndicators : public DropIndicatorOverlayInterface
class DOCKS_EXPORT SegmentedIndicators : public DropIndicatorOverlayInterface
{
Q_OBJECT
public: