/*
* RouteDialog class
*
- * @author Olavi Pulkkinen <olavi.pulkkinen@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
*/
this->setWindowTitle("Route");
left = 5; top = 5; right = 495; bottom = 295; // Limits in screen coordinates
+ //Button settings
+ ui->sendPushButton->setAutoFillBackground(true);
+ ui->sendPushButton->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)");
+ ui->newPushButton->setAutoFillBackground(true);
+ ui->newPushButton->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)");
+
// Send rout to server button disable/enable.
ui->sendPushButton->setEnabled(false);
if (loginSaved())
painter.drawEllipse( x1Screen-5, y1Screen-5, 10, 10);
QString jono;
- jono = QString("%1 km/h").arg(maxv);
+ //jono = QString("%1 km/h").arg(maxv);
+ jono.sprintf("%.1f km/h", maxv);
ui->speedValueLabel->setText(jono);
}
}