Install SeisComP and scanloc ARM64 nightly packages
This commit is contained in:
@ -217,8 +217,10 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
};
|
||||
|
||||
enum ShadowWidgetFlags {
|
||||
Raw = 0x01,
|
||||
Filtered = 0x02
|
||||
Notify = 0x00,
|
||||
Raw = 0x01,
|
||||
Filtered = 0x02,
|
||||
Style = 0x08
|
||||
};
|
||||
|
||||
enum AxisPosition {
|
||||
@ -240,25 +242,26 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
double dyMin{0}; // Data minimum value
|
||||
double dyMax{0}; // Data maximum value
|
||||
double dOffset{0}; // Data offset
|
||||
double absMax{0};
|
||||
int pyMin{0}; //
|
||||
|
||||
double yMin{0}; // Minimum value to render
|
||||
double yMax{0}; // Maximum value to render
|
||||
double yOffset{0}; // Offset to render
|
||||
|
||||
double absMax{0}; // Maximum data amplitude
|
||||
int pyMin{0};
|
||||
int pyMax{0};
|
||||
double fyMin{-1};
|
||||
double fyMax{1};
|
||||
|
||||
double yMin{0};
|
||||
double yMax{0};
|
||||
double yOffset{0}; // The used offset
|
||||
|
||||
float timingQuality{-1};
|
||||
int timingQualityCount{0};
|
||||
bool dirtyData{false};
|
||||
bool dirty{false};
|
||||
bool visible{false};
|
||||
AbstractRecordPolylinePtr poly;
|
||||
QString status;
|
||||
|
||||
void reset() {
|
||||
dyMin = dyMax = dOffset = absMax = 0;
|
||||
fyMin = -1; fyMax = 1;
|
||||
pyMin = pyMax = 0;
|
||||
visible = false;
|
||||
@ -363,8 +366,8 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
//! Available record slots are copied by reference
|
||||
//! in that way that the listener is not the owner of the
|
||||
//! data. Available marker are copied by value.
|
||||
void setShadowWidget(RecordWidget *shadow, bool copyMarker,
|
||||
int flags = Raw);
|
||||
void setShadowWidget(RecordWidget *shadow, bool copyMarker = false,
|
||||
int flags = Raw | Style);
|
||||
|
||||
//! Returns the current shadow widget
|
||||
RecordWidget *shadowWidget() const { return _shadowWidget; }
|
||||
@ -393,7 +396,7 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
|
||||
double smin() const { return _smin; }
|
||||
double smax() const { return _smax; }
|
||||
|
||||
|
||||
Seiscomp::Core::Time alignment() { return _alignment; }
|
||||
|
||||
Seiscomp::Core::Time centerTime();
|
||||
@ -412,11 +415,11 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
QPair<double,double> amplitudeRange(int slot) const;
|
||||
|
||||
void ensureVisibility(const Seiscomp::Core::Time &time, int pixelMargin);
|
||||
|
||||
|
||||
//! Method to inform the widget about a newly inserted
|
||||
//! record.
|
||||
virtual void fed(int slot, const Seiscomp::Record *rec);
|
||||
|
||||
|
||||
//! Causes the widget to rebuild its internal data
|
||||
//! according its size and parameters
|
||||
void setDirty();
|
||||
@ -432,6 +435,9 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
void showScaledValues(bool enable);
|
||||
bool areScaledValuesShown() const { return _showScaledValues; }
|
||||
|
||||
void showEngineeringValues(bool enable);
|
||||
bool areEngineeringValuesShown() const { return _showEngineeringValues; }
|
||||
|
||||
//! Adds a marker to the widget. The ownership takes
|
||||
//! the widget.
|
||||
bool addMarker(RecordMarker*);
|
||||
@ -565,7 +571,7 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
void alignOnMarker(const QString& text);
|
||||
|
||||
void setAmplScale(double);
|
||||
|
||||
|
||||
void enableFiltering(bool enable);
|
||||
void setGridSpacing(double, double, double);
|
||||
void setGridVSpacing(double, double, double);
|
||||
@ -577,7 +583,6 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
void setAutoMaxScale(bool);
|
||||
|
||||
void setNormalizationWindow(const Seiscomp::Core::TimeWindow&);
|
||||
void setOffsetWindow(const Seiscomp::Core::TimeWindow&);
|
||||
|
||||
//! Sets the maximum slot index for which setFilter(filter) is
|
||||
//! applied. The semantics of 'any' is bound to value -1.
|
||||
@ -666,10 +671,6 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
virtual void customPaintTracesBegin(QPainter &painter);
|
||||
virtual void customPaintTracesEnd(QPainter &painter);
|
||||
|
||||
virtual void createPolyline(int slot, AbstractRecordPolylinePtr &polyline,
|
||||
RecordSequence const *, double pixelPerSecond,
|
||||
double amplMin, double amplMax, double amplOffset,
|
||||
int height, bool optimization, bool highPrecision);
|
||||
virtual const double *value(int slot, const Seiscomp::Core::Time&) const;
|
||||
|
||||
|
||||
@ -730,8 +731,6 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
const Record*, const Record*,
|
||||
double tolerance) const;
|
||||
|
||||
void prepareRecords(Stream *s);
|
||||
void drawRecords(Stream *s, int slot);
|
||||
void drawTrace(QPainter &painter,
|
||||
const Trace *trace,
|
||||
const RecordSequence *seq,
|
||||
@ -745,8 +744,16 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
int canvasWidth() const;
|
||||
int canvasHeight() const;
|
||||
|
||||
void alignTrace(Trace &trace);
|
||||
void prepareRecords(Stream *s);
|
||||
void createPolyline(Stream *s, AbstractRecordPolylinePtr &polyline,
|
||||
RecordSequence const *, double pixelPerSecond,
|
||||
double amplMin, double amplMax, double amplOffset,
|
||||
int height);
|
||||
void render(Stream *s);
|
||||
|
||||
private:
|
||||
|
||||
protected:
|
||||
typedef QVector<Stream*> StreamMap;
|
||||
|
||||
QVariant _data;
|
||||
@ -754,7 +761,7 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
RecordBorderDrawMode _recordBorderDrawMode;
|
||||
Seiscomp::Core::Time _alignment;
|
||||
bool _clipRows{true};
|
||||
|
||||
|
||||
double _tmin; // time range min
|
||||
double _tmax; // time range max
|
||||
double _smin, _smax; // selection
|
||||
@ -775,6 +782,7 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
bool _active{false};
|
||||
bool _filtering{false};
|
||||
bool _showScaledValues{false};
|
||||
bool _showEngineeringValues{true};
|
||||
|
||||
bool _drawRecords{false};
|
||||
bool _drawRecordID{true};
|
||||
@ -815,10 +823,9 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
int _margins[4];
|
||||
QString _cursorText;
|
||||
Seiscomp::Core::Time _cursorPos;
|
||||
Seiscomp::Core::Time _startDragPos;
|
||||
OPT(Seiscomp::Core::Time) _startDragPos;
|
||||
|
||||
Seiscomp::Core::TimeWindow _normalizationWindow;
|
||||
Seiscomp::Core::TimeWindow _offsetWindow;
|
||||
|
||||
RecordWidget *_shadowWidget;
|
||||
RecordWidget *_markerSourceWidget;
|
||||
@ -829,6 +836,10 @@ class SC_GUI_API RecordWidget : public QWidget {
|
||||
};
|
||||
|
||||
|
||||
inline int RecordWidget::currentRecords() const {
|
||||
return _currentSlot;
|
||||
}
|
||||
|
||||
inline const QRect &RecordWidget::canvasRect() const {
|
||||
return _canvasRect;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user