#include "accelerometer.h"
#include "categorylist.h"
#include "httpclient.h"
+#include "routedialog.h"
namespace Ui {
class CarMainWindow;
CategoryList *categorylist;
HttpClient *myHttpClient;
LoginWindow *myLogin;
+ RouteDialog *myRoute;
//void initCategoryCompoBox();
void initComboBoxStartTabUnits(); //Start-tab view
void initListViewStartTabAccelerationCategories(); //Start-tab view
void userNameChanged();
private slots:
+ void on_drawRoutePushButton_clicked();
void on_pushButtonSendResult_clicked();
void on_pushButtonMeasureTabAbort_clicked();
void on_manualStartButton_clicked();
<property name="currentIndex">
<number>4</number>
</property>
+ <widget class="QWidget" name="tabTop">
+ <attribute name="title">
+ <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>10</x>
+ <y>10</y>
+ <width>341</width>
+ <height>141</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>
+ </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>
</property>
</widget>
</widget>
- <widget class="QWidget" name="tabTop">
- <attribute name="title">
- <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>10</x>
- <y>10</y>
- <width>341</width>
- <height>141</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>
- </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="settingsTab">
<attribute name="title">
<string>Settings</string>