Merge pull request #46 from tzutalin/py2-qt4

Change hotkeys
This commit is contained in:
darrenl 2017-01-09 14:31:41 +08:00 committed by GitHub
commit 633f26694b
2 changed files with 7 additions and 7 deletions

View File

@ -79,13 +79,13 @@ You can edit the [data/predefined_classes.txt](https://github.com/tzutalin/label
* Ctrl + r : Change the defult target dir which saving annotation files
* Ctrl + n : Create a bounding box
* Ctrl + s : Save
* n : Next image
* w : Create a bounding box
* p : Previous image
* d : Next image
* a : Previous image
### How to contribute
Send a pull request

View File

@ -196,10 +196,10 @@ class MainWindow(QMainWindow, WindowMixin):
'Ctrl+q', 'openAnnotation', u'Open Annotation')
openNextImg = action('&Next Image', self.openNextImg,
'n', 'next', u'Open Next')
'd', 'next', u'Open Next')
openPrevImg = action('&Prev Image', self.openPrevImg,
'p', 'prev', u'Open Prev')
'a', 'prev', u'Open Prev')
save = action('&Save', self.saveFile,
'Ctrl+S', 'save', u'Save labels to file', enabled=False)
@ -219,7 +219,7 @@ class MainWindow(QMainWindow, WindowMixin):
'Ctrl+J', 'edit', u'Move and edit Boxs', enabled=False)
create = action('Create\nRectBox', self.createShape,
'Ctrl+N', 'new', u'Draw a new Box', enabled=False)
'w', 'new', u'Draw a new Box', enabled=False)
delete = action('Delete\nRectBox', self.deleteSelectedShape,
'Delete', 'delete', u'Delete', enabled=False)
copy = action('&Duplicate\nRectBox', self.copySelectedShape,