Skip to content

Commit

Permalink
[needs-docs][reports] Tweak strings for clarity, add tooltips
Browse files Browse the repository at this point in the history
Rename 'Single section' to 'Static layout section'
  • Loading branch information
nyalldawson committed Feb 23, 2018
1 parent de2c900 commit a1785e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/app/layout/qgsreportorganizerwidget.cpp
Expand Up @@ -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 );

Expand Down

0 comments on commit a1785e2

Please sign in to comment.