mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-24 23:31:32 +08:00
Added missing exports for ResizeHandle and PushButton
This commit is contained in:
parent
44bfc56471
commit
c3aefff3b4
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user