mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
3c6049f415
PagePainter: Only draw annotation extents (the rect property). PageViewAnnotator: Changed AnnotatorEngine(s) to deal with new attribs in structures. In particular they use the NormalizedRect attribute of annotation instead of the annotation as a rect itself. Todo: Updated. svn path=/branches/kpdf_annotations/kdegraphics/kpdf/; revision=396911
46 lines
1.7 KiB
XML
46 lines
1.7 KiB
XML
<!DOCTYPE simpleToolsDefinition>
|
|
<!-- Annotation types:
|
|
Text Line[width] Geom Highlight Stamp[icon] Ink *[color] -->
|
|
<!-- Engine Types:
|
|
SmoothLine PickPoint[hoverIcon] TwoPoints[block(true)] -->
|
|
<annotationTools>
|
|
<tool id="1" name="Yellow Highlighter" pixmap="highlight_yellow">
|
|
<tooltip>this ..</tooltip>
|
|
<engine type="SmoothLine" />
|
|
<annotation type="Highlight" color="#FFFF00" />
|
|
<shortcut>1</shortcut>
|
|
</tool>
|
|
<tool id="2" name="Pink Highlighter" pixmap="highlight_pink">
|
|
<tooltip>.. is ..</tooltip>
|
|
<engine type="SmoothLine" />
|
|
<annotation type="Highlight" color="#FF0080" />
|
|
<shortcut>2</shortcut>
|
|
</tool>
|
|
<tool id="3" name="Yellow Highlighter" pixmap="highlight_yellow">
|
|
<tooltip>.. a ..</tooltip>
|
|
<engine type="TwoPoints" block="true" />
|
|
<annotation type="Highlight" color="#F8FF00" />
|
|
<shortcut>3</shortcut>
|
|
</tool>
|
|
<tool id="4" name="note" pixmap="pinnote">
|
|
<tooltip>.. tooltip ..</tooltip>
|
|
<engine type="PickPoint" hoverIcon="pinnote" />
|
|
<annotation type="Text" color="#FF00FF" />
|
|
</tool>
|
|
<tool id="5" name="Straight Yellow Line" pixmap="color_line">
|
|
<tooltip>.. test</tooltip>
|
|
<engine type="TwoPoints" />
|
|
<annotation type="Line" width="4" color="#FFE000" />
|
|
<shortcut>5</shortcut>
|
|
</tool>
|
|
<tool id="6" name="Arrowed Black Line" pixmap="color_line">
|
|
<engine type="TwoPoints" />
|
|
<annotation type="Line" color="#000000" />
|
|
<shortcut>6</shortcut>
|
|
</tool>
|
|
<tool id="7" name="Warning Stamp" pixmap="messagebox_warning">
|
|
<engine type="PickPoint" hoverIcon="messagebox_warning" />
|
|
<annotation type="Stamp" icon="messagebox_warning" />
|
|
<shortcut>7</shortcut>
|
|
</tool>
|
|
</annotationTools>
|