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) void Daily::on_calButton_toggled(bool checked)
{ {
ui->calendar->setVisible(checked); ui->calendar->setVisible(checked);
//if (!checked) ui->calButton->setArrowType(Qt::DownArrow); if (!checked) ui->calButton->setArrowType(Qt::DownArrow);
//else ui->calButton->setArrowType(Qt::UpArrow); else ui->calButton->setArrowType(Qt::UpArrow);
} }

View File

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