Fixed bug 5709. Now result dialog shows only two decimals in time labels.
[speedfreak] / Client / routedialog.ui
index e6cafbe..e4b7b57 100644 (file)
   <property name="windowTitle">
    <string>Dialog</string>
   </property>
-  <widget class="QPushButton" name="newPushButton">
+  <widget class="QPushButton" name="sendPushButton">
    <property name="geometry">
     <rect>
-     <x>670</x>
-     <y>110</y>
+     <x>710</x>
+     <y>120</y>
      <width>90</width>
      <height>90</height>
     </rect>
@@ -27,7 +27,7 @@
    </property>
    <property name="icon">
     <iconset resource="graphics.qrc">
-     <normaloff>:/new/prefix1/Graphics/route_new.png</normaloff>:/new/prefix1/Graphics/route_new.png</iconset>
+     <normaloff>:/new/prefix1/Graphics/route_save.png</normaloff>:/new/prefix1/Graphics/route_save.png</iconset>
    </property>
    <property name="iconSize">
     <size>
     </size>
    </property>
   </widget>
-  <widget class="QPushButton" name="sendPushButton">
+  <widget class="QLabel" name="labelInfoToUser">
    <property name="geometry">
     <rect>
-     <x>670</x>
-     <y>10</y>
-     <width>90</width>
-     <height>90</height>
+     <x>10</x>
+     <y>330</y>
+     <width>781</width>
+     <height>51</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>User info</string>
+   </property>
+  </widget>
+  <widget class="QPushButton" name="pushButtonInfo">
+   <property name="geometry">
+    <rect>
+     <x>750</x>
+     <y>0</y>
+     <width>50</width>
+     <height>50</height>
     </rect>
    </property>
    <property name="text">
    </property>
    <property name="icon">
     <iconset resource="graphics.qrc">
-     <normaloff>:/new/prefix1/Graphics/route_save.png</normaloff>:/new/prefix1/Graphics/route_save.png</iconset>
+     <normaloff>:/new/prefix1/Graphics/info.png</normaloff>:/new/prefix1/Graphics/info.png</iconset>
    </property>
    <property name="iconSize">
     <size>
-     <width>85</width>
-     <height>85</height>
+     <width>45</width>
+     <height>45</height>
     </size>
    </property>
   </widget>
-  <widget class="QWidget" name="layoutWidget">
+  <widget class="QLabel" name="maxSpeedLabel">
    <property name="geometry">
     <rect>
-     <x>650</x>
-     <y>210</y>
-     <width>141</width>
-     <height>81</height>
+     <x>560</x>
+     <y>10</y>
+     <width>111</width>
+     <height>41</height>
     </rect>
    </property>
-   <layout class="QVBoxLayout" name="verticalLayout">
-    <item>
-     <widget class="QLabel" name="maxSpeedLabel">
-      <property name="text">
-       <string>Max speed</string>
-      </property>
-      <property name="alignment">
-       <set>Qt::AlignCenter</set>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <widget class="QLabel" name="speedValueLabel">
-      <property name="text">
-       <string>TextLabel</string>
-      </property>
-      <property name="alignment">
-       <set>Qt::AlignCenter</set>
-      </property>
-     </widget>
-    </item>
-   </layout>
+   <property name="text">
+    <string>Max:</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
   </widget>
-  <widget class="QLabel" name="labelInfoToUser">
+  <widget class="QLabel" name="speedValueLabel">
    <property name="geometry">
     <rect>
-     <x>10</x>
-     <y>310</y>
-     <width>521</width>
-     <height>51</height>
+     <x>560</x>
+     <y>40</y>
+     <width>110</width>
+     <height>41</height>
     </rect>
    </property>
    <property name="text">
-    <string/>
+    <string>speedValueLabel</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
+  </widget>
+  <widget class="QLabel" name="avgSpeedlabel">
+   <property name="geometry">
+    <rect>
+     <x>560</x>
+     <y>130</y>
+     <width>131</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Average:</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
+  </widget>
+  <widget class="QLabel" name="avgSpeedValueLabel">
+   <property name="geometry">
+    <rect>
+     <x>560</x>
+     <y>160</y>
+     <width>135</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>avgSpeedValueLabel</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
+  </widget>
+  <widget class="QLabel" name="distanceValueLabel">
+   <property name="geometry">
+    <rect>
+     <x>560</x>
+     <y>260</y>
+     <width>135</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>distance</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+   </property>
+  </widget>
+  <widget class="QLabel" name="distanceLabel">
+   <property name="geometry">
+    <rect>
+     <x>560</x>
+     <y>230</y>
+     <width>131</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="text">
+    <string>Distance:</string>
+   </property>
+   <property name="alignment">
+    <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
    </property>
   </widget>
  </widget>