Log viewer improvements (#3442)
* Added: * max altitude * two cursors for time/altitude measurement * Fix if multiple altitude related telemetry items are selected (only put cursors on the first one)
This commit is contained in:
committed by
Bertrand Songis
parent
bd87028fd5
commit
c6f13de505
@@ -53,7 +53,7 @@ private slots:
|
||||
void axisLabelDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part);
|
||||
void legendDoubleClick(QCPLegend* legend, QCPAbstractLegendItem* item);
|
||||
void selectionChanged();
|
||||
void mousePress();
|
||||
void mousePress(QMouseEvent * event);
|
||||
void mouseWheel();
|
||||
void removeAllGraphs();
|
||||
void plotLogs();
|
||||
@@ -76,6 +76,11 @@ private:
|
||||
double yAxesRatios[AXES_LIMIT];
|
||||
minMax yAxesRanges[AXES_LIMIT];
|
||||
|
||||
QCPItemTracer * tracerMaxAlt;
|
||||
QCPItemTracer * cursorA;
|
||||
QCPItemTracer * cursorB;
|
||||
QCPItemStraightLine * cursorLine;
|
||||
|
||||
bool cvsFileParse();
|
||||
QList<QStringList> filterGePoints(const QList<QStringList> & input);
|
||||
void exportToGoogleEarth();
|
||||
@@ -83,6 +88,15 @@ private:
|
||||
QString generateDuration(const QDateTime & start, const QDateTime & end);
|
||||
void setFlightSessions();
|
||||
|
||||
void addMaxAltitudeMarker(const coords & c, QCPGraph * graph);
|
||||
void countNumberOfThrows(const coords & c, QCPGraph * graph);
|
||||
void addCursor(QCPItemTracer ** cursor, QCPGraph * graph, const QColor & color);
|
||||
void addCursorLine(QCPItemStraightLine ** line, QCPGraph * graph, const QColor & color);
|
||||
void placeCursor(double x, bool second);
|
||||
QString formatTimeDelta(double timeDelta);
|
||||
void updateCursorsLabel();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // _LOGSDIALOG_H_
|
||||
|
||||
Reference in New Issue
Block a user