mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +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 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
|
||||||
|
@ -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:
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user