@@ -767,8 +767,6 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, bool skipVersionCh
767
767
mMapCanvas = new QgsMapCanvas( centralWidget );
768
768
mMapCanvas->setObjectName( QStringLiteral( "theMapCanvas" ) );
769
769
connect( mMapCanvas, &QgsMapCanvas::messageEmitted, this, &QgisApp::displayMessage );
770
- mMapCanvas->setWhatsThis( tr( "Map canvas. This is where raster and vector "
771
- "layers are displayed when added to the map" ) );
772
770
773
771
if ( settings.value( QStringLiteral( "qgis/main_canvas_preview_jobs" ) ).isNull() )
774
772
{
@@ -3098,9 +3096,6 @@ void QgisApp::createStatusBar()
3098
3096
mRotationEdit->setSingleStep( 5.0 );
3099
3097
mRotationEdit->setFont( statusBarFont );
3100
3098
mRotationEdit->setSuffix( tr( " °" ) );
3101
- mRotationEdit->setWhatsThis( tr( "Shows the current map clockwise rotation "
3102
- "in degrees. It also allows editing to set "
3103
- "the rotation" ) );
3104
3099
mRotationEdit->setToolTip( tr( "Current clockwise map rotation in degrees" ) );
3105
3100
mStatusBar->addPermanentWidget( mRotationEdit, 0 );
3106
3101
connect( mRotationEdit, static_cast < void ( QgsDoubleSpinBox::* )( double ) > ( &QgsDoubleSpinBox::valueChanged ), this, &QgisApp::userRotation );
@@ -3112,10 +3107,6 @@ void QgisApp::createStatusBar()
3112
3107
mRenderSuppressionCBox->setObjectName( QStringLiteral( "mRenderSuppressionCBox" ) );
3113
3108
mRenderSuppressionCBox->setChecked( true );
3114
3109
mRenderSuppressionCBox->setFont( statusBarFont );
3115
- mRenderSuppressionCBox->setWhatsThis( tr( "When checked, the map layers "
3116
- "are rendered in response to map navigation commands and other "
3117
- "events. When not checked, no rendering is done. This allows you "
3118
- "to add a large number of layers and symbolize them before rendering." ) );
3119
3110
mRenderSuppressionCBox->setToolTip( tr( "Toggle map rendering" ) );
3120
3111
mStatusBar->addPermanentWidget( mRenderSuppressionCBox, 0 );
3121
3112
// On the fly projection status bar icon
@@ -3130,10 +3121,6 @@ void QgisApp::createStatusBar()
3130
3121
// For Qt/Mac 3.3, the default toolbutton height is 30 and labels were expanding to match
3131
3122
mOnTheFlyProjectionStatusButton->setMaximumHeight( mScaleWidget->height() );
3132
3123
mOnTheFlyProjectionStatusButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mIconProjectionEnabled.svg" ) ) );
3133
- mOnTheFlyProjectionStatusButton->setWhatsThis( tr( "This icon shows whether "
3134
- "on the fly coordinate reference system transformation is enabled or not. "
3135
- "Click the icon to bring up "
3136
- "the project properties dialog to alter this behavior." ) );
3137
3124
mOnTheFlyProjectionStatusButton->setToolTip( tr( "CRS status - Click "
3138
3125
"to open coordinate reference system dialog" ) );
3139
3126
connect( mOnTheFlyProjectionStatusButton, &QAbstractButton::clicked,
@@ -3145,7 +3132,6 @@ void QgisApp::createStatusBar()
3145
3132
mMessageButton->setAutoRaise( true );
3146
3133
mMessageButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/mMessageLogRead.svg" ) ) );
3147
3134
mMessageButton->setToolTip( tr( "Messages" ) );
3148
- mMessageButton->setWhatsThis( tr( "Messages" ) );
3149
3135
mMessageButton->setObjectName( QStringLiteral( "mMessageLogViewerButton" ) );
3150
3136
mMessageButton->setMaximumHeight( mScaleWidget->height() );
3151
3137
mMessageButton->setCheckable( true );
@@ -3672,8 +3658,6 @@ void QgisApp::createOverview()
3672
3658
int blue = settings.value( QStringLiteral( "qgis/default_canvas_color_blue" ), 255 ).toInt();
3673
3659
mOverviewCanvas->setBackgroundColor( QColor( red, green, blue ) );
3674
3660
3675
- mOverviewCanvas->setWhatsThis( tr( "Map overview canvas. This canvas can be used to display a locator map that shows the current extent of the map canvas. The current extent is shown as a red rectangle. Any layer on the map can be added to the overview canvas." ) );
3676
-
3677
3661
mOverviewMapCursor = new QCursor( Qt::OpenHandCursor );
3678
3662
mOverviewCanvas->setCursor( *mOverviewMapCursor );
3679
3663
// QVBoxLayout *myOverviewLayout = new QVBoxLayout;
@@ -3916,8 +3900,6 @@ void QgisApp::addUserInputWidget( QWidget *widget )
3916
3900
3917
3901
void QgisApp::initLayerTreeView()
3918
3902
{
3919
- mLayerTreeView->setWhatsThis( tr( "Map legend that displays all the layers currently on the map canvas. Click on the checkbox to turn a layer on or off. Double-click on a layer in the legend to customize its appearance and set other properties." ) );
3920
-
3921
3903
mLayerTreeDock = new QgsDockWidget( tr( "Layers" ), this );
3922
3904
mLayerTreeDock->setObjectName( QStringLiteral( "Layers" ) );
3923
3905
mLayerTreeDock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
@@ -4025,7 +4007,6 @@ void QgisApp::initLayerTreeView()
4025
4007
mMapLayerOrder = new QgsCustomLayerOrderWidget( mLayerTreeCanvasBridge, this );
4026
4008
mMapLayerOrder->setObjectName( QStringLiteral( "theMapLayerOrder" ) );
4027
4009
4028
- mMapLayerOrder->setWhatsThis( tr( "Map layer list that displays all layers in drawing order." ) );
4029
4010
mLayerOrderDock = new QgsDockWidget( tr( "Layer Order" ), this );
4030
4011
mLayerOrderDock->setObjectName( QStringLiteral( "LayerOrder" ) );
4031
4012
mLayerOrderDock->setAllowedAreas( Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea );
@@ -11454,12 +11435,6 @@ void QgisApp::closeEvent( QCloseEvent *event )
11454
11435
fileExit();
11455
11436
}
11456
11437
11457
-
11458
- void QgisApp::whatsThis()
11459
- {
11460
- QWhatsThis::enterWhatsThisMode();
11461
- } // QgisApp::whatsThis()
11462
-
11463
11438
QMenu *QgisApp::getPluginMenu( const QString &menuName )
11464
11439
{
11465
11440
/* Plugin menu items are below the plugin separator (which may not exist yet
0 commit comments