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
+9
-9
@@ -50,23 +50,23 @@ bool CustomViewMineArea::init(const QModelIndex &idx)
|
||||
|
||||
bool CustomViewMineArea::calculateIcon(const MineArea &area, const QColor &color)
|
||||
{
|
||||
if (area.segments().size() == 0)
|
||||
if (area.segments.size() == 0)
|
||||
return false;
|
||||
|
||||
QVector<Database::AesMineAreaSegment> segments;
|
||||
segments.reserve(area.segments().size());
|
||||
for (AreaEffectSimulation::MineSegment segmentIn : area.segments())
|
||||
segments.reserve(area.segments.size());
|
||||
for (AreaEffectSimulation::MineSegment segmentIn : area.segments)
|
||||
{
|
||||
Database::AesMineAreaSegment segmentOut;
|
||||
segmentOut.startPosition = QPointF(segmentIn.positionStart().lon(),
|
||||
segmentIn.positionStart().lat());
|
||||
segmentOut.endPosition = QPointF(segmentIn.positionEnd().lon(),
|
||||
segmentIn.positionEnd().lat());
|
||||
segmentOut.startPosition = QPointF(segmentIn.positionStart.lon,
|
||||
segmentIn.positionStart.lat);
|
||||
segmentOut.endPosition = QPointF(segmentIn.positionEnd.lon,
|
||||
segmentIn.positionEnd.lat);
|
||||
segments.append(segmentOut);
|
||||
}
|
||||
|
||||
QPolygonF poly = AreaEffectSimulation::Polygons::mineArea(segments, area.width(), area.density(), area.isCenterLine());
|
||||
Qt::BrushStyle bStyle = PixmapLabel::checkForBrushStyle(area.effectStateId());
|
||||
QPolygonF poly = AreaEffectSimulation::Polygons::mineArea(segments, area.width, area.density, area.isCenterLine);
|
||||
Qt::BrushStyle bStyle = PixmapLabel::checkForBrushStyle(area.effectStateId);
|
||||
const auto pix = Polygons::pixmapFromPolygon(PixmapLabel::geographic2Utm(poly), color, ICON_RESOLUTION, bStyle);
|
||||
m_ui->lblIcon->setPixmap(pix);
|
||||
|
||||
|
||||
Reference in new issue
Block a user