okular
#include <annotations.h>
Additional Inherited Members | |
Public Types inherited from Okular::Annotation | |
enum | AdditionalActionType { PageOpening, PageClosing } |
typedef void(* | DisposeDataFunction )(const Okular::Annotation *) |
enum | Flag { Hidden = 1, FixedSize = 2, FixedRotation = 4, DenyPrint = 8, DenyWrite = 16, DenyDelete = 32, ToggleHidingOnMouse = 64, External = 128, ExternallyDrawn = 256, BeingMoved = 512 } |
enum | LineEffect { NoEffect = 1, Cloudy = 2 } |
enum | LineStyle { Solid = 1, Dashed = 2, Beveled = 4, Inset = 8, Underline = 16 } |
enum | RevisionScope { Reply = 1, Group = 2, Delete = 4 } |
enum | RevisionType { None = 1, Marked = 2, Unmarked = 4, Accepted = 8, Rejected = 16, Cancelled = 32, Completed = 64 } |
enum | SubType { AText = 1, ALine = 2, AGeom = 3, AHighlight = 4, AStamp = 5, AInk = 6, ACaret = 8, AFileAttachment = 9, ASound = 10, AMovie = 11, AScreen = 12, AWidget = 13, A_BASE = 0 } |
Detailed Description
Screen annotation.
The screen annotation specifies a region of a page upon which media clips may be played. It also serves as an object from which actions can be triggered.
- Since
- 0.16 (KDE 4.10)
Definition at line 1534 of file annotations.h.
Constructor & Destructor Documentation
ScreenAnnotation::ScreenAnnotation | ( | ) |
Creates a new screen annotation.
Definition at line 2791 of file annotations.cpp.
ScreenAnnotation::ScreenAnnotation | ( | const QDomNode & | description | ) |
Creates a new screen annotation from the xml description
.
Definition at line 2796 of file annotations.cpp.
|
virtual |
Destroys the screen annotation.
Definition at line 2801 of file annotations.cpp.
Member Function Documentation
Action * ScreenAnnotation::action | ( | ) | const |
Returns the action that is executed when the annotation is triggered or 0
if not action has been defined.
- Since
- 0.16 (KDE 4.10)
Definition at line 2846 of file annotations.cpp.
Action * ScreenAnnotation::additionalAction | ( | AdditionalActionType | type | ) | const |
Returns the additional action of the given type
or 0
if no action has been defined.
- Since
- 0.16 (KDE 4.10)
Definition at line 2829 of file annotations.cpp.
void ScreenAnnotation::setAction | ( | Action * | action | ) |
Sets the action
that is executed when the annotation is triggered.
- Since
- 0.16 (KDE 4.10)
Definition at line 2838 of file annotations.cpp.
void ScreenAnnotation::setAdditionalAction | ( | AdditionalActionType | type, |
Action * | action | ||
) |
Sets the additional action
of the given type
.
- Since
- 0.16 (KDE 4.10)
Definition at line 2820 of file annotations.cpp.
|
virtual |
Stores the screen annotation as xml in document
under the given parentNode
.
Reimplemented from Okular::Annotation.
Definition at line 2805 of file annotations.cpp.
|
virtual |
Returns the sub type of the screen annotation.
Implements Okular::Annotation.
Definition at line 2815 of file annotations.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.