Pino Toscano
36b894c75a
Create a (private) PageController that handles the rotation jobs from all the pages.
...
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.
svn path=/trunk/playground/graphics/okular/; revision=646010
19 years ago
Pino Toscano
a67410f74f
move the private class of Page in an own private header
...
svn path=/trunk/playground/graphics/okular/; revision=645963
19 years ago
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
19 years ago
Pino Toscano
f55c401b20
Refactor the document search interfaces, as discussed on the mailing list.
...
Merge the search in normal mode and the type-ahead in a search bar that appears on the bottom of the page view. This should work nicely.
In presentation mode, add a small floating search toolbar that takes care of searching during the presentation mode, on document request. This is not working yet, but basically most of the work is done.
Please test and report any problems you find.
CCMAIL: okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=643607
19 years ago
Pino Toscano
f18845576b
add the permission to fill forms
...
svn path=/trunk/playground/graphics/okular/; revision=643462
19 years ago
Pino Toscano
1117200950
constness for document()
...
svn path=/trunk/playground/graphics/okular/; revision=643431
19 years ago
Pino Toscano
49c2a80585
keep the name of the current generator, and make it possible to load the custom translation of the backend
...
svn path=/trunk/playground/graphics/okular/; revision=641598
19 years ago
Pino Toscano
6ea5badeab
don't try to start a text extraction thread if the generator does not extract text
...
svn path=/trunk/playground/graphics/okular/; revision=641458
19 years ago
Pino Toscano
1bfc805a3e
it does not make much sense to check for a serie of permissions at the same time, so just check one permission at a time
...
svn path=/trunk/playground/graphics/okular/; revision=641341
19 years ago
Pino Toscano
2ef46f8d90
simplify a bit the export action creation code
...
svn path=/trunk/playground/graphics/okular/; revision=641313
19 years ago
Pino Toscano
1316811082
Cache the export formats, so we can know better if the text/plain formst is supported by the backend (and act accordingly).
...
svn path=/trunk/playground/graphics/okular/; revision=641302
19 years ago
Pino Toscano
bc8036dc62
they are constant methods, so let them be 'const'
...
svn path=/trunk/playground/graphics/okular/; revision=641248
19 years ago
Pino Toscano
6d16cfd1f6
krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=641195
19 years ago
Pino Toscano
1ac4578301
init the debug area number
...
svn path=/trunk/playground/graphics/okular/; revision=641179
19 years ago
Brad Hards
7f373a206a
Minor cleanups - stray whitespace, use the debug area
...
for kDebug(), don't use kWarning() for general debugging.
svn path=/trunk/playground/graphics/okular/; revision=641120
19 years ago
Pino Toscano
fd7434c95a
Add support for custom generator about data (and potentially for custom configuration).
...
svn path=/trunk/playground/graphics/okular/; revision=640348
19 years ago
Tobias Koenig
1a0cd8acbd
SVN_SILENT help debugging
...
svn path=/trunk/playground/graphics/okular/; revision=637697
19 years ago
Pino Toscano
db8a10dc2c
Preliminary supports for text and choice form fields.
...
This includes:
- the interfaces for the generators
- the basic widgets for editing their value
- a top bar for show/hide the forms of a document
- the implementation of the forms for the PDF backend
still nothing that can be done with them, nor the value of the forms can be saved...
... but it's a start! :-)
svn path=/trunk/playground/graphics/okular/; revision=637001
19 years ago
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