From: Toni Jussila Date: Wed, 31 Mar 2010 11:06:05 +0000 (+0300) Subject: Route dialog ui development. X-Git-Tag: v0.2-RC1~11^2 X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=commitdiff_plain;h=1e6de127ae8f82b42b9745732877eb94a940efbf Route dialog ui development. --- diff --git a/Client/Graphics/route_new.png b/Client/Graphics/route_new.png new file mode 100755 index 0000000..a8af9c8 Binary files /dev/null and b/Client/Graphics/route_new.png differ diff --git a/Client/Graphics/route_save.png b/Client/Graphics/route_save.png new file mode 100755 index 0000000..0f687ce Binary files /dev/null and b/Client/Graphics/route_save.png differ diff --git a/Client/creditsdialog.ui b/Client/creditsdialog.ui index 05fc8ce..c8f684b 100644 --- a/Client/creditsdialog.ui +++ b/Client/creditsdialog.ui @@ -343,6 +343,36 @@ + + + + + 10 + + + + Delacro + + + Qt::AlignCenter + + + + + + + + 10 + + + + David Lanham + + + Qt::AlignCenter + + + diff --git a/Client/graphics.qrc b/Client/graphics.qrc index 5c0e44e..6771c3c 100644 --- a/Client/graphics.qrc +++ b/Client/graphics.qrc @@ -11,5 +11,7 @@ Graphics/Speedometer.png Graphics/Speedometer2.png Graphics/info.png + Graphics/route_new.png + Graphics/route_save.png diff --git a/Client/routedialog.cpp b/Client/routedialog.cpp index 5a680aa..ff55de2 100644 --- a/Client/routedialog.cpp +++ b/Client/routedialog.cpp @@ -171,6 +171,12 @@ RouteDialog::RouteDialog(QWidget *parent) : this->setWindowTitle("Route"); left = 5; top = 5; right = 495; bottom = 295; // Limits in screen coordinates + //Button settings + ui->sendPushButton->setAutoFillBackground(true); + ui->sendPushButton->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); + ui->newPushButton->setAutoFillBackground(true); + ui->newPushButton->setStyleSheet("background-color: rgb(0, 0, 0); color: rgb(255, 255, 255)"); + // Send rout to server button disable/enable. ui->sendPushButton->setEnabled(false); if (loginSaved()) diff --git a/Client/routedialog.ui b/Client/routedialog.ui index 22e2049..cdf0dba 100644 --- a/Client/routedialog.ui +++ b/Client/routedialog.ui @@ -6,7 +6,7 @@ 0 0 - 634 + 800 300 @@ -16,56 +16,84 @@ - 520 - 6 - 101 - 41 + 670 + 110 + 90 + 90 - New + + + + + :/new/prefix1/Graphics/route_new.png:/new/prefix1/Graphics/route_new.png + + + + 85 + 85 + - 520 - 56 - 101 - 41 + 670 + 10 + 90 + 90 - Send + - - - - - 531 - 106 - 91 - 31 - + + + :/new/prefix1/Graphics/route_save.png:/new/prefix1/Graphics/route_save.png - - Max speed + + + 85 + 85 + - + - 531 - 146 - 91 - 41 + 660 + 210 + 121 + 81 - - TextLabel - + + + + + Max speed + + + Qt::AlignCenter + + + + + + + TextLabel + + + Qt::AlignCenter + + + + - + + +