Pino Toscano
252de94b21
improve a bit the PageViewTopMessage api, in preparation of new future usage
...
svn path=/trunk/playground/graphics/okular/; revision=636493
19 years ago
Pino Toscano
290ae2a264
really new KMainWindow API
...
svn path=/trunk/playground/graphics/okular/; revision=635975
19 years ago
Tobias Koenig
fd73c59b97
Adapt to new KMainWindow API
...
svn path=/trunk/playground/graphics/okular/; revision=635671
19 years ago
Albert Astals Cid
d16343f677
Fordwardport r628869
...
Fix Keyboard navigation in kpdf in konq only possible after focusing it with the mouse after changing tab
BUGS: 136702
svn path=/trunk/playground/graphics/okular/; revision=628870
19 years ago
Albert Astals Cid
4586139282
Adapt to kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=628342
19 years ago
Pino Toscano
12a6d7b695
Enable the Previous/Next Bookmark actions only if we have bookmarks.
...
svn path=/trunk/playground/graphics/okular/; revision=627929
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
Albert Astals Cid
1963e95fe6
Fix 140482 for okular too
...
svn path=/trunk/playground/graphics/okular/; revision=627479
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
Leandro Emanuel López
2fe0e8e958
The if is not needed.
...
svn path=/trunk/playground/graphics/okular/; revision=623040
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
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
Leandro Emanuel López
12862b7f46
Applied indentation. Four spaces, no tabs
...
svn path=/trunk/playground/graphics/okular/; revision=622791
19 years ago
Leandro Emanuel López
21c42d89c7
Don't leak memory
...
svn path=/trunk/playground/graphics/okular/; revision=622789
19 years ago
Leandro Emanuel López
26f4618ae3
Moved the handleCompressed method to part
...
svn path=/trunk/playground/graphics/okular/; revision=622784
19 years ago
Pino Toscano
91b7675c14
configurationWidget() is too generic -> rename to printConfigurationWidget()
...
svn path=/trunk/playground/graphics/okular/; revision=622782
19 years ago
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
19 years ago
Pino Toscano
d156bdf36c
give it a parent so it's automatically deleted and not leaked
...
svn path=/trunk/playground/graphics/okular/; revision=620773
19 years ago
Pino Toscano
439d76c8f8
better icon (and with the RtL version)
...
svn path=/trunk/playground/graphics/okular/; revision=620355
19 years ago
Pino Toscano
91296b627a
SVN_SILENT no more needed
...
svn path=/trunk/playground/graphics/okular/; revision=620159
19 years ago
Pino Toscano
64769a62ce
let the Document forward the BookmarkManager signal
...
svn path=/trunk/playground/graphics/okular/; revision=620158
19 years ago
Pino Toscano
20661ff61e
Add an interface (implemented by the Part) for controlling the really basic document viewer functionalities. This (along with a small refactor in the okular shell) gives the user the possibility to start okular with:
...
-p, --page <page> : to select the startup page
--presentation : to start directly in presentation mode
implementing also KPDF wishes #134115 and #137905 .
svn path=/trunk/playground/graphics/okular/; revision=619681
19 years ago
Pino Toscano
bd14706edb
leak a bit less memory
...
svn path=/trunk/playground/graphics/okular/; revision=619558
19 years ago
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Tobias Koenig
86a1fd3b69
Big cleanup of Document API and documentation:
...
* add full API docs
* renamed getMetaData -> metaData
* removed supportsRotation in Document and Generator
* moved Permission and SearchDirection enums into separated header core/global.h
svn path=/trunk/playground/graphics/okular/; revision=619183
19 years ago
Pino Toscano
915a48eb4d
move the Generator configuration stuff into a new ConfigInterface
...
svn path=/trunk/playground/graphics/okular/; revision=619061
19 years ago
Pino Toscano
d9a844d67c
move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names.
...
svn path=/trunk/playground/graphics/okular/; revision=619044
19 years ago
Pino Toscano
475d000763
Improve the way a Generator can configure a printer: add an interface with the advanced printing stuff.
...
The print() method remains in Generator, as it's too basic to be moved in an interface.
svn path=/trunk/playground/graphics/okular/; revision=619033
19 years ago
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
19 years ago
Pino Toscano
b6fdedc810
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=617287
19 years ago
Pino Toscano
539921bdf6
Improving the bookmark capabilities of okular.
...
Adding a BookmarkManager class that takes care of handling them in a proper way.
Adding a new tab in the sidebar to manage them:
- shows all the bookmarks in all the documents, or just in the current document
- cliking on a bookmark will bring to that bookmark, loading the document if necessary
- editing a bookmark title is possible either using F2 or right click -> Rename
- right click -> Remove to remove a bookmark
The only way to add new bookmark for the moment is the "old" way, ie right click -> Add bookmark, and it's not possible add more than one bookmark per page (but the system does not limit that).
The whole system should not be too difficult to understand, I will check with our usability master Florian next days.
svn path=/trunk/playground/graphics/okular/; revision=616979
19 years ago
Pino Toscano
112e1237b7
Add support for showing icons in the page view top message.
...
With simplier words: add an 'attach' icon in the message pane that informs about attachments in the current document.
svn path=/trunk/playground/graphics/okular/; revision=616780
19 years ago
Pino Toscano
fd6166e74c
update correctly when the option for toggling the page numbers in the toc is changed
...
svn path=/trunk/playground/graphics/okular/; revision=615815
20 years ago
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
20 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
20 years ago
Laurent Montel
5cc19d3fdc
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=610745
20 years ago
Pino Toscano
afa2e5a999
iterator -> const_iterator
...
svn path=/trunk/playground/graphics/okular/; revision=607842
20 years ago
Pino Toscano
5ce4b0674e
Make okular able to copy the text selection to the clipboard (finally!).
...
svn path=/trunk/playground/graphics/okular/; revision=607496
20 years ago
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
20 years ago
Tobias Koenig
14d6515b16
Changed the enum SearchDir to SearchDirection and use less strange
...
abbreviations for its items.
Replaced the 'bool strictCase' parameter of Page::findText
with 'Qt::CaseSensitivity caseSensitivity' for better readable code.
svn path=/trunk/playground/graphics/okular/; revision=607203
20 years ago
Albert Astals Cid
9099fbecf7
Some krazy fixes
...
svn path=/trunk/playground/graphics/okular/; revision=605992
20 years ago
Albert Astals Cid
a0a387b121
Fordward port kpdf changes about printing margins, a poppler from 1 minute ago is needed
...
svn path=/trunk/playground/graphics/okular/; revision=605937
20 years ago
Leandro Emanuel López
c8db3ae9c4
Set the NewStuffDialog window title and when a item is installed one click open the PDF.
...
svn path=/trunk/playground/graphics/okular/; revision=604730
20 years ago
Pino Toscano
e073834781
change the service type of the text-to-speech service, as per recent changes
...
svn path=/trunk/playground/graphics/okular/; revision=604486
20 years ago
Pino Toscano
26ea104ae6
Automatically put the bookmarked pages as page pelection in the print dialog.
...
Implements KPDF wish #117805 .
svn path=/trunk/playground/graphics/okular/; revision=603723
20 years ago
Pino Toscano
6cfdf6bed4
regression: show the popup menu also with no active page, as some actions don't need one
...
svn path=/trunk/playground/graphics/okular/; revision=601520
20 years ago
Albert Astals Cid
e113d48bf3
I need this so that print and print preview of a landscape pdf work
...
wonder why the orientation-request thing does not work anymore
svn path=/trunk/playground/graphics/okular/; revision=601061
20 years ago
Pino Toscano
6ac2174811
move the configuration update procedures of the page view into the page view itself
...
make the pageview update when changing the number of columns in overview mode
svn path=/trunk/playground/graphics/okular/; revision=599878
20 years ago
Pino Toscano
2fdf837546
fix small errors in the kpdf->okular conversion
...
svn path=/trunk/playground/graphics/okular/; revision=599848
20 years ago
Pino Toscano
8def2109ec
change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility
...
svn path=/trunk/playground/graphics/okular/; revision=599847
20 years ago