diff --git a/daily.cpp b/daily.cpp index ca257817..a7759e89 100644 --- a/daily.cpp +++ b/daily.cpp @@ -866,8 +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 708b71b3..6efbaf13 100644 --- a/daily.ui +++ b/daily.ui @@ -73,13 +73,16 @@ Go to the previous day - Prev + < Prev Qt::ToolButtonTextBesideIcon + + false + - Qt::LeftArrow + Qt::NoArrow @@ -125,7 +128,7 @@ true - Qt::NoArrow + Qt::UpArrow @@ -149,6 +152,9 @@ T + + true + @@ -172,13 +178,16 @@ Qt::LeftToRight - Next + Next > Qt::ToolButtonTextBesideIcon + + false + - Qt::RightArrow + Qt::NoArrow