mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03:43 +00:00
Preparations for waterfall display
This commit is contained in:
parent
754ded1d08
commit
a7fcaf7d97
12 changed files with 613 additions and 21 deletions
|
|
@ -17,6 +17,7 @@ public:
|
|||
enum class Type {
|
||||
SmithChart,
|
||||
XYPlot,
|
||||
Waterfall,
|
||||
};
|
||||
|
||||
TracePlot(TraceModel &model, QWidget *parent = nullptr);
|
||||
|
|
@ -71,11 +72,11 @@ protected:
|
|||
void createMarkerAtPosition(QPoint p);
|
||||
|
||||
// handle trace drops
|
||||
virtual bool dropSupported(Trace *t) = 0;
|
||||
virtual bool dropSupported(Trace *t);
|
||||
void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
void dropEvent(QDropEvent *event) override;
|
||||
void dragLeaveEvent(QDragLeaveEvent *event) override;
|
||||
virtual void traceDropped(Trace *t, QPoint position){ Q_UNUSED(t) Q_UNUSED(position)};
|
||||
virtual void traceDropped(Trace *t, QPoint position);
|
||||
virtual QString mouseText(QPoint pos) {Q_UNUSED(pos) return QString();};
|
||||
|
||||
protected slots:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue