Skip to content
Permalink
Browse files

Show tooltips for layer style dock labeling tabs

  • Loading branch information
nyalldawson committed Jul 11, 2016
1 parent 9c85f94 commit 7d822f01c7aff8a58fcb9116855a94362f43d367
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 7d822f0

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