mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Save/load trace and graph setup
This commit is contained in:
parent
b91f431473
commit
9ad8def2ea
33 changed files with 605 additions and 28 deletions
|
|
@ -4,8 +4,9 @@
|
|||
#include <QWidget>
|
||||
#include <complex>
|
||||
#include <vector>
|
||||
#include "savable.h"
|
||||
|
||||
class WindowFunction : public QObject
|
||||
class WindowFunction : public QObject, public Savable
|
||||
{
|
||||
Q_OBJECT;
|
||||
public:
|
||||
|
|
@ -31,6 +32,9 @@ public:
|
|||
Type getType() const;
|
||||
QString getDescription();
|
||||
|
||||
virtual nlohmann::json toJSON() override;
|
||||
virtual void fromJSON(nlohmann::json j) override;
|
||||
|
||||
signals:
|
||||
void changed();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue