Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSelectedShapesProxy.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KOSELECTEDSHAPESPROXY_H
8#define KOSELECTEDSHAPESPROXY_H
9
10#include <QObject>
11#include "kritaflake_export.h"
12
13class KoSelection;
14class KoShapeLayer;
15
22class KRITAFLAKE_EXPORT KoSelectedShapesProxy : public QObject
23{
24 Q_OBJECT
25public:
26 explicit KoSelectedShapesProxy(QObject *parent = 0);
27
33 virtual KoSelection *selection() = 0;
34
35
42 bool isRequestingToBeEdited();
43 void setRequestingToBeEdited(bool value);
44
45Q_SIGNALS:
46
47 // forwards a corresponding signal of KoShapeManager
49
50 // forwards a corresponding signal of KoShapeManager
52
53 // forwards a corresponding signal of KoSelection
55
56private:
57 bool m_isRequestingEditing = false;
58};
59
60#endif // KOSELECTEDSHAPESPROXY_H
float value(const T *src, size_t ch)
The KoSelectedShapesProxy class is a special interface of KoCanvasBase to have a stable connection to...
virtual KoSelection * selection()=0
void currentLayerChanged(const KoShapeLayer *layer)