You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QString sentence2 = tr("Select a GPX file and then select the feature types that you want to load.");
418
+
419
+
QString text = format.arg(sentence1).arg(sentence2);
420
+
421
+
teLoadDescription->setHtml(text);
422
+
QgsDebugMsg(text);
423
+
}
424
+
425
+
voidQgsGPSPluginGui::populateDLDialog() {
426
+
427
+
QString format = QString("<p>%1 %2 %3<p>%4 %5</p>");
428
+
429
+
QString sentence1 = tr("This tool will help you download data from a GPS device.");
430
+
QString sentence2 = tr("Choose your GPS device, the port it is connected to, the feature type you want to download, a name for your new layer, and the GPX file where you want to store the data.");
431
+
QString sentence3 = tr("If your device isn't listed, or if you want to change some settings, you can also edit the devices.");
432
+
QString sentence4 = tr("This tool uses the program GPSBabel (%1) to transfer the data.")
QString sentence2 = tr("This requires that you have GPSBabel installed where QGIS can find it.");
468
+
QString sentence3 = tr("Select a GPS file format and the file that you want to import, the feature type that you want to use, a GPX filename that you want to save the converted file as, and a name for the new layer.");
469
+
QString sentence4 = tr("All file formats can not store waypoints, routes, and tracks, so some feature types may be disabled for some file formats.");
470
+
471
+
QString text = format.arg(sentence1).arg(sentence2).arg(sentence3).arg(sentence4);
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:12pt;"><span style=" font-size:10pt;">GPX is the </span><a href="http://www.topografix.com/gpx.asp"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">GPS eXchange file format</span></a><span style=" font-size:10pt;">, which is used to store information about waypoints, routes, and tracks.</span></p>
88
-
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">Select a GPX file and then select the feature types that you want to load.</p></body></html></string>
84
+
<string></string>
89
85
</property>
90
86
</widget>
91
87
</item>
@@ -166,16 +162,12 @@ p, li { white-space: pre-wrap; }
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:12pt;"><span style=" font-size:10pt;">QGIS can only load GPX files by itself, but many other formats can be converted to GPX using GPSBabel (</span><a href="http://gpsbabel.sf.net"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">http://gpsbabel.sf.net</span></a><span style=" font-size:10pt;">). This requires that you have GPSBabel installed where QGIS can find it.</span></p>
178
-
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">Select a GPS file format and the file that you want to import, the feature type that you want to use, a GPX filename that you want to save the converted file as, and a name for the new layer. All file formats can not store waypoints, routes, and tracks, so some feature types may be disabled for some file formats.</p></body></html></string>
170
+
<string></string>
179
171
</property>
180
172
</widget>
181
173
</item>
@@ -281,16 +273,12 @@ p, li { white-space: pre-wrap; }
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:12pt;"><span style=" font-size:10pt;">This tool will help you download data from a GPS device. Choose your GPS device, the port it is connected to, the feature type you want to download, a name for your new layer, and the GPX file where you want to store the data. If your device isn't listed, or if you want to change some settings, you can also edit the devices.</span></p>
293
-
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">This tool uses the program GPSBabel (<a href="http://gpsbabel.sf.net"><span style=" text-decoration: underline; color:#0000ff;">http://gpsbabel.sf.net</span></a>) to transfer the data. If you don't have GPSBabel installed where QGIS can find it, this tool will not work.</p></body></html></string>
281
+
<string></string>
294
282
</property>
295
283
</widget>
296
284
</item>
@@ -456,16 +444,12 @@ p, li { white-space: pre-wrap; }
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:12pt;"><span style=" font-size:10pt;">This tool will help you upload data from a GPX layer to a GPS device. Choose the layer you want to upload, the device you want to upload it to, and the port your device is connected to. If your device isn't listed, or if you want to change some settings, you can also edit the devices.</span></p>
468
-
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">This tool uses the program GPSBabel (<a href="http://gpsbabel.sf.net"><span style=" text-decoration: underline; color:#0000ff;">http://gpsbabel.sf.net</span></a>) to transfer the data. If you don't have GPSBabel installed where QGIS can find it, this tool will not work.</p></body></html></string>
0 commit comments