X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Fui_carmainwindow.h;h=a5b5232574e7974da2c80214aec51371baf2f116;hp=fc27fc76aba6bd0436781099555e811f732e9bb9;hb=2216854760d6023eb54b2b1cab119e614a964da3;hpb=b7e5e4f21ee31476d5b9d3ceb3b7070b7f6e7101 diff --git a/Client/ui_carmainwindow.h b/Client/ui_carmainwindow.h index fc27fc7..a5b5232 100644 --- a/Client/ui_carmainwindow.h +++ b/Client/ui_carmainwindow.h @@ -1,7 +1,7 @@ /******************************************************************************** ** Form generated from reading ui file 'carmainwindow.ui' ** -** Created: Wed Feb 24 13:07:28 2010 +** Created: Thu Mar 11 08:28:04 2010 ** by: Qt User Interface Compiler version 4.5.3 ** ** WARNING! All changes made in this file will be lost when recompiling ui file! @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -22,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -32,15 +34,42 @@ class Ui_CarMainWindow { public: QWidget *centralWidget; - QListView *listView; - QWidget *widget; - QVBoxLayout *verticalLayout; + QTabWidget *tabWidget; + QWidget *StartTab; + QListView *listViewStartTabAccelerationCategories; + QWidget *layoutWidget; + QVBoxLayout *verticalLayout_2; + QLabel *startLabel; + QLineEdit *lineEditStartTabMin; + QLabel *stopLabel; + QLineEdit *lineEditStartTabMax; + QLabel *unitLabel; + QComboBox *comboBoxStartTabUnits; QPushButton *autoStartButton; QPushButton *manualStartButton; - QWidget *widget1; - QVBoxLayout *verticalLayout_2; - QLabel *label; - QLineEdit *lineEdit; + QWidget *tabTop; + QPushButton *buttonTopRefresh; + QListView *listViewTopList; + QWidget *layoutWidget1; + QVBoxLayout *verticalLayout_3; + QLabel *labelCategory; + QComboBox *comboBoxTopCategory; + QLabel *labelTopList; + QWidget *settingsTab; + QLabel *userNameLabel; + QPushButton *setUserPushButton; + QWidget *tabMeasureResult; + QPushButton *pushButtonMeasureTabAbort; + QLabel *labelMeasureTabHeader; + QLabel *labelMeasureTabResultHeader; + QPushButton *pushButtonSendResult; + QLabel *labelMeasureTabTimeHeader; + QLabel *labelMeasureTabTime; + QLabel *labelMeasureTabSpeedHeader; + QLabel *labelMeasureTabSpeed; + QLabel *labelMeasureTabResultHeader_2; + QLabel *labelMeasureTabResult; + QPushButton *registratePushButton; QMenuBar *menuBar; QToolBar *mainToolBar; QStatusBar *statusBar; @@ -52,56 +81,181 @@ public: CarMainWindow->resize(800, 480); centralWidget = new QWidget(CarMainWindow); centralWidget->setObjectName(QString::fromUtf8("centralWidget")); - listView = new QListView(centralWidget); - listView->setObjectName(QString::fromUtf8("listView")); - listView->setGeometry(QRect(10, 0, 256, 101)); - widget = new QWidget(centralWidget); - widget->setObjectName(QString::fromUtf8("widget")); - widget->setGeometry(QRect(650, 340, 147, 78)); - verticalLayout = new QVBoxLayout(widget); - verticalLayout->setSpacing(6); - verticalLayout->setMargin(11); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - verticalLayout->setContentsMargins(0, 0, 0, 0); - autoStartButton = new QPushButton(widget); + tabWidget = new QTabWidget(centralWidget); + tabWidget->setObjectName(QString::fromUtf8("tabWidget")); + tabWidget->setGeometry(QRect(0, 0, 781, 361)); + StartTab = new QWidget(); + StartTab->setObjectName(QString::fromUtf8("StartTab")); + listViewStartTabAccelerationCategories = new QListView(StartTab); + listViewStartTabAccelerationCategories->setObjectName(QString::fromUtf8("listViewStartTabAccelerationCategories")); + listViewStartTabAccelerationCategories->setGeometry(QRect(0, 10, 151, 301)); + layoutWidget = new QWidget(StartTab); + layoutWidget->setObjectName(QString::fromUtf8("layoutWidget")); + layoutWidget->setGeometry(QRect(160, 10, 311, 301)); + verticalLayout_2 = new QVBoxLayout(layoutWidget); + verticalLayout_2->setSpacing(6); + verticalLayout_2->setMargin(11); + verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); + verticalLayout_2->setContentsMargins(0, 0, 0, 0); + startLabel = new QLabel(layoutWidget); + startLabel->setObjectName(QString::fromUtf8("startLabel")); + + verticalLayout_2->addWidget(startLabel); + + lineEditStartTabMin = new QLineEdit(layoutWidget); + lineEditStartTabMin->setObjectName(QString::fromUtf8("lineEditStartTabMin")); + + verticalLayout_2->addWidget(lineEditStartTabMin); + + stopLabel = new QLabel(layoutWidget); + stopLabel->setObjectName(QString::fromUtf8("stopLabel")); + + verticalLayout_2->addWidget(stopLabel); + + lineEditStartTabMax = new QLineEdit(layoutWidget); + lineEditStartTabMax->setObjectName(QString::fromUtf8("lineEditStartTabMax")); + + verticalLayout_2->addWidget(lineEditStartTabMax); + + unitLabel = new QLabel(layoutWidget); + unitLabel->setObjectName(QString::fromUtf8("unitLabel")); + + verticalLayout_2->addWidget(unitLabel); + + comboBoxStartTabUnits = new QComboBox(layoutWidget); + comboBoxStartTabUnits->setObjectName(QString::fromUtf8("comboBoxStartTabUnits")); + + verticalLayout_2->addWidget(comboBoxStartTabUnits); + + autoStartButton = new QPushButton(StartTab); autoStartButton->setObjectName(QString::fromUtf8("autoStartButton")); + autoStartButton->setGeometry(QRect(520, 40, 201, 71)); QFont font; font.setFamily(QString::fromUtf8("Bitstream Charter")); font.setPointSize(16); font.setBold(true); font.setWeight(75); autoStartButton->setFont(font); - - verticalLayout->addWidget(autoStartButton); - - manualStartButton = new QPushButton(widget); + manualStartButton = new QPushButton(StartTab); manualStartButton->setObjectName(QString::fromUtf8("manualStartButton")); + manualStartButton->setGeometry(QRect(520, 180, 201, 71)); manualStartButton->setFont(font); + tabWidget->addTab(StartTab, QString()); + tabTop = new QWidget(); + tabTop->setObjectName(QString::fromUtf8("tabTop")); + buttonTopRefresh = new QPushButton(tabTop); + buttonTopRefresh->setObjectName(QString::fromUtf8("buttonTopRefresh")); + buttonTopRefresh->setGeometry(QRect(20, 206, 221, 71)); + buttonTopRefresh->setFont(font); + listViewTopList = new QListView(tabTop); + listViewTopList->setObjectName(QString::fromUtf8("listViewTopList")); + listViewTopList->setGeometry(QRect(360, 10, 411, 311)); + QFont font1; + font1.setFamily(QString::fromUtf8("Bitstream Charter")); + font1.setPointSize(10); + listViewTopList->setFont(font1); + listViewTopList->setFlow(QListView::LeftToRight); + layoutWidget1 = new QWidget(tabTop); + layoutWidget1->setObjectName(QString::fromUtf8("layoutWidget1")); + layoutWidget1->setGeometry(QRect(10, 10, 341, 141)); + verticalLayout_3 = new QVBoxLayout(layoutWidget1); + verticalLayout_3->setSpacing(6); + verticalLayout_3->setMargin(11); + verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); + verticalLayout_3->setContentsMargins(0, 0, 0, 0); + labelCategory = new QLabel(layoutWidget1); + labelCategory->setObjectName(QString::fromUtf8("labelCategory")); + QFont font2; + font2.setFamily(QString::fromUtf8("Bitstream Charter")); + font2.setPointSize(16); + labelCategory->setFont(font2); - verticalLayout->addWidget(manualStartButton); - - widget1 = new QWidget(centralWidget); - widget1->setObjectName(QString::fromUtf8("widget1")); - widget1->setGeometry(QRect(340, 6, 146, 201)); - verticalLayout_2 = new QVBoxLayout(widget1); - verticalLayout_2->setSpacing(6); - verticalLayout_2->setMargin(11); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - verticalLayout_2->setContentsMargins(0, 0, 0, 0); - label = new QLabel(widget1); - label->setObjectName(QString::fromUtf8("label")); + verticalLayout_3->addWidget(labelCategory); - verticalLayout_2->addWidget(label); + comboBoxTopCategory = new QComboBox(layoutWidget1); + comboBoxTopCategory->setObjectName(QString::fromUtf8("comboBoxTopCategory")); - lineEdit = new QLineEdit(widget1); - lineEdit->setObjectName(QString::fromUtf8("lineEdit")); - - verticalLayout_2->addWidget(lineEdit); + verticalLayout_3->addWidget(comboBoxTopCategory); + labelTopList = new QLabel(tabTop); + labelTopList->setObjectName(QString::fromUtf8("labelTopList")); + labelTopList->setGeometry(QRect(380, 10, 371, 311)); + QFont font3; + font3.setPointSize(9); + labelTopList->setFont(font3); + labelTopList->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter); + tabWidget->addTab(tabTop, QString()); + settingsTab = new QWidget(); + settingsTab->setObjectName(QString::fromUtf8("settingsTab")); + userNameLabel = new QLabel(settingsTab); + userNameLabel->setObjectName(QString::fromUtf8("userNameLabel")); + userNameLabel->setGeometry(QRect(20, 30, 531, 71)); + setUserPushButton = new QPushButton(settingsTab); + setUserPushButton->setObjectName(QString::fromUtf8("setUserPushButton")); + setUserPushButton->setGeometry(QRect(20, 140, 201, 71)); + tabWidget->addTab(settingsTab, QString()); + tabMeasureResult = new QWidget(); + tabMeasureResult->setObjectName(QString::fromUtf8("tabMeasureResult")); + pushButtonMeasureTabAbort = new QPushButton(tabMeasureResult); + pushButtonMeasureTabAbort->setObjectName(QString::fromUtf8("pushButtonMeasureTabAbort")); + pushButtonMeasureTabAbort->setGeometry(QRect(20, 230, 160, 71)); + labelMeasureTabHeader = new QLabel(tabMeasureResult); + labelMeasureTabHeader->setObjectName(QString::fromUtf8("labelMeasureTabHeader")); + labelMeasureTabHeader->setGeometry(QRect(40, 10, 261, 41)); + QFont font4; + font4.setFamily(QString::fromUtf8("Bitstream Charter")); + font4.setBold(true); + font4.setWeight(75); + labelMeasureTabHeader->setFont(font4); + labelMeasureTabResultHeader = new QLabel(tabMeasureResult); + labelMeasureTabResultHeader->setObjectName(QString::fromUtf8("labelMeasureTabResultHeader")); + labelMeasureTabResultHeader->setGeometry(QRect(470, 10, 101, 41)); + labelMeasureTabResultHeader->setFont(font4); + pushButtonSendResult = new QPushButton(tabMeasureResult); + pushButtonSendResult->setObjectName(QString::fromUtf8("pushButtonSendResult")); + pushButtonSendResult->setEnabled(false); + pushButtonSendResult->setGeometry(QRect(470, 230, 160, 71)); + pushButtonSendResult->setCheckable(false); + labelMeasureTabTimeHeader = new QLabel(tabMeasureResult); + labelMeasureTabTimeHeader->setObjectName(QString::fromUtf8("labelMeasureTabTimeHeader")); + labelMeasureTabTimeHeader->setGeometry(QRect(25, 70, 60, 41)); + QFont font5; + font5.setFamily(QString::fromUtf8("Bitstream Charter")); + font5.setPointSize(14); + labelMeasureTabTimeHeader->setFont(font5); + labelMeasureTabTime = new QLabel(tabMeasureResult); + labelMeasureTabTime->setObjectName(QString::fromUtf8("labelMeasureTabTime")); + labelMeasureTabTime->setGeometry(QRect(129, 60, 71, 61)); + QFont font6; + font6.setFamily(QString::fromUtf8("Bitstream Charter")); + font6.setPointSize(14); + font6.setBold(true); + font6.setWeight(75); + labelMeasureTabTime->setFont(font6); + labelMeasureTabSpeedHeader = new QLabel(tabMeasureResult); + labelMeasureTabSpeedHeader->setObjectName(QString::fromUtf8("labelMeasureTabSpeedHeader")); + labelMeasureTabSpeedHeader->setGeometry(QRect(25, 160, 81, 41)); + labelMeasureTabSpeedHeader->setFont(font5); + labelMeasureTabSpeed = new QLabel(tabMeasureResult); + labelMeasureTabSpeed->setObjectName(QString::fromUtf8("labelMeasureTabSpeed")); + labelMeasureTabSpeed->setGeometry(QRect(129, 160, 51, 41)); + labelMeasureTabSpeed->setFont(font6); + labelMeasureTabResultHeader_2 = new QLabel(tabMeasureResult); + labelMeasureTabResultHeader_2->setObjectName(QString::fromUtf8("labelMeasureTabResultHeader_2")); + labelMeasureTabResultHeader_2->setGeometry(QRect(470, 60, 71, 61)); + labelMeasureTabResultHeader_2->setFont(font5); + labelMeasureTabResult = new QLabel(tabMeasureResult); + labelMeasureTabResult->setObjectName(QString::fromUtf8("labelMeasureTabResult")); + labelMeasureTabResult->setGeometry(QRect(570, 60, 61, 61)); + labelMeasureTabResult->setFont(font6); + tabWidget->addTab(tabMeasureResult, QString()); + registratePushButton = new QPushButton(centralWidget); + registratePushButton->setObjectName(QString::fromUtf8("registratePushButton")); + registratePushButton->setGeometry(QRect(520, 370, 231, 41)); CarMainWindow->setCentralWidget(centralWidget); menuBar = new QMenuBar(CarMainWindow); menuBar->setObjectName(QString::fromUtf8("menuBar")); - menuBar->setGeometry(QRect(0, 0, 800, 27)); + menuBar->setGeometry(QRect(0, 0, 800, 25)); CarMainWindow->setMenuBar(menuBar); mainToolBar = new QToolBar(CarMainWindow); mainToolBar->setObjectName(QString::fromUtf8("mainToolBar")); @@ -112,15 +266,40 @@ public: retranslateUi(CarMainWindow); + tabWidget->setCurrentIndex(0); + + QMetaObject::connectSlotsByName(CarMainWindow); } // setupUi void retranslateUi(QMainWindow *CarMainWindow) { - CarMainWindow->setWindowTitle(QApplication::translate("CarMainWindow", "CarMainWindow", 0, QApplication::UnicodeUTF8)); + CarMainWindow->setWindowTitle(QApplication::translate("CarMainWindow", "Speed freak", 0, QApplication::UnicodeUTF8)); + startLabel->setText(QApplication::translate("CarMainWindow", "Start:", 0, QApplication::UnicodeUTF8)); + stopLabel->setText(QApplication::translate("CarMainWindow", "Stop:", 0, QApplication::UnicodeUTF8)); + unitLabel->setText(QApplication::translate("CarMainWindow", "Unit:", 0, QApplication::UnicodeUTF8)); autoStartButton->setText(QApplication::translate("CarMainWindow", "Auto start", 0, QApplication::UnicodeUTF8)); manualStartButton->setText(QApplication::translate("CarMainWindow", "Manual start", 0, QApplication::UnicodeUTF8)); - label->setText(QApplication::translate("CarMainWindow", "TextLabel", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(StartTab), QApplication::translate("CarMainWindow", "Start", 0, QApplication::UnicodeUTF8)); + buttonTopRefresh->setText(QApplication::translate("CarMainWindow", "Refresh list", 0, QApplication::UnicodeUTF8)); + labelCategory->setText(QApplication::translate("CarMainWindow", "Category:", 0, QApplication::UnicodeUTF8)); + labelTopList->setText(QApplication::translate("CarMainWindow", "TopList", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabTop), QApplication::translate("CarMainWindow", "Top", 0, QApplication::UnicodeUTF8)); + userNameLabel->setText(QApplication::translate("CarMainWindow", "User:", 0, QApplication::UnicodeUTF8)); + setUserPushButton->setText(QApplication::translate("CarMainWindow", "Set User", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(settingsTab), QApplication::translate("CarMainWindow", "Settings", 0, QApplication::UnicodeUTF8)); + pushButtonMeasureTabAbort->setText(QApplication::translate("CarMainWindow", "Abort", 0, QApplication::UnicodeUTF8)); + labelMeasureTabHeader->setText(QApplication::translate("CarMainWindow", "Accelerate to 40 km/h", 0, QApplication::UnicodeUTF8)); + labelMeasureTabResultHeader->setText(QApplication::translate("CarMainWindow", "Results:", 0, QApplication::UnicodeUTF8)); + pushButtonSendResult->setText(QApplication::translate("CarMainWindow", "Send result", 0, QApplication::UnicodeUTF8)); + labelMeasureTabTimeHeader->setText(QApplication::translate("CarMainWindow", "Time:", 0, QApplication::UnicodeUTF8)); + labelMeasureTabTime->setText(QApplication::translate("CarMainWindow", "0", 0, QApplication::UnicodeUTF8)); + labelMeasureTabSpeedHeader->setText(QApplication::translate("CarMainWindow", "Speed:", 0, QApplication::UnicodeUTF8)); + labelMeasureTabSpeed->setText(QApplication::translate("CarMainWindow", "0", 0, QApplication::UnicodeUTF8)); + labelMeasureTabResultHeader_2->setText(QApplication::translate("CarMainWindow", "Time:", 0, QApplication::UnicodeUTF8)); + labelMeasureTabResult->setText(QApplication::translate("CarMainWindow", "0", 0, QApplication::UnicodeUTF8)); + tabWidget->setTabText(tabWidget->indexOf(tabMeasureResult), QApplication::translate("CarMainWindow", "Measure", 0, QApplication::UnicodeUTF8)); + registratePushButton->setText(QApplication::translate("CarMainWindow", "Registrate", 0, QApplication::UnicodeUTF8)); Q_UNUSED(CarMainWindow); } // retranslateUi