Commit Graph

246 Commits

Author SHA1 Message Date
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
Mika Fischer 1bd1b808a3 Add a TODO 2011-06-14 16:15:23 +02:00
Mika Fischer 72f373bcdf Finish model refactoring
Annotation attributes are not displayed for some reason...
2011-06-14 16:13:06 +02:00
Mika Fischer a30ede6874 Initialize model of LabelTool 2011-06-14 16:11:44 +02:00
Mika Fischer 351ced184d Consistent naming of "protected" members 2011-06-14 15:02:21 +02:00
Mika Fischer 03d00da1b3 Fix display of attribute values 2011-06-14 14:30:49 +02:00
Mika Fischer 76e538d8ce Remove unneeded call 2011-06-14 14:16:08 +02:00
Mika Fischer 1e40eafa33 Emit dataChanged signal 2011-06-14 14:15:55 +02:00
Mika Fischer 70146d3e0e Always call base class data function if not handled by derived class 2011-06-14 14:15:36 +02:00
Mika Fischer fd113e727e Remove index from delegated setData calls 2011-06-14 14:14:54 +02:00
Mika Fischer 09abec135e Remove unneeded functions 2011-06-14 13:56:05 +02:00
Mika Fischer 741c31b8fb Continue with model refactoring
Workable now, but some cleanup left to do
2011-06-14 13:32:04 +02:00
Mika Fischer d5dbd91402 Don't derive ModelItem from QObject as it causes problems 2011-06-14 12:15:58 +02:00