mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
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:
@@ -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:
|
||||||
|
|||||||
@@ -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
@@ -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
|
||||||
###====================
|
###====================
|
||||||
|
|||||||
Reference in New Issue
Block a user