Changeset View
Changeset View
Standalone View
Standalone View
tools/rectangular/kpToolRectangularBase.cpp
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 69 | kpToolRectangularBase::kpToolRectangularBase ( | |||
---|---|---|---|---|---|
74 | kpToolEnvironment *environ, QObject *parent, | 74 | kpToolEnvironment *environ, QObject *parent, | ||
75 | const QString &name) | 75 | const QString &name) | ||
76 | 76 | | |||
77 | : kpTool (text, description, key, environ, parent, name), | 77 | : kpTool (text, description, key, environ, parent, name), | ||
78 | d (new kpToolRectangularBasePrivate ()) | 78 | d (new kpToolRectangularBasePrivate ()) | ||
79 | { | 79 | { | ||
80 | d->drawShapeFunc = drawShapeFunc; | 80 | d->drawShapeFunc = drawShapeFunc; | ||
81 | 81 | | |||
82 | d->toolWidgetLineWidth = nullptr, d->toolWidgetFillStyle = nullptr; | 82 | d->toolWidgetLineWidth = nullptr; | ||
83 | d->toolWidgetFillStyle = nullptr; | ||||
83 | } | 84 | } | ||
84 | 85 | | |||
85 | //--------------------------------------------------------------------- | 86 | //--------------------------------------------------------------------- | ||
86 | 87 | | |||
87 | kpToolRectangularBase::~kpToolRectangularBase () | 88 | kpToolRectangularBase::~kpToolRectangularBase () | ||
88 | { | 89 | { | ||
89 | delete d; | 90 | delete d; | ||
90 | } | 91 | } | ||
▲ Show 20 Lines • Show All 299 Lines • Show Last 20 Lines |