\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
ui_mainwindow.h
1 /********************************************************************************
2 ** Form generated from reading UI file 'mainwindow.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.1.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QHeaderView>
17 #include <QtWidgets/QLabel>
18 #include <QtWidgets/QMainWindow>
19 #include <QtWidgets/QMenu>
20 #include <QtWidgets/QMenuBar>
21 #include <QtWidgets/QStatusBar>
22 #include <QtWidgets/QToolBar>
23 #include <QtWidgets/QVBoxLayout>
24 #include <QtWidgets/QWidget>
25 #include "plot2D.h"
26 
27 QT_BEGIN_NAMESPACE
28 
30 {
31 public:
32  QAction *actionLoad_btp;
33  QAction *actionSave_btp;
34  QAction *actionRead_osm;
35  QAction *actionClose;
36  QAction *actionSpecify_SRTM3_data_folder;
37  QAction *actionBtp_startup_file;
38  QAction *actionSTRONG_settings;
39  QAction *actionGenerateMap;
40  QAction *actionCreate_STRONGlayer;
41  QAction *actionSave_STRONGlayer;
42  QAction *actionLoad_STRONGlayer;
43  QAction *actionClimbs;
44  QAction *actionSave_Climblayer;
45  QAction *actionLoad_Climblayer;
46  QAction *actionSave_gpx;
47  QAction *actionSave_Profil_as_png;
48  QAction *actionLoad_gpx;
49  QAction *actionInvert_height_data;
50  QAction *actionNormalize_height_data;
51  QAction *actionToggle_Climblayer;
52  QAction *actionToggle_STRONGlayer;
53  QAction *actionRoute_max_hm_km_settings;
54  QAction *actionSettings;
55  QAction *actionOn_off;
56  QAction *actionShow_Power;
57  QAction *actionShow_Speed_in_plot;
58  QAction *actionSettings_2;
59  QAction *actionAnalyse_gpx;
60  QAction *actionSave_STRONG_calculation;
61  QAction *actionLoad_STRONG_calculation;
62  QAction *actionGenerate_tiles;
63  QAction *actionSplit_pbf;
64  QAction *actionGenerate_climbdata;
65  QAction *actionRead_osm_2;
66  QAction *actionCorrect_hgt_Files;
67  QAction *actionGenerate_STRONG_layer;
68  QAction *actionExtractZoom12;
69  QWidget *centralWidget;
70  QWidget *verticalLayoutWidget;
71  QVBoxLayout *verticalLayout;
72  QLabel *MapLabel;
73  plot2D *profil;
74  QMenuBar *menuBar;
75  QMenu *menuFile;
76  QMenu *menuSettings;
77  QMenu *menuPicture;
78  QMenu *DataProcessing;
79  QMenu *menuTrack;
80  QMenu *menuProfil;
81  QMenu *menuToggle_Power_Analysis;
82  QMenu *menuWebSiteCalculation;
83  QToolBar *mainToolBar;
84  QStatusBar *statusBar;
85 
86  void setupUi(QMainWindow *MainWindow)
87  {
88  if (MainWindow->objectName().isEmpty())
89  MainWindow->setObjectName(QStringLiteral("MainWindow"));
90  MainWindow->resize(789, 424);
91  MainWindow->setAutoFillBackground(false);
92  actionLoad_btp = new QAction(MainWindow);
93  actionLoad_btp->setObjectName(QStringLiteral("actionLoad_btp"));
94  actionSave_btp = new QAction(MainWindow);
95  actionSave_btp->setObjectName(QStringLiteral("actionSave_btp"));
96  actionRead_osm = new QAction(MainWindow);
97  actionRead_osm->setObjectName(QStringLiteral("actionRead_osm"));
98  actionClose = new QAction(MainWindow);
99  actionClose->setObjectName(QStringLiteral("actionClose"));
100  actionSpecify_SRTM3_data_folder = new QAction(MainWindow);
101  actionSpecify_SRTM3_data_folder->setObjectName(QStringLiteral("actionSpecify_SRTM3_data_folder"));
102  actionBtp_startup_file = new QAction(MainWindow);
103  actionBtp_startup_file->setObjectName(QStringLiteral("actionBtp_startup_file"));
104  actionSTRONG_settings = new QAction(MainWindow);
105  actionSTRONG_settings->setObjectName(QStringLiteral("actionSTRONG_settings"));
106  actionGenerateMap = new QAction(MainWindow);
107  actionGenerateMap->setObjectName(QStringLiteral("actionGenerateMap"));
108  actionCreate_STRONGlayer = new QAction(MainWindow);
109  actionCreate_STRONGlayer->setObjectName(QStringLiteral("actionCreate_STRONGlayer"));
110  actionSave_STRONGlayer = new QAction(MainWindow);
111  actionSave_STRONGlayer->setObjectName(QStringLiteral("actionSave_STRONGlayer"));
112  actionLoad_STRONGlayer = new QAction(MainWindow);
113  actionLoad_STRONGlayer->setObjectName(QStringLiteral("actionLoad_STRONGlayer"));
114  actionClimbs = new QAction(MainWindow);
115  actionClimbs->setObjectName(QStringLiteral("actionClimbs"));
116  actionSave_Climblayer = new QAction(MainWindow);
117  actionSave_Climblayer->setObjectName(QStringLiteral("actionSave_Climblayer"));
118  actionLoad_Climblayer = new QAction(MainWindow);
119  actionLoad_Climblayer->setObjectName(QStringLiteral("actionLoad_Climblayer"));
120  actionSave_gpx = new QAction(MainWindow);
121  actionSave_gpx->setObjectName(QStringLiteral("actionSave_gpx"));
122  actionSave_Profil_as_png = new QAction(MainWindow);
123  actionSave_Profil_as_png->setObjectName(QStringLiteral("actionSave_Profil_as_png"));
124  actionLoad_gpx = new QAction(MainWindow);
125  actionLoad_gpx->setObjectName(QStringLiteral("actionLoad_gpx"));
126  actionInvert_height_data = new QAction(MainWindow);
127  actionInvert_height_data->setObjectName(QStringLiteral("actionInvert_height_data"));
128  actionNormalize_height_data = new QAction(MainWindow);
129  actionNormalize_height_data->setObjectName(QStringLiteral("actionNormalize_height_data"));
130  actionToggle_Climblayer = new QAction(MainWindow);
131  actionToggle_Climblayer->setObjectName(QStringLiteral("actionToggle_Climblayer"));
132  actionToggle_STRONGlayer = new QAction(MainWindow);
133  actionToggle_STRONGlayer->setObjectName(QStringLiteral("actionToggle_STRONGlayer"));
134  actionRoute_max_hm_km_settings = new QAction(MainWindow);
135  actionRoute_max_hm_km_settings->setObjectName(QStringLiteral("actionRoute_max_hm_km_settings"));
136  actionSettings = new QAction(MainWindow);
137  actionSettings->setObjectName(QStringLiteral("actionSettings"));
138  actionOn_off = new QAction(MainWindow);
139  actionOn_off->setObjectName(QStringLiteral("actionOn_off"));
140  actionShow_Power = new QAction(MainWindow);
141  actionShow_Power->setObjectName(QStringLiteral("actionShow_Power"));
142  actionShow_Speed_in_plot = new QAction(MainWindow);
143  actionShow_Speed_in_plot->setObjectName(QStringLiteral("actionShow_Speed_in_plot"));
144  actionSettings_2 = new QAction(MainWindow);
145  actionSettings_2->setObjectName(QStringLiteral("actionSettings_2"));
146  actionAnalyse_gpx = new QAction(MainWindow);
147  actionAnalyse_gpx->setObjectName(QStringLiteral("actionAnalyse_gpx"));
148  actionSave_STRONG_calculation = new QAction(MainWindow);
149  actionSave_STRONG_calculation->setObjectName(QStringLiteral("actionSave_STRONG_calculation"));
150  actionLoad_STRONG_calculation = new QAction(MainWindow);
151  actionLoad_STRONG_calculation->setObjectName(QStringLiteral("actionLoad_STRONG_calculation"));
152  actionGenerate_tiles = new QAction(MainWindow);
153  actionGenerate_tiles->setObjectName(QStringLiteral("actionGenerate_tiles"));
154  actionSplit_pbf = new QAction(MainWindow);
155  actionSplit_pbf->setObjectName(QStringLiteral("actionSplit_pbf"));
156  actionGenerate_climbdata = new QAction(MainWindow);
157  actionGenerate_climbdata->setObjectName(QStringLiteral("actionGenerate_climbdata"));
158  actionRead_osm_2 = new QAction(MainWindow);
159  actionRead_osm_2->setObjectName(QStringLiteral("actionRead_osm_2"));
160  actionCorrect_hgt_Files = new QAction(MainWindow);
161  actionCorrect_hgt_Files->setObjectName(QStringLiteral("actionCorrect_hgt_Files"));
162  actionGenerate_STRONG_layer = new QAction(MainWindow);
163  actionGenerate_STRONG_layer->setObjectName(QStringLiteral("actionGenerate_STRONG_layer"));
164  actionExtractZoom12 = new QAction(MainWindow);
165  actionExtractZoom12->setObjectName(QStringLiteral("actionExtractZoom12"));
166  centralWidget = new QWidget(MainWindow);
167  centralWidget->setObjectName(QStringLiteral("centralWidget"));
168  verticalLayoutWidget = new QWidget(centralWidget);
169  verticalLayoutWidget->setObjectName(QStringLiteral("verticalLayoutWidget"));
170  verticalLayoutWidget->setGeometry(QRect(0, 0, 401, 251));
171  verticalLayout = new QVBoxLayout(verticalLayoutWidget);
172  verticalLayout->setSpacing(6);
173  verticalLayout->setContentsMargins(11, 11, 11, 11);
174  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
175  verticalLayout->setContentsMargins(0, 0, 0, 0);
176  MapLabel = new QLabel(verticalLayoutWidget);
177  MapLabel->setObjectName(QStringLiteral("MapLabel"));
178  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
179  sizePolicy.setHorizontalStretch(0);
180  sizePolicy.setVerticalStretch(4);
181  sizePolicy.setHeightForWidth(MapLabel->sizePolicy().hasHeightForWidth());
182  MapLabel->setSizePolicy(sizePolicy);
183  MapLabel->setAlignment(Qt::AlignCenter);
184 
185  verticalLayout->addWidget(MapLabel);
186 
187  profil = new plot2D(verticalLayoutWidget);
188  profil->setObjectName(QStringLiteral("profil"));
189  QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
190  sizePolicy1.setHorizontalStretch(0);
191  sizePolicy1.setVerticalStretch(1);
192  sizePolicy1.setHeightForWidth(profil->sizePolicy().hasHeightForWidth());
193  profil->setSizePolicy(sizePolicy1);
194 
195  verticalLayout->addWidget(profil);
196 
197  MainWindow->setCentralWidget(centralWidget);
198  menuBar = new QMenuBar(MainWindow);
199  menuBar->setObjectName(QStringLiteral("menuBar"));
200  menuBar->setGeometry(QRect(0, 0, 789, 21));
201  menuFile = new QMenu(menuBar);
202  menuFile->setObjectName(QStringLiteral("menuFile"));
203  menuSettings = new QMenu(menuBar);
204  menuSettings->setObjectName(QStringLiteral("menuSettings"));
205  menuPicture = new QMenu(menuBar);
206  menuPicture->setObjectName(QStringLiteral("menuPicture"));
207  DataProcessing = new QMenu(menuBar);
208  DataProcessing->setObjectName(QStringLiteral("DataProcessing"));
209  menuTrack = new QMenu(menuBar);
210  menuTrack->setObjectName(QStringLiteral("menuTrack"));
211  menuProfil = new QMenu(menuBar);
212  menuProfil->setObjectName(QStringLiteral("menuProfil"));
213  menuToggle_Power_Analysis = new QMenu(menuBar);
214  menuToggle_Power_Analysis->setObjectName(QStringLiteral("menuToggle_Power_Analysis"));
215  menuWebSiteCalculation = new QMenu(menuBar);
216  menuWebSiteCalculation->setObjectName(QStringLiteral("menuWebSiteCalculation"));
217  MainWindow->setMenuBar(menuBar);
218  mainToolBar = new QToolBar(MainWindow);
219  mainToolBar->setObjectName(QStringLiteral("mainToolBar"));
220  MainWindow->addToolBar(Qt::TopToolBarArea, mainToolBar);
221  statusBar = new QStatusBar(MainWindow);
222  statusBar->setObjectName(QStringLiteral("statusBar"));
223  MainWindow->setStatusBar(statusBar);
224 
225  menuBar->addAction(menuFile->menuAction());
226  menuBar->addAction(menuSettings->menuAction());
227  menuBar->addAction(menuPicture->menuAction());
228  menuBar->addAction(DataProcessing->menuAction());
229  menuBar->addAction(menuTrack->menuAction());
230  menuBar->addAction(menuProfil->menuAction());
231  menuBar->addAction(menuToggle_Power_Analysis->menuAction());
232  menuBar->addAction(menuWebSiteCalculation->menuAction());
233  menuFile->addAction(actionLoad_btp);
234  menuFile->addAction(actionSave_btp);
235  menuFile->addAction(actionRead_osm);
236  menuFile->addAction(actionClose);
237  menuFile->addAction(actionAnalyse_gpx);
238  menuSettings->addAction(actionSpecify_SRTM3_data_folder);
239  menuSettings->addAction(actionBtp_startup_file);
240  menuSettings->addAction(actionSTRONG_settings);
241  menuPicture->addAction(actionGenerateMap);
242  menuPicture->addAction(actionToggle_Climblayer);
243  menuPicture->addAction(actionToggle_STRONGlayer);
244  menuPicture->addAction(actionSettings_2);
245  DataProcessing->addAction(actionCreate_STRONGlayer);
246  DataProcessing->addAction(actionSave_STRONGlayer);
247  DataProcessing->addAction(actionLoad_STRONGlayer);
248  DataProcessing->addAction(actionClimbs);
249  DataProcessing->addAction(actionLoad_Climblayer);
250  DataProcessing->addAction(actionInvert_height_data);
251  DataProcessing->addAction(actionNormalize_height_data);
252  DataProcessing->addAction(actionSave_STRONG_calculation);
253  DataProcessing->addAction(actionLoad_STRONG_calculation);
254  DataProcessing->addAction(actionCorrect_hgt_Files);
255  menuTrack->addAction(actionSave_gpx);
256  menuTrack->addAction(actionLoad_gpx);
257  menuProfil->addAction(actionSave_Profil_as_png);
258  menuProfil->addAction(actionSettings);
259  menuToggle_Power_Analysis->addAction(actionOn_off);
260  menuToggle_Power_Analysis->addAction(actionShow_Power);
261  menuToggle_Power_Analysis->addAction(actionShow_Speed_in_plot);
262  menuWebSiteCalculation->addAction(actionSplit_pbf);
263  menuWebSiteCalculation->addAction(actionRead_osm_2);
264  menuWebSiteCalculation->addAction(actionGenerate_tiles);
265  menuWebSiteCalculation->addAction(actionGenerate_climbdata);
266  menuWebSiteCalculation->addAction(actionGenerate_STRONG_layer);
267  menuWebSiteCalculation->addAction(actionExtractZoom12);
268 
269  retranslateUi(MainWindow);
270 
271  QMetaObject::connectSlotsByName(MainWindow);
272  } // setupUi
273 
274  void retranslateUi(QMainWindow *MainWindow)
275  {
276  MainWindow->setWindowTitle(QApplication::translate("MainWindow", "BTP3", 0));
277  actionLoad_btp->setText(QApplication::translate("MainWindow", "load btp", 0));
278  actionSave_btp->setText(QApplication::translate("MainWindow", "save btp", 0));
279  actionRead_osm->setText(QApplication::translate("MainWindow", "read osm", 0));
280  actionClose->setText(QApplication::translate("MainWindow", "close", 0));
281  actionSpecify_SRTM3_data_folder->setText(QApplication::translate("MainWindow", "SRTM3 data folder", 0));
282  actionBtp_startup_file->setText(QApplication::translate("MainWindow", "btp startup file", 0));
283  actionSTRONG_settings->setText(QApplication::translate("MainWindow", "STRONG settings", 0));
284  actionGenerateMap->setText(QApplication::translate("MainWindow", "Create bmp", 0));
285  actionCreate_STRONGlayer->setText(QApplication::translate("MainWindow", "create STRONGlayer", 0));
286  actionSave_STRONGlayer->setText(QApplication::translate("MainWindow", "save STRONGlayer", 0));
287  actionLoad_STRONGlayer->setText(QApplication::translate("MainWindow", "load STRONGlayer", 0));
288  actionClimbs->setText(QApplication::translate("MainWindow", "Climb analysis", 0));
289  actionSave_Climblayer->setText(QApplication::translate("MainWindow", "save Climblayer", 0));
290  actionLoad_Climblayer->setText(QApplication::translate("MainWindow", "load Climblayer", 0));
291  actionSave_gpx->setText(QApplication::translate("MainWindow", "save gpx", 0));
292  actionSave_Profil_as_png->setText(QApplication::translate("MainWindow", "save Profil as png", 0));
293  actionLoad_gpx->setText(QApplication::translate("MainWindow", "load gpx", 0));
294  actionInvert_height_data->setText(QApplication::translate("MainWindow", "invert height data", 0));
295  actionNormalize_height_data->setText(QApplication::translate("MainWindow", "normalize height data", 0));
296  actionToggle_Climblayer->setText(QApplication::translate("MainWindow", "toggle Climblayer", 0));
297  actionToggle_STRONGlayer->setText(QApplication::translate("MainWindow", "toggle STRONGlayer", 0));
298  actionRoute_max_hm_km_settings->setText(QApplication::translate("MainWindow", "route max hm/km settings", 0));
299  actionSettings->setText(QApplication::translate("MainWindow", "settings", 0));
300  actionOn_off->setText(QApplication::translate("MainWindow", "on/off", 0));
301  actionShow_Power->setText(QApplication::translate("MainWindow", "show power in plot", 0));
302  actionShow_Speed_in_plot->setText(QApplication::translate("MainWindow", "show speed in plot", 0));
303  actionSettings_2->setText(QApplication::translate("MainWindow", "settings", 0));
304  actionAnalyse_gpx->setText(QApplication::translate("MainWindow", "analyse gpx", 0));
305  actionSave_STRONG_calculation->setText(QApplication::translate("MainWindow", "save STRONG calculation", 0));
306  actionLoad_STRONG_calculation->setText(QApplication::translate("MainWindow", "load STRONG calculation", 0));
307  actionGenerate_tiles->setText(QApplication::translate("MainWindow", "generate tiles", 0));
308  actionSplit_pbf->setText(QApplication::translate("MainWindow", "split pbf", 0));
309  actionGenerate_climbdata->setText(QApplication::translate("MainWindow", "generate html data", 0));
310  actionRead_osm_2->setText(QApplication::translate("MainWindow", "read osm", 0));
311  actionCorrect_hgt_Files->setText(QApplication::translate("MainWindow", "correct hgt-Files", 0));
312  actionGenerate_STRONG_layer->setText(QApplication::translate("MainWindow", "generate STRONG layer", 0));
313  actionExtractZoom12->setText(QApplication::translate("MainWindow", "extract zoom 12+", 0));
314  MapLabel->setText(QApplication::translate("MainWindow", "asfgsfg", 0));
315  menuFile->setTitle(QApplication::translate("MainWindow", "Data", 0));
316  menuSettings->setTitle(QApplication::translate("MainWindow", "Settings", 0));
317  menuPicture->setTitle(QApplication::translate("MainWindow", "Map", 0));
318  DataProcessing->setTitle(QApplication::translate("MainWindow", "Data Processing", 0));
319  menuTrack->setTitle(QApplication::translate("MainWindow", "Track", 0));
320  menuProfil->setTitle(QApplication::translate("MainWindow", "Profil", 0));
321  menuToggle_Power_Analysis->setTitle(QApplication::translate("MainWindow", "Power Analysis", 0));
322  menuWebSiteCalculation->setTitle(QApplication::translate("MainWindow", "WebSiteCalculation", 0));
323  } // retranslateUi
324 
325 };
326 
327 namespace Ui {
328  class MainWindow: public Ui_MainWindow {};
329 } // namespace Ui
330 
331 QT_END_NAMESPACE
332 
333 #endif // UI_MAINWINDOW_H
plotting 2D-Data sets as the height profile of a track or poweranalysis data
Definition: plot2D.h:20