Skip to content

Commit a1785e2

Browse files
committed
[needs-docs][reports] Tweak strings for clarity, add tooltips
Rename 'Single section' to 'Static layout section'
1 parent de2c900 commit a1785e2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/layout/qgsreportorganizerwidget.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ QgsReportOrganizerWidget::QgsReportOrganizerWidget( QWidget *parent, QgsLayoutDe
5656
mViewSections->setEditTriggers( QAbstractItemView::AllEditTriggers );
5757

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

0 commit comments

Comments
 (0)