Skip to content
Permalink
Browse files

Show tooltips for layer style dock labeling tabs

(cherry-picked from 7d822f0)
  • Loading branch information
nyalldawson committed Jul 19, 2016
1 parent dd9b10c commit f350048acf2525609b8c115e357db3b7c593d11f
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/app/qgslabelinggui.cpp
@@ -478,6 +478,14 @@ QgsLabelingGui::QgsLabelingGui( QgsVectorLayer* layer, QgsMapCanvas* mapCanvas,
void QgsLabelingGui::setDockMode( bool enabled )
{
mOptionsTab->setVisible( enabled );
mOptionsTab->setTabToolTip( 0, tr( "Text" ) );
mOptionsTab->setTabToolTip( 1, tr( "Formatting" ) );
mOptionsTab->setTabToolTip( 2, tr( "Buffer" ) );
mOptionsTab->setTabToolTip( 3, tr( "Background" ) );
mOptionsTab->setTabToolTip( 4, tr( "Shadow" ) );
mOptionsTab->setTabToolTip( 5, tr( "Placement" ) );
mOptionsTab->setTabToolTip( 6, tr( "Rendering" ) );

mLabelingOptionsListFrame->setVisible( !enabled );
groupBox_mPreview->setVisible( !enabled );
mDockMode = enabled;

0 comments on commit f350048

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