From 04fafeb58aebbef459f47a26e33c1afcb58820c7 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sun, 30 Oct 2011 13:58:08 +1000 Subject: [PATCH] Navbar cosmetic test --- daily.cpp | 5 ++--- daily.ui | 18 +++++++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/daily.cpp b/daily.cpp index 97c7ef3f..ca257817 100644 --- a/daily.cpp +++ b/daily.cpp @@ -866,9 +866,8 @@ void Daily::on_nextDayButton_clicked() void Daily::on_calButton_toggled(bool checked) { ui->calendar->setVisible(checked); - if (!checked) - ui->calButton->setArrowType(Qt::DownArrow); - else ui->calButton->setArrowType(Qt::UpArrow); + //if (!checked) ui->calButton->setArrowType(Qt::DownArrow); + //else ui->calButton->setArrowType(Qt::UpArrow); } diff --git a/daily.ui b/daily.ui index efc759ea..1d8d3526 100644 --- a/daily.ui +++ b/daily.ui @@ -61,7 +61,13 @@ Go to the previous day - < Prev + Prev + + + Qt::ToolButtonTextBesideIcon + + + Qt::LeftArrow @@ -101,7 +107,7 @@ true - Qt::UpArrow + Qt::NoArrow @@ -121,7 +127,13 @@ Go to the next day - Next > + Next + + + Qt::ToolButtonTextBesideIcon + + + Qt::RightArrow