Changeset 8510 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/audio/AudioPreference.java
- Timestamp:
- 2015-06-20T23:42:21+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/audio/AudioPreference.java
r8509 r8510 61 61 audioMenuVisible.setSelected(!Main.pref.getBoolean("audio.menuinvisible")); 62 62 audioMenuVisible.setToolTipText(tr("Show or hide the audio menu entry on the main menu bar.")); 63 audio.add(audioMenuVisible, GBC.eol().insets(0, 0,0,0));63 audio.add(audioMenuVisible, GBC.eol().insets(0, 0, 0, 0)); 64 64 65 65 // audioTraceVisible … … 67 67 markerAudioTraceVisible.setToolTipText( 68 68 tr("Display a moving icon representing the point on the synchronized track where the audio currently playing was recorded.")); 69 audio.add(markerAudioTraceVisible, GBC.eol().insets(0, 0,0,0));69 audio.add(markerAudioTraceVisible, GBC.eol().insets(0, 0, 0, 0)); 70 70 71 71 // buttonLabels 72 72 markerButtonLabels.setSelected(Main.pref.getBoolean("marker.buttonlabels", true)); 73 73 markerButtonLabels.setToolTipText(tr("Put text labels against audio (and image and web) markers as well as their button icons.")); 74 audio.add(markerButtonLabels, GBC.eol().insets(0, 0,0,0));74 audio.add(markerButtonLabels, GBC.eol().insets(0, 0, 0, 0)); 75 75 76 76 audio.add(new JLabel(tr("When importing audio, make markers from...")), GBC.eol()); … … 79 79 audioMarkersFromExplicitWaypoints.setSelected(Main.pref.getBoolean("marker.audiofromexplicitwaypoints", true)); 80 80 audioMarkersFromExplicitWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer.")); 81 audio.add(audioMarkersFromExplicitWaypoints, GBC.eol().insets(10, 0,0,0));81 audio.add(audioMarkersFromExplicitWaypoints, GBC.eol().insets(10, 0, 0, 0)); 82 82 83 83 // audioMarkersFromUntimedWaypoints 84 84 audioMarkersFromUntimedWaypoints.setSelected(Main.pref.getBoolean("marker.audiofromuntimedwaypoints", true)); 85 85 audioMarkersFromUntimedWaypoints.setToolTipText(tr("When importing audio, apply it to any waypoints in the GPX layer.")); 86 audio.add(audioMarkersFromUntimedWaypoints, GBC.eol().insets(10, 0,0,0));86 audio.add(audioMarkersFromUntimedWaypoints, GBC.eol().insets(10, 0, 0, 0)); 87 87 88 88 // audioMarkersFromNamedTrackpoints … … 90 90 audioMarkersFromNamedTrackpoints.setToolTipText( 91 91 tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions.")); 92 audio.add(audioMarkersFromNamedTrackpoints, GBC.eol().insets(10, 0,0,0));92 audio.add(audioMarkersFromNamedTrackpoints, GBC.eol().insets(10, 0, 0, 0)); 93 93 94 94 // audioMarkersFromWavTimestamps … … 96 96 audioMarkersFromWavTimestamps.setToolTipText( 97 97 tr("Create audio markers at the position on the track corresponding to the modified time of each audio WAV file imported.")); 98 audio.add(audioMarkersFromWavTimestamps, GBC.eol().insets(10, 0,0,0));98 audio.add(audioMarkersFromWavTimestamps, GBC.eol().insets(10, 0, 0, 0)); 99 99 100 100 // audioMarkersFromStart … … 102 102 audioMarkersFromStart.setToolTipText( 103 103 tr("Automatically create audio markers from trackpoints (rather than explicit waypoints) with names or descriptions.")); 104 audio.add(audioMarkersFromStart, GBC.eol().insets(10, 0,0,0));104 audio.add(audioMarkersFromStart, GBC.eol().insets(10, 0, 0, 0)); 105 105 106 106 audioForwardBackAmount.setText(Main.pref.get("audio.forwardbackamount", "10.0")); 107 107 audioForwardBackAmount.setToolTipText(tr("The number of seconds to jump forward or back when the relevant button is pressed")); 108 108 audio.add(new JLabel(tr("Forward/back time (seconds)")), GBC.std()); 109 audio.add(audioForwardBackAmount, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0,0,5));109 audio.add(audioForwardBackAmount, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5)); 110 110 111 111 audioFastForwardMultiplier.setText(Main.pref.get("audio.fastfwdmultiplier", "1.3")); 112 112 audioFastForwardMultiplier.setToolTipText(tr("The amount by which the speed is multiplied for fast forwarding")); 113 113 audio.add(new JLabel(tr("Fast forward multiplier")), GBC.std()); 114 audio.add(audioFastForwardMultiplier, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0,0,5));114 audio.add(audioFastForwardMultiplier, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5)); 115 115 116 116 audioLeadIn.setText(Main.pref.get("audio.leadin", "1.0")); … … 118 118 tr("Playback starts this number of seconds before (or after, if negative) the audio track position requested")); 119 119 audio.add(new JLabel(tr("Lead-in time (seconds)")), GBC.std()); 120 audio.add(audioLeadIn, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0,0,5));120 audio.add(audioLeadIn, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5)); 121 121 122 122 audioCalibration.setText(Main.pref.get("audio.calibration", "1.0")); 123 123 audioCalibration.setToolTipText(tr("The ratio of voice recorder elapsed time to true elapsed time")); 124 124 audio.add(new JLabel(tr("Voice recorder calibration")), GBC.std()); 125 audio.add(audioCalibration, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0,0,5));125 audio.add(audioCalibration, GBC.eol().fill(GBC.HORIZONTAL).insets(5, 0, 0, 5)); 126 126 127 127 audio.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.VERTICAL));
Note:
See TracChangeset
for help on using the changeset viewer.