Skip to content

Commit

Permalink
NavStars: Add tooltip for twilights
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-w committed Oct 30, 2023
1 parent d9a18b4 commit 21b42c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/NavStars/src/gui/NavStarsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ void NavStarsWindow::populateToday()
ui->labelCivilTwilight->setToolTip(QString("6° %1").arg(belowHorizon));
ui->labelNauticalTwilight->setToolTip(QString("12° %1").arg(belowHorizon));
ui->labelAstronomicalTwilight->setToolTip(QString("18° %1").arg(belowHorizon));
QString twilights = q_("The sum of the daytime duration and duration of morning and evening twilights");
ui->labelCivilTwilightDuration->setToolTip(twilights);
ui->labelNauticalTwilightDuration->setToolTip(twilights);
ui->labelAstronomicalTwilightDuration->setToolTip(twilights);
}

void NavStarsWindow::populateNavigationalStarsSets()
Expand Down

0 comments on commit 21b42c6

Please sign in to comment.