projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Development: route load/save.
[speedfreak]
/
Client
/
routedialog.h
diff --git
a/Client/routedialog.h
b/Client/routedialog.h
index
1d70aaa
..
a82dbd1
100644
(file)
--- a/
Client/routedialog.h
+++ b/
Client/routedialog.h
@@
-3,14
+3,16
@@
*
* @author Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
* @author Toni Jussila <toni.jussila@fudeco.com>
*
* @author Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
* @author Toni Jussila <toni.jussila@fudeco.com>
- * @copyright (c) 2010 Speed Freak team
- * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
#ifndef ROUTEDIALOG_H
#define ROUTEDIALOG_H
#include <QDialog>
*/
#ifndef ROUTEDIALOG_H
#define ROUTEDIALOG_H
#include <QDialog>
+#include <helproutingdialog.h>
+class RouteSaveDialog;
namespace Ui {
class RouteDialog;
namespace Ui {
class RouteDialog;
@@
-18,8
+20,9
@@
namespace Ui {
class RouteDialog : public QDialog {
Q_OBJECT
class RouteDialog : public QDialog {
Q_OBJECT
+
public:
public:
- RouteDialog(QWidget *parent = 0);
+ RouteDialog(RouteSaveDialog *parent = 0);
~RouteDialog();
bool readRouteFromFile( QString &routeFile);
int getLeft();
~RouteDialog();
bool readRouteFromFile( QString &routeFile);
int getLeft();
@@
-27,9
+30,12
@@
public:
int getRight();
int getBottom();
void setLabelInfoToUser(QString infoText);
int getRight();
int getBottom();
void setLabelInfoToUser(QString infoText);
+ void setSendServerButtonEnabled();
+ HelpRoutingDialog *helpRoutingDialog;
signals:
signals:
- void sendroute();
+ void sendroute(QString,int);
+ void progressbar(int);
protected:
void changeEvent(QEvent *e);
protected:
void changeEvent(QEvent *e);
@@
-38,10
+44,13
@@
protected:
private:
Ui::RouteDialog *ui;
int left, top, right, bottom; // Limits in screen coordinates in route dialog
private:
Ui::RouteDialog *ui;
int left, top, right, bottom; // Limits in screen coordinates in route dialog
+ void checkLogin();
+ QString fileName;
private slots:
private slots:
+ void on_pushButtonInfo_clicked();
void on_sendPushButton_clicked();
void on_sendPushButton_clicked();
- void on_newPushButton_clicked();
+ void killHelpDialog();
};
#endif // ROUTEDIALOG_H
};
#endif // ROUTEDIALOG_H