![]() |
KDDockWidgets API Documentation
1.1.1
|
The FrameworkWidgetFactory that's used if none is specified. More...
#include <FrameworkWidgetFactory.h>
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... | |
QWidgetOrQuick * | createRubberBand (QWidgetOrQuick *parent) const override |
Called internally by the framework to create a RubberBand to show as drop zone Returns a rubber band. | |
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... | |
SideBar * | createSideBar (SideBarLocation loc, MainWindowBase *parent) const override |
Called internally by the framework to create a SideBar. 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... | |
QAbstractButton * | createTitleBarButton (QWidget *parent, TitleBarButtonType) const override |
Called internally by the framework to create a title bar button parent the button's parent. | |
QIcon | iconForButtonType (TitleBarButtonType type, qreal dpr) const override |
Returns the icon to be used with the specified type . More... | |
![]() | |
virtual | ~FrameworkWidgetFactory () |
Destructor.Don't delete FrameworkWidgetFactory directly, it's owned by the framework. | |
Static Public Attributes | |
static DropIndicatorType | s_dropIndicatorType = DropIndicatorType::Classic |
The FrameworkWidgetFactory that's used if none is specified.
|
overridevirtual |
Called internally by the framework to create a DropIndicatorOverlayInterface Override to provide your own DropIndicatorOverlayInterface sub-class.
dropArea | Just forward to DropIndicatorOverlayInterface's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
parent | Just forward to FloatingWindow's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
frame | Just forward to FloatingWindow's constructor. |
parent | Just forward to FloatingWindow's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
parent | just forward to Frame's constructor |
options | just forward to Frame's constructor |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
parent | Just forward to Separator's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
overridevirtual |
Called internally by the framework to create a SideBar.
loc | The side-bar location without the main window. Just forward into your SideBar sub-class ctor. |
parent | The MainWindow. Just forward into your SideBar sub-class ctor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
overridevirtual |
Called internally by the framework to create a TabBar Override to provide your own TabBar sub-class.
parent | Just forward to TabBar's's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
overridevirtual |
Called internally by the framework to create a TabWidget Override to provide your own TabWidget sub-class.
parent | Just forward to TabWidget's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
frame | Just forward to TitleBar's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
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.
floatingWindow | Just forward to TitleBar's constructor. |
Implements KDDockWidgets::FrameworkWidgetFactory.
|
overridevirtual |
Returns the icon to be used with the specified type
.
dpr | the device pixel ratio of the button |
Implements KDDockWidgets::FrameworkWidgetFactory.