Skip to content

Commit a6d7536

Browse files
committed
feat: add tooltips for new processing algorithms
1 parent c3ba595 commit a6d7536

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

ORStools/proc/export_proc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ def __init__(self):
7474
),
7575
]
7676

77+
self.setTooltTip(self.PARAMETERS[0], self.tr("Extent for which to export the graph."))
78+
self.setTooltTip(self.PARAMETERS[1], self.tr("Name of the exported point layer"))
79+
80+
7781
def processAlgorithm(
7882
self, parameters: dict, context: QgsProcessingContext, feedback: QgsProcessingFeedback
7983
) -> Dict[str, str]:

ORStools/proc/snap_layer_proc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def __init__(self) -> None:
7373
),
7474
]
7575

76+
self.setToolTip(self.PARAMETERS[1], self.tr("The radius in which to search for points. Note: usually, a limit is configured."))
77+
7678
def processAlgorithm(
7779
self, parameters: dict, context: QgsProcessingContext, feedback: QgsProcessingFeedback
7880
) -> Dict[str, str]:

ORStools/proc/snap_point_proc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def __init__(self) -> None:
7474
),
7575
]
7676

77+
self.setToolTip(self.PARAMETERS[0], self.tr("Select input point from map view."))
78+
self.setToolTip(self.PARAMETERS[1], self.tr("The radius in which to search for points. Note: usually, a limit is configured."))
79+
7780
crs_out = QgsCoordinateReferenceSystem.fromEpsgId(4326)
7881

7982
def processAlgorithm(

0 commit comments

Comments
 (0)