Krita Source Code Documentation
Loading...
Searching...
No Matches
KisResourceItemChooserSync.cpp
Go to the documentation of this file.
1/* This file is part of the KDE project
2
3 SPDX-FileCopyrightText: 2014 Sven Langkamp <sven.langkamp@gmail.com>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
9
10#include <QGlobalStatic>
11
13
15{
17};
18
19
21 : d(new Private)
22{
23 d->baseLength = 50;
24}
25
29
34
36{
37 return d->baseLength;
38}
39
41{
42 d->baseLength = qBound(25, length, 100);
43 Q_EMIT baseLengthChanged(d->baseLength);
44}
45
46
47
48
49
50
51
qreal length(const QPointF &vec)
Definition Ellipse.cc:82
Q_GLOBAL_STATIC(KisStoragePluginRegistry, s_instance)
void baseLengthChanged(int length)
const QScopedPointer< Private > d
static KisResourceItemChooserSync * instance()