Commit graph

2232 commits

Author SHA1 Message Date
Chu Xiaodong e207d0d6f4 Note&TextBox annotation remove operation enabled
svn path=/trunk/playground/graphics/okular/; revision=571630
2006-08-10 06:32:03 +00:00
Pino Toscano 6e53be7386 fix crash when the TwoPointsEngine successfully creates an annotation
CCMAIL: Chu Xiaodong <xiaodongchu@gmail.com>

svn path=/trunk/playground/graphics/okular/; revision=571434
2006-08-09 15:28:29 +00:00
Pino Toscano f26c31409a less qt3_support
svn path=/trunk/playground/graphics/okular/; revision=571390
2006-08-09 15:12:10 +00:00
Pino Toscano 9531690655 source files don't need to be executable
svn path=/trunk/playground/graphics/okular/; revision=571247
2006-08-08 21:59:29 +00:00
Laurent Montel e262907c9c Add Kadmos cmake file
Fix search module
Remove not necessary files

svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=571172
2006-08-08 17:35:11 +00:00
Chu Xiaodong 521cec3577 added missing file, sorry :-P
svn path=/trunk/playground/graphics/okular/; revision=571135
2006-08-08 15:42:12 +00:00
Chu Xiaodong 3f81e3788f Free TextAnnotation,pop-up window and annotation properties dialog added.
svn path=/trunk/playground/graphics/okular/; revision=571124
2006-08-08 15:31:13 +00:00
Pino Toscano fb6409e8fd properly creating the text rects (inverting top and bottom is not a good idea...)
svn path=/trunk/playground/graphics/okular/; revision=570601
2006-08-07 11:44:47 +00:00
Laurent Montel ead282936e Compile++
svn path=/trunk/playground/graphics/okular/; revision=569954
2006-08-05 10:35:03 +00:00
Pino Toscano 7ba0c4df3a Show the title of the current document - if available - as title of the main window, as requested in comments of KPDF bug #103362.
Adapted the poppler(pdf) and the chm generators to return the title of the current document.

svn path=/trunk/playground/graphics/okular/; revision=568059
2006-07-30 23:37:50 +00:00
Pino Toscano ab0d3dca78 A pair of bugfixes done while working on the other branch, ie:
- really check if the user selected an action from the document popup
- make the HighlightAreaRect constructor an effective copy-ctor

svn path=/trunk/playground/graphics/okular/; revision=567628
2006-07-29 16:12:57 +00:00
Clarence Dang 2561c5f879 remove probably unwanted debug from previous commit
svn path=/trunk/playground/graphics/okular/; revision=567576
2006-07-29 12:54:01 +00:00
Clarence Dang 8ecc533c70 Allow entering of "123" zoom instead of only "123%". Previously, if it couldn't find a % to chop, it would kill the last digit (the '3' in "123", giving an incorrect, 12%).
Add hack to get around "10&0%" action text which sometimes happens with kdelibs4.

okular developers: after updating kdelibs, zooming should work perfectly - please let me know if it doesn't.


svn path=/trunk/playground/graphics/okular/; revision=567575
2006-07-29 12:52:35 +00:00
Albert Astals Cid d261d27274 reverting some sabotage done by montel ;-)
svn path=/trunk/playground/graphics/okular/; revision=566296
2006-07-25 18:19:06 +00:00
Laurent Montel 3d62f697b2 Clean up
svn path=/trunk/playground/graphics/okular/; revision=566117
2006-07-25 13:08:23 +00:00
Pino Toscano 61565f3f1b KIO::Job -> KJob
svn path=/trunk/playground/graphics/okular/; revision=565146
2006-07-22 14:38:11 +00:00
Albert Astals Cid 50cef946b2 qt4 port
svn path=/trunk/playground/graphics/okular/; revision=564985
2006-07-21 23:03:31 +00:00
Pino Toscano de91a0e587 SVN_SILENT spell check
svn path=/trunk/playground/graphics/okular/; revision=564873
2006-07-21 15:57:26 +00:00
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