Skip to content
Permalink
Browse files

[needs-docs][reports] Tweak strings for clarity, add tooltips

Rename 'Single section' to 'Static layout section'
  • Loading branch information
nyalldawson committed Feb 23, 2018
1 parent de2c900 commit a1785e214ea58606c32d760b73bcae6d1125ca3e
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/app/layout/qgsreportorganizerwidget.cpp
@@ -56,10 +56,12 @@ QgsReportOrganizerWidget::QgsReportOrganizerWidget( QWidget *parent, QgsLayoutDe
mViewSections->setEditTriggers( QAbstractItemView::AllEditTriggers );

QMenu *addMenu = new QMenu( mButtonAddSection );
QAction *layoutSection = new QAction( tr( "Single section" ), addMenu );
QAction *layoutSection = new QAction( tr( "Static layout section" ), addMenu );
layoutSection->setToolTip( tr( "A static layout report section which consists of a single layout inserted into the report" ) );
addMenu->addAction( layoutSection );
connect( layoutSection, &QAction::triggered, this, &QgsReportOrganizerWidget::addLayoutSection );
QAction *fieldGroupSection = new QAction( tr( "Field group" ), addMenu );
QAction *fieldGroupSection = new QAction( tr( "Field group section" ), addMenu );
fieldGroupSection->setToolTip( tr( "A report section which is repeated for every matching feature within a layer" ) );
addMenu->addAction( fieldGroupSection );
connect( fieldGroupSection, &QAction::triggered, this, &QgsReportOrganizerWidget::addFieldGroupSection );

0 comments on commit a1785e2

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