Deprecate RouteWindow and add Segments chart

RouteWindows has beeen inactivated for years,
Replaced by a more flexible Python chart added
to default layout.
Required Jinja2 package added to included Python.
[publish binaries]
This commit is contained in:
Alejandro Martinez
2026-03-30 14:58:20 -03:00
parent 753758f893
commit f89e8bbb74
8 changed files with 14 additions and 13 deletions

View File

@@ -57,8 +57,6 @@
#include "Overview.h" #include "Overview.h"
#endif #endif
#include "UserChartWindow.h" #include "UserChartWindow.h"
// Not until v4.0
//#include "RouteWindow.h"
// GcWindows initialization is done in initialize method to enable translations // GcWindows initialization is done in initialize method to enable translations
GcWindowRegistry* GcWindows; GcWindowRegistry* GcWindows;
@@ -231,11 +229,7 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
case GcWindowTypes::WebPageWindow: returning = new WebPageWindow(context); break; case GcWindowTypes::WebPageWindow: returning = new WebPageWindow(context); break;
case GcWindowTypes::LiveMapWebPageWindow: returning = new LiveMapWebPageWindow(context); break; case GcWindowTypes::LiveMapWebPageWindow: returning = new LiveMapWebPageWindow(context); break;
case GcWindowTypes::ElevationChart: returning = new ElevationChartWindow(context); break; case GcWindowTypes::ElevationChart: returning = new ElevationChartWindow(context); break;
#if 0 // not till v4.0 case GcWindowTypes::RouteSegment: returning = new GcChartWindow(context); break; // Deprecated
case GcWindowTypes::RouteSegment: returning = new RouteWindow(context); break;
#else
case GcWindowTypes::RouteSegment: returning = new GcChartWindow(context); break;
#endif
// summary and old ride summary charts now replaced with an Overview - note id gets reset // summary and old ride summary charts now replaced with an Overview - note id gets reset
case GcWindowTypes::Summary: case GcWindowTypes::Summary:

View File

@@ -9,6 +9,7 @@ scipy
lmfit lmfit
plotly plotly
importlib_metadata importlib_metadata
Jinja2
# #
# Nice to have # Nice to have
# #

File diff suppressed because one or more lines are too long

View File

@@ -789,12 +789,6 @@ win32-msvc* {
SOURCES += Core/WindowsCrashHandler.cpp SOURCES += Core/WindowsCrashHandler.cpp
} }
###======================================
### PENDING SOURCE FILES [not active yet]
###======================================
DEFERRES += Core/RouteWindow.h Core/RouteWindow.cpp Core/RouteItem.h Core/RouteItem.cpp
###==================== ###====================
### MISCELLANEOUS FILES ### MISCELLANEOUS FILES
###==================== ###====================