Changeset View
Changeset View
Standalone View
Standalone View
commands/tools/rectangular/kpToolRectangularCommand.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | #include "widgets/toolbars/options/kpToolWidgetLineWidth.h" | 42 | #include "widgets/toolbars/options/kpToolWidgetLineWidth.h" | ||
43 | #include "views/kpView.h" | 43 | #include "views/kpView.h" | ||
44 | #include "views/manager/kpViewManager.h" | 44 | #include "views/manager/kpViewManager.h" | ||
45 | #include "kpLogCategories.h" | 45 | #include "kpLogCategories.h" | ||
46 | 46 | | |||
47 | 47 | | |||
48 | struct kpToolRectangularCommandPrivate | 48 | struct kpToolRectangularCommandPrivate | ||
49 | { | 49 | { | ||
50 | kpToolRectangularBase::DrawShapeFunc drawShapeFunc; | 50 | kpToolRectangularBase::DrawShapeFunc drawShapeFunc{}; | ||
51 | 51 | | |||
52 | QRect rect; | 52 | QRect rect; | ||
53 | 53 | | |||
54 | kpColor fcolor; | 54 | kpColor fcolor; | ||
55 | int penWidth; | 55 | int penWidth{}; | ||
56 | kpColor bcolor; | 56 | kpColor bcolor; | ||
57 | 57 | | |||
58 | kpImage oldImage; | 58 | kpImage oldImage; | ||
59 | }; | 59 | }; | ||
60 | 60 | | |||
61 | kpToolRectangularCommand::kpToolRectangularCommand (const QString &name, | 61 | kpToolRectangularCommand::kpToolRectangularCommand (const QString &name, | ||
62 | kpToolRectangularBase::DrawShapeFunc drawShapeFunc, | 62 | kpToolRectangularBase::DrawShapeFunc drawShapeFunc, | ||
63 | const QRect &rect, | 63 | const QRect &rect, | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |