Krita Source Code Documentation
Loading...
Searching...
No Matches
KoDockFactoryBase.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 SPDX-FileCopyrightText: 2006 Peter Simonsson <peter.simonsson@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KODOCKFACTORY_H
8#define KODOCKFACTORY_H
9
10#include "kritaflake_export.h"
11
12#include <QString>
13
14class QDockWidget;
15
21class KRITAFLAKE_EXPORT KoDockFactoryBase
22{
23public:
32
34 virtual ~KoDockFactoryBase();
35
37 virtual QString id() const = 0;
38
40 virtual DockPosition defaultDockPosition() const = 0;
41
44 virtual QDockWidget* createDockWidget() = 0;
45};
46
47#endif
virtual QDockWidget * createDockWidget()=0
@ DockRight
Right of the centra widget.
@ DockTop
Above the central widget.
@ DockBottom
Below the central widget.
@ DockLeft
Left of the centra widget.
@ DockTornOff
Floating as its own top level window.
virtual DockPosition defaultDockPosition() const =0
virtual QString id() const =0