Skip to content

Commit

Permalink
feat: add tooltip to add button
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed Jan 19, 2024
1 parent fd19e23 commit 4b1a998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ORStools/gui/ORStoolsDialogUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ def retranslateUi(self, ORStoolsDialogBase):
self.routing_preference_combo.setToolTip(_translate("ORStoolsDialogBase", "Preference"))
self.label_6.setText(_translate("ORStoolsDialogBase", "Start:"))
self.label_7.setText(_translate("ORStoolsDialogBase", "Destination:"))
self.geocode_add.setToolTip(_translate("ORStoolsDialogBase", "Add start and destination as first and last point."))
self.geocode_add.setText(_translate("ORStoolsDialogBase", "Add"))
self.routing_fromline_map.setToolTip(_translate("ORStoolsDialogBase", "<html><head/><body><p>Add wayoints interactively from the map canvas.</p><p>Double-click will terminate waypoint selection.</p></body></html>"))
self.routing_fromline_clear.setToolTip(_translate("ORStoolsDialogBase", "<html><head/><body><p>If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.</p></body></html>"))
Expand Down
3 changes: 3 additions & 0 deletions ORStools/gui/ORStoolsDialogUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,9 @@
<height>30</height>
</size>
</property>
<property name="toolTip">
<string>Add start and destination as first and last point.</string>
</property>
<property name="text">
<string>Add</string>
</property>
Expand Down

0 comments on commit 4b1a998

Please sign in to comment.