Removed the rectangles around the labels in Layout mode
--HG-- branch : feature
This commit is contained in:
parent
04780b4323
commit
1cf04118da
|
@ -583,36 +583,6 @@ QPainterPath VLayoutDetail::ContourPath() const
|
|||
path.setFillRule(Qt::WindingFill);
|
||||
}
|
||||
|
||||
if (d->detailLabel.count() > 0)
|
||||
{
|
||||
points = Map(Mirror(d->detailLabel));
|
||||
points.push_back(points.at(0));
|
||||
|
||||
QPainterPath pathDet;
|
||||
pathDet.moveTo(points.at(0));
|
||||
for (qint32 i = 1; i < points.count(); ++i)
|
||||
{
|
||||
pathDet.lineTo(points.at(i));
|
||||
}
|
||||
|
||||
path.addPath(pathDet);
|
||||
}
|
||||
|
||||
if (d->patternInfo.count() > 0)
|
||||
{
|
||||
points = Map(Mirror(d->patternInfo));
|
||||
points.push_back(points.at(0));
|
||||
|
||||
QPainterPath pathDet;
|
||||
pathDet.moveTo(points.at(0));
|
||||
for (qint32 i = 1; i < points.count(); ++i)
|
||||
{
|
||||
pathDet.lineTo(points.at(i));
|
||||
}
|
||||
|
||||
path.addPath(pathDet);
|
||||
}
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user