mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Navbar cosmetic test
This commit is contained in:
parent
7aab4c4b5a
commit
04fafeb58a
@ -866,9 +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)
|
//if (!checked) ui->calButton->setArrowType(Qt::DownArrow);
|
||||||
ui->calButton->setArrowType(Qt::DownArrow);
|
//else ui->calButton->setArrowType(Qt::UpArrow);
|
||||||
else ui->calButton->setArrowType(Qt::UpArrow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
18
daily.ui
18
daily.ui
@ -61,7 +61,13 @@
|
|||||||
<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>Prev</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolButtonStyle">
|
||||||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||||
|
</property>
|
||||||
|
<property name="arrowType">
|
||||||
|
<enum>Qt::LeftArrow</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -101,7 +107,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="arrowType">
|
<property name="arrowType">
|
||||||
<enum>Qt::UpArrow</enum>
|
<enum>Qt::NoArrow</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@ -121,7 +127,13 @@
|
|||||||
<string>Go to the next day</string>
|
<string>Go to the next day</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Next ></string>
|
<string>Next</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolButtonStyle">
|
||||||
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||||
|
</property>
|
||||||
|
<property name="arrowType">
|
||||||
|
<enum>Qt::RightArrow</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user