diff --git a/src/AutoHideDockContainer.h b/src/AutoHideDockContainer.h index 6ecf7db..7bd3e92 100644 --- a/src/AutoHideDockContainer.h +++ b/src/AutoHideDockContainer.h @@ -47,9 +47,9 @@ class CSideTabBar; class CDockAreaWidget; class CDockingStateReader; -// Note: This widget must be a QSplitter, inheriting from QWidget and keeping an -// internal splitter breaks ActiveX widgets -// likely due to layout issues between this widget and the internal splitter +/** + * Auto hide container for hosting an auto hide dock widget + */ class ADS_EXPORT CAutoHideDockContainer : public QFrame { Q_OBJECT diff --git a/src/PushButton.h b/src/PushButton.h index 2d36961..e375d20 100644 --- a/src/PushButton.h +++ b/src/PushButton.h @@ -10,15 +10,17 @@ //============================================================================ // INCLUDES //============================================================================ +#include "ads_globals.h" + #include namespace ads { /** - * ADS specific push button class + * ADS specific push button class with orientation support */ -class CPushButton : public QPushButton +class ADS_EXPORT CPushButton : public QPushButton { Q_OBJECT public: @@ -32,7 +34,14 @@ public: virtual QSize sizeHint() const override; + /** + * Returns the current orientation + */ Orientation orientation() const; + + /** + * Set the orientation of this button + */ void setOrientation(Orientation orientation); protected: diff --git a/src/ResizeHandle.h b/src/ResizeHandle.h index a7a1360..7031306 100644 --- a/src/ResizeHandle.h +++ b/src/ResizeHandle.h @@ -10,6 +10,7 @@ //============================================================================ // INCLUDES //============================================================================ +#include "ads_globals.h" #include namespace ads @@ -19,7 +20,7 @@ struct ResizeHandlePrivate; /** * Resize handle for resizing its parent widget */ -class CResizeHandle : public QFrame +class ADS_EXPORT CResizeHandle : public QFrame { Q_OBJECT Q_DISABLE_COPY(CResizeHandle)