Changed feet to show as ft and raised maximum poi alert distance.
authoreshe <jessehakanen@gmail.com>
Fri, 13 Aug 2010 08:53:00 +0000 (09:53 +0100)
committereshe <jessehakanen@gmail.com>
Fri, 13 Aug 2010 08:53:00 +0000 (09:53 +0100)
src/odometer.cpp
src/poisettings.cpp
www/theme-howto.html

index 9c73be7..b2c8488 100644 (file)
@@ -34,7 +34,7 @@ namespace
     QString const KM_SPEEDUNIT = "km/h";
     QString const MILE_SPEEDUNIT = "mph";
     QString const METER_UNIT = "m";
-    QString const FEET_UNIT = "feet";
+    QString const FEET_UNIT = "ft";
     static const int FIX_TIMEOUT = 4000;
     double const DEFAULT_SPEED_TRESHOLD = 8.0;
     double const MIN_SPEED_TRESHOLD = 0.8;
index 2388d5f..e01d12b 100644 (file)
@@ -58,7 +58,7 @@ PoiSettings::PoiSettings(QWidget* parent): QDialog(parent)
 
     distanceLabel_ = new QLabel;
     distance_ = new QLineEdit;
-    distance_->setValidator(new QIntValidator(0, 5000, this));
+    distance_->setValidator(new QIntValidator(0, 9999, this));
     QHBoxLayout* distance = new QHBoxLayout;
     distance->addWidget(distanceLabel_);
     distance->addWidget(distance_);
index 14d85e5..ab139f3 100644 (file)
 </tr>\r
 <tr>\r
        <td>data</td>\r
-       <td>The actual textual data. Can be a plain text (e.g. "Speed:") or a special field (e.g. "{SPEED}"). Special fields are automatically updated to contain their value in unit which is specified in settings. Possible special fiels are listed below:<br/>\r
+       <td>The actual textual data. Can be a plain text (e.g. "Speed:") or a special field (e.g. "{SPEED}"). Special fields are automatically updated to contain their value in unit which is specified in settings. Special fields can also be combined (e.g. "{SPEED} {SPEEDUNIT}"). Possible special fiels are listed below:<br/>\r
        <strong>{TRIP}: </strong>Trip value.<br />\r
        <strong>{TOTAL}: </strong>Total travelled kilometers or miles.<br />\r
        <strong>{SPEED}: </strong>Current speed.<br />\r