mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Clarify the meaning of the values in the stats tab
Extend the tooltips to be shown both on the labels and the values and add tooltips for all min/avg/max elements. To avoid confusion when only one dive is selected, no longer show min SAC or max SAC or min duration or max duration. Fixes #694 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f5bea8fcfd
commit
3ddbab6847
3 changed files with 24 additions and 4 deletions
|
@ -112,11 +112,19 @@ void MinMaxAvgWidget::setMinimum(const QString &minimum)
|
|||
void MinMaxAvgWidget::overrideMinToolTipText(const QString &newTip)
|
||||
{
|
||||
d->minIco->setToolTip(newTip);
|
||||
d->minValue->setToolTip(newTip);
|
||||
}
|
||||
|
||||
void MinMaxAvgWidget::overrideAvgToolTipText(const QString &newTip)
|
||||
{
|
||||
d->avgIco->setToolTip(newTip);
|
||||
d->avgValue->setToolTip(newTip);
|
||||
}
|
||||
|
||||
void MinMaxAvgWidget::overrideMaxToolTipText(const QString &newTip)
|
||||
{
|
||||
d->maxIco->setToolTip(newTip);
|
||||
d->maxValue->setToolTip(newTip);
|
||||
}
|
||||
|
||||
RenumberDialog *RenumberDialog::instance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue