2020-02-22 05:47:09 +08:00
|
|
|
%If (Qt_5_0_0 -)
|
|
|
|
|
|
|
|
namespace ads
|
|
|
|
{
|
|
|
|
|
|
|
|
class CDockComponentsFactory
|
|
|
|
{
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <DockComponentsFactory.h>
|
|
|
|
%End
|
|
|
|
|
|
|
|
public:
|
|
|
|
virtual ~CDockComponentsFactory();
|
|
|
|
virtual CDockWidgetTab* createDockWidgetTab(CDockWidget* DockWidget /Transfer/ ) const;
|
2023-03-21 13:04:19 +08:00
|
|
|
virtual CAutoHideTab* createDockWidgetSideTab(CDockWidget* DockWidget /Transfer/) const;
|
2020-02-22 05:47:09 +08:00
|
|
|
virtual CDockAreaTabBar* createDockAreaTabBar(CDockAreaWidget* DockArea /Transfer/ ) const;
|
|
|
|
virtual CDockAreaTitleBar* createDockAreaTitleBar(CDockAreaWidget* DockArea /Transfer/ ) const;
|
|
|
|
static const CDockComponentsFactory* factory();
|
2020-05-13 22:05:00 +08:00
|
|
|
static void setFactory(CDockComponentsFactory* Factory /KeepReference/);
|
2020-02-22 05:47:09 +08:00
|
|
|
static void resetDefaultFactory();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
%End
|