Commit 3816b562 authored by Josef Brandt's avatar Josef Brandt

More convenient coordinate transfer GUI

parent 13939c06
......@@ -18,6 +18,7 @@ class CoordTransformUI(QtWidgets.QWidget):
def __init__(self, viewParent: 'SampleView'):
super(CoordTransformUI, self).__init__()
self.setWindowTitle('Recalculate Coordinate System')
self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint | QtCore.Qt.Tool)
self._viewParent: 'SampleView' = viewParent
self._dataset: 'DataSet' = viewParent.dataset
assert self._viewParent is not None
......@@ -305,6 +306,7 @@ class CoordTransformUI(QtWidgets.QWidget):
self.ImageMarkerAdded.emit(pos)
self._updateImageMarkersGUI()
self._readNewImageMarker(newImageMarkerScr.index)
def _readNewImageMarker(self, index: int) -> None:
"""Reads current instrument coordinates and assignes them to the respective "new image marker" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment