Fabio D'Urso
ff1630fb17
presentationwidget: Send pixmap preload requests in order of increasing distance from the viewport
...
(instead of requesting everything from page zero to the end)
14 years ago
Fabio D'Urso
2e2d9c4d66
presentationwidget: Send pixmap preload requests in order of increasing distance from the viewport
...
(instead of requesting everything from page zero to the end)
14 years ago
Fabio D'Urso
dee51ee71b
Disable presentation-related actions if presentation mode is not open
...
- Keep "Toggle drawing mode", "Erase Drawings" and "Switch blackscreen
mode" actions disabled unless the presentation mode is open.
- Uncheck blackscreen mode on presentation exit
14 years ago
Fabio D'Urso
3a383f64fd
Store and render presentation drawings at UI level instead of involving core.
...
This prevents spurious annotation warnings from being shown in
presentation mode.
BUG: 300938
14 years ago
Fabio D'Urso
c8bc6dabeb
Fixes in presentation page switch logic
...
Do not assume that oldPage == m_document->viewport().pageNumber, because
it's false if we are processing a viewport change notification.
It caused presentation drawings to turn into persistent annotations,
when switching page from the main okular window.
In general, this patch also tidies up PresentationWidget::changePage a bit:
- Removed redundant checks: they are always true
- Removed duplicated code that performed the page opening actions:
Previously the first slide and the other ones followed different code
paths, both doing the same things. I unified them.
I also changed slotNextPage so that it never sets m_frameIndex = -1, because
it confuses changePage and makes it skip page closing actions.
14 years ago
Fabio D'Urso
4d06efb64d
Do not crash if the user attempts to draw on the presentation summary frame
14 years ago
Tobias Koenig
8683822a47
Improve auto play behaviour of videos
...
Use the auto play property of movies that are not started via
the 'page open' action. That's the case for Rendition-based videos
from PDF documents for example.
14 years ago
Tobias Koenig
924fc69854
Start auto-play of video when presentation view is opened
...
Disable auto-play feature for page view, it's not supposed to be used
there when just browsing through a document.
14 years ago
Tobias Koenig
4639ded310
Implement autostart support for movie annotations
...
Evaluate MovieActions to implement autostart behavior for movie annotations.
REVIEW:104271
14 years ago
Tobias Koenig
486df96203
Make video player behave similar to Adobe Acroread
...
Hide the video player initially until the user has clicked on
the annotation area. This ensures that an available 'first-frame' image
is always visible. Also change the appearance of the mouse cursor when
the annotation area is entered.
REVIEW:104159
14 years ago
Albert Astals Cid
4d8ba36488
Add greedy preloading option
...
Based on a patch by Sebastian Rose <s.rose@semkath.de>
REVIEW: 103129
BUGS: 184196
14 years ago
Dario Freddi
ca1c209ec0
Since KDE 4.8, suppressing screen power management also inhibits the screensaver. Removing relevant now redundant code paths which are no longer needed since 4.8
...
REVIEW:103723
(cherry picked from commit 551d00a972 )
14 years ago
Dario Freddi
551d00a972
Since KDE 4.8, suppressing screen power management also inhibits the screensaver. Removing relevant now redundant code paths which are no longer needed since 4.8
...
REVIEW:103723
14 years ago
Dario Freddi
bc182d3a00
Make Okular inhibit sleep and screen power management when in Presentation mode
...
REVIEW:103713
(cherry picked from commit 1a31dffca9 )
14 years ago
Dario Freddi
1a31dffca9
Make Okular inhibit sleep and screen power management when in Presentation mode
...
REVIEW:103713
14 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Christopher Reichert
5be0a98725
added proper KStandardAction's in presentationwidget.cpp
15 years ago
Christopher Reichert
831294d3dc
presentation widget allows "back in document".
...
Back in document and forward in document are not added to
the action of the presentation widget.
CCBUG: 271462
15 years ago
Laurent Montel
a86bbe9053
Use QLatin1String
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1178207
16 years ago
Albert Astals Cid
89f0eb01fb
Factor out static methods for determining the event type and button when dealing with annotations
...
Patch by Radu Voicilas
svn path=/trunk/KDE/kdegraphics/okular/; revision=1165294
16 years ago
Glen Kaukola
b72c292f1a
Okular: in presentation mode, disable mouse clicks on the overlay if mouse cursor is hidden.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110337
16 years ago
Glen Kaukola
45c82f8636
Krazy: Check for spelling errors
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1110329
16 years ago
Albert Astals Cid
9771a06f0d
bring back the leaveEvent as as pino noted its is needed for multimonitor setups
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109218
16 years ago
Glen Kaukola
fd4d90173b
Okular: presentationwidget.cpp, added the "// </widget events>" comment back that was accidentally removed.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109212
16 years ago
Glen Kaukola
185f4f2a58
Okular: when in presentation mode, prevent hovering over a tooltip from hiding the top toolbar.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1109210
16 years ago
Glen Kaukola
f675421c89
Okular presentation mode pencil cursor fix: when in drawing mode a left mouse button release over a link shouldn't change the mouse cursor.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108918
16 years ago
Glen Kaukola
270d9c6cce
Show mouse cursor if it's over the top toolbar, even if the hidden mouse cursor option is enabled.
...
Also makes sure the pencil mouse cursor stays on if drawing mode is on and hidden mouse is enabled.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108916
16 years ago
Glen Kaukola
337def100c
Disable mouse cursor autohide when the cursor is over the top toolbar.
...
BUG: 229433
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108908
16 years ago
Glen Kaukola
f9353fd482
Fix so that the okular presentation window grabs the focus right away when it's created so that mouse auto-hide works if enabled.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1108269
16 years ago
Jonathan Schmidt-Dominé
3fad1f66b5
Old Presentation-Mode (the small CMakeLists-change was kept)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1047244
17 years ago
Jonathan Schmidt-Dominé
d6ad4b9b31
Better Presentationmode:
...
-more intuitive computation of the speed
-play/pause
-change the speed from presentation-mode
Contact me on the mailing-list if you do not like it!
svn path=/trunk/KDE/kdegraphics/okular/; revision=1046853
17 years ago
Pino Toscano
f04afe8220
hide the top bar when moving out of the presentation widget
...
for example when moving the cursor to another screen
svn path=/trunk/KDE/kdegraphics/okular/; revision=1032482
17 years ago
Pino Toscano
077868de22
add a "Presentation" marker in presentation window titles
...
BUG: 193049
svn path=/trunk/KDE/kdegraphics/okular/; revision=1002256
17 years ago
Pino Toscano
85f5f975db
small usability improvement: remove any margin in the topbar of the presentation mode
...
this way, you can drop the mouse to the upper-right corner to find the exit button (fitts++)
svn path=/trunk/KDE/kdegraphics/okular/; revision=939309
17 years ago
Pino Toscano
1121799376
make sure to attach to the document also when a resize event is received prior of a paint event, hopefully fixing #180291
...
thanks Roman Cheplyaka for the testing!
BUG: 180291
svn path=/trunk/KDE/kdegraphics/okular/; revision=936560
17 years ago
Pino Toscano
6a41e324a5
Add Up (previous page) and Down (next page) keys for presentation mode.
...
Will be in KDE 4.3 and KDE 4.2.2.
CCBUG: 184095
svn path=/trunk/KDE/kdegraphics/okular/; revision=933720
17 years ago
Pino Toscano
41a9e20722
turn a sequence of if() into a single switch()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=933710
17 years ago
Pino Toscano
77d027bac0
save the real parent widget and use it later for getting the screen number of the okular application
...
BUG: 185013
svn path=/trunk/KDE/kdegraphics/okular/; revision=928888
17 years ago
Albert Astals Cid
53a9e0528e
don't process mouse presses, wheels until the widget has been painted at least once as it initializes some stuff we need
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=909668
17 years ago
Pino Toscano
9d1977d645
Resize accordingly when we are resized from "outside" (eg by the WM).
...
BUG: 173545
svn path=/trunk/KDE/kdegraphics/okular/; revision=890639
18 years ago
Pino Toscano
a6bfc8bbdc
be sure to toggle the drawing mode when exiting from presentation, if checked
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=890518
18 years ago
Pino Toscano
5d10ae58c6
Pass the action collection directly in the ctor of the presentation widget, so we can use its actions there too.
...
As result, move the creation of the drawing actions in the main kpart and just plug them, so their shortcut can be configured.
BUG: 175545
svn path=/trunk/KDE/kdegraphics/okular/; revision=890504
18 years ago
Pino Toscano
5d94111ce8
i18n fixes
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=886194
18 years ago
Laurent Montel
c2fc9836e8
Fix iterator
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=882957
18 years ago
Enrique Matías Sánchez
a8ea861f36
SVN_SILENT Fix typos in kdegraphics
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=875357
18 years ago
Tobias Koenig
d34f0bc814
Add blackscreen mode feature to presentation mode.
...
Now you can switch the screen to black during a presentation
to e.g. write something on the projection wall.
svn path=/trunk/KDE/kdegraphics/okular/; revision=859741
18 years ago
Tobias Koenig
a46ba69aa9
Feature: Inhibit screen saver during presentation mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=854939
18 years ago
Pino Toscano
6a09a31aee
use the right page size when placing videos in presentation mode: not the global screen one, but the newly calculated page item one
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=852302
18 years ago
Pino Toscano
da420dbcd3
Presentation mode: load the video widgets for the video annotations in the document, and show only the ones for the current slide.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=851958
18 years ago
Jakob Petsovits
df5364da6c
Copy Okular's app icon from Oxygen core as "okular",
...
in the hicolor namespace. Before, the non-specified
"graphics-viewer-document" icon was used, which caused
icon loaders from other toolkits not to find this icon
as they don't consider Oxygen by default.
Also update all the references that made use of the
"graphics-viewer-document" icon in the code and
the many .desktop files.
svn path=/trunk/KDE/kdegraphics/okular/; revision=819965
18 years ago