mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +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
|
|
@ -5,12 +5,13 @@
|
|||
#include "Traces/traceplot.h"
|
||||
#include <QSplitter>
|
||||
#include "Traces/tracemodel.h"
|
||||
#include "savable.h"
|
||||
|
||||
namespace Ui {
|
||||
class TileWidget;
|
||||
}
|
||||
|
||||
class TileWidget : public QWidget
|
||||
class TileWidget : public QWidget, public Savable
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
|
@ -20,6 +21,12 @@ public:
|
|||
|
||||
TileWidget *Child1() { return child1; };
|
||||
TileWidget *Child2() { return child2; };
|
||||
|
||||
// closes all plots/childs, leaving only the tilewidget at the top
|
||||
void clear();
|
||||
|
||||
virtual nlohmann::json toJSON() override;
|
||||
virtual void fromJSON(nlohmann::json j) override;
|
||||
public slots:
|
||||
void splitVertically();
|
||||
void splitHorizontally();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue