Add tooltips for buttons.

Took 3 minutes
This commit is contained in:
Lukas Brübach 2025-11-19 22:10:26 +01:00
parent 8c618af5a4
commit 7573e3883d
2 changed files with 11 additions and 0 deletions

View file

@ -47,6 +47,14 @@ DeckListHistoryManagerWidget::DeckListHistoryManagerWidget(DeckListModel *_deckL
&DeckListHistoryManagerWidget::refreshList);
refreshList();
retranslateUi();
}
void DeckListHistoryManagerWidget::retranslateUi()
{
undoButton->setToolTip(tr("Undo"));
redoButton->setToolTip(tr("Redo"));
historyButton->setToolTip(tr("Undo/Redo history"));
}
void DeckListHistoryManagerWidget::setDeckListModel(DeckListModel *_deckListModel)

View file

@ -22,6 +22,9 @@ class DeckListHistoryManagerWidget : public QWidget
signals:
void requestDisplayWidgetSync();
public slots:
void retranslateUi();
public:
explicit DeckListHistoryManagerWidget(DeckListModel *deckListModel,
DeckListStyleProxy *styleProxy,