Commit graph

34 commits

Author SHA1 Message Date
Pino Toscano 8f40bfdb21 If the font name is not available, show '-' to the user (instead of nothing).
TODO for the string unfreeze: add a better string.

svn path=/trunk/KDE/kdegraphics/okular/; revision=752578
2007-12-24 23:31:52 +00:00
Pino Toscano b30621c8ed put a better icon here
svn path=/trunk/KDE/kdegraphics/okular/; revision=746522
2007-12-09 12:15:03 +00:00
Pino Toscano 36e6e85b46 Make the text of the values in the Properties dialog selectable using mouse.
BUG: 150293

svn path=/trunk/KDE/kdegraphics/okular/; revision=723800
2007-10-10 18:41:10 +00:00
Pino Toscano f1d5e478ba init fix
svn path=/trunk/KDE/kdegraphics/okular/; revision=685658
2007-07-09 12:34:08 +00:00
Pino Toscano 964424d62f stop gracefully the font extraction thread when closing a document or the properties dialog; make the thread deleting itself when finished
svn path=/trunk/KDE/kdegraphics/okular/; revision=685437
2007-07-08 21:22:37 +00:00
Pino Toscano ff308d7f83 hopefully fix the sorting of the fonts
svn path=/trunk/KDE/kdegraphics/okular/; revision=685398
2007-07-08 18:40:37 +00:00
Pino Toscano d746b667a4 minor renamings in the EmbedType enum:
- EmbeddedSubSet -> EmbbededSubset
- Embedded -> FullyEmbedded

svn path=/trunk/KDE/kdegraphics/okular/; revision=685329
2007-07-08 16:23:07 +00:00
Pino Toscano 3fd552ef21 Extend the FontInfo class to distinguish the different types of font embedding.
svn path=/trunk/KDE/kdegraphics/okular/; revision=685317
2007-07-08 16:07:37 +00:00
Pino Toscano e5037f45b1 Refator a bit the way Document and the generators use to read the font information from a document.
Instead of having a synchronous function that extracts all the information at once, use a function to read the fonts of a single page.
This way, we can get all the result step by step (aka page by page), and possibly in an asynchronous way.
The resuls of the font "scanning" are sent via signals, as well the end of the work.
So, instead of block waiting for the results of all the document at once, the Fonts tab in the properties dialog can have a progress bar with the progress, and the results (the fonts) that are added incrementally to the list.

Only two minor things are left:
- the process is always asynchronous at the moment, as the only generator that can provide this kind of information is the Poppler one (safe)
- there is no check for duplicate fonts
But they should be easy to solve.

svn path=/trunk/KDE/kdegraphics/okular/; revision=685002
2007-07-07 20:35:01 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano 9ccf6d520d adapt the icon names to the icon naming spec
svn path=/trunk/playground/graphics/okular/; revision=640710
2007-03-08 21:41:46 +00:00
Pino Toscano 7bebb16619 make the sorting model working correctly, thanks to icefox!
svn path=/trunk/playground/graphics/okular/; revision=589657
2006-09-28 12:21:04 +00:00
Pino Toscano 71933af682 show something in case of documents with no fonts
svn path=/trunk/playground/graphics/okular/; revision=589094
2006-09-27 15:57:15 +00:00
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed
nearly all references to kpdf (knewstuff still missing).

svn path=/trunk/playground/graphics/okular/; revision=586993
2006-09-21 08:45:36 +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 0efdeb7d42 don't give them an initial parent
svn path=/branches/work/kde4/playground/graphics/okular/; revision=551106
2006-06-13 17:40:31 +00:00
Pino Toscano d2c5882a27 Port to the new KDialog / KPageDialog API
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550944
2006-06-13 08:44:08 +00:00
Pino Toscano 3cdaa5bcb1 do not differentiate the # of pages automatically calculated from the one we get from the generator
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550297
2006-06-11 13:39:28 +00:00
Pino Toscano a3202b9bf0 prettier
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540503
2006-05-13 17:04:59 +00:00
Pino Toscano e3994658b6 make it compile with the new snapshot
port to the new i18n api

svn path=/branches/work/kde4/playground/graphics/okular/; revision=528345
2006-04-10 19:50:00 +00:00
Pino Toscano a27212eee9 - less qt3_support
- reactivating the review tab
- use the sizepolicy instead of stretchfactor

svn path=/branches/work/kde4/playground/graphics/okular/; revision=526095
2006-04-03 20:48:26 +00:00
Pino Toscano c6753bdd39 Convert the font list view in the property dialog to model/view.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524699
2006-03-30 23:15:30 +00:00
Pino Toscano 4bd3b60d6c less qt3_support
svn path=/branches/work/kde4/playground/graphics/okular/; revision=524083
2006-03-29 17:16:46 +00:00
Pino Toscano 80f7e6b596 a bit of qt3/kde3 support less
svn path=/branches/work/kde4/playground/graphics/okular/; revision=523922
2006-03-29 13:52:17 +00:00
Pino Toscano 8b41489e2f porting
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522251
2006-03-24 21:31:46 +00:00
Albert Astals Cid ec923ec701 compile some more files
svn path=/branches/work/kde4/playground/graphics/okular/; revision=521912
2006-03-23 20:43:38 +00:00
Enrico Ros 8f4104a99a merge (refactored) patch_050,051,060
svn path=/branches/kpdf/annotations/kdegraphics/kpdf/; revision=424991
2005-06-13 15:46:23 +00:00
Enrico Ros f8c5f3f928 Apply fix for 102117 to this branch too.
svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=400436
2005-03-25 08:32:27 +00:00
Andrew Coles c277d16b9b CVS_SILENT
Corrected typos.

svn path=/trunk/kdegraphics/kpdf/; revision=379421
2005-01-17 14:57:18 +00:00
Tobias Koenig b10d10a2bd Convert 'struct DocumentInfo' into a QDomDocument for more flexible information
passing.

svn path=/trunk/kdegraphics/kpdf/; revision=375065
2005-01-02 22:37:52 +00:00
Stephan Binner 449ea39657 CVS_SILENT i18n style guide fixes
svn path=/trunk/kdegraphics/kpdf/; revision=374963
2005-01-02 16:19:08 +00:00
Enrico Ros eee2673370 Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico
File namings change.

svn path=/trunk/kdegraphics/kpdf/; revision=374924
2005-01-02 14:37:49 +00:00
Enrico Ros ffe8ddaf9d Copying kpdf_experiments into branch and reordering directories. Look there
for the file naming map and file  versioning. Please wait until the commit
storm ends to report any bug. Albert and Enrico

svn path=/trunk/kdegraphics/kpdf/; revision=374920
2005-01-02 14:19:33 +00:00