mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
Contant lines/limits on XY-Plot
This commit is contained in:
parent
cacea26e3f
commit
27490e1a33
14 changed files with 201 additions and 33 deletions
|
|
@ -16,6 +16,14 @@ enum GraphDomainChangeBehavior {
|
|||
|
||||
Q_DECLARE_METATYPE(GraphDomainChangeBehavior);
|
||||
|
||||
enum GraphLimitIndication {
|
||||
DontShowAnything = 0,
|
||||
PassFailText = 1,
|
||||
Overlay = 2,
|
||||
};
|
||||
|
||||
Q_DECLARE_METATYPE(GraphLimitIndication);
|
||||
|
||||
|
||||
class Preferences : public Savable {
|
||||
public:
|
||||
|
|
@ -93,6 +101,7 @@ public:
|
|||
} Ticks;
|
||||
} Color;
|
||||
GraphDomainChangeBehavior domainChangeBehavior;
|
||||
GraphLimitIndication limitIndication;
|
||||
|
||||
double lineWidth;
|
||||
int fontSizeAxis;
|
||||
|
|
@ -166,6 +175,7 @@ private:
|
|||
{&Graphs.Color.Ticks.Background.background, "Graphs.Color.Ticks.Background.background", QColor(20, 20, 20)},
|
||||
{&Graphs.Color.Ticks.divisions, "Graphs.Color.Ticks.divisions", QColor(Qt::gray)},
|
||||
{&Graphs.domainChangeBehavior, "Graphs.domainChangeBehavior", GraphDomainChangeBehavior::AdjustGraphs},
|
||||
{&Graphs.limitIndication, "Graphs.limitIndication", GraphLimitIndication::PassFailText},
|
||||
{&Graphs.lineWidth, "Graphs.lineWidth", 1.0},
|
||||
{&Graphs.fontSizeAxis, "Graphs.fontSizeAxis", 10},
|
||||
{&Graphs.fontSizeCursorOverlay, "Graphs.fontSizeCursorOverlay", 12},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue