Skip to content
Permalink
Browse files

Add tooltip for mFixedRangeSetToProjectTimeButton.

  • Loading branch information
ismailsunni authored and nyalldawson committed May 19, 2020
1 parent 4744696 commit 934d6c8e9f4060b50cce3ada65b8afeb51a9233b
Showing with 7 additions and 4 deletions.
  1. +7 −4 src/gui/qgstemporalcontrollerwidget.cpp
@@ -88,10 +88,13 @@ QgsTemporalControllerWidget::QgsTemporalControllerWidget( QWidget *parent )
whileBlocking( mFixedRangeEndDateTime )->setDateTime( range.end() );
}

mSetToProjectTimeButton->setToolTip( tr( "Match time range to project. \n"
"If a project has no explicit time range set, \n"
"then the range will be calculated based on the \n"
"minimum and maximum dates from any temporal-enabled layers." ) );
QString setToProjectTimeButtonToolTip = tr( "Match time range to project. \n"
"If a project has no explicit time range set, \n"
"then the range will be calculated based on the \n"
"minimum and maximum dates from any temporal-enabled layers." );

mSetToProjectTimeButton->setToolTip( setToProjectTimeButtonToolTip );
mFixedRangeSetToProjectTimeButton->setToolTip( setToProjectTimeButtonToolTip );

for ( QgsUnitTypes::TemporalUnit u :
{

0 comments on commit 934d6c8

Please sign in to comment.
You can’t perform that action at this time.