File tree Expand file tree Collapse file tree
qrgui/mainWindow/shapeEdit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -525,7 +525,7 @@ void Scene::changePenStyle(const QString &text)
525525 update ();
526526}
527527
528- void Scene::changePenWidth (qreal width)
528+ void Scene::changePenWidth (int width)
529529{
530530 mPenWidthItems = width;
531531 for (auto &&item : selectedSceneItems ())
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class Scene : public graphicsUtils::AbstractScene
7676
7777private Q_SLOTS:
7878 void changePenStyle (const QString &text);
79- void changePenWidth (qreal width);
79+ void changePenWidth (int width);
8080 void changePenColor (const QString &text);
8181 void changeBrushStyle (const QString &text);
8282 void changeBrushColor (const QString &text);
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ void AbstractScene::setPenStyleItems(const QString &text)
311311 mPenStyleItems = text;
312312}
313313
314- void AbstractScene::setPenWidthItems (int width)
314+ void AbstractScene::setPenWidthItems (qreal width)
315315{
316316 mPenWidthItems = width;
317317}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class QRUTILS_EXPORT AbstractScene : public QGraphicsScene
4949 void setEmptyPenBrushItems ();
5050
5151 void setPenStyleItems (const QString &text);
52- void setPenWidthItems (int width);
52+ void setPenWidthItems (qreal width);
5353 void setPenColorItems (const QString &text);
5454 void setBrushStyleItems (const QString &text);
5555 void setBrushColorItems (const QString &text);
You can’t perform that action at this time.
0 commit comments