KDDockWidgets API Documentation  1.0.1
Public Member Functions | List of all members
KDDockWidgets::DefaultWidgetFactory Class Reference

The FrameworkWidgetFactory that's used if none is specified. More...

#include <FrameworkWidgetFactory.h>

Inheritance diagram for KDDockWidgets::DefaultWidgetFactory:
Inheritance graph
[legend]
Collaboration diagram for KDDockWidgets::DefaultWidgetFactory:
Collaboration graph
[legend]

Public Member Functions

DropIndicatorOverlayInterface * createDropIndicatorOverlay (DropArea *) const override
 Called internally by the framework to create a DropIndicatorOverlayInterface Override to provide your own DropIndicatorOverlayInterface sub-class. More...
 
FloatingWindow * createFloatingWindow (MainWindowBase *parent=nullptr) const override
 Called internally by the framework to create a FloatingWindow Override to provide your own FloatingWindow sub-class. If overridden then you also need to override the overloads below. More...
 
FloatingWindow * createFloatingWindow (Frame *frame, MainWindowBase *parent=nullptr) const override
 Called internally by the framework to create a FloatingWindow Override to provide your own FloatingWindow sub-class. If overridden then you also need to override the overloads above. More...
 
Frame * createFrame (QWidgetOrQuick *parent, FrameOptions) const override
 Called internally by the framework to create a Frame class Override to provide your own Frame sub-class. A frame is the widget that holds the titlebar and tab-widget which holds the DockWidgets. More...
 
Layouting::Separator * createSeparator (Layouting::Widget *parent=nullptr) const override
 Called internally by the framework to create a Separator Override to provide your own Separator sub-class. The Separator allows the user to resize nested dock widgets. More...
 
TabBar * createTabBar (TabWidget *parent) const override
 Called internally by the framework to create a TabBar Override to provide your own TabBar sub-class. More...
 
TabWidget * createTabWidget (Frame *parent) const override
 Called internally by the framework to create a TabWidget Override to provide your own TabWidget sub-class. More...
 
TitleBar * createTitleBar (Frame *) const override
 Called internally by the framework to create a TitleBar Override to provide your own TitleBar sub-class. If overridden then you also need to override the overload below. More...
 
TitleBar * createTitleBar (FloatingWindow *) const override
 Called internally by the framework to create a TitleBar Override to provide your own TitleBar sub-class. If overridden then you also need to override the overload above. More...
 
- Public Member Functions inherited from KDDockWidgets::FrameworkWidgetFactory
virtual ~FrameworkWidgetFactory ()
 Destructor.Don't delete FrameworkWidgetFactory directly, it's owned by the framework.
 

Detailed Description

The FrameworkWidgetFactory that's used if none is specified.

Member Function Documentation

DropIndicatorOverlayInterface * DefaultWidgetFactory::createDropIndicatorOverlay ( DropArea *  dropArea) const
overridevirtual

Called internally by the framework to create a DropIndicatorOverlayInterface Override to provide your own DropIndicatorOverlayInterface sub-class.

Parameters
dropAreaJust forward to DropIndicatorOverlayInterface's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

FloatingWindow * DefaultWidgetFactory::createFloatingWindow ( MainWindowBase parent = nullptr) const
overridevirtual

Called internally by the framework to create a FloatingWindow Override to provide your own FloatingWindow sub-class. If overridden then you also need to override the overloads below.

Parameters
parentJust forward to FloatingWindow's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

FloatingWindow * DefaultWidgetFactory::createFloatingWindow ( Frame *  frame,
MainWindowBase parent = nullptr 
) const
overridevirtual

Called internally by the framework to create a FloatingWindow Override to provide your own FloatingWindow sub-class. If overridden then you also need to override the overloads above.

Parameters
frameJust forward to FloatingWindow's constructor.
parentJust forward to FloatingWindow's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

Frame * DefaultWidgetFactory::createFrame ( QWidgetOrQuick parent,
FrameOptions  options 
) const
overridevirtual

Called internally by the framework to create a Frame class Override to provide your own Frame sub-class. A frame is the widget that holds the titlebar and tab-widget which holds the DockWidgets.

Parameters
parentjust forward to Frame's constructor
optionsjust forward to Frame's constructor

Implements KDDockWidgets::FrameworkWidgetFactory.

Layouting::Separator * DefaultWidgetFactory::createSeparator ( Layouting::Widget *  parent = nullptr) const
overridevirtual

Called internally by the framework to create a Separator Override to provide your own Separator sub-class. The Separator allows the user to resize nested dock widgets.

Parameters
parentJust forward to Separator's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

TabBar * DefaultWidgetFactory::createTabBar ( TabWidget *  parent) const
overridevirtual

Called internally by the framework to create a TabBar Override to provide your own TabBar sub-class.

Parameters
parentJust forward to TabBar's's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

TabWidget * DefaultWidgetFactory::createTabWidget ( Frame *  parent) const
overridevirtual

Called internally by the framework to create a TabWidget Override to provide your own TabWidget sub-class.

Parameters
parentJust forward to TabWidget's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

TitleBar * DefaultWidgetFactory::createTitleBar ( Frame *  frame) const
overridevirtual

Called internally by the framework to create a TitleBar Override to provide your own TitleBar sub-class. If overridden then you also need to override the overload below.

Parameters
frameJust forward to TitleBar's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.

TitleBar * DefaultWidgetFactory::createTitleBar ( FloatingWindow *  floatingWindow) const
overridevirtual

Called internally by the framework to create a TitleBar Override to provide your own TitleBar sub-class. If overridden then you also need to override the overload above.

Parameters
floatingWindowJust forward to TitleBar's constructor.

Implements KDDockWidgets::FrameworkWidgetFactory.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/