mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 14:07:30 +00:00
Alignment options for waterfall plot
This commit is contained in:
parent
bd69646c32
commit
1a779531ea
6 changed files with 120 additions and 30 deletions
|
|
@ -32,6 +32,8 @@ public:
|
|||
|
||||
bool isTDRtype(YAxis::Type type);
|
||||
|
||||
static int sideMargin(bool YAxisEnabled);
|
||||
|
||||
public slots:
|
||||
void axisSetupDialog();
|
||||
|
||||
|
|
@ -45,6 +47,9 @@ private slots:
|
|||
void updateAxisTicks();
|
||||
private:
|
||||
static constexpr int AxisLabelSize = 10;
|
||||
static constexpr int yAxisSpace = 55;
|
||||
static constexpr int yAxisDisabledSpace = 10;
|
||||
static constexpr int xAxisSpace = 30;
|
||||
static QString AxisModeToName(XAxisMode mode);
|
||||
static XAxisMode AxisModeFromName(QString name);
|
||||
void enableTraceAxis(Trace *t, int axis, bool enabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue