Commit Graph

258 Commits

Author SHA1 Message Date
Mika Fischer d489eaabf8 Fix model issues 2011-06-17 16:43:05 +02:00
Mika Fischer 6d17bdf5b3 Avoid error message when current item in treeview is reset 2011-06-17 16:43:05 +02:00
Martin Baeuml 87fd2f04a3 add test script for testing the annotationmodel with ModelTest 2011-06-17 14:27:46 +02:00
Martin Baeuml b6cb4d6bf3 add ModelTest 2011-06-17 14:27:46 +02:00
Martin Baeuml 9989bbef1a update 3rd party licenses 2011-06-17 14:27:46 +02:00
Mika Fischer a0bfbd00b4 Revert "Only call beginRemoveRows etc. for parent not for all children"
This reverts commit a64521f10e.
2011-06-17 10:56:20 +02:00
Martin Baeuml bb53f1e65c add back missing import 2011-06-17 10:49:34 +02:00
Mika Fischer a64521f10e Only call beginRemoveRows etc. for parent not for all children 2011-06-17 10:47:54 +02:00
Martin Baeuml 4de065cf3a remove more unneeded imports 2011-06-17 09:31:28 +02:00
Martin Baeuml 65830b4b7b make deletion hotkey configurable (fixes #10) 2011-06-17 09:31:10 +02:00
Martin Baeuml 717d11f82b update concepts doc 2011-06-17 09:29:43 +02:00
Mika Fischer ec37d1c411 Synchronize selections between Scene and TreeView (closes #18) 2011-06-16 20:17:33 +02:00
Mika Fischer 681bf970f2 Don't mess with selection when changing the image for now 2011-06-16 20:15:48 +02:00
Mika Fischer b006b2d4f8 Add accessor functions for scene and treeview to labeltool 2011-06-16 20:14:14 +02:00
Mika Fischer 0629384b07 Make annotations not selectable for now 2011-06-16 20:13:06 +02:00
Martin Baeuml 4bc79b4572 remove some unnecessary imports 2011-06-16 19:12:25 +02:00
Martin Baeuml 25fb89d43e use the new way of configuration (see #24) 2011-06-16 19:12:24 +02:00
Mika Fischer 2d89417805 Implement new Inserter interface (closes #26) 2011-06-16 17:44:32 +02:00
Mika Fischer 34d49e1752 Fix deleting of annotations 2011-06-16 16:58:06 +02:00
Mika Fischer 93c650baed Factor out the key/value stuff so that it can also be used in image files and frames 2011-06-16 16:08:23 +02:00
Mika Fischer 65b0c5ef18 Make multiple inheritance a bit more safe 2011-06-16 16:07:26 +02:00
Mika Fischer 0bbbbd5430 Remove debugging output 2011-06-16 15:46:46 +02:00
Mika Fischer 6a8be5f0b7 Implement dict-like interface for model items 2011-06-16 15:43:34 +02:00
Mika Fischer c88c4788ad Make default hotkeys work 2011-06-16 13:44:54 +02:00
Mika Fischer 514fd9cf92 Quit on errors loading initial annotations 2011-06-16 11:58:26 +02:00
Mika Fischer 2d4e401cb2 Fix going to next/previous frame/image 2011-06-16 11:45:04 +02:00
Mika Fischer 48a4cc28f5 Implement global hotkeys (closes: #16) 2011-06-16 11:12:01 +02:00
Mika Fischer aecd3ee17f Always have a valid model in LabelTool 2011-06-15 11:48:37 +02:00
Mika Fischer 1634331d08 Fix saving (closes: #2) 2011-06-15 11:38:59 +02:00
Mika Fischer 10278b264e Remove annotations from container 2011-06-15 11:08:03 +02:00
Mika Fischer 96e61b07a2 Don't emit dataChanged if a key is set to its current value 2011-06-15 11:04:17 +02:00
Mika Fischer 0395164784 Convert (Scene)Items to new model API 2011-06-15 11:04:17 +02:00
Mika Fischer 6517304580 Simplify AnnotationModelItem API a bit 2011-06-15 11:04:17 +02:00
Martin Baeuml 2b379ca734 implement the commands 2011-06-14 19:40:55 +02:00
Martin Baeuml 9c498970f0 fix to use new model API 2011-06-14 19:40:35 +02:00
Martin Baeuml 2884bd7273 save reference to the labeltool in the command 2011-06-14 19:40:13 +02:00
Martin Baeuml f6656cd2a3 remove unneeded options 2011-06-14 19:39:47 +02:00
Martin Baeuml c9b0f04b69 handle -h, --help, --version 2011-06-14 19:18:09 +02:00
Martin Baeuml d0381c29d2 remove obsolete CommandLineUtility 2011-06-14 19:17:48 +02:00
Martin Baeuml 7be783f9db merge with remote master 2011-06-14 19:10:51 +02:00
Martin Baeuml 08909f0183 handle subcommands in labeltool object directly 2011-06-14 19:02:47 +02:00
Martin Baeuml 3cc93018bf allow -c abbrv for --config 2011-06-14 18:59:22 +02:00
Martin Baeuml 6c8a3c4abd remove debug output, avoid exception in finally 2011-06-14 18:59:07 +02:00
Martin Baeuml f93375e088 handle empty filenames 2011-06-14 18:58:31 +02:00
Mika Fischer 5f19bf6cc7 Pass ModelItems instead of indices to Inserters 2011-06-14 17:57:55 +02:00
Mika Fischer 1bd0b47991 Remove debugging output 2011-06-14 17:40:43 +02:00
Mika Fischer abb0169e89 Merge pull request #1 from mika-fischer/model-refactoring
Model refactoring
2011-06-14 08:39:00 -07:00
Mika Fischer 8d71af7f65 Speed up generation of indices 2011-06-14 17:34:20 +02:00
Mika Fischer c1b8ee7568 Add multiple children at once in RootModelItem 2011-06-14 16:44:26 +02:00
Mika Fischer 1f7bdb098b Fix problem with constructor ordering 2011-06-14 16:40:27 +02:00