Added feature which scales result diagrams speed axel right way concerning the choice...
[speedfreak] / Client / carmainwindow.ui
index 1ccc396..6a10e33 100644 (file)
    <widget class="QTabWidget" name="tabWidget">
     <property name="geometry">
      <rect>
-      <x>10</x>
-      <y>10</y>
+      <x>0</x>
+      <y>0</y>
       <width>781</width>
       <height>361</height>
      </rect>
     </property>
     <property name="currentIndex">
-     <number>0</number>
+     <number>4</number>
     </property>
-    <widget class="QWidget" name="StartTab">
+    <widget class="QWidget" name="tabTop">
      <attribute name="title">
-      <string>Start</string>
+      <string>Top</string>
      </attribute>
+     <widget class="QPushButton" name="buttonTopRefresh">
+      <property name="geometry">
+       <rect>
+        <x>10</x>
+        <y>210</y>
+        <width>221</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>16</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>Refresh list</string>
+      </property>
+     </widget>
+     <widget class="QListView" name="listViewTopList">
+      <property name="geometry">
+       <rect>
+        <x>360</x>
+        <y>10</y>
+        <width>411</width>
+        <height>311</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>10</pointsize>
+       </font>
+      </property>
+      <property name="flow">
+       <enum>QListView::LeftToRight</enum>
+      </property>
+     </widget>
      <widget class="QWidget" name="layoutWidget">
       <property name="geometry">
        <rect>
-        <x>590</x>
-        <y>220</y>
-        <width>171</width>
-        <height>91</height>
+        <x>10</x>
+        <y>10</y>
+        <width>341</width>
+        <height>141</height>
        </rect>
       </property>
-      <layout class="QVBoxLayout" name="verticalLayout">
+      <layout class="QVBoxLayout" name="verticalLayout_3">
        <item>
-        <widget class="QPushButton" name="autoStartButton">
+        <widget class="QLabel" name="labelCategory">
          <property name="font">
           <font>
            <family>Bitstream Charter</family>
            <pointsize>16</pointsize>
-           <weight>75</weight>
-           <bold>true</bold>
           </font>
          </property>
          <property name="text">
-          <string>Auto start</string>
+          <string>Category:</string>
          </property>
         </widget>
        </item>
        <item>
-        <widget class="QPushButton" name="manualStartButton">
-         <property name="font">
-          <font>
-           <family>Bitstream Charter</family>
-           <pointsize>16</pointsize>
-           <weight>75</weight>
-           <bold>true</bold>
-          </font>
-         </property>
-         <property name="text">
-          <string>Manual start</string>
-         </property>
-        </widget>
+        <widget class="QComboBox" name="comboBoxTopCategory"/>
        </item>
       </layout>
      </widget>
+     <widget class="QLabel" name="labelTopList">
+      <property name="geometry">
+       <rect>
+        <x>380</x>
+        <y>10</y>
+        <width>371</width>
+        <height>311</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <pointsize>9</pointsize>
+       </font>
+      </property>
+      <property name="text">
+       <string>TopList</string>
+      </property>
+      <property name="alignment">
+       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+      </property>
+     </widget>
+    </widget>
+    <widget class="QWidget" name="StartTab">
+     <attribute name="title">
+      <string>Start</string>
+     </attribute>
      <widget class="QListView" name="listViewStartTabAccelerationCategories">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>10</y>
-        <width>261</width>
+        <width>151</width>
         <height>301</height>
        </rect>
       </property>
      <widget class="QWidget" name="layoutWidget">
       <property name="geometry">
        <rect>
-        <x>270</x>
+        <x>160</x>
         <y>10</y>
         <width>311</width>
         <height>301</height>
        </item>
       </layout>
      </widget>
+     <widget class="QPushButton" name="autoStartButton">
+      <property name="geometry">
+       <rect>
+        <x>520</x>
+        <y>40</y>
+        <width>201</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>16</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>Auto start</string>
+      </property>
+     </widget>
+     <widget class="QPushButton" name="manualStartButton">
+      <property name="geometry">
+       <rect>
+        <x>520</x>
+        <y>180</y>
+        <width>201</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>16</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>Manual start</string>
+      </property>
+     </widget>
     </widget>
-    <widget class="QWidget" name="tab">
+    <widget class="QWidget" name="settingsTab">
      <attribute name="title">
-      <string>Top</string>
+      <string>Settings</string>
      </attribute>
-     <widget class="QPushButton" name="buttonTopRefresh">
+     <widget class="QLabel" name="userNameLabel">
+      <property name="geometry">
+       <rect>
+        <x>20</x>
+        <y>30</y>
+        <width>531</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>User:</string>
+      </property>
+     </widget>
+     <widget class="QPushButton" name="setUserPushButton">
+      <property name="geometry">
+       <rect>
+        <x>20</x>
+        <y>140</y>
+        <width>201</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>Set User</string>
+      </property>
+     </widget>
+    </widget>
+    <widget class="QWidget" name="tabMeasureResult">
+     <attribute name="title">
+      <string>Measure</string>
+     </attribute>
+     <widget class="QPushButton" name="pushButtonMeasureTabAbort">
       <property name="geometry">
        <rect>
         <x>20</x>
-        <y>270</y>
-        <width>169</width>
-        <height>37</height>
+        <y>230</y>
+        <width>160</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>Abort</string>
+      </property>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabHeader">
+      <property name="geometry">
+       <rect>
+        <x>40</x>
+        <y>10</y>
+        <width>261</width>
+        <height>41</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <family>Bitstream Charter</family>
-        <pointsize>16</pointsize>
         <weight>75</weight>
         <bold>true</bold>
        </font>
       </property>
       <property name="text">
-       <string>Refresh list</string>
+       <string>Accelerate to 40 km/h</string>
       </property>
      </widget>
-     <widget class="QListView" name="listViewTopList">
+     <widget class="QLabel" name="labelMeasureTabResultHeader">
       <property name="geometry">
        <rect>
-        <x>360</x>
+        <x>470</x>
         <y>10</y>
-        <width>411</width>
-        <height>311</height>
+        <width>101</width>
+        <height>41</height>
        </rect>
       </property>
       <property name="font">
        <font>
         <family>Bitstream Charter</family>
-        <pointsize>10</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
        </font>
       </property>
-      <property name="flow">
-       <enum>QListView::LeftToRight</enum>
+      <property name="text">
+       <string>Results:</string>
       </property>
      </widget>
-     <widget class="QWidget" name="layoutWidget">
+     <widget class="QPushButton" name="pushButtonSendResult">
+      <property name="enabled">
+       <bool>false</bool>
+      </property>
       <property name="geometry">
        <rect>
-        <x>10</x>
-        <y>10</y>
-        <width>341</width>
-        <height>141</height>
+        <x>470</x>
+        <y>230</y>
+        <width>160</width>
+        <height>71</height>
        </rect>
       </property>
-      <layout class="QVBoxLayout" name="verticalLayout_3">
-       <item>
-        <widget class="QLabel" name="labelCategory">
-         <property name="font">
-          <font>
-           <family>Bitstream Charter</family>
-           <pointsize>16</pointsize>
-          </font>
-         </property>
-         <property name="text">
-          <string>Category:</string>
-         </property>
-        </widget>
-       </item>
-       <item>
-        <widget class="QComboBox" name="comboBoxTopCategory"/>
-       </item>
-      </layout>
+      <property name="text">
+       <string>Send result</string>
+      </property>
+      <property name="checkable">
+       <bool>false</bool>
+      </property>
      </widget>
-     <widget class="QLabel" name="labelTopList">
+     <widget class="QLabel" name="labelMeasureTabTimeHeader">
       <property name="geometry">
        <rect>
-        <x>380</x>
-        <y>10</y>
-        <width>371</width>
-        <height>311</height>
+        <x>25</x>
+        <y>70</y>
+        <width>60</width>
+        <height>41</height>
        </rect>
       </property>
       <property name="font">
        <font>
-        <pointsize>9</pointsize>
+        <family>Bitstream Charter</family>
+        <pointsize>14</pointsize>
        </font>
       </property>
       <property name="text">
-       <string>TopList</string>
+       <string>Time:</string>
       </property>
-      <property name="alignment">
-       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabTime">
+      <property name="geometry">
+       <rect>
+        <x>129</x>
+        <y>60</y>
+        <width>71</width>
+        <height>61</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>24</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>0</string>
+      </property>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabSpeedHeader">
+      <property name="geometry">
+       <rect>
+        <x>25</x>
+        <y>160</y>
+        <width>81</width>
+        <height>41</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>14</pointsize>
+       </font>
+      </property>
+      <property name="text">
+       <string>Speed:</string>
+      </property>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabSpeed">
+      <property name="geometry">
+       <rect>
+        <x>129</x>
+        <y>160</y>
+        <width>51</width>
+        <height>41</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>24</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>0</string>
+      </property>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabResultHeader_2">
+      <property name="geometry">
+       <rect>
+        <x>470</x>
+        <y>60</y>
+        <width>71</width>
+        <height>61</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>14</pointsize>
+       </font>
+      </property>
+      <property name="text">
+       <string>Time:</string>
+      </property>
+     </widget>
+     <widget class="QLabel" name="labelMeasureTabResult">
+      <property name="geometry">
+       <rect>
+        <x>570</x>
+        <y>60</y>
+        <width>61</width>
+        <height>61</height>
+       </rect>
+      </property>
+      <property name="font">
+       <font>
+        <family>Bitstream Charter</family>
+        <pointsize>24</pointsize>
+        <weight>75</weight>
+        <bold>true</bold>
+       </font>
+      </property>
+      <property name="text">
+       <string>0</string>
+      </property>
+     </widget>
+     <widget class="QPushButton" name="pushButtonShowResultDialog">
+      <property name="geometry">
+       <rect>
+        <x>470</x>
+        <y>140</y>
+        <width>161</width>
+        <height>71</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>Show diagram</string>
       </property>
      </widget>
     </widget>
-    <widget class="QWidget" name="settingsTab">
+    <widget class="QWidget" name="tab">
      <attribute name="title">
-      <string>Settings</string>
+      <string>Route</string>
      </attribute>
-     <widget class="QLabel" name="userNameLabel">
+     <widget class="QCheckBox" name="gpsOnCheckBox">
       <property name="geometry">
        <rect>
         <x>20</x>
-        <y>30</y>
-        <width>141</width>
-        <height>17</height>
+        <y>20</y>
+        <width>94</width>
+        <height>22</height>
        </rect>
       </property>
       <property name="text">
-       <string>User:</string>
+       <string>GPS on</string>
       </property>
      </widget>
-     <widget class="QPushButton" name="setUserPushButton">
+     <widget class="QPushButton" name="startRecPushButton">
       <property name="geometry">
        <rect>
-        <x>20</x>
-        <y>60</y>
-        <width>93</width>
-        <height>27</height>
+        <x>30</x>
+        <y>76</y>
+        <width>151</width>
+        <height>51</height>
        </rect>
       </property>
       <property name="text">
-       <string>Set User</string>
+       <string>Start recording</string>
+      </property>
+     </widget>
+     <widget class="QPushButton" name="stopRecPushButton">
+      <property name="geometry">
+       <rect>
+        <x>30</x>
+        <y>150</y>
+        <width>151</width>
+        <height>51</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>Stop recording</string>
+      </property>
+     </widget>
+     <widget class="QPushButton" name="drawRoutePushButton">
+      <property name="geometry">
+       <rect>
+        <x>30</x>
+        <y>220</y>
+        <width>151</width>
+        <height>51</height>
+       </rect>
+      </property>
+      <property name="text">
+       <string>Draw route</string>
       </property>
      </widget>
     </widget>
    </widget>
-   <widget class="QWidget" name="layoutWidget">
-    <property name="geometry">
-     <rect>
-      <x>10</x>
-      <y>380</y>
-      <width>781</width>
-      <height>31</height>
-     </rect>
-    </property>
-    <layout class="QHBoxLayout" name="horizontalLayout">
-     <item>
-      <widget class="QPushButton" name="view1Button">
-       <property name="text">
-        <string>View1</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="view2Button">
-       <property name="text">
-        <string>View2</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="view3Button">
-       <property name="text">
-        <string>View3</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="view4Button">
-       <property name="text">
-        <string>View4</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </widget>
    <widget class="QPushButton" name="registratePushButton">
     <property name="geometry">
      <rect>
-      <x>690</x>
-      <y>0</y>
-      <width>93</width>
-      <height>27</height>
+      <x>520</x>
+      <y>370</y>
+      <width>231</width>
+      <height>41</height>
      </rect>
     </property>
     <property name="text">
      <x>0</x>
      <y>0</y>
      <width>800</width>
-     <height>27</height>
+     <height>25</height>
     </rect>
    </property>
   </widget>