Pino Toscano
7e4b9d2170
a small copy&paste error that broke the Google-any search
...
svn path=/trunk/playground/graphics/okular/; revision=632854
19 years ago
Pino Toscano
1d27a90fd3
a slightly better usage of the Qt containers, saving also some lookups when using the QMap's
...
svn path=/trunk/playground/graphics/okular/; revision=632853
19 years ago
Dirk Mueller
e24f08a75f
remove misplaced ';'
...
svn path=/trunk/playground/graphics/okular/; revision=631926
19 years ago
Pino Toscano
47dad5cac7
compile with the latest kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=630700
19 years ago
Pino Toscano
e9bcc53bc1
a pair of "cleanups" when deleting a Document
...
svn path=/trunk/playground/graphics/okular/; revision=630505
19 years ago
Pino Toscano
355645922b
Make the playback of repeating sounds working (hopefully).
...
Add a way to stop all the playbacks of the AudioPlayer.
svn path=/trunk/playground/graphics/okular/; revision=630500
19 years ago
Pino Toscano
ca2a0e194d
SVN_SILENT spell check
...
svn path=/trunk/playground/graphics/okular/; revision=630468
19 years ago
Pino Toscano
770079b736
SVN_SILENT forgot this one
...
svn path=/trunk/playground/graphics/okular/; revision=630429
19 years ago
Pino Toscano
1752a95053
SVN_SILENT PlayInfo -> PlayData
...
svn path=/trunk/playground/graphics/okular/; revision=630428
19 years ago
Pino Toscano
ad1d23cc26
Honor the 'mix' flag in sounds, stopping the playing sounds if necessary.
...
svn path=/trunk/playground/graphics/okular/; revision=630424
19 years ago
Pino Toscano
1e7cb0b2eb
First version of an audio player for okular, able to play the sounds in the documents.
...
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.
svn path=/trunk/playground/graphics/okular/; revision=630315
19 years ago
Albert Astals Cid
1587b9605a
unnecessary but fun small optimizations, basically avoid unnecessary detach() calls by ensuring the const method is called
...
also remove a double search on a qmap
svn path=/trunk/playground/graphics/okular/; revision=629869
19 years ago
Pino Toscano
37b5d0f3cc
handy method
...
svn path=/trunk/playground/graphics/okular/; revision=629174
19 years ago
Tobias Koenig
0847edc4b7
Add a second parameter to requestTextPage/generateTextPage where you can
...
specify whether the request should be synchronous or asynchronous
svn path=/trunk/playground/graphics/okular/; revision=628893
19 years ago
Pino Toscano
ef55f74682
lazy creation of the generation threads within Generator, so generators that don't make use of the builtin thread don't create a pair of unused threads
...
svn path=/trunk/playground/graphics/okular/; revision=628860
19 years ago
Pino Toscano
92ea1bba69
Last step of the ThreadedGenerator -> Generator merge: remove the old files and rename the used file.
...
svn path=/trunk/playground/graphics/okular/; revision=628856
19 years ago
Pino Toscano
6068c76df6
Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now.
...
svn path=/trunk/playground/graphics/okular/; revision=628853
19 years ago
Pino Toscano
dd6ddee116
tokoe does not know that Page::text() and TextPage::text() have different functions ;)
...
fixing a crash when getting the whole text of a page
svn path=/trunk/playground/graphics/okular/; revision=628802
19 years ago
Pino Toscano
63cc92be1c
isolate the generator unloading code
...
svn path=/trunk/playground/graphics/okular/; revision=628576
19 years ago
Albert Astals Cid
4586139282
Adapt to kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=628342
19 years ago
Pino Toscano
23d666cf7f
move the DRM skip checks to the Document
...
svn path=/trunk/playground/graphics/okular/; revision=628208
19 years ago
Tobias Koenig
baf1fb2870
Several changes:
...
- renamed signalRequestDone to signalPixmapRequestDone to allow a future signalTextPageRequestDone
- added error/warning/notice signals to TextDocumentConverter and add meaningful error messages
to ooo and fictionbook generator
- code cleanup in chm generator
- print improvements and error notification in kimgio generator
svn path=/trunk/playground/graphics/okular/; revision=628124
19 years ago
Pino Toscano
e59275b54a
don't look twice, iterator is better
...
svn path=/trunk/playground/graphics/okular/; revision=627946
19 years ago
Pino Toscano
10a6e3943e
SVN_SILENT small #include cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=627931
19 years ago
Pino Toscano
e0cb30ffbf
Ok, now really load the generators that are supposed to have a setting widget when we want to configure them.
...
svn path=/trunk/playground/graphics/okular/; revision=627921
19 years ago
Pino Toscano
d6e7010942
Refactor a bit the way we load the generator libraries: hide the hash with the Generator completely into the Document, so the Document have the complete control over them.
...
Add fillConfigDialog() and supportedMimeTypes() to the Document, so the Part can get all the info it needs with no need to own the generator structure.
This also loads all the generators when asking for their config widget, but that can be improved easily now; furthermore, all the generators used to load documents are kept.
svn path=/trunk/playground/graphics/okular/; revision=627909
19 years ago
Tobias Koenig
6541b015e4
Make failing to open a document a bit nicer ;)
...
svn path=/trunk/playground/graphics/okular/; revision=627477
19 years ago
Pino Toscano
55dfb87f3f
simplify a bit the Feature system: move it to the base Generator class, and add a protected method to switch a feature on and off easily - no more need to copy&paste hasFeature() anymore
...
svn path=/trunk/playground/graphics/okular/; revision=627450
19 years ago
Pino Toscano
d3619da584
get rid of two CMakeLists.txt's used to only install one files each - install the stuff from the top-level CMakeLists.txt
...
svn path=/trunk/playground/graphics/okular/; revision=627106
19 years ago
Tobias Koenig
d94f0e507e
Add support for threaded extraction of text pages, now we just have to
...
adapt the generators and the document class, which is 95% of the work ;)
svn path=/trunk/playground/graphics/okular/; revision=626843
19 years ago
Tobias Koenig
d227a94e79
First part of the porting to a threaded api for generators
...
- made comicbook, tiff and kimgio a threaded generator
svn path=/trunk/playground/graphics/okular/; revision=626761
19 years ago
Pino Toscano
9cda7888d9
small api fix
...
svn path=/trunk/playground/graphics/okular/; revision=625715
19 years ago
Pino Toscano
75946e42e3
DOX: improvements and fixes
...
SVN_SILENT
svn path=/trunk/playground/graphics/okular/; revision=625599
19 years ago
Pino Toscano
b163e04115
Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane.
...
svn path=/trunk/playground/graphics/okular/; revision=625312
19 years ago
Tobias Koenig
460f972d19
Arrgh, forgot to commit this last time :/
...
svn path=/trunk/playground/graphics/okular/; revision=625249
19 years ago
Pino Toscano
e71a608054
Use the form "<page> - <name>" for the items in the Bookmarks menu.
...
svn path=/trunk/playground/graphics/okular/; revision=625075
19 years ago
Pino Toscano
7d15f12fe0
- don't reset the pixmap memory descriptors when rotating, as the pixmaps are rotated thus the memory is preserved
...
- no need to notify about clearing annotations when changing page size
svn path=/trunk/playground/graphics/okular/; revision=624743
19 years ago
André Wöbbeking
c06cbc334d
-pedantic
...
svn path=/trunk/playground/graphics/okular/; revision=624728
19 years ago
Pino Toscano
4f6666d509
also the page size is a feature, so thread it as such (and remove supportsPageSizes())
...
svn path=/trunk/playground/graphics/okular/; revision=624686
19 years ago
Tobias Koenig
5069b62a80
Make PixmapRequest::swap() public but mark it for internal usage.
...
svn path=/trunk/playground/graphics/okular/; revision=624665
19 years ago
Pino Toscano
e0e8803092
A bit ugly hack to make it compile better.
...
BUG: 140189
Tobias, any better solution than the previous situation?
CCMAIL: tokoe@kde.org
svn path=/trunk/playground/graphics/okular/; revision=624631
19 years ago
Pino Toscano
135a18b407
get rid of supportsSearching() by using a proper feature
...
svn path=/trunk/playground/graphics/okular/; revision=624587
19 years ago
Pino Toscano
468a0da775
bye bye canGenerateTextPage(), unused nowadays
...
svn path=/trunk/playground/graphics/okular/; revision=624579
19 years ago
Tobias Koenig
e1ab8660ef
Add new TextDocumentGenerator class, which is a base class for
...
generators which work on a QTextDocument. So all the nasty calculation
for text extraction and link/annotation positions is done by the
generator.
Ported FictionBook generator to it.
svn path=/trunk/playground/graphics/okular/; revision=623071
19 years ago
Pino Toscano
c1dc76485a
DOX: slightly improve apidox generation
...
SVN_SILENT
svn path=/trunk/playground/graphics/okular/; revision=623061
19 years ago
Pino Toscano
8a7c2ad654
As requested by our usability expert Florian, add a Bookmarks menu with the bookmarks in the current document, if any.
...
svn path=/trunk/playground/graphics/okular/; revision=622995
19 years ago
Pino Toscano
e3992fb642
move the KBookmarkOwner implementation into the d-ptr
...
svn path=/trunk/playground/graphics/okular/; revision=622959
19 years ago
Pino Toscano
5c3b2fc75d
SVN_SILENT useless include
...
svn path=/trunk/playground/graphics/okular/; revision=622950
19 years ago
Pino Toscano
afc18f9d97
Re-add the possibility to toggle a page bookmark quickly (ie with the popup menu).
...
svn path=/trunk/playground/graphics/okular/; revision=622945
19 years ago
Pino Toscano
91b7675c14
configurationWidget() is too generic -> rename to printConfigurationWidget()
...
svn path=/trunk/playground/graphics/okular/; revision=622782
19 years ago