Krita Source Code Documentation
Loading...
Searching...
No Matches
SmallColorSelectorDockFactory Class Reference
+ Inheritance diagram for SmallColorSelectorDockFactory:

Public Member Functions

QDockWidget * createDockWidget () override
 
DockPosition defaultDockPosition () const override
 
virtual Qt::DockWidgetArea defaultDockWidgetArea () const
 
QString id () const override
 
 SmallColorSelectorDockFactory ()
 
- Public Member Functions inherited from KoDockFactoryBase
 KoDockFactoryBase ()
 
virtual ~KoDockFactoryBase ()
 

Additional Inherited Members

- Public Types inherited from KoDockFactoryBase
enum  DockPosition {
  DockTornOff , DockTop , DockBottom , DockRight ,
  DockLeft , DockMinimized
}
 

Detailed Description

Definition at line 21 of file smallcolorselector.cc.

Constructor & Destructor Documentation

◆ SmallColorSelectorDockFactory()

SmallColorSelectorDockFactory::SmallColorSelectorDockFactory ( )
inline

Definition at line 24 of file smallcolorselector.cc.

24 {
25 }

Member Function Documentation

◆ createDockWidget()

QDockWidget * SmallColorSelectorDockFactory::createDockWidget ( )
inlineoverridevirtual

Creates the dock widget

Returns
the created dock widget

Implements KoDockFactoryBase.

Definition at line 35 of file smallcolorselector.cc.

35 {
37 dockWidget->setObjectName(id());
38
39 return dockWidget;
40 }

◆ defaultDockPosition()

DockPosition SmallColorSelectorDockFactory::defaultDockPosition ( ) const
inlineoverridevirtual
Returns
the dock widget area the widget should appear in by default

Implements KoDockFactoryBase.

Definition at line 42 of file smallcolorselector.cc.

42 {
43 return DockRight;
44 }
@ DockRight
Right of the centra widget.

◆ defaultDockWidgetArea()

virtual Qt::DockWidgetArea SmallColorSelectorDockFactory::defaultDockWidgetArea ( ) const
inlinevirtual

Definition at line 31 of file smallcolorselector.cc.

31 {
32 return Qt::RightDockWidgetArea;
33 }

◆ id()

QString SmallColorSelectorDockFactory::id ( ) const
inlineoverridevirtual
Returns
the id of the dock widget

Implements KoDockFactoryBase.

Definition at line 27 of file smallcolorselector.cc.

27 {
28 return QString("SmallColorSelector");
29 }

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