Commit graph

24 commits

Author SHA1 Message Date
Pino Toscano 44aa2d7088 Globally store an icon loader different that the global one (eg the KPart one);
this way we can load our custom icons when embedded in other shells than ours.

svn path=/trunk/KDE/kdegraphics/okular/; revision=752473
2007-12-24 15:02:32 +00:00
Pino Toscano 7c85a2a804 Add a simple GUI to configure the tickness for line annotations.
Two new messages OK'ed by translators.

svn path=/trunk/KDE/kdegraphics/okular/; revision=746224
2007-12-08 11:31:37 +00:00
Jakob Petsovits d9de20dfe7 Masses of icon fixes and adaptions, caused by the original
desire to rename "edit" to "object-edit". I changed my mind
in the middle of the process (but had lots of other changes
lying around already and really need to stop), so many
or all of the newly renamed "object-edit" icons might
vanish again.

But all in all, there are improvements in many places.

svn path=/trunk/KDE/kdegraphics/okular/; revision=744272
2007-12-03 06:27:42 +00:00
Pino Toscano 6ddb793ae6 correctly locale the icon (when stored as metadata) in the prixmap preview widget
few updates in the list of default stamps

svn path=/trunk/KDE/kdegraphics/okular/; revision=736317
2007-11-13 22:32:59 +00:00
Rafael Fernández López 396bcc107b Code adaptation because of changes on libraries related to revision 719630
svn path=/trunk/KDE/kdegraphics/okular/; revision=719644
2007-10-01 15:10:42 +00:00
Pino Toscano 45960f6b71 Allow the use to choose any icon as stamp symbol.
svn path=/trunk/KDE/kdegraphics/okular/; revision=708387
2007-09-04 18:21:33 +00:00
Aaron J. Seigo a8e576712e kiconloader fixes
svn path=/trunk/KDE/kdegraphics/okular/; revision=691642
2007-07-24 05:42:32 +00:00
Pino Toscano 4754b6713e no need for a parent widget, as its parent will be another layout
svn path=/trunk/KDE/kdegraphics/okular/; revision=688246
2007-07-15 15:09:11 +00:00
Pino Toscano fd6ed8e1c5 SVN_SILENT i18n fix
svn path=/trunk/KDE/kdegraphics/okular/; revision=656175
2007-04-20 13:53: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
Laurent Montel 34edbef72d Port to new api
svn path=/trunk/playground/graphics/okular/; revision=621624
2007-01-09 11:02:04 +00:00
Pino Toscano 652787611d make it build with the new kdelibs
svn path=/trunk/playground/graphics/okular/; revision=619217
2007-01-03 00:17:31 +00:00
Pino Toscano 25cec88b81 Add a way to change the font of text annotations.
At the moment, used only in in-place text annotations.

svn path=/trunk/playground/graphics/okular/; revision=616121
2006-12-23 18:37:04 +00:00
Tobias Koenig 6f9d0df5cd Further annotation API cleanup
svn path=/trunk/playground/graphics/okular/; revision=612395
2006-12-11 07:59:02 +00:00
Pino Toscano 44a69612ef Make okular able to construct and display Geometric (Rectangle/Ellipse) Annotations.
Extended the annotation properties dialog to choose the type (rect/ellipse) or the color for the inner part.
Added a button in the review toolbar to construct a cyan ellipse.

svn path=/trunk/playground/graphics/okular/; revision=606023
2006-11-19 00:46:01 +00:00
Pino Toscano 4cb1a040c0 extend the property dialog for the highlight annotation, so it's possible to change the type of highlighting
svn path=/trunk/playground/graphics/okular/; revision=605982
2006-11-18 20:37:03 +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
Pino Toscano be5163d35e const
svn path=/trunk/playground/graphics/okular/; revision=585245
2006-09-16 17:11:13 +00:00
Pino Toscano 2202f9cf3e Annotations:
- draw the leader lines (and the extensions) for Line annotations that have them
- add a config widget for setting their length in Line annotations

svn path=/trunk/playground/graphics/okular/; revision=585212
2006-09-16 14:58:32 +00:00
Pino Toscano f1fa2511e8 Annotations:
- fix once again the PixmapPreviewSelector to support adding a visible name and an id for each item: this way we can add new pixmaps to it associating every pixmap name to a visible string (usually i18n'ed)
- when clicking on Apply in the Annotation Properties dialog, there are no changes pending so the annotation is unchanged again

svn path=/trunk/playground/graphics/okular/; revision=584208
2006-09-14 10:36:15 +00:00
Pino Toscano 58610481d8 Annotations:
- really activate the Apply button of the Properties dialog only when something is changed
- apply the changed in real-time, so they cna be seen directly with Apply and no need to close the dialog
- add a small fix (last, I hope) for the PixmapPreviewSelector about the pixmap loading 

svn path=/trunk/playground/graphics/okular/; revision=583922
2006-09-13 19:52:46 +00:00
Pino Toscano 15baef171e Annotations:
- improve the icon loading strategy for Stamp and Text(Linked) annotations: first look where we have the custom icons, then in the system place(s)
- add a simple (for now) TextAnnotationWidget to change the icon of a Linked Text annotation

svn path=/trunk/playground/graphics/okular/; revision=583882
2006-09-13 18:19:22 +00:00
Pino Toscano a6dfc76123 extract a PixmapPreviewSelector out of the StampAnnotationWidget
svn path=/trunk/playground/graphics/okular/; revision=583857
2006-09-13 17:28:32 +00:00
Pino Toscano c3a4b37301 Annotations:
start a basic system for the annotation properties editing. Add a base class that will act as "interface", and a factory to create the right subclass depending on the annotation type.
Adapt the Annotation Properties dialog to interact with the annotation widget.
Add the editing support for Stamp Annotation (but the artwork are missing, grrr)

svn path=/trunk/playground/graphics/okular/; revision=583620
2006-09-12 20:21:34 +00:00