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
Pino Toscano
c569aa712e
Make the presentation mode a normal widget (instead of a "fake" dialog), so it is not treated like a real dialog when compositing is active.
...
BUG: 163013
While I am on it, disable the active modality of the presentation mode, so the main window can be actively used once a presentation is active.
CCBUG: 152585
svn path=/trunk/KDE/kdegraphics/okular/; revision=817703
18 years ago
Albert Astals Cid
bdd4fa1c0d
make sure we keep next and previous pages if we are on aggresive mode
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=803592
18 years ago
Pino Toscano
c123fd1aa7
when we are requested to paint but the pixmap has not been rendered yet, fill the paint area with the background color
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=797553
18 years ago
Pino Toscano
f655fbbb56
isolate the good screen change code snippet in an own function, and use that one from the size change event as well
...
this reduces the code, and fixes a problem with screen switch then size change sequences
svn path=/trunk/KDE/kdegraphics/okular/; revision=795896
18 years ago
Pino Toscano
c59f9b0ec7
Properly invalidate (as quick'n'dirty solution) the rendered page pixmap when the size is changed (new screen resolution).
...
Now screen resizing or screen switching in presentation mode should work without artifacts.
svn path=/trunk/KDE/kdegraphics/okular/; revision=795891
18 years ago
Pino Toscano
d6518cec86
Add the possibility to select the current screen as start of the presentation mode, and make that the default (as one would expect).
...
GUI:
(futhermore, use an explicit value as screen index)
svn path=/trunk/KDE/kdegraphics/okular/; revision=795880
18 years ago
Pino Toscano
b81c942b12
Multi-screen improvement for the presentation mode:
...
When there is more than one screen available, add a popup menu in the toolbar to dynamically move the presentation widget to another of the available screens.
GUI:
Many thanks go again to Zbigniew Szymanski for his really precious testing!
CCMAIL: zbigniewo@gmail.com
svn path=/trunk/KDE/kdegraphics/okular/; revision=795239
18 years ago
Pino Toscano
6ec6ba9725
When the size of the current screen changes, resize the frames accordingly, and re-request the pixmap for the current slide.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=795226
18 years ago
Pino Toscano
ffee5881d7
schedule the repaint for the overlay widget, but do not force it
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=794505
18 years ago
Pino Toscano
1817a198d0
Add the possibility to choose which screen to use for the presentation mode.
...
Default is "Default Screen", with the options for showing it to any available screen.
Also, dynamically resize when the screen used for the presentation mode changes size during a presentation.
Many thanks to 'zbsz' for his testing!
CCMAIL: zbigniewo@gmail.com
GUI:
svn path=/trunk/KDE/kdegraphics/okular/; revision=794501
18 years ago
Pino Toscano
6672443f43
Add an option to disable page transitions in presentation mode.
...
Implements KPDF wish #119919 .
svn path=/trunk/KDE/kdegraphics/okular/; revision=785173
18 years ago
Albert Astals Cid
87fe7f277a
Revert r602310: usability fix: mouse wheel up goes to the next page, not to the previous (and viceversa for mouse wheel down)
...
Florian agrees
BUG: 156880
svn path=/trunk/KDE/kdegraphics/okular/; revision=768317
18 years ago
Albert Astals Cid
048ca1d519
fix width calculation to work on plastique, oxygen and windows styles, tahnks to boemman for the tipts
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=761052
18 years ago
Albert Astals Cid
2f61e6545b
use kclasses
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=760478
18 years ago
Jakob Petsovits
6164d717d8
Icon naming spec compliance (code changes - KDE/):
...
* go-{next,previous,first,last}-rtl -> go-{previous,next,last,first}
* document-start-presentation -> view-presentation
svn path=/trunk/KDE/kdegraphics/okular/; revision=753149
18 years ago
Pino Toscano
7c16841778
use the correct names for the prev/next page actions...
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752766
18 years ago
Pino Toscano
0428029203
fix okular icon
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=752764
18 years ago
Pino Toscano
1022878a5a
icon renaming:
...
- pencil -> draw-freehand
svn path=/trunk/KDE/kdegraphics/okular/; revision=746342
19 years ago
Pino Toscano
9b4e3bd80a
icon renaming:
...
- eraser -> draw-eraser
svn path=/trunk/KDE/kdegraphics/okular/; revision=746312
19 years ago
Jakob Petsovits
433c44499c
Icon naming spec compliance (code changes):
...
arrow-* -> go-*
svn path=/trunk/KDE/kdegraphics/okular/; revision=721061
19 years ago
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
19 years ago
Pino Toscano
78d7cb27a3
improve the support of searching when in presentation mode:
...
- don't complain about "new" pages to be setup, if the document is the same
- when there's a change in a page (or a page switching) due to the search, ignore any transition
svn path=/trunk/KDE/kdegraphics/okular/; revision=704005
19 years ago
Pino Toscano
1e3e5a74bf
Use a pencil cursor (when available) when drawing stuff in presentation mode.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=700158
19 years ago
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
19 years ago
Pino Toscano
ea163815a8
hopefully make really use in presentation mode of the global shortcuts for first/last/next/prev page
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=659849
19 years ago
Pino Toscano
1b042d4c9f
make the auto-advance timer singleshot, otherwise we can't stop it if a non-timed page follows one or more timed-one(s)
...
accept also 0 as page duration, meaning that we have to skip immediately to the next page
the implementation is still not perfect, we need to paint each slide even if the time set is 0, but we're improving
svn path=/trunk/KDE/kdegraphics/okular/; revision=656317
19 years ago
Pino Toscano
6cf46e9160
make the D-Bus call for the search have effect also when in presentation mode;
...
give focus to the presentation search toolbar when showing it
svn path=/trunk/KDE/kdegraphics/okular/; revision=656256
19 years ago
Pino Toscano
0e12746a92
Link -> Action renaming.
...
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction
svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
19 years ago
Pino Toscano
5f21b15d99
Link -> Action renaming.
...
Step #2 : Link -> Action for the action hierarchy, and for the ObjectRect type.
svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
19 years ago
Pino Toscano
f3e484082d
Link -> Action renaming.
...
Step #1 : link.(cpp|h) -> action.(cpp|h)
svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
Albert Astals Cid
b0339a4e40
fix some easy krazy issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
19 years ago
Pino Toscano
92b8e8bf1a
in the top bar, add a label with the number of pages
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=654187
19 years ago
Pino Toscano
88feb05854
use QCursor instead of KCursor for cursor shapes
...
svn path=/trunk/playground/graphics/okular/; revision=649588
19 years ago
Pino Toscano
5e1c70b8cb
Use an opaque background for the presentation top bar, as it looks better with Oxygen icons.
...
Original patch by Wilfried Huss, thanks!
CCMAIL: okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=647275
19 years ago
Albert Astals Cid
e5e91b7dad
Thanks for helping Wilfried, but i am reverting this change as the transparency is the intended look.
...
If you feel it is wrong to have the topbar transparent please write to okular mailing list https://mail.kde.org/mailman/listinfo/okular-devel and we will be happy to discuss with you and others if having the topbar transparent is a good solution or not.
Albert.
CCMAIL: Wilfried.Huss@gmx.at
svn path=/trunk/playground/graphics/okular/; revision=646819
19 years ago
Wilfried Huss
37235743bf
Fix drawing of the toolbar.
...
svn path=/trunk/playground/graphics/okular/; revision=646481
19 years ago
Christian Ehrlicher
c5c2da7c89
fix win32 compilation
...
warnings--
svn path=/trunk/playground/graphics/okular/; revision=643874
19 years ago
Urs Wolfer
6a7101b632
take use of antialiased painter
...
svn path=/trunk/playground/graphics/okular/; revision=643728
19 years ago