mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Automatically adjust domain of graph to dropped trace
This commit is contained in:
parent
20b0b336bb
commit
f6cc46781e
7 changed files with 43 additions and 4 deletions
|
|
@ -55,7 +55,7 @@ public slots:
|
|||
|
||||
protected:
|
||||
virtual void updateContextMenu() override;
|
||||
virtual bool supported(Trace *t) override;
|
||||
virtual bool dropSupported(Trace *t) override;
|
||||
virtual void draw(QPainter &p) override;
|
||||
|
||||
private slots:
|
||||
|
|
@ -69,6 +69,7 @@ private:
|
|||
YAxisType YAxisTypeFromName(QString name);
|
||||
XAxisMode AxisModeFromName(QString name);
|
||||
void enableTraceAxis(Trace *t, int axis, bool enabled);
|
||||
bool supported(Trace *t) override;
|
||||
bool supported(Trace *t, YAxisType type);
|
||||
void removeUnsupportedTraces();
|
||||
QPointF traceToCoordinate(Trace *t, unsigned int sample, YAxisType type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue