Commit graph

4566 commits

Author SHA1 Message Date
Patrick Spendrin 9c368e7567 forward port r853349 and r853404
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=853595
2008-08-28 00:05:31 +00:00
Rafael Fernández López 3bf585defb The save flag will try to load the state of the mainwindow when setupGUI is called. We always
need to call to createGUI before that (if no Create flag is passed to setupGUI, that isn't in
this case).

CCMAIL: pino@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=853433
2008-08-27 18:05:57 +00:00
Pino Toscano 7f4d879f77 few improvements to the video widget (yay for airport hacking):
- add a seek slider to the control bar, that "becomes" a button that popups it when there is too few space for it
- more robust even filter on the phonon video widget
- "eat" the tooltip events, so we don't have tooltips coming from eg the page view

svn path=/trunk/KDE/kdegraphics/okular/; revision=853304
2008-08-27 13:54:54 +00:00
Burkhard Lück 65688d3c4c updated docs
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=852717
2008-08-26 12:48:25 +00:00
Pino Toscano 593f07f026 no space between the video and the controls
svn path=/trunk/KDE/kdegraphics/okular/; revision=852304
2008-08-25 18:27:58 +00:00
Pino Toscano 6a09a31aee use the right page size when placing videos in presentation mode: not the global screen one, but the newly calculated page item one
svn path=/trunk/KDE/kdegraphics/okular/; revision=852302
2008-08-25 18:27:19 +00:00
Pino Toscano 1157e86d84 SVN_SILENT do not issue unuseful compile warnings when using poppler <= 0.8.x
svn path=/trunk/KDE/kdegraphics/okular/; revision=852081
2008-08-25 10:13:47 +00:00
Pino Toscano 70d9ff6c02 - add a real basic control bar with the play/pause and stop actions for the movie control, only shown whether the movie asks for it
- make the "click to play" function working for the video area only

svn path=/trunk/KDE/kdegraphics/okular/; revision=852067
2008-08-25 09:23:11 +00:00
Pino Toscano bf6c19c108 "borders" -> "margins" in menu entry
svn path=/trunk/KDE/kdegraphics/okular/; revision=851981
2008-08-25 03:32:18 +00:00
Pino Toscano 6639ca47ec the okularpart uses phonon too now, so link to it
svn path=/trunk/KDE/kdegraphics/okular/; revision=851966
2008-08-25 02:29:36 +00:00
Pino Toscano a65075c116 do not propagate the mouse events to the parent widget
svn path=/trunk/KDE/kdegraphics/okular/; revision=851962
2008-08-25 02:04:27 +00:00
Pino Toscano 6993fda364 Load video widgets for the video annotations of the document in the main page view.
Add them as part of the page items, so they can be resized, moved and shown/hidden automatically according to the related pages.

svn path=/trunk/KDE/kdegraphics/okular/; revision=851960
2008-08-25 01:59:23 +00:00
Pino Toscano da420dbcd3 Presentation mode: load the video widgets for the video annotations in the document, and show only the ones for the current slide.
svn path=/trunk/KDE/kdegraphics/okular/; revision=851958
2008-08-25 01:41:41 +00:00
Pino Toscano 3ede96ef1b add a video widget class that encapsulates a Phonon video player and includes all the logic for repeated playbacks, media controls, etc
at the moment, it provides just playback and repeat mode

svn path=/trunk/KDE/kdegraphics/okular/; revision=851956
2008-08-25 01:26:47 +00:00
Pino Toscano a8fab80008 read the showControls and playMode properties of movies (always with poppler head)
svn path=/trunk/KDE/kdegraphics/okular/; revision=851903
2008-08-24 21:35:21 +00:00
Pino Toscano 335a091ebc add showControls and playMode properties
svn path=/trunk/KDE/kdegraphics/okular/; revision=851902
2008-08-24 21:33:23 +00:00
Pino Toscano 723aa28f91 no need to tie the TTS object to the page view stuff, just emit the error messages and let the page view handle them
svn path=/trunk/KDE/kdegraphics/okular/; revision=851245
2008-08-23 11:09:04 +00:00
Pino Toscano 3011b861fd make the *Message() slots take a default (-1) duration for messages
svn path=/trunk/KDE/kdegraphics/okular/; revision=851244
2008-08-23 11:07:45 +00:00
Pino Toscano 03147a158b convert the movie objects and annotations from the poppler equivalents i added about 10 minutes ago
(thus available in the next poppler version, 0.9.0)

svn path=/trunk/KDE/kdegraphics/okular/; revision=851147
2008-08-23 00:12:55 +00:00
Pino Toscano 052fff3a0d make the movie annotations recognizable in the interface
svn path=/trunk/KDE/kdegraphics/okular/; revision=851146
2008-08-23 00:09:59 +00:00
Pino Toscano b95403b0b2 Add a preliminary and simple version of Movie object and MovieAnnotation.
CCBUG: 136574

svn path=/trunk/KDE/kdegraphics/okular/; revision=851145
2008-08-23 00:07:59 +00:00
Pino Toscano df7ca74b48 skip the widget mouse move event when the is no item under the mouse, or not even a previously selected one
svn path=/trunk/KDE/kdegraphics/okular/; revision=850901
2008-08-22 14:07:37 +00:00
Pino Toscano 670fd6fc6e First try at making the drag of the opaque areas working between pages.
Seems to be working, more or less. Feedback is appreciated!

CCBUG: 156490

svn path=/trunk/KDE/kdegraphics/okular/; revision=850830
2008-08-22 11:37:43 +00:00
Pino Toscano 0ac1b55589 fill the rendering image only where needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=850680
2008-08-22 00:41:17 +00:00
Pino Toscano 86169f7558 SVN_SILENT remove old code
svn path=/trunk/KDE/kdegraphics/okular/; revision=850199
2008-08-20 23:49:33 +00:00
Pino Toscano 730e1f665b Take into account relative links in pages, and resolve them correctly.
CCBUG: 169001

svn path=/trunk/KDE/kdegraphics/okular/; revision=850145
2008-08-20 20:55:48 +00:00
Pino Toscano a7a17d4833 Be sure to close the temporary PS file before sending it to lpr, so it is all flushed.
BUG: 160860

svn path=/trunk/KDE/kdegraphics/okular/; revision=849949
2008-08-20 14:08:59 +00:00
Burkhard Lück 0e74c5090b fixed wrong description of 'Center first page', reported by mkkot. Thanks a lot!
BUG: 164731

svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=849384
2008-08-19 12:55:51 +00:00
Pino Toscano 53e989f76d add brackets for the body of the if()
svn path=/trunk/KDE/kdegraphics/okular/; revision=847496
2008-08-15 13:26:25 +00:00
Pino Toscano 84a23006d5 ask the q-ptr only when compling the threaded rendering
svn path=/trunk/KDE/kdegraphics/okular/; revision=847495
2008-08-15 13:24:02 +00:00
Albert Astals Cid c54837dbb4 i suck more, fix style again
svn path=/trunk/KDE/kdegraphics/okular/; revision=846881
2008-08-14 09:39:20 +00:00
Albert Astals Cid be5c6c8a95 style fixes, i suck
svn path=/trunk/KDE/kdegraphics/okular/; revision=846875
2008-08-14 09:29:17 +00:00
Albert Astals Cid 0d12c549cd Enable people to remove annotations from the tree in the page or author
level

Patch by Alex Fiestas and Aleix Pol with some minor tweak by me

svn path=/trunk/KDE/kdegraphics/okular/; revision=846872
2008-08-14 09:27:56 +00:00
Pino Toscano 9b8d15bab3 Add a search option for start searching from the current page instead of the first page.
BUG: 163149

svn path=/trunk/KDE/kdegraphics/okular/; revision=845858
2008-08-12 14:10:49 +00:00
Pino Toscano 5bb000ed8b add a way to set the "from start" search option
svn path=/trunk/KDE/kdegraphics/okular/; revision=845857
2008-08-12 14:09:14 +00:00
Pino Toscano 751d15bbe2 add the possibility to read the form actions, using poppler of around 5 minutes ago
svn path=/trunk/KDE/kdegraphics/okular/; revision=845793
2008-08-12 12:02:31 +00:00
Pino Toscano 0960b00b95 un-static-ize createLinkFromPopplerLink()
svn path=/trunk/KDE/kdegraphics/okular/; revision=845788
2008-08-12 11:53:44 +00:00
Albert Astals Cid 6b106c32ca If we are cancelling move, make sure we are where we should be
CCMAIL: 165809

svn path=/trunk/KDE/kdegraphics/okular/; revision=844880
2008-08-10 20:26:33 +00:00
Pino Toscano e00b99bba1 add ODT in the export format class
svn path=/trunk/KDE/kdegraphics/okular/; revision=843642
2008-08-07 13:45:43 +00:00
Pino Toscano d51be3729b add a way to disable the internal page cache, and disable it by default in the generator
svn path=/trunk/KDE/kdegraphics/okular/; revision=843095
2008-08-06 12:42:44 +00:00
Pino Toscano a9227aff93 SVN_SILENT bump version, update copyright notice and slightly improve the description
svn path=/trunk/KDE/kdegraphics/okular/; revision=843089
2008-08-06 12:31:16 +00:00
Pino Toscano 2f12a3a3d6 allocate less temporary buffers; this should make the backend use less memory when rendering
svn path=/trunk/KDE/kdegraphics/okular/; revision=843088
2008-08-06 12:28:14 +00:00
Pino Toscano 16b864fe24 statically allocate the format mask instead of creating+deleting
svn path=/trunk/KDE/kdegraphics/okular/; revision=843087
2008-08-06 12:16:30 +00:00
Pino Toscano 27fc7f9144 Apply workaround as suggested by DjVuLibre's maintainer Leon Bottou to avoid a potential crash in rare situations.
The real fix should be applied already in DjVuLibre's CVS.
Thanks Leon!

BUG: 168030

svn path=/trunk/KDE/kdegraphics/okular/; revision=842846
2008-08-06 04:16:15 +00:00
Pino Toscano 6fe1576442 Correctly get the filename from the original url, not from the local file name of the real file being open.
BUG: 168068

svn path=/trunk/KDE/kdegraphics/okular/; revision=842324
2008-08-05 09:15:24 +00:00
Pino Toscano 8d83f021a8 Enable the text-to-speech actions only when there is a document loaded (other than KTTS being present, of course).
BUG: 168310

svn path=/trunk/KDE/kdegraphics/okular/; revision=841918
2008-08-04 10:16:47 +00:00
Pino Toscano 9308f9b1af SVN_SILENT i feel to have contributed in a significant way, so add me too
svn path=/trunk/KDE/kdegraphics/okular/; revision=841468
2008-08-03 10:31:56 +00:00
Pino Toscano 2eb4dd8147 - extract the painter-based paint procedure of the XpsPage in an own method
- add printing support for the XPS backend

svn path=/trunk/KDE/kdegraphics/okular/; revision=841450
2008-08-03 10:19:05 +00:00
Pino Toscano 9748b1e6a7 update all the configuration (not just the AA settings) each time a document is open
svn path=/trunk/KDE/kdegraphics/okular/; revision=841347
2008-08-03 08:43:33 +00:00
Albert Astals Cid 61964b930f And now okular coupled with poppler from 5 minutes ago has the hability to let you save to file fonts embedded into a pdf file
svn path=/trunk/KDE/kdegraphics/okular/; revision=840789
2008-08-01 20:26:22 +00:00