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 CDockAreaWidget;
class CDockingStateReader; class CDockingStateReader;
// Note: This widget must be a QSplitter, inheriting from QWidget and keeping an /**
// internal splitter breaks ActiveX widgets * Auto hide container for hosting an auto hide dock widget
// likely due to layout issues between this widget and the internal splitter */
class ADS_EXPORT CAutoHideDockContainer : public QFrame class ADS_EXPORT CAutoHideDockContainer : public QFrame
{ {
Q_OBJECT Q_OBJECT

View File

@ -10,15 +10,17 @@
//============================================================================ //============================================================================
// INCLUDES // INCLUDES
//============================================================================ //============================================================================
#include "ads_globals.h"
#include <QPushButton> #include <QPushButton>
namespace ads 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 Q_OBJECT
public: public:
@ -32,7 +34,14 @@ public:
virtual QSize sizeHint() const override; virtual QSize sizeHint() const override;
/**
* Returns the current orientation
*/
Orientation orientation() const; Orientation orientation() const;
/**
* Set the orientation of this button
*/
void setOrientation(Orientation orientation); void setOrientation(Orientation orientation);
protected: protected:

View File

@ -10,6 +10,7 @@
//============================================================================ //============================================================================
// INCLUDES // INCLUDES
//============================================================================ //============================================================================
#include "ads_globals.h"
#include <QFrame> #include <QFrame>
namespace ads namespace ads
@ -19,7 +20,7 @@ struct ResizeHandlePrivate;
/** /**
* Resize handle for resizing its parent widget * Resize handle for resizing its parent widget
*/ */
class CResizeHandle : public QFrame class ADS_EXPORT CResizeHandle : public QFrame
{ {
Q_OBJECT Q_OBJECT
Q_DISABLE_COPY(CResizeHandle) Q_DISABLE_COPY(CResizeHandle)