Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Also describe %type special tag for babel commands
  • Loading branch information
nyalldawson committed Aug 2, 2021
1 parent 47f7612 commit cd82a49
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/app/options/qgsgpsdeviceoptions.cpp
Expand Up @@ -35,14 +35,16 @@ QgsGpsDeviceOptionsWidget::QgsGpsDeviceOptionsWidget( QWidget *parent )
connect( mListDevices, &QListWidget::currentItemChanged, this, &QgsGpsDeviceOptionsWidget::selectedDeviceChanged );

mDescriptionBrowser->setHtml( QStringLiteral( "<p>%1</p><ul>"
"<li>%babel - %2</li>"
"<li>%in - %3</li>"
"<li>%out - %4</li>"
"<li><code>%babel</code> - %2</li>"
"<li><code>%in</code> - %3</li>"
"<li><code>%out</code> - %4</li>"
"<li><code>%type</code> - %5</li>"
"</ul>" ).arg( tr( "In the download and upload commands there can be special words that will be replaced by "
"QGIS when the commands are used. These words are:" ),
tr( "the path to GPSBabel" ),
tr( "the GPX filename when uploading or the port when downloading" ),
tr( "the port when uploading or the GPX filename when downloading" ) ) );
tr( "the port when uploading or the GPX filename when downloading" ),
tr( "GPSBabel feature type argument matching selected feature type (e.g. '-w' for waypoints, '-t' for tracks, and '-r' for routes)" ) ) );

const QMap< QString, QgsBabelGpsDeviceFormat * > registeredDevices = QgsApplication::gpsBabelFormatRegistry()->devices();
for ( auto it = registeredDevices.constBegin(); it != registeredDevices.constEnd(); ++it )
Expand Down

0 comments on commit cd82a49

Please sign in to comment.