mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 06:53:37 +00:00
gui/plotxy: implement background ticks
Improve trace readability when is displayed on xy plot. The user is able to enable this option throughout preferences dialog.
This commit is contained in:
parent
ea8693566f
commit
6ef0d9e87a
6 changed files with 94 additions and 31 deletions
|
|
@ -153,7 +153,7 @@ void TraceSmithChart::draw(QPainter &p) {
|
|||
p.drawArc(rectangle, 0, 5760);
|
||||
|
||||
constexpr int Circles = 6;
|
||||
pen = QPen(pref.Graphs.Color.divisions, 0.5, Qt::DashLine);
|
||||
pen = QPen(pref.Graphs.Color.Ticks.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