Krita Source Code Documentation
Loading...
Searching...
No Matches
KoDockFactoryBase Class Referenceabstract

#include <KoDockFactoryBase.h>

+ Inheritance diagram for KoDockFactoryBase:

Public Types

enum  DockPosition {
  DockTornOff , DockTop , DockBottom , DockRight ,
  DockLeft , DockMinimized
}
 

Public Member Functions

virtual QDockWidget * createDockWidget ()=0
 
virtual DockPosition defaultDockPosition () const =0
 
virtual QString id () const =0
 
 KoDockFactoryBase ()
 
virtual ~KoDockFactoryBase ()
 

Detailed Description

Base class for factories used to create new dock widgets.

See also
KoDockRegistry
KoCanvasObserverBase

Definition at line 21 of file KoDockFactoryBase.h.

Member Enumeration Documentation

◆ DockPosition

Enumerator
DockTornOff 

Floating as its own top level window.

DockTop 

Above the central widget.

DockBottom 

Below the central widget.

DockRight 

Right of the centra widget.

DockLeft 

Left of the centra widget.

DockMinimized 

Not docked, but reachable via the menu.

Definition at line 24 of file KoDockFactoryBase.h.

24 {
26 DockTop,
28 DockRight,
29 DockLeft,
31 };
@ DockRight
Right of the centra widget.
@ DockTop
Above the central widget.
@ DockBottom
Below the central widget.
@ DockMinimized
Not docked, but reachable via the menu.
@ DockLeft
Left of the centra widget.
@ DockTornOff
Floating as its own top level window.

Constructor & Destructor Documentation

◆ KoDockFactoryBase()

KoDockFactoryBase::KoDockFactoryBase ( )

Definition at line 9 of file KoDockFactoryBase.cpp.

10{
11}

◆ ~KoDockFactoryBase()

KoDockFactoryBase::~KoDockFactoryBase ( )
virtual

Definition at line 13 of file KoDockFactoryBase.cpp.

14{
15}

Member Function Documentation

◆ createDockWidget()

◆ defaultDockPosition()

◆ id()


The documentation for this class was generated from the following files: