Added missing exports for ResizeHandle and PushButton

This commit is contained in:
Uwe Kindler 2022-10-25 16:05:08 +02:00
parent 44bfc56471
commit c3aefff3b4
3 changed files with 16 additions and 6 deletions

View File

@ -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

View File

@ -10,15 +10,17 @@
//============================================================================
// INCLUDES
//============================================================================
#include "ads_globals.h"
#include <QPushButton>
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:

View File

@ -10,6 +10,7 @@
//============================================================================
// INCLUDES
//============================================================================
#include "ads_globals.h"
#include <QFrame>
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)