Revert previous arrow tests

This commit is contained in:
Mark Watkins 2011-10-30 14:21:35 +10:00
parent ed71d5cbe8
commit 7ce9896075
2 changed files with 16 additions and 7 deletions

View File

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

View File

@ -73,13 +73,16 @@
<string>Go to the previous day</string>
</property>
<property name="text">
<string>Prev</string>
<string>&lt; Prev</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>false</bool>
</property>
<property name="arrowType">
<enum>Qt::LeftArrow</enum>
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>
@ -125,7 +128,7 @@
<bool>true</bool>
</property>
<property name="arrowType">
<enum>Qt::NoArrow</enum>
<enum>Qt::UpArrow</enum>
</property>
</widget>
</item>
@ -149,6 +152,9 @@
<property name="text">
<string>T</string>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item>
@ -172,13 +178,16 @@
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>Next</string>
<string>Next &gt;</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise">
<bool>false</bool>
</property>
<property name="arrowType">
<enum>Qt::RightArrow</enum>
<enum>Qt::NoArrow</enum>
</property>
</widget>
</item>