• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::GeomAnnotation

Okular::GeomAnnotation Class Reference

#include <annotations.h>

Inheritance diagram for Okular::GeomAnnotation:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 885 of file annotations.h.


Public Types

enum  GeomType { InscribedSquare, InscribedCircle }

Public Member Functions

 GeomAnnotation ()
 GeomAnnotation (const QDomNode &description)
 ~GeomAnnotation ()
void setGeometricalType (GeomType type)
GeomType geometricalType () const
void setGeometricalInnerColor (const QColor &color)
QColor geometricalInnerColor () const
void setGeometricalPointWidth (int width)
int geometricalPointWidth () const
SubType subType () const
void store (QDomNode &node, QDomDocument &document) const

Member Enumeration Documentation

enum Okular::GeomAnnotation::GeomType

Enumerator:
InscribedSquare  Draw a square.
InscribedCircle  Draw a circle.

Definition at line 889 of file annotations.h.


Constructor & Destructor Documentation

GeomAnnotation::GeomAnnotation (  ) 

Creates a new geometrical annotation.

Definition at line 1428 of file annotations.cpp.

GeomAnnotation::GeomAnnotation ( const QDomNode &  description  ) 

Creates a new geometrical annotation from the xml description.

Definition at line 1433 of file annotations.cpp.

GeomAnnotation::~GeomAnnotation (  ) 

Destroys the geometrical annotation.

Definition at line 1459 of file annotations.cpp.


Member Function Documentation

void GeomAnnotation::setGeometricalType ( GeomType  type  ) 

Sets the geometrical type of the geometrical annotation.

See also:
GeomType

Definition at line 1463 of file annotations.cpp.

GeomAnnotation::GeomType GeomAnnotation::geometricalType (  )  const

Returns the geometrical type of the geometrical annotation.

Definition at line 1469 of file annotations.cpp.

void GeomAnnotation::setGeometricalInnerColor ( const QColor &  color  ) 

Sets the inner color of the geometrical annotation.

Definition at line 1475 of file annotations.cpp.

QColor GeomAnnotation::geometricalInnerColor (  )  const

Returns the inner color of the geometrical annotation.

Definition at line 1481 of file annotations.cpp.

void GeomAnnotation::setGeometricalPointWidth ( int  width  ) 

Sets the point width of the geometrical annotation.

Definition at line 1487 of file annotations.cpp.

int GeomAnnotation::geometricalPointWidth (  )  const

Returns the point width of the geometrical annotation.

Definition at line 1493 of file annotations.cpp.

Annotation::SubType GeomAnnotation::subType (  )  const [virtual]

Returns the sub type of the geometrical annotation.

Implements Okular::Annotation.

Definition at line 1499 of file annotations.cpp.

void GeomAnnotation::store ( QDomNode &  node,
QDomDocument &  document 
) const [virtual]

Stores the geometrical annotation as xml in document under the given parent node.

Reimplemented from Okular::Annotation.

Definition at line 1504 of file annotations.cpp.


The documentation for this class was generated from the following files:
  • annotations.h
  • annotations.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal