mirror of https://github.com/NaN-tic/nanscan.git
Show offset info when finding matching template.
This commit is contained in:
parent
bbb5784e08
commit
1552729785
|
@ -456,6 +456,7 @@ class MainWindow(QMainWindow):
|
|||
self._template = result['template']
|
||||
self.scene.setTemplate(self._template)
|
||||
self.updateTitle()
|
||||
QMessageBox.information( self, _('Template parameters'), _('Template found with offset (%d, %d)') % (result['xOffset'], result['yOffset']) )
|
||||
|
||||
def recognizerChanged(self, recognizer):
|
||||
rect = self.uiTool.box.rect
|
||||
|
|
Loading…
Reference in New Issue