Commit graph

47 commits

Author SHA1 Message Date
Pino Toscano 288fce0b82 AnnotationGuiUtils -> GuiUtils
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
2007-12-24 00:54:21 +00:00
Pino Toscano 034e8f9299 Map the index through the author proxy model as well.
This makes the context menu working again, thanks Elias P. for reporting that!

svn path=/trunk/KDE/kdegraphics/okular/; revision=748887
2007-12-15 20:39:01 +00:00
Eike Hein 435a6390b8 Anti-alias the "No annotations" box in the Reviews tab.
svn path=/trunk/KDE/kdegraphics/okular/; revision=746416
2007-12-08 22:39:25 +00:00
Pino Toscano 0b35107505 fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=732755
2007-11-04 17:03:47 +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
Pino Toscano bc509794eb remove two empty DocumentObserver notifications
svn path=/trunk/KDE/kdegraphics/okular/; revision=710426
2007-09-09 22:28:19 +00:00
Tobias Koenig 709e0eed1d Print fancy information when no annotations are available
svn path=/trunk/KDE/kdegraphics/okular/; revision=710354
2007-09-09 18:32:54 +00:00
Pino Toscano 08727a7cea a bit prettier
svn path=/trunk/KDE/kdegraphics/okular/; revision=710340
2007-09-09 17:33:14 +00:00
Tobias Koenig 9642e7ae5e Add proxy models for the AnnotationModel and port SideReviews
to it

svn path=/trunk/KDE/kdegraphics/okular/; revision=710330
2007-09-09 16:51:55 +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 815ac3867e move the annotation tooltip creation procedure in a single place
svn path=/trunk/KDE/kdegraphics/okular/; revision=709910
2007-09-08 14:41:40 +00:00
Pino Toscano 0bfbda8810 btter handle "empty" authors in the review tree
svn path=/trunk/KDE/kdegraphics/okular/; revision=709906
2007-09-08 14:29:46 +00:00
Pino Toscano 21a8ebbe1e simply a bit its layout, making it coherent with the other sidebar panes
svn path=/trunk/KDE/kdegraphics/okular/; revision=704288
2007-08-24 14:39:18 +00:00
Pino Toscano cd0dd24193 i18n fixes
rename 'freetext' to 'inline note'

svn path=/trunk/KDE/kdegraphics/okular/; revision=701876
2007-08-19 16:15:55 +00:00
Pino Toscano 905ca02fb2 center the "no items" text of the annotation pane, until a better solution comes
svn path=/trunk/KDE/kdegraphics/okular/; revision=667142
2007-05-21 23:12:01 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano af1fd0c1f3 new icon name
svn path=/trunk/playground/graphics/okular/; revision=643535
2007-03-17 18:12:23 +00:00
Pino Toscano 9ccf6d520d adapt the icon names to the icon naming spec
svn path=/trunk/playground/graphics/okular/; revision=640710
2007-03-08 21:41:46 +00:00
Tobias Koenig 777877f2d2 Refactor the RMB menu for annotations, so we can use the menu for
the PageView and the SideReview.

BUGS: 137722

svn path=/trunk/playground/graphics/okular/; revision=617807
2006-12-30 12:40:54 +00:00
Pino Toscano ea071caf9d Improve the way we get the contents of an annotation; dynamically change the tooltip of the annotation item in the side review pane.
svn path=/trunk/playground/graphics/okular/; revision=617106
2006-12-28 00:40:09 +00:00
Pino Toscano 48a772be4b move the ui-related utils functions for annotations in an own utils class
svn path=/trunk/playground/graphics/okular/; revision=617097
2006-12-27 23:56:38 +00:00
Tobias Koenig a9f58440df First large commit for the Annotation API cleanup
* Moved all public member variables of Annotation to private
    and add accessors
  * Renamed RevScope and RevType to RevisionScope and RevisionType
  * Add API documentation (@pino, please review)

svn path=/trunk/playground/graphics/okular/; revision=610749
2006-12-05 11:05:50 +00:00
Pino Toscano afa2e5a999 iterator -> const_iterator
svn path=/trunk/playground/graphics/okular/; revision=607842
2006-11-25 22:32:13 +00:00
Tobias Koenig 81fb3a383b Further cleanup of Page API:
* getAnnotations() -> annotations()
  * setBookmark()/hasBookmark() -> setBookmarked()/isBookmarked()
  * moved as much private API of Page as possible to private class

svn path=/trunk/playground/graphics/okular/; revision=607233
2006-11-23 19:25:52 +00:00
Pino Toscano 1c710fc2eb better use itemActivated
svn path=/trunk/playground/graphics/okular/; revision=606823
2006-11-21 22:25:12 +00:00
Pino Toscano 2840bc7c3d Smootly move the viewer area to the annotation when an annotation item in the review tab is double-clicked.
BUG: 137631

svn path=/trunk/playground/graphics/okular/; revision=606817
2006-11-21 22:08:49 +00:00
Pino Toscano 280ba5fd68 improve tooltip
svn path=/trunk/playground/graphics/okular/; revision=595313
2006-10-13 23:13:47 +00:00
Pino Toscano c2686ba1d1 show the annotation type in the review side tab, and a simple tooltip with its author
svn path=/trunk/playground/graphics/okular/; revision=593266
2006-10-07 11:00:39 +00:00
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +00:00
Laurent Montel 95486afabf clear button is not necessary it's into klineeedit now
svn path=/trunk/playground/graphics/okular/; revision=586807
2006-09-20 16:55:05 +00:00
Laurent Montel ead282936e Compile++
svn path=/trunk/playground/graphics/okular/; revision=569954
2006-08-05 10:35:03 +00:00
Pino Toscano 0b3a61356b use the own layout direction, no warning
svn path=/trunk/playground/graphics/okular/; revision=561531
2006-07-12 12:00:40 +00:00
Albert Astals Cid eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Pino Toscano cc399ac8f4 SVN_SILENT make it equal to the other similar i18n strings
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545980
2006-05-28 17:47:13 +00:00
Pino Toscano 5e7142bfc7 port the annotation side treeview to QTreeWidget
svn path=/branches/work/kde4/playground/graphics/okular/; revision=542619
2006-05-19 20:06:18 +00:00
Pino Toscano 8c30e9dfdf deprecated--
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540460
2006-05-13 14:15:09 +00:00
Pino Toscano e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Pino Toscano a9c6f32494 some kpdf -> okular for icons and a pair of gui messages
svn path=/branches/work/kde4/playground/graphics/okular/; revision=526898
2006-04-05 21:31:21 +00:00
Pino Toscano a27212eee9 - less qt3_support
- reactivating the review tab
- use the sizepolicy instead of stretchfactor

svn path=/branches/work/kde4/playground/graphics/okular/; revision=526095
2006-04-03 20:48:26 +00:00
Pino Toscano 8e9570877d Port to the new toolbar API.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=525362
2006-04-01 19:29:50 +00:00
Pino Toscano 11d5e77ff4 less qt3/kde3 support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524525
2006-03-30 15:27:27 +00:00
Pino Toscano 4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Pino Toscano 63c18ab06e Make the oKular part and its shell compile and link.
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
2006-03-28 22:22:10 +00:00
Pino Toscano 8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid db09e1aabe some more things compile, commiting so Pino has lastest
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522242
2006-03-24 20:40:02 +00:00
Piotr Szymanski d09fd28b89 - MERGE KPDF 3.5 CHANGES
svn path=/trunk/playground/graphics/oKular/kpdf/; revision=477586
2005-11-04 11:59:51 +00:00
Enrico Ros 4d0a1ed6e1 Added a new experimental 'Reviews' widget to the toolbox. This shows
all the reviews on the document (pretty unuseful now, but that will
change ;-). Another step to good kpdf annotations.

Part:
  Added Reviews toolbox pane. Added (commented out while doing it right)
  searchline for toc; just works.
Misc:
  Observer: added id for Reviews pane (as document observer it monitors
  document/annotations changes). Page: added 2 temporary accessors for
  annotations (will change soon). Makefile: added side_reviews.cpp to
  compilation. Searchwidget: slight better spacing to look consistant with
  the review panel.

svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400307
2005-03-24 19:50:28 +00:00