Changeset View
Changeset View
Standalone View
Standalone View
widgets/toolbars/options/kpToolWidgetLineWidth.cpp
Show All 27 Lines | |||||
28 | 28 | | |||
29 | #include "widgets/toolbars/options/kpToolWidgetLineWidth.h" | 29 | #include "widgets/toolbars/options/kpToolWidgetLineWidth.h" | ||
30 | 30 | | |||
31 | #include "imagelib/kpColor.h" | 31 | #include "imagelib/kpColor.h" | ||
32 | #include "pixmapfx/kpPixmapFX.h" | 32 | #include "pixmapfx/kpPixmapFX.h" | ||
33 | 33 | | |||
34 | #include <KLocalizedString> | 34 | #include <KLocalizedString> | ||
35 | 35 | | |||
36 | #include <qbitmap.h> | 36 | #include <QBitmap> | ||
37 | #include <qpainter.h> | 37 | #include <QPainter> | ||
38 | #include <qpixmap.h> | 38 | #include <QPixmap> | ||
39 | 39 | | |||
40 | 40 | | |||
41 | static int lineWidths [] = {1, 2, 3, 5, 8}; | 41 | static int lineWidths [] = {1, 2, 3, 5, 8}; | ||
42 | 42 | | |||
43 | kpToolWidgetLineWidth::kpToolWidgetLineWidth (QWidget *parent, const QString &name) | 43 | kpToolWidgetLineWidth::kpToolWidgetLineWidth (QWidget *parent, const QString &name) | ||
44 | : kpToolWidgetBase (parent, name) | 44 | : kpToolWidgetBase (parent, name) | ||
45 | { | 45 | { | ||
46 | int numLineWidths = sizeof (lineWidths) / sizeof (lineWidths [0]); | 46 | int numLineWidths = sizeof (lineWidths) / sizeof (lineWidths [0]); | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |