mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
27 lines
624 B
Plaintext
27 lines
624 B
Plaintext
|
%If (Qt_5_0_0 -)
|
||
|
|
||
|
namespace ads
|
||
|
{
|
||
|
|
||
|
class CDockComponentsFactory
|
||
|
{
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include <DockComponentsFactory.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
virtual ~CDockComponentsFactory();
|
||
|
virtual CDockWidgetTab* createDockWidgetTab(CDockWidget* DockWidget /Transfer/ ) const;
|
||
|
virtual CDockAreaTabBar* createDockAreaTabBar(CDockAreaWidget* DockArea /Transfer/ ) const;
|
||
|
virtual CDockAreaTitleBar* createDockAreaTitleBar(CDockAreaWidget* DockArea /Transfer/ ) const;
|
||
|
static const CDockComponentsFactory* factory();
|
||
|
static void setFactory(CDockComponentsFactory* Factory);
|
||
|
static void resetDefaultFactory();
|
||
|
|
||
|
};
|
||
|
|
||
|
};
|
||
|
|
||
|
%End
|