diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp index 0c90e337..fecc8bd4 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/PinoutScene.cpp @@ -52,8 +52,6 @@ namespace Widgets::PinoutWidgets const auto pinCount = pinoutDescriptor.pinDescriptors.size(); - // return pinoutDescriptor.type == TargetPinoutType::QFP || pinoutDescriptor.type == TargetPinoutType::QFN; - if (pinCount > 100) { return false; } diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.cpp index b7d75ada..0068594e 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.cpp @@ -351,10 +351,10 @@ namespace Widgets::PinoutWidgets painter->setBrush(BG_COLOR); painter->drawEllipse( - this->packageBodyPosition.x() + 10, - this->packageBodyPosition.y() + 10, - 14, - 14 + this->packageBodyPosition.x() + QfpPinout::P1_INDICATOR_MARGIN, + this->packageBodyPosition.y() + QfpPinout::P1_INDICATOR_MARGIN, + QfpPinout::P1_INDICATOR_DIAMETER, + QfpPinout::P1_INDICATOR_DIAMETER ); painter->setRenderHints(QPainter::RenderHint::Antialiasing, false); diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.hpp index ad58234d..ada2746f 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/PinoutWidgets/Qfp/QfpPinout.hpp @@ -35,6 +35,8 @@ namespace Widgets::PinoutWidgets static constexpr int PIN_LINE_A_SPACING = 15; static constexpr int PIN_LINE_MARGIN = 5; static constexpr int MIN_LINE_A_LENGTH = 10; + static constexpr int P1_INDICATOR_DIAMETER = 12; + static constexpr int P1_INDICATOR_MARGIN = 8; QSize size = {};