From b4f1feedffe1225bef51c0e79543f9b879e1e278 Mon Sep 17 00:00:00 2001 From: Merydian Date: Thu, 7 Dec 2023 13:15:15 +0100 Subject: [PATCH] refactor: provide tooltip with fitting information --- ORStools/gui/ORStoolsDialogUI.py | 4 ++-- ORStools/gui/ORStoolsDialogUI.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ORStools/gui/ORStoolsDialogUI.py b/ORStools/gui/ORStoolsDialogUI.py index ec4cb203..91deec08 100644 --- a/ORStools/gui/ORStoolsDialogUI.py +++ b/ORStools/gui/ORStoolsDialogUI.py @@ -14,7 +14,7 @@ class Ui_ORStoolsDialogBase(object): def setupUi(self, ORStoolsDialogBase): ORStoolsDialogBase.setObjectName("ORStoolsDialogBase") - ORStoolsDialogBase.resize(456, 777) + ORStoolsDialogBase.resize(412, 686) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) @@ -483,7 +483,7 @@ def retranslateUi(self, ORStoolsDialogBase): self.routing_fromline_map.setToolTip(_translate("ORStoolsDialogBase", "

Add wayoints interactively from the map canvas.

Double-click will terminate waypoint selection.

")) self.routing_fromline_clear.setToolTip(_translate("ORStoolsDialogBase", "

If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.

")) self.routing_fromline_list.setToolTip(_translate("ORStoolsDialogBase", "Select waypoints from the map!")) - self.save_vertices.setToolTip(_translate("ORStoolsDialogBase", "

If waypoints are selected in the list, only these will be deleted. Else all waypoints will be deleted.

")) + self.save_vertices.setToolTip(_translate("ORStoolsDialogBase", "

Save points in list to layer.

")) self.advances_group.setTitle(_translate("ORStoolsDialogBase", "Advanced Configuration")) self.optimization_group.setToolTip(_translate("ORStoolsDialogBase", "

Enabling Traveling Salesman will erase all other advanced configuration and assume the preference to be fastest.

")) self.optimization_group.setTitle(_translate("ORStoolsDialogBase", "Traveling Salesman")) diff --git a/ORStools/gui/ORStoolsDialogUI.ui b/ORStools/gui/ORStoolsDialogUI.ui index c81eea4d..ab6de356 100644 --- a/ORStools/gui/ORStoolsDialogUI.ui +++ b/ORStools/gui/ORStoolsDialogUI.ui @@ -347,7 +347,7 @@ - <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> + <html><head/><body><p>Save points in list to layer.</p></body></html>