Changeset 18738 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java
- Timestamp:
- 2023-05-30T15:39:05+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/display/GPXSettingsPanel.java
r18396 r18738 72 72 private final JRadioButton colorTypeQuality = new JRadioButton(tr("Quality (RTKLib only, if available)")); 73 73 private final JRadioButton colorTypeFix = new JRadioButton(tr("GPS fix value")); 74 private final JRadioButton colorTypeRef = new JRadioButton(tr("GPS reference ID")); 74 75 private final JRadioButton colorTypeTime = new JRadioButton(tr("Track date")); 75 76 private final JRadioButton colorTypeHeatMap = new JRadioButton(tr("Heat Map (dark = few, bright = many)")); … … 455 456 colorGroup.add(colorTypeQuality); 456 457 colorGroup.add(colorTypeFix); 458 colorGroup.add(colorTypeRef); 457 459 colorGroup.add(colorTypeTime); 458 460 colorGroup.add(colorTypeHeatMap); … … 466 468 tr("Colors points and track segments by RTKLib quality flag (Q). Your capture device needs to log that information.")); 467 469 colorTypeFix.setToolTipText(tr("Colors points and track segments by GPS fix value.")); 470 colorTypeRef.setToolTipText(tr("Colors points and track segments by GPS reference ID.")); 468 471 colorTypeTime.setToolTipText(tr("Colors points and track segments by its timestamp.")); 469 472 colorTypeHeatMap.setToolTipText(tr("Collected points and track segments for a position and displayed as heat map.")); … … 488 491 add(colorTypeQuality, GBC.eol().insets(40, 0, 0, 0)); 489 492 add(colorTypeFix, GBC.eol().insets(40, 0, 0, 0)); 493 add(colorTypeRef, GBC.eol().insets(40, 0, 0, 0)); 490 494 add(colorTypeTime, GBC.eol().insets(40, 0, 0, 0)); 491 495 add(colorTypeHeatMap, GBC.std().insets(40, 0, 0, 0)); … … 642 646 case 6: colorTypeQuality.setSelected(true); break; 643 647 case 7: colorTypeFix.setSelected(true); break; 648 case 8: colorTypeRef.setSelected(true); break; 644 649 default: Logging.warn("Unknown color type: " + colorType); 645 650 } … … 720 725 } else if (colorTypeFix.isSelected()) { 721 726 putPref("colormode", 7); 727 } else if (colorTypeRef.isSelected()) { 728 putPref("colormode", 8); 722 729 } else { 723 730 putPref("colormode", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
