2
* Copyright (c) 2012 Damien.Grauser (damien.grauser@pev-geneve.ch)
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation; either version 2 of the License, or (at your option)
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc., 51
16
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
#ifndef RIDEWITHGPSDIALOG_H
20
#define RIDEWITHGPSDIALOG_H
21
#include "GoldenCheetah.h"
25
#include "MainWindow.h"
28
class RideWithGPSDialog : public QDialog
34
RideWithGPSDialog(MainWindow *mainWindow, RideItem *item);
43
void requestUploadFinished(QNetworkReply *reply);
51
QPushButton *uploadButton;
52
QPushButton *searchActivityButton;
53
QPushButton *getActivityButton;
54
QPushButton *cancelButton;
55
MainWindow *mainWindow;
56
QCheckBox *workoutTimeChk;
57
QCheckBox *timeRidingChk;
58
QCheckBox *totalDistanceChk;
60
QLineEdit *twitterMessageEdit;
62
QProgressBar *progressBar;
63
QLabel *progressLabel;
72
QString uploadProgress;
75
QString RIDE_WITH_GPS_URL;
77
bool overwrite, loggedIn, uploadSuccessful;
80
#endif // RIDEWITHGPSDIALOG_H