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);
}
}
<x>0</x>
<y>0</y>
<width>800</width>
- <height>300</height>
+ <height>380</height>
</rect>
</property>
<property name="windowTitle">
</size>
</property>
</widget>
- <widget class="QWidget" name="">
+ <widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
- <x>660</x>
+ <x>650</x>
<y>210</y>
- <width>121</width>
+ <width>141</width>
<height>81</height>
</rect>
</property>
//GPS speed label
ui->labelGpsSpeed->setVisible(0);
+ //User info label
+ ui->labelUserInfo->setText("");
+
//GPS
location = new Maemo5Location(this);
gpsData = new GPSData(location);
<pixmap resource="graphics.qrc">:/new/prefix1/Graphics/sf_2.png</pixmap>
</property>
</widget>
- <widget class="QLabel" name="label_2">
+ <widget class="QLabel" name="labelUserInfo">
<property name="geometry">
<rect>
<x>200</x>
user = attr.value("username").toString();
position = attr.value("position").toString();
date = attr.value("date").toString();
- unit = attr.value("unit").toString();
+ //unit = attr.value("unit").toString();
+ unit = "s";
value = attr.value("value").toString();
myCategoryList->top10List.append(position + "\t" +