Fixed toolTips of scrollUp and scrollDown buttons
--HG-- branch : feature
This commit is contained in:
parent
ef1fff7a22
commit
b9deb50c1b
|
@ -429,8 +429,8 @@ void DialogDetail::ScrollUp()
|
||||||
{
|
{
|
||||||
if (ui.listWidget->count() > 1)
|
if (ui.listWidget->count() > 1)
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1);
|
QListWidgetItem *item = ui.listWidget->takeItem(0);
|
||||||
ui.listWidget->insertItem(0, item);
|
ui.listWidget->addItem(item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -439,8 +439,8 @@ void DialogDetail::ScrollDown()
|
||||||
{
|
{
|
||||||
if (ui.listWidget->count() > 1)
|
if (ui.listWidget->count() > 1)
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = ui.listWidget->takeItem(0);
|
QListWidgetItem *item = ui.listWidget->takeItem(ui.listWidget->count()-1);
|
||||||
ui.listWidget->addItem(item);
|
ui.listWidget->insertItem(0, item);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -355,7 +355,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="toolButtonDown">
|
<widget class="QToolButton" name="toolButtonDown">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Scroll down</string>
|
<string>Scroll down the list</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>...</string>
|
<string>...</string>
|
||||||
|
@ -368,7 +368,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="toolButtonUp">
|
<widget class="QToolButton" name="toolButtonUp">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Scroll up</string>
|
<string>Scroll up the list</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>...</string>
|
<string>...</string>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user