Update the cursors when changing the current mode. Addresses the problems in the bug report.
- Use a opened/closed hand for browsing.
- Use cross for selection.
BUG: 271816
REVIEW: 102221
* Fixed the small corner areas outside the outline that don't
belong to the drop shadow being filled in with a different color
than the viewport outside the page rects, causing well-visible
artifacts.
* Fixed the drop shadow not being blended against the colorscheme-
aware viewport background color but rather the fixed value of
Qt::gray.
* Made the drop shadow a tad lighter overall to preserve the same
visual result, seeing as how the default color scheme leads to
a darker viewport background color than Qt::gray.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1219635
This patch manually assigns the accelerator for Rotate Left and Rotate Right.
The automatic acceleration sometimes assigns 'R' to Rotate Left due to it being first,
which seems counter-intuitive to me.
This patch makes 'Rotate Right' as 'R' and 'Rotate Left' as 'L'.
Review request: http://svn.reviewboard.kde.org/r/5579/
svn path=/trunk/KDE/kdegraphics/okular/; revision=1185250
- really hide error messages, instead of show them after the proper message dialog box of the case
- if there are details, show a message box with details
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166478
also, no need to iterate again, as the input dialog will not accept an empty (not totally blank) value
furthermore, abort annotator creation if the user aborts the input dialog
BUG: 236865
svn path=/trunk/KDE/kdegraphics/okular/; revision=1160649
Fix mouse scrolling when wrapping sometimes sending you where you did not want
Patch by Mathieu Lornac
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156337
Change the ViewMode to be an Enum instead of an ugly int and fix the ugly code accordingly. This will break your ViewMode config, i'm sorry for that
Move the setting for centered pages to the view mode as people seems to be having a lot of difficulties of finding it in the old location
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072353
Use the timer for the delayed slotRelayoutPages call in notifySetup instead of a QueuedConnection
Also set the dirtyFlag in notifySetup, that way if we get a set viewport very soon we still end up in the correct place
Stop the timer if we get to slotRelayoutPages so we never relayout twice without a need to
This should fix bug 205084
BUGS: 205084
svn path=/trunk/KDE/kdegraphics/okular/; revision=1072187
imho it looks like an hack, i have to verify why it doesn't actually repaint as needed, but sometimes it skips updates
svn path=/trunk/KDE/kdegraphics/okular/; revision=992772
- added few utility functions to compensate the miss of a "central scrolled widget", as now we just fully handle (events & painting) the viewport of the scroll area
- manually scroll the overlay widgets (form widgets and video widgets) when the "area" is scrolled
All the page view functionalities should be working as usual, hopefully I should have ported everything (in case it will be fixed later).
Given that now the size page view is no more constrained by the maximum size of a QWidget (which is two orders of magnitude less than the size of an int), we can handle documents with really many pages (10k+) with hopefully no issues.
BUG: 191859
As a side effect of the QScrollArea -> QAbstractScrollArea porting, it seems that there are no more drawing glitches when in right-to-left mode.
BUG: 192636
svn path=/trunk/KDE/kdegraphics/okular/; revision=989285