Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1718 files changed
+126739
-18495
No files matched your search
+5
-5
@@ -44,21 +44,21 @@ bool CustomViewGasPipe::init(const QModelIndex &idx)
|
||||
|
||||
bool CustomViewGasPipe::calculateIcon(const AreaEffectSimulation::GasPipe &line, const QColor &color)
|
||||
{
|
||||
if (line.segments().size() == 0)
|
||||
if (line.segments.size() == 0)
|
||||
return false;
|
||||
|
||||
QVector<Database::AesGasPipeSegment> segments;
|
||||
segments.reserve(line.segments().size());
|
||||
segments.reserve(line.segments.size());
|
||||
int counter = 0;
|
||||
for (const Core::GeoPosition2D &s : line.segments())
|
||||
for (const Core::GeoPosition2D &s : line.segments)
|
||||
{
|
||||
Database::AesGasPipeSegment segment;
|
||||
segment.position = QPointF(s.lon(), s.lat());
|
||||
segment.position = QPointF(s.lon, s.lat);
|
||||
segments.append(segment);
|
||||
counter++;
|
||||
}
|
||||
|
||||
QPolygonF poly = AreaEffectSimulation::Polygons::gasPipe(segments, line.width());
|
||||
QPolygonF poly = AreaEffectSimulation::Polygons::gasPipe(segments, line.width);
|
||||
Qt::BrushStyle bStyle = Qt::BrushStyle::NoBrush;
|
||||
const auto pix = Polygons::pixmapFromPolygon(poly, color, ICON_RESOLUTION, bStyle, true);
|
||||
m_ui->lblIcon->setPixmap(pix);
|
||||
|
||||
Reference in new issue
Block a user