mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Add setting for graph behavior when trace no longer supported
This commit is contained in:
parent
b45645f04e
commit
dda149f3d5
11 changed files with 363 additions and 227 deletions
|
|
@ -145,14 +145,14 @@ void TraceSmithChart::draw(QPainter &p) {
|
|||
transform = p.transform();
|
||||
|
||||
// Outer circle
|
||||
auto pen = QPen(pref.General.graphColors.axis);
|
||||
auto pen = QPen(pref.Graphs.Color.axis);
|
||||
pen.setCosmetic(true);
|
||||
p.setPen(pen);
|
||||
QRectF rectangle(-smithCoordMax, -smithCoordMax, 2*smithCoordMax, 2*smithCoordMax);
|
||||
p.drawArc(rectangle, 0, 5760);
|
||||
|
||||
constexpr int Circles = 6;
|
||||
pen = QPen(pref.General.graphColors.divisions, 0.5, Qt::DashLine);
|
||||
pen = QPen(pref.Graphs.Color.divisions, 0.5, Qt::DashLine);
|
||||
pen.setCosmetic(true);
|
||||
p.setPen(pen);
|
||||
for(int i=1;i<Circles;i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue