6 #ifndef CURVEPROPERTIES_H_
7 #define CURVEPROPERTIES_H_
9 #include "ocurvesconfig.h"
65 void timeColumnChanged();
67 void timeScaleChanged();
69 void timeBaseChanged();
71 void toggleExplicitColour(
bool checked);
73 void widthChanged(
int width);
75 void styleChanged(
int index);
77 void symbolSizeChanged(
int width);
79 void symbolChanged(
int index);
81 void filterInfChecked(
bool checked);
83 void filterNaNChecked(
bool checked);
85 void resetCurveProperties();
92 bool eventFilter(QObject *target, QEvent *event)
override;
105 static void setColour(QWidget *widget,
const QColor &colour);
107 Ui::CurveProperties *_ui;
110 QIntValidator *_timeColumnValidator;
111 bool _suppressEvents;
114 #endif // CURVEPROPERTIES_H_
void activeCurveChanged(PlotInstance *curve)
Emitted when the active curve changed.
Definition: coloursview.h:16
~CurveProperties()
Destructor.
void setActiveCurve(PlotInstance *curve)
Sets the active curve being edited.
const PlotInstance * curve() const
Access the curve being viewed and edited.
Definition: curveproperties.h:43
void sourceChanged(const PlotSource *source)
Bound to Curves::sourceDataChanged().
Holds data for a single curve.
Definition: plotinstance.h:43
The data model for loaded plots and curves.
Definition: curves.h:36
PlotInstance * curve()
Access the curve being viewed and edited.
Definition: curveproperties.h:39
Provides details about a source from which PlotInstance objects have been generated.
Definition: plotsource.h:28
void curveChanged(const PlotInstance *curve)
Bound to Curves::curveDataChanged().
CurveProperties(Curves *curves, QWidget *parent=nullptr)
Constructor.
UI for editing PlotSource and PlotInstance properties.
Definition: curveproperties.h:25