+/*
+ * Mainwindow for speedFreak project
+ *
+ * @author Rikhard Kuutti <rikhard.kuutti@fudeco.com>
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
#include "mainwindow.h"
#include "ui_mainwindow.h"
ui->setupUi(this);
creditsDialog = new CreditsDialog;
+ routeSaveDialog = new RouteSaveDialog;
}
MainWindow::~MainWindow()
{
delete ui;
+
+ delete routeSaveDialog;
}
void MainWindow::changeEvent(QEvent *e)
{
creditsDialog->show();
}
+
+ void MainWindow::on_pushButtonRoute_clicked()
+ {
+ routeSaveDialog->show();
+ }
+/*
+ * Mainwindow for speedFreak project
+ *
+ * @author Rikhard Kuutti <rikhard.kuutti@fudeco.com>
+ * @copyright (c) 2010 Speed Freak team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ */
+
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "creditsdialog.h"
+ #include "routesavedialog.h"
namespace Ui {
class MainWindow;
~MainWindow();
CreditsDialog *creditsDialog;
+ RouteSaveDialog *routeSaveDialog;
protected:
void changeEvent(QEvent *e);
Ui::MainWindow *ui;
private slots:
+ void on_pushButtonRoute_clicked();
void on_pushButtonCredits_clicked();
void on_pushButtonWWW_clicked();
};