mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
gui: replot active mode when settings plot are updated
This commit is contained in:
parent
b7a7626e3d
commit
d6cecf2603
8 changed files with 50 additions and 2 deletions
|
|
@ -391,3 +391,8 @@ void TracePlot::markerRemoved(Marker *m)
|
|||
disconnect(m, &Marker::symbolChanged, this, &TracePlot::triggerReplot);
|
||||
triggerReplot();
|
||||
}
|
||||
|
||||
void TracePlot::updateGraphColors()
|
||||
{
|
||||
replot();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@ public:
|
|||
|
||||
static std::set<TracePlot *> getPlots();
|
||||
|
||||
public slots:
|
||||
void updateGraphColors();
|
||||
|
||||
signals:
|
||||
void doubleClicked(QWidget *w);
|
||||
void deleted(TracePlot*);
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ public:
|
|||
virtual void fromJSON(nlohmann::json j) override;
|
||||
public slots:
|
||||
void axisSetupDialog();
|
||||
|
||||
protected:
|
||||
static constexpr double ReferenceImpedance = 50.0;
|
||||
static constexpr double screenUsage = 0.9;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue