Navbar cosmetic test

This commit is contained in:
Mark Watkins 2011-10-30 13:58:08 +10:00
parent 7aab4c4b5a
commit 04fafeb58a
2 changed files with 17 additions and 6 deletions

View File

@ -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);
}

View File

@ -61,7 +61,13 @@
<string>Go to the previous day</string>
</property>
<property name="text">
<string>&lt; Prev</string>
<string>Prev</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="arrowType">
<enum>Qt::LeftArrow</enum>
</property>
</widget>
</item>
@ -101,7 +107,7 @@
<bool>true</bool>
</property>
<property name="arrowType">
<enum>Qt::UpArrow</enum>
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>
@ -121,7 +127,13 @@
<string>Go to the next day</string>
</property>
<property name="text">
<string>Next &gt;</string>
<string>Next</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="arrowType">
<enum>Qt::RightArrow</enum>
</property>
</widget>
</item>