Commit graph

12 commits

Author SHA1 Message Date
Pino Toscano 6d68021b61 delete the annotation item when the annotation it represent was removed
svn path=/trunk/KDE/kdegraphics/okular/; revision=752761
2007-12-25 14:47:53 +00:00
Pino Toscano 288fce0b82 AnnotationGuiUtils -> GuiUtils
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
2007-12-24 00:54:21 +00:00
Pino Toscano 0b35107505 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
2007-11-04 17:03:47 +00:00
Pino Toscano 76008f84da use the new icon here as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=720879
2007-10-03 22:51:11 +00:00
Tobias Koenig c70cb99bdc Add proxy model for grouping by author
svn path=/trunk/KDE/kdegraphics/okular/; revision=710548
2007-09-10 09:35:08 +00:00
Tobias Koenig e40be7a9c3 Some GUI improvements
svn path=/trunk/KDE/kdegraphics/okular/; revision=710312
2007-09-09 15:58:10 +00:00
Pino Toscano b12610e46a when an annotation was updated, update all the annotation for its page (we can't do else, at the moment...)
svn path=/trunk/KDE/kdegraphics/okular/; revision=710252
2007-09-09 12:33:49 +00:00
Pino Toscano b56ad8c3ae Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
2007-09-09 10:50:36 +00:00
Pino Toscano 928a7be1e9 properly unregister upon destruction from the document (checking if it's still alive)
don't attempt to rebuild the annotation tree if the document has no pages

svn path=/trunk/KDE/kdegraphics/okular/; revision=710044
2007-09-09 00:27:16 +00:00
Pino Toscano f2f15e0918 rename AnnotationItem to AnnItem, it gave me enough troubles to be left so long...
svn path=/trunk/KDE/kdegraphics/okular/; revision=710036
2007-09-08 23:46:49 +00:00
Pino Toscano e6cc6a58c4 properly update when an annotation is added or removed (TODO: when is just changed)
also, return the PageRole for the page tree items

svn path=/trunk/KDE/kdegraphics/okular/; revision=710034
2007-09-08 23:39:30 +00:00
Pino Toscano 239434362e Basic version of a tree model for the document annotations.
It provides the items this way:

root
+ page 1
| + annotations for page 1
+ page 2
| + annotations for page 2
.. and so on
It does not return subtrees for pages without annotations.

svn path=/trunk/KDE/kdegraphics/okular/; revision=709946
2007-09-08 17:10:35 +00:00