Commit graph

98 commits

Author SHA1 Message Date
Pino Toscano
48a772be4b move the ui-related utils functions for annotations in an own utils class
svn path=/trunk/playground/graphics/okular/; revision=617097
2006-12-27 23:56:38 +00:00
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
2006-12-27 16:04:49 +00:00
Pino Toscano
349dfb7eb1 move the delegate used to draw the side page numbers in an own file
svn path=/trunk/playground/graphics/okular/; revision=616662
2006-12-26 12:01:30 +00:00
Pino Toscano
b663cb313c isolate the debug options in an own tab, so it's easier to show/hide them
svn path=/trunk/playground/graphics/okular/; revision=615758
2006-12-22 15:04:01 +00:00
Tobias Koenig
60ef83b026 Moved dummy implementation of DocumentObserver in observer.cpp,
so we are free to change behaviour later.

API & documentation cleanup

@pinto Can you check the comments please, whether they are correct?

svn path=/trunk/playground/graphics/okular/; revision=610731
2006-12-05 08:53:26 +00:00
Pino Toscano
11c5fdaeda the preferences dialog is not needed in the core library, but just in the kpart
svn path=/trunk/playground/graphics/okular/; revision=603930
2006-11-10 20:29:12 +00:00
Pino Toscano
5adbe4c66f there's no more need for libtool files
svn path=/trunk/playground/graphics/okular/; revision=603923
2006-11-10 20:03:50 +00:00
Tobias Koenig
bea71df6e0 * Made image rotation asynchronous
* Changed Page API and PagePainter to work only with QImage

svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00
Pino Toscano
a3fad9594f add a simple config page to configure the identity settings (only the author at the moment)
svn path=/trunk/playground/graphics/okular/; revision=601342
2006-11-02 22:47:52 +00:00
Pino Toscano
fdbd0101a4 move the AnnotatorEngine base class and the SmoothPath engine out of the private use of the page view annotator
svn path=/trunk/playground/graphics/okular/; revision=600980
2006-11-01 15:23:11 +00:00
Holger Freyther
569e93b929 oKular: Add method(s) to get the DPI of the primary screen
some generators use QX11Info to get the DPI of the display.
    Obviously this is not portable, add a getDpi? method to utils
    which can be used by generators.
    Currently only the DVI converter is converted.
    The CMakeLists.txt change assumes that non existing variables
    gets expanded to empty strings.

svn path=/trunk/playground/graphics/okular/; revision=600099
2006-10-29 15:08:18 +00:00
Laurent Montel
acb44a49d5 Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro

svn path=/trunk/playground/graphics/okular/; revision=598341
2006-10-23 09:29:10 +00:00
Pino Toscano
a5d7d31d33 isolate the Xrender dependant code, so okular can be compile and work even without it
svn path=/trunk/playground/graphics/okular/; revision=596572
2006-10-17 21:26:43 +00:00
Albert Astals Cid
5143cd2512 Report page size
It's only reported in case it makes sense for the format
Only implemented for pdf atm
If all pages have the same size it's reported on document properties
else there's a label shown in the new bottom bar with the size of the current page

svn path=/trunk/playground/graphics/okular/; revision=595822
2006-10-15 19:37:14 +00:00
Laurent Montel
8c4c673073 Necessary to modify KDE4_ADD_KCFG_FILES to support ENABLE_FINAL
(there was not a dependancy between <name>_final.cpp file and
kcfg file => kfg files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)
(I didn't test all compile for the moment I will fix all compile today (without enable-final argument)
kdelibs/kdepimlibs/kdebase/kdeutils compiles fine)

svn path=/trunk/playground/graphics/okular/; revision=595199
2006-10-13 13:55:33 +00:00
Laurent Montel
9f317e53ca Port to new kde4_automoc macro
Necessary to change KDE4_AUTOMOC macro to support
enable-final argument

(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)

Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules

I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)

Regards

svn path=/trunk/playground/graphics/okular/; revision=595060
2006-10-13 08:13:52 +00:00
Pino Toscano
cf33727105 Add the support for Sounds, links to sounds and opning/closing page actions (only in Page, not really working yet)
svn path=/trunk/playground/graphics/okular/; revision=593975
2006-10-09 18:02:59 +00:00
Albert Astals Cid
a9a27a9894 remove qt3 support calls
svn path=/trunk/playground/graphics/okular/; revision=588888
2006-09-27 10:04:17 +00:00
Pino Toscano
c3a4b37301 Annotations:
start a basic system for the annotation properties editing. Add a base class that will act as "interface", and a factory to create the right subclass depending on the annotation type.
Adapt the Annotation Properties dialog to interact with the annotation widget.
Add the editing support for Stamp Annotation (but the artwork are missing, grrr)

svn path=/trunk/playground/graphics/okular/; revision=583620
2006-09-12 20:21:34 +00:00
Pino Toscano
467e507fe8 add the QT3_SUPPORT definition where needed
svn path=/trunk/playground/graphics/okular/; revision=583408
2006-09-12 09:28:24 +00:00
Albert Astals Cid
4ca38336c0 some people need that to make it link
svn path=/trunk/playground/graphics/okular/; revision=578656
2006-08-29 21:04:16 +00:00
Laurent Montel
5bf047f728 Clean up
Remove not bnecessary files

svn path=/trunk/playground/graphics/okular/; revision=573208
2006-08-15 08:38:15 +00:00
Laurent Montel
8613479305 Fix install icons with new kde4macro
svn path=/trunk/playground/graphics/okular/; revision=573205
2006-08-15 08:20:53 +00:00
Chu Xiaodong
9c575a91d3 replace embedded annotation dialog with annot window, child of PageView
svn path=/trunk/playground/graphics/okular/; revision=572243
2006-08-11 23:53:48 +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
Laurent Montel
3d62f697b2 Clean up
svn path=/trunk/playground/graphics/okular/; revision=566117
2006-07-25 13:08:23 +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
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
bca4b9eb77 Create a okularUtils namespace with utility functions for generators (and maybe not only for them).
svn path=/trunk/playground/graphics/okular/; revision=556608
2006-06-30 21:42:41 +00:00
Pino Toscano
b2df1f472f no more need to link to kutils, kfinddialog is in kdeui now
svn path=/trunk/playground/graphics/okular/; revision=551512
2006-06-14 19:59:54 +00:00
Pino Toscano
8b29edd06d now that our compiling process is well defined, we can have a bit less mess in here
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550830
2006-06-12 21:58:24 +00:00
Albert Astals Cid
eabbaeaead oKular is now okular
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550782
2006-06-12 18:25:18 +00:00
Albert Astals Cid
703ed15db3 port to dbus, at least compiles, but i'm not sure it'll work
svn path=/branches/work/kde4/playground/graphics/okular/; revision=548432
2006-06-05 14:55:36 +00:00
Pino Toscano
47816cbbf3 don't need to specify the "absolute" paths for the sources; some cosmetics
svn path=/branches/work/kde4/playground/graphics/okular/; revision=547746
2006-06-03 09:22:26 +00:00
Albert Astals Cid
13dde4096f use the nice code brad wrote for poppler that allows you to extract embedded files from a pdf document.
svn path=/branches/work/kde4/playground/graphics/okular/; revision=545966
2006-05-28 16:54:54 +00:00
Pino Toscano
64867d5b3c move the okular configurations to config-okular.h
create again the options to force the DRM (give -DOKULAR_FORCE_DRM=ON to cmake)
KPDF_FORCE_DRM -> OKULAR_FORCE_DRM

svn path=/branches/work/kde4/playground/graphics/okular/; revision=542815
2006-05-20 12:35:11 +00:00
Pino Toscano
f8de9e780e adapt to the recent cmake changes
svn path=/branches/work/kde4/playground/graphics/okular/; revision=540372
2006-05-13 09:10:26 +00:00
Laurent Montel
3bb06613e1 Remove kde4_create_doxygen_docs which doesn't exist now
svn path=/branches/work/kde4/playground/graphics/okular/; revision=538513
2006-05-08 08:29:36 +00:00
Laurent Montel
1ce4f247a4 Fix use {PLUGIN_INSTALL_DIR}
svn path=/branches/work/kde4/playground/graphics/okular/; revision=531061
2006-04-18 14:25:16 +00:00
Pino Toscano
46c44fee25 SVN_SILENT a bit of cleanup
svn path=/branches/work/kde4/playground/graphics/okular/; revision=527308
2006-04-07 16:52:30 +00:00
Pino Toscano
1c5fe13624 Convert the Accessibility and Performance configuration pages to Qt4.
Drawback: they still have a Q3ButtonGroup, I need a replacement for it...

svn path=/branches/work/kde4/playground/graphics/okular/; revision=525009
2006-03-31 15:14:47 +00:00
Pino Toscano
cbeaf3298b Port the ChooseEngineDialog to KDialog and Qt4.
Fix a compilation error introduced by my previous commit.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524596
2006-03-30 18:06:18 +00:00
Pino Toscano
8683df0416 Ported the General and Presentation config pages to Qt4.
Small other touches.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524391
2006-03-30 13:23:38 +00:00
Pino Toscano
a536c798f2 - the fax library and its generator compile and link correctly
- less kde3 support
- small fix in the top CMakeLists.txt

svn path=/branches/work/kde4/playground/graphics/okular/; revision=524044
2006-03-29 15:50:33 +00:00
Pino Toscano
63c18ab06e Make the oKular part and its shell compile and link.
Created a oKularcore lib, so the generators ca link to it, and made the oKularpart link to it too, of course.
Adapted the sources of the Okularpart to the new location for the generated settings.h.

svn path=/branches/work/kde4/playground/graphics/okular/; revision=523729
2006-03-28 22:22:10 +00:00
Pino Toscano
283b3e0afc now the liboKular compiles and links fine
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522736
2006-03-26 15:52:06 +00:00
Pino Toscano
e8ae2c3205 some steps to make okular cpmilable with cmake (still not possible)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522732
2006-03-26 15:22:05 +00:00
Laurent Montel
3d0eefb6d4 Add support for cmake (not tested for the moment)
svn path=/branches/work/kde4/playground/graphics/okular/; revision=522661
2006-03-26 12:19:40 +00:00