Commit graph

275 commits

Author SHA1 Message Date
Jakob Petsovits 0da4f3ebb8 Icon naming spec (code changes - KDE/):
* view-left-right -> view-split-left-right
* view-top-bottom -> view-split-top-bottom

svn path=/trunk/KDE/kdegraphics/okular/; revision=755418
2008-01-01 14:52:38 +00:00
Jakob Petsovits 1ae1545a4a Icon renaming (code changes - KDE/):
consolidate the fileview-* icons to view-*

svn path=/trunk/KDE/kdegraphics/okular/; revision=755384
2008-01-01 12:25:48 +00:00
Pino Toscano 327ec1cc34 correctly reacts when the "center first page" option is changed, and we need to apply it (more than 1 column)
svn path=/trunk/KDE/kdegraphics/okular/; revision=755279
2007-12-31 22:41:32 +00:00
Pino Toscano 39fb1ef5b6 correctly show/hide the form widgets in each page correctly even when not in Continuous mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=755275
2007-12-31 22:22:38 +00:00
Pino Toscano d54e2515ae clear the list of pages with text selection when the document changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=755228
2007-12-31 18:28:02 +00:00
Pino Toscano 3c52fd1456 Change the page layouting procedure so:
- pages not in the view (wth no Continuous mode active) are just "hidden", but they now have a valid size;
  this way, we can preload "hidden" pages even when in Continouos mode
- merge the layouting methods (simplify a bit)

CCBUG: 153675

svn path=/trunk/KDE/kdegraphics/okular/; revision=755216
2007-12-31 17:35:22 +00:00
Pino Toscano 288fce0b82 AnnotationGuiUtils -> GuiUtils
svn path=/trunk/KDE/kdegraphics/okular/; revision=752259
2007-12-24 00:54:21 +00:00
Pino Toscano 76d061b443 draw correctly the border of the rectangular selection
svn path=/trunk/KDE/kdegraphics/okular/; revision=746592
2007-12-09 16:14:24 +00:00
Pino Toscano cd5b0a9d7f fix icons
svn path=/trunk/KDE/kdegraphics/okular/; revision=746590
2007-12-09 16:12:08 +00:00
Pino Toscano 761276e938 correctly enable/disable tools and text tools when switching document
svn path=/trunk/KDE/kdegraphics/okular/; revision=746447
2007-12-09 01:35:42 +00:00
Pino Toscano 1022878a5a icon renaming:
- pencil -> draw-freehand

svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
2007-12-08 18:49:02 +00:00
Pino Toscano 995972052d Review toolbar:
- enable/disable (instead of hide/show) the tools that cannot be constructed (eg due to the document not extracting text)
- disable the tools when there is no document open

svn path=/trunk/KDE/kdegraphics/okular/; revision=746293
2007-12-08 15:59:04 +00:00
Pino Toscano cb50789290 slightly better wording
svn path=/trunk/KDE/kdegraphics/okular/; revision=736320
2007-11-13 22:46:44 +00:00
Pino Toscano 0fc6641cca 'Copy link location' -> 'Copy link address', like konqueror
svn path=/trunk/KDE/kdegraphics/okular/; revision=735046
2007-11-10 18:45:48 +00:00
Albert Astals Cid 9033cfdec8 aZoomFitText is not created atm, so don't try to update it
svn path=/trunk/KDE/kdegraphics/okular/; revision=732304
2007-11-03 12:58:46 +00:00
Pino Toscano 02e7c0abfb disable the "fit to text" zoom option, not yet implemented
svn path=/trunk/KDE/kdegraphics/okular/; revision=732156
2007-11-02 23:23:06 +00:00
Pino Toscano 36958659a5 Add very short descriptions for the "Rotate left" and "Rotate right" actions, so they take less space when added in the toolbar.
svn path=/trunk/KDE/kdegraphics/okular/; revision=731834
2007-11-02 00:07:32 +00:00
Pino Toscano fb825ff1d4 add a form widget controller to prepare the pageview to possible changes when the content in a form widget changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=726788
2007-10-18 22:09:49 +00:00
Pino Toscano 7f44aafa94 correctly hide the form widgets when a widget is focused
svn path=/trunk/KDE/kdegraphics/okular/; revision=726769
2007-10-18 20:35:34 +00:00
Pino Toscano 8ff3d1d705 more use of standard actions
svn path=/trunk/KDE/kdegraphics/okular/; revision=722702
2007-10-07 23:09:08 +00:00
Pino Toscano 0b26a91f1f use the standard action names
svn path=/trunk/KDE/kdegraphics/okular/; revision=722687
2007-10-07 22:21:13 +00:00
Pino Toscano e461f0c113 don't include kpixmapeffect.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=720047
2007-10-02 08:05:52 +00:00
Pino Toscano 746074cfcb Make use of the Esc key in the content area:
- when the document is auto-scrolling, stop the scrolling
- when building an annotation, stop its construction

svn path=/trunk/KDE/kdegraphics/okular/; revision=716000
2007-09-23 17:45:36 +00:00
Pino Toscano 1b02168dce force an update of the cursor when changing mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=712509
2007-09-14 16:02:02 +00:00
Pino Toscano 7eb8659d4f Add a tool button in the toolbar with the "select" actions.
Preparing a bit for separating rectangular text selection and rectangular image selection.

svn path=/trunk/KDE/kdegraphics/okular/; revision=712381
2007-09-14 10:02:33 +00:00
Pino Toscano b56ad8c3ae Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document).
svn path=/trunk/KDE/kdegraphics/okular/; revision=710227
2007-09-09 10:50:36 +00:00
Pino Toscano 815ac3867e move the annotation tooltip creation procedure in a single place
svn path=/trunk/KDE/kdegraphics/okular/; revision=709910
2007-09-08 14:41:40 +00:00
Pino Toscano 2498bea799 update the cursor correctly in text selection mode
svn path=/trunk/KDE/kdegraphics/okular/; revision=709558
2007-09-07 19:57:46 +00:00
Pino Toscano 969bc7b908 Ctrl+A to select all the text in the document.
Implements KPDF bug #109346.

svn path=/trunk/KDE/kdegraphics/okular/; revision=708124
2007-09-03 21:35:05 +00:00
Troy Unrau 6b6e0a8dc4 Fixed zoom factor issue. When zooming out at 100%, you would end up at 80%,
but zooming in from 80% would give you 90%.  Zoom levels are now 
symmetrical when using toolbar zoom or CTRL+scrollmouse.

Thanks to pinotree to pointing out the appropriate code for me to fix.

svn path=/trunk/KDE/kdegraphics/okular/; revision=708122
2007-09-03 21:29:09 +00:00
Pino Toscano 490cf6fc67 Add a new text selection algo that should be a bit more reliable than the current one (just commented out), especially if the backend does not provide text areas in the logical order. Drawback: slightly slower.
Adapt both the algo's to work on untransformed text areas, but to return transformed areas.

svn path=/trunk/KDE/kdegraphics/okular/; revision=708078
2007-09-03 19:35:55 +00:00
Pino Toscano 0416e07a37 make some view actions disabled by default, so they are not enabled when opening a new empty window
(and little fix for my yesterday's commit, so the preview mode should work again...)

svn path=/trunk/KDE/kdegraphics/okular/; revision=705713
2007-08-28 12:04:18 +00:00
Pino Toscano 8b0a80ba4b Start making the annotation system DRM-aware. In case the document does not want changes to its annotations (and okular is set to obey),
- disable the review toolbar
- make the annotation prioerties dialog read-only
- disable the removal

svn path=/trunk/KDE/kdegraphics/okular/; revision=705415
2007-08-27 22:11:18 +00:00
Pino Toscano 7e4b15542d Usability work on the toolbar:
- shorten the toolbar labels of the Previous/Next Page actions, and put them into the toolbar by default instead of the Back/Forward [history control]
- shorten the toolbar labels of the tool buttons
- remove the Open/Open recent button from the shell toolbar

svn path=/trunk/KDE/kdegraphics/okular/; revision=702549
2007-08-20 20:25:22 +00:00
Pino Toscano ee200d286c adapt to the new naming of the 'mouse' device icon
svn path=/trunk/KDE/kdegraphics/okular/; revision=696589
2007-08-05 10:24:21 +00:00
Pino Toscano 9610c6a9c5 SVN_SILENT dead code
svn path=/trunk/KDE/kdegraphics/okular/; revision=696457
2007-08-04 21:47:48 +00:00
Pino Toscano 23016eacd4 Change/set the efault shortcuts for some actions:
- the tools now have Ctrl+1/2/3/4 for Normal, Zoom, Select, TextSelect modes resp.
- the Show/hide navigation panel has F7 now, Ctrl+L conflicts with Konqueror

svn path=/trunk/KDE/kdegraphics/okular/; revision=696405
2007-08-04 17:42:06 +00:00
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Pino Toscano bd462a9a0d "Single" -> "Single Page"
"Facing" -> "Facing Pages"

svn path=/trunk/KDE/kdegraphics/okular/; revision=691430
2007-07-23 16:38:14 +00:00
Pino Toscano 7c7c673845 Instead of hardcoding Qt::gray, use the Dark color of the widget palette.
Let's see how it looks...

svn path=/trunk/KDE/kdegraphics/okular/; revision=690972
2007-07-22 16:12:30 +00:00
Pino Toscano ff3cf049ce Shift + Space is one screen back, says the HIG.
BUG: 148054

svn path=/trunk/KDE/kdegraphics/okular/; revision=690227
2007-07-20 12:18:55 +00:00
Pino Toscano 668dcad8da Now the annotations can be dragged and moved after being placed on a page, even if the page is rotated.
Ctrl+right mouse button is what is needed to do that.
At the moment, only line, stamp and geometric annotations can be moved with mouse dragging.

svn path=/trunk/KDE/kdegraphics/okular/; revision=689185
2007-07-17 20:58:38 +00:00
Pino Toscano f2ef436a56 when in embedded mode, create only the base actions for the view (zoom combo/in/out)
svn path=/trunk/KDE/kdegraphics/okular/; revision=687811
2007-07-14 12:31:26 +00:00
Pino Toscano 8a31e6f3f0 Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
Patch by Diego R. Brogna, thanks a lot!

BUG: 135521

svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
2007-07-08 14:25:08 +00:00
Albert Astals Cid d511adfd84 fordwardport r678167
svn path=/trunk/KDE/kdegraphics/okular/; revision=678169
2007-06-20 20:31:07 +00:00
Albert Astals Cid b883cbcfa6 The part starts in dummy mode (very few ui) by default
Can be deactivated using unsetDummyMode(), that is the first thing the okular shell does
that's useful because for example for print preview you don't want to embed all the okular ui to do the preview, you just want to see the ps

svn path=/trunk/KDE/kdegraphics/okular/; revision=671928
2007-06-05 20:49:00 +00:00
Robert Knight 99d4342ae8 Remove frame around the page view.
svn path=/trunk/KDE/kdegraphics/okular/; revision=669129
2007-05-28 15:29:29 +00:00
Pino Toscano b4b3ebdded Okular::Settings::writeConfig() -> Okular::Settings::self()->writeConfig()
svn path=/trunk/KDE/kdegraphics/okular/; revision=667772
2007-05-23 21:59:12 +00:00
Pino Toscano 0e9b82be96 get rid of the Xrender-related stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=666266
2007-05-19 10:51:16 +00:00
Pino Toscano 223d0fc421 remove the special code for painting the blended selection with XRender, Qt can do that nicely (and for free, heh)
svn path=/trunk/KDE/kdegraphics/okular/; revision=666265
2007-05-19 10:42:10 +00:00