Commit graph

2214 commits

Author SHA1 Message Date
Clarence Dang 8fa041d06f make zoom combobox work; editing the text directly is not supported yet
svn path=/trunk/playground/graphics/okular/; revision=564799
2006-07-21 11:26:45 +00:00
Pino Toscano 92e4c31899 these files were created by Piotr Szymanski
svn path=/trunk/playground/graphics/okular/; revision=564684
2006-07-20 20:47:05 +00:00
Pino Toscano e147f53ab7 make sure to really close the djvu document
svn path=/trunk/playground/graphics/okular/; revision=564677
2006-07-20 20:02:02 +00:00
Laurent Montel 4c4743096a Apply patch from Marcus.Hufgard@hufgard.de to fix
findimlib 

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=564066
2006-07-19 07:54:12 +00:00
Pino Toscano 25eb77c1de some fixes according to EBN:
- fix single char addition to QString's
- some spell checking

svn path=/trunk/playground/graphics/okular/; revision=563891
2006-07-18 19:06:01 +00:00
Pino Toscano 14b1e51907 assign shortcuts and icons to the tabs
svn path=/trunk/playground/graphics/okular/; revision=563360
2006-07-17 11:52:41 +00:00
Pino Toscano aafa09c535 for some strange reason the QSortFilterProxyModel seems crashy - so #ifdef it for the moment
svn path=/trunk/playground/graphics/okular/; revision=563356
2006-07-17 11:30:58 +00:00
Pino Toscano e5b044eb3c SVN_SILENT reindent to four-spaces
svn path=/trunk/playground/graphics/okular/; revision=562589
2006-07-15 10:23:43 +00:00
Pino Toscano 88331319ef update a bit
svn path=/trunk/playground/graphics/okular/; revision=562264
2006-07-14 13:41:16 +00:00
Pino Toscano b6d7a36eda Small addition to the Ganarator API: bool closeDocument().
Now every generator has to implement this one and put (if necessary) all the code for cleaning up all the stuff related to the currently open document.
For now the return value it is not read, but generators as strongly suggested to return tru o false, whether all the operations in there went fine.

svn path=/trunk/playground/graphics/okular/; revision=562210
2006-07-14 10:54:29 +00:00
Pino Toscano 9b55ffedd4 better check case-insensitively here
svn path=/trunk/playground/graphics/okular/; revision=561957
2006-07-13 17:48:28 +00:00
Pino Toscano 38593f718c delete a Link if an ObjectRect is not created; less deferences
svn path=/trunk/playground/graphics/okular/; revision=561949
2006-07-13 17:27:34 +00:00
Pino Toscano 2d64d446d7 Read correctly the 'poly' links for DjVu documents.
svn path=/trunk/playground/graphics/okular/; revision=561918
2006-07-13 16:08:50 +00:00
Pino Toscano 67fabc7659 - adapted the DjVu generators to the new ObjectRect API
- read also the links with an elliptic shape
- some code less

svn path=/trunk/playground/graphics/okular/; revision=561892
2006-07-13 15:06:47 +00:00
Pino Toscano 1ba01ac6f1 Refactor a bit how ObjectRect works: now it's an independent class, that keeps the shape of the "kept" object using a QPainterPath [the qreal version to QRegion].
Modified the constructors to specify if a rect represents a rectangular region or an elliptic one; added a new one to create a region defined using a polygon.
Adapted to the new API the generators that support links (all but the DjVu one - will be adapted and improved soon).

svn path=/trunk/playground/graphics/okular/; revision=561890
2006-07-13 15:03:18 +00:00
Pino Toscano bfc6133c9c update a thumbnail only if its visible area rect is changed
svn path=/trunk/playground/graphics/okular/; revision=561676
2006-07-12 22:00:46 +00:00
Pino Toscano fe1b6e750a query for a property using the right way
svn path=/trunk/playground/graphics/okular/; revision=561606
2006-07-12 17:19:26 +00:00
Pino Toscano 1154dd1c8f read the creation date
svn path=/trunk/playground/graphics/okular/; revision=561551
2006-07-12 13:33:29 +00:00
Pino Toscano 0b3a61356b use the own layout direction, no warning
svn path=/trunk/playground/graphics/okular/; revision=561531
2006-07-12 12:00:40 +00:00
Pino Toscano cc447bd3dc use the layout direction of the parent treewidget
svn path=/trunk/playground/graphics/okular/; revision=561525
2006-07-12 11:16:20 +00:00
Pino Toscano 9fbfc1cb39 disable the fax generator, as the tiff one seems way better
svn path=/trunk/playground/graphics/okular/; revision=561316
2006-07-11 20:38:23 +00:00
Pino Toscano e3825a2870 Forward port SVN commit 561026 by aacid:
finally commit patch by Mary Ellen Foster to implement wish 109078
Incidentally also implements wish 127382
Sorry for having taken so long.

svn path=/trunk/playground/graphics/okular/; revision=561300
2006-07-11 19:57:17 +00:00
Pino Toscano 80b0e358c7 Start to read the EXIF fields of TIFF documents, for now Description, Software, Copyright and Artist.
svn path=/trunk/playground/graphics/okular/; revision=560704
2006-07-10 22:52:50 +00:00
Albert Astals Cid 49d26ab042 fordwardport kpdf bug #122845
svn path=/trunk/playground/graphics/okular/; revision=560203
2006-07-09 14:38:35 +00:00
Pino Toscano 250cca6cb5 no need to recalc the flags every time we paint
svn path=/trunk/playground/graphics/okular/; revision=560135
2006-07-09 11:10:24 +00:00
Pino Toscano fd03b7e799 the speech of the current selection (via kttsd) is working again
svn path=/trunk/playground/graphics/okular/; revision=560087
2006-07-09 09:00:08 +00:00
Chu Xiaodong 88b724dbf1 Text annotation and Straight line annotation added
svn path=/trunk/playground/graphics/okular/; revision=559954
2006-07-08 17:52:42 +00:00
Pino Toscano 0211c662e9 now that KDjVu works nicely, reduce the debug
svn path=/trunk/playground/graphics/okular/; revision=559952
2006-07-08 17:51:25 +00:00
Pino Toscano 5ce5a5f062 no need to opaque paint event for the whole pageview, the viewport has it already
svn path=/trunk/playground/graphics/okular/; revision=559644
2006-07-07 21:56:33 +00:00
Pino Toscano 2d41c4459b clean up the CMakeLists.txt files from the auto* stuff
svn path=/trunk/playground/graphics/okular/; revision=559521
2006-07-07 15:08:46 +00:00
Pino Toscano b43f2c4d28 A new backend: TIFF.
It uses directly the libTIFF, and actually can load TIFF documents even better than the fax generator (that uses libkfaximage).
The generator can also rotate the images, but it is not tested as the menus with the current kdelibs snapshot don't work.

svn path=/trunk/playground/graphics/okular/; revision=559514
2006-07-07 14:58:12 +00:00
Pino Toscano e40af42c63 SVN_SILENT improve a bit
svn path=/trunk/playground/graphics/okular/; revision=559498
2006-07-07 14:32:09 +00:00
Pino Toscano c0d67ae2e3 sort the plugins we have for the current file by priority (more priority ... less priority)
improve a bit the message of the generator selection dialog

svn path=/trunk/playground/graphics/okular/; revision=559497
2006-07-07 14:28:21 +00:00
Albert Astals Cid 3e620c0918 the very slight gain in looks is not worth the porting cost
svn path=/trunk/playground/graphics/okular/; revision=559181
2006-07-06 18:21:35 +00:00
Laurent Montel 5262f0c13f Fix install files
svn path=/trunk/playground/graphics/okular/; revision=559162
2006-07-06 17:50:37 +00:00
Pino Toscano a73c1d14a1 don't exclude ourself when setting a new viewport
svn path=/trunk/playground/graphics/okular/; revision=558490
2006-07-05 13:34:16 +00:00
Pino Toscano aa82718199 adapt the icons to RtL layouts; use KIcon
svn path=/trunk/playground/graphics/okular/; revision=558417
2006-07-05 11:38:51 +00:00
Pino Toscano 12edea34f8 adapt to the new snapshot
svn path=/trunk/playground/graphics/okular/; revision=558247
2006-07-04 23:09:39 +00:00
Pino Toscano 87c3e54827 Forwardport of KPDF bug #105211.
svn path=/trunk/playground/graphics/okular/; revision=558208
2006-07-04 21:57:19 +00:00
Laurent Montel ba5cd44972 Fix install files
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=558145
2006-07-04 19:18:33 +00:00
Pino Toscano f516679bf6 raise to 30msecs the document rendering queue polling interval
svn path=/trunk/playground/graphics/okular/; revision=558102
2006-07-04 17:54:05 +00:00
Pino Toscano 2cc4065c3b use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558034
2006-07-04 15:25:27 +00:00
Pino Toscano 1285825aa5 use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558033
2006-07-04 15:24:52 +00:00
Pino Toscano ef9e957084 adapt to the new snapshot
svn path=/trunk/playground/graphics/cmake/modules/; revision=558003
2006-07-04 14:28:51 +00:00
Pino Toscano 12e7a137d2 Port to the new snapshot.
Quite bad that menus and icons don't work...

svn path=/trunk/playground/graphics/okular/; revision=557452
2006-07-03 10:15:55 +00:00
Pino Toscano 09f8a96671 Draw the okular icon on the top-left corner of the blank pages
svn path=/trunk/playground/graphics/okular/; revision=557176
2006-07-02 15:53:26 +00:00
Pino Toscano abdc7ba733 we're okular
svn path=/trunk/playground/graphics/okular/; revision=557128
2006-07-02 13:21:50 +00:00
Pino Toscano 317132c670 remove some unused stuff; add comments and fix include guard name
svn path=/trunk/playground/graphics/okular/; revision=556946
2006-07-01 23:47:39 +00:00
Pino Toscano f574dc37e6 Make use of the new text export function of the generator.
svn path=/trunk/playground/graphics/okular/; revision=556944
2006-07-01 23:43:35 +00:00
Pino Toscano b3a4b27956 New skeleton for giving the generators the possibility to export the document they open in some format they support.
The text exporting option is detached from that other options and always visible (disabled if not supported), so it could be easier for the user to find it out.

svn path=/trunk/playground/graphics/okular/; revision=556922
2006-07-01 22:17:53 +00:00