Show offset info when finding matching template.

This commit is contained in:
Albert Cervera i Areny 2008-09-12 16:26:59 +02:00
parent bbb5784e08
commit 1552729785
1 changed files with 1 additions and 0 deletions

View File

@ -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