mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Auto Interval Discovery (Part 3a of 3)
In this part we have now reinstated the sidebar interval tree but it is refactored out of athlete and into AnalysisSidebar where it belongs. * you can hover and select/deselect intervals in the sidebar Left to do; * All the interval operations like sort, drag and drop, find delete etc do not work at present and will require some work * Add a color button to the tree to let the user change the color for USER defined intervals * Add more types of intervals to the discovery; esp routes and sustained intervals
This commit is contained in:
@@ -367,6 +367,21 @@ struct ComparePointSecs {
|
||||
}
|
||||
};
|
||||
|
||||
QString RideFileInterval::typeDescription(intervaltype x)
|
||||
{
|
||||
switch (x) {
|
||||
case ALL : return tr("ALL"); break;
|
||||
case DEVICE : return tr("DEVICE"); break;
|
||||
case USER : return tr("USER"); break;
|
||||
case PEAKPOWER : return tr("PEAK POWER"); break;
|
||||
case ROUTE : return tr("SEGMENTS"); break;
|
||||
case PEAKHR : return tr("PEAK HR"); break;
|
||||
case CLIMB : return tr("CLIMBING"); break;
|
||||
case EFFORT : return tr("EFFORTS"); break;
|
||||
case MATCH : return tr("MATCHES"); break;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
RideFile::intervalBegin(const RideFileInterval &interval) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user