From: Toni Jussila Date: Wed, 14 Apr 2010 07:36:43 +0000 (+0300) Subject: New background and button picture. X-Git-Tag: help~23 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=abc31f4c395065825faabba1059792978110836b;hp=d5c15a9ac385ec6cd81ff9b42cb9d363b0a9bc84 New background and button picture. --- diff --git a/Client/Graphics/Speedometer_calibrate.png b/Client/Graphics/Speedometer_calibrate.png new file mode 100644 index 0000000..91f305e Binary files /dev/null and b/Client/Graphics/Speedometer_calibrate.png differ diff --git a/Client/Graphics/Speedometer_start.png b/Client/Graphics/Speedometer_start.png new file mode 100644 index 0000000..3730bd9 Binary files /dev/null and b/Client/Graphics/Speedometer_start.png differ diff --git a/Client/Graphics/route_new.png b/Client/Graphics/route_new.png old mode 100755 new mode 100644 index a8af9c8..0edfb53 Binary files a/Client/Graphics/route_new.png and b/Client/Graphics/route_new.png differ diff --git a/Client/Graphics/route_play.png b/Client/Graphics/route_play.png deleted file mode 100755 index 9046471..0000000 Binary files a/Client/Graphics/route_play.png and /dev/null differ diff --git a/Client/Graphics/route_save.png b/Client/Graphics/route_save.png old mode 100755 new mode 100644 index 0f687ce..10205ef Binary files a/Client/Graphics/route_save.png and b/Client/Graphics/route_save.png differ diff --git a/Client/Graphics/route_start.png b/Client/Graphics/route_start.png new file mode 100644 index 0000000..d12f8c1 Binary files /dev/null and b/Client/Graphics/route_start.png differ diff --git a/Client/Graphics/route_stop.png b/Client/Graphics/route_stop.png old mode 100755 new mode 100644 index ab1b03e..2d64293 Binary files a/Client/Graphics/route_stop.png and b/Client/Graphics/route_stop.png differ diff --git a/Client/Graphics/sf.png b/Client/Graphics/sf.png new file mode 100644 index 0000000..d6a03b6 Binary files /dev/null and b/Client/Graphics/sf.png differ diff --git a/Client/Graphics/trophy_gold_refresh.png b/Client/Graphics/trophy_gold_refresh.png new file mode 100644 index 0000000..341f1e4 Binary files /dev/null and b/Client/Graphics/trophy_gold_refresh.png differ diff --git a/Client/accelerationstart.cpp b/Client/accelerationstart.cpp index 0a67211..11dbf85 100644 --- a/Client/accelerationstart.cpp +++ b/Client/accelerationstart.cpp @@ -23,6 +23,12 @@ accelerationstart::accelerationstart(QWidget *parent) : ui->categorComboBox->addItem("0 - 20 km/h",20); ui->categorComboBox->addItem("0 - 40 km/h"); ui->categorComboBox->addItem("0 - 100 km/h"); + + //Button settings + ui->buttonCalib->setAutoFillBackground(true); + ui->buttonCalib->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); + ui->buttonStart->setAutoFillBackground(true); + ui->buttonStart->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); } accelerationstart::~accelerationstart() diff --git a/Client/accelerationstartdialog.ui b/Client/accelerationstartdialog.ui index 76af4e5..4e17e91 100644 --- a/Client/accelerationstartdialog.ui +++ b/Client/accelerationstartdialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 480 + 380 @@ -16,40 +16,78 @@ - 50 - 140 + 140 + 160 221 51 - + - 310 - 130 - 171 - 71 + 0 + 230 + 150 + 150 - Calibrate + + + + :/new/prefix1/Graphics/sf.png - + - 520 - 130 - 181 - 71 + 590 + 0 + 201 + 381 - - Start - + + + + + + + + + :/new/prefix1/Graphics/Speedometer_calibrate.png:/new/prefix1/Graphics/Speedometer_calibrate.png + + + + 125 + 125 + + + + + + + + + + + + :/new/prefix1/Graphics/Speedometer_start.png:/new/prefix1/Graphics/Speedometer_start.png + + + + 125 + 125 + + + + + - + + + diff --git a/Client/accrealtimedialog.ui b/Client/accrealtimedialog.ui index c1d135c..895392f 100644 --- a/Client/accrealtimedialog.ui +++ b/Client/accrealtimedialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 480 + 380 @@ -123,6 +123,27 @@ true + + + + 0 + 230 + 150 + 150 + + + + + + + :/new/prefix1/Graphics/sf.png + + + label + horizontalLayoutWidget + horizontalLayoutWidget_2 + buttonAbort + pictureLabel diff --git a/Client/graphics.qrc b/Client/graphics.qrc index 4cbbf3a..19ed929 100644 --- a/Client/graphics.qrc +++ b/Client/graphics.qrc @@ -3,10 +3,6 @@ Graphics/meter.png Graphics/satellite_vista.png Graphics/route.png - Graphics/route_play.png - Graphics/route_stop.png - Graphics/route_new.png - Graphics/route_save.png Graphics/settings.png Graphics/trophy_gold.png Graphics/applications_internet.png @@ -15,5 +11,13 @@ Graphics/info.png Graphics/speedfreak.png Graphics/start.gif + Graphics/sf.png + Graphics/Speedometer_calibrate.png + Graphics/Speedometer_start.png + Graphics/route_new.png + Graphics/route_save.png + Graphics/route_start.png + Graphics/route_stop.png + Graphics/trophy_gold_refresh.png diff --git a/Client/mainwindow.ui b/Client/mainwindow.ui index 7e248ae..0bec122 100644 --- a/Client/mainwindow.ui +++ b/Client/mainwindow.ui @@ -7,7 +7,7 @@ 0 0 800 - 480 + 440 diff --git a/Client/routesavedialog.cpp b/Client/routesavedialog.cpp index fd9853f..e0bfe7b 100644 --- a/Client/routesavedialog.cpp +++ b/Client/routesavedialog.cpp @@ -25,12 +25,12 @@ RouteSaveDialog::RouteSaveDialog(QWidget *parent) : //Button settings buttonStatus = true; pixmapRouteStop = new QPixmap("Graphics/route_stop.png"); - pixmapRoutePlay = new QPixmap("Graphics/route_play.png"); + pixmapRouteStart = new QPixmap("Graphics/route_start.png"); iconRouteStop = new QIcon(*pixmapRouteStop); - iconRoutePlay = new QIcon(*pixmapRoutePlay); + iconRouteStart = new QIcon(*pixmapRouteStart); QSize iconSize(125, 125); ui->buttonRouteStartStop->setIconSize(iconSize); - ui->buttonRouteStartStop->setIcon(*iconRoutePlay); + ui->buttonRouteStartStop->setIcon(*iconRouteStart); ui->buttonRouteStartStop->setAutoFillBackground(true); ui->buttonRouteStartStop->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); @@ -70,9 +70,9 @@ RouteSaveDialog::~RouteSaveDialog() delete gpsData; delete routeDialog; delete pixmapRouteStop; - delete pixmapRoutePlay; + delete pixmapRouteStart; delete iconRouteStop; - delete iconRoutePlay; + delete iconRouteStart; } void RouteSaveDialog::changeEvent(QEvent *e) @@ -103,7 +103,7 @@ void RouteSaveDialog::on_buttonRouteStartStop_clicked() else { buttonStatus = true; - ui->buttonRouteStartStop->setIcon(*iconRoutePlay); + ui->buttonRouteStartStop->setIcon(*iconRouteStart); //Satellite picture and label ui->labelRouteSatelliteStatus->setText("Searching satellite"); diff --git a/Client/routesavedialog.h b/Client/routesavedialog.h index 5112c4b..6906bdd 100644 --- a/Client/routesavedialog.h +++ b/Client/routesavedialog.h @@ -40,9 +40,9 @@ private: RouteDialog *routeDialog; QString gpsSpeed; QPixmap *pixmapRouteStop; - QPixmap *pixmapRoutePlay; + QPixmap *pixmapRouteStart; QIcon *iconRouteStop; - QIcon *iconRoutePlay; + QIcon *iconRouteStart; bool buttonStatus; private slots: diff --git a/Client/routesavedialog.ui b/Client/routesavedialog.ui index f141299..960bd15 100644 --- a/Client/routesavedialog.ui +++ b/Client/routesavedialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 360 + 380 @@ -27,7 +27,7 @@ - 600 + 650 170 130 130 @@ -38,7 +38,7 @@ - :/new/prefix1/Graphics/route_play.png:/new/prefix1/Graphics/route_play.png + :/new/prefix1/Graphics/route_start.png:/new/prefix1/Graphics/route_start.png @@ -166,6 +166,22 @@ Qt::AlignCenter + + + + 0 + 230 + 150 + 150 + + + + + + + :/new/prefix1/Graphics/sf.png + + diff --git a/Client/settingsdialog.ui b/Client/settingsdialog.ui index 772f5f3..03d9af6 100644 --- a/Client/settingsdialog.ui +++ b/Client/settingsdialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 360 + 380 @@ -16,8 +16,8 @@ - 520 - 310 + 540 + 180 221 51 @@ -29,8 +29,8 @@ - 10 - 190 + 50 + 210 371 31 @@ -47,8 +47,8 @@ - 520 - 220 + 540 + 270 221 51 @@ -60,7 +60,7 @@ - 10 + 40 0 271 31 @@ -78,8 +78,8 @@ - 520 - 60 + 540 + 80 221 51 @@ -91,8 +91,8 @@ - 40 - 220 + 100 + 240 401 101 @@ -110,7 +110,7 @@ Bitstream Charter - 8 + 10 @@ -130,7 +130,7 @@ Bitstream Charter - 8 + 10 @@ -156,10 +156,10 @@ - + - 40 + 100 28 401 151 @@ -178,7 +178,7 @@ Bitstream Charter - 8 + 10 @@ -198,7 +198,7 @@ Bitstream Charter - 8 + 10 @@ -221,7 +221,7 @@ Bitstream Charter - 8 + 10 @@ -231,6 +231,31 @@ + + + + 0 + 230 + 150 + 150 + + + + + + + :/new/prefix1/Graphics/sf.png + + + label + pushButtonHelp + setUserLabel + setUserPushButton + registrateLabel + registratePushButton + layoutWidget + labelInfoToUser + layoutWidget regUserNameLineEdit @@ -242,6 +267,8 @@ setUserPushButton pushButtonHelp - + + + diff --git a/Client/topresultdialog.cpp b/Client/topresultdialog.cpp index 02bbbdc..b7cfdd4 100644 --- a/Client/topresultdialog.cpp +++ b/Client/topresultdialog.cpp @@ -20,6 +20,10 @@ TopResultDialog::TopResultDialog(QWidget *parent) : //Set the amount of requested top results here, untill there is user input setLimitNr(10); + + //Button settings + ui->buttonTopRefresh->setAutoFillBackground(true); + ui->buttonTopRefresh->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); } TopResultDialog::~TopResultDialog() diff --git a/Client/topresultdialog.ui b/Client/topresultdialog.ui index 79b110e..dfbd2db 100644 --- a/Client/topresultdialog.ui +++ b/Client/topresultdialog.ui @@ -7,7 +7,7 @@ 0 0 800 - 480 + 380 @@ -16,10 +16,10 @@ - 10 - 70 - 221 - 71 + 650 + 20 + 130 + 130 @@ -31,34 +31,25 @@ - Refresh list - - - - - - 280 - 0 - 491 - 251 - + - - - Bitstream Charter - 10 - + + + :/new/prefix1/Graphics/trophy_gold_refresh.png:/new/prefix1/Graphics/trophy_gold_refresh.png - - QListView::LeftToRight + + + 125 + 125 + - 300 - 0 - 451 + 150 + 70 + 471 251 @@ -71,14 +62,14 @@ - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop 10 - 200 + 0 221 51 @@ -96,9 +87,9 @@ - 10 - 260 - 601 + 140 + 10 + 491 41 @@ -106,9 +97,9 @@ - 10 + 120 310 - 521 + 671 51 @@ -116,7 +107,31 @@ + + + + 0 + 230 + 150 + 150 + + + + + + + :/new/prefix1/Graphics/sf.png + + + label + buttonTopRefresh + labelTopList + labelCategory + comboBoxTopCategory + labelInfoToUser - + + +