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;
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_);
</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