1

Topic: Conductor's label blocked

Bonjour,

sources/qetgraphicsitem/conductor.cpp

À la ligne 884
/**
 * @brief Conductor::nearShape
 * @return : An area in which it is considered a point is near this conductor.
 */
QPainterPath Conductor::nearShape() const
{
    QPainterPathStroker pps;
    pps.setWidth(120);   nomicons/devil 
    pps.setJoinStyle(conductor_pen.joinStyle());
    return pps.createStroke(path());
}

----

En augmentant la valeur de QPainterPathStroker setWidth , l’étiquette du conductor peut être déplacée davantage.
Dans le fichier sources/qetgraphicsitem/conductor.cpp
À la ligne 891 ; pps.setWidth(120);
à  ; pps.setWidth(1300);    nomicons/smile

----

By increasing the value of QPainterPathStroker setWidth, the conductor label can be moved further.

In the file sources/qetgraphicsitem/conductor.cpp

At line 891; pps.setWidth(120);
to pps.setWidth(1300); nomicons/smile



Erik

2

Re: Conductor's label blocked

Added, thanks.

Revision: 5617
Author: scorpio810
Date: 2018-11-29 10:42:23 +0100 (Thu, 29 Nov 2018)
Log Message:
-----------
Big increase the value of QPainterPathStroker for very very long text, thanks
re-searcher

FYI, new packages is on the road.