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

okular

Okular::FormField

Okular::FormField Class Reference

#include <form.h>

Inheritance diagram for Okular::FormField:

Inheritance graph
[legend]

List of all members.


Detailed Description

The base interface of a form field.

This is the very basic interface to represent a field in a form.

This is not meant to be used as a direct base for the form fields in a document, but its abstract subclasses are.

Definition at line 34 of file form.h.


Public Types

enum  FieldType { FormButton, FormText, FormChoice, FormSignature }

Public Member Functions

virtual ~FormField ()
FieldType type () const
virtual NormalizedRect rect () const =0
virtual int id () const =0
virtual QString name () const =0
virtual QString uiName () const =0
virtual bool isReadOnly () const
virtual bool isVisible () const

Member Enumeration Documentation

enum Okular::FormField::FieldType

The types of form field.

Enumerator:
FormButton  A "button". See FormFieldButton::ButtonType.
FormText  A field of variable text. See FormFieldText::TextType.
FormChoice  A choice field. See FormFieldChoice::ChoiceType.
FormSignature  A signature.

Definition at line 45 of file form.h.


Constructor & Destructor Documentation

FormField::~FormField (  )  [virtual]

Definition at line 39 of file form.cpp.


Member Function Documentation

FormField::FieldType FormField::type (  )  const

The type of the field.

Definition at line 44 of file form.cpp.

virtual NormalizedRect Okular::FormField::rect (  )  const [pure virtual]

The bouding rect of the field, in normalized coordinates.

virtual int Okular::FormField::id (  )  const [pure virtual]

The ID of the field.

virtual QString Okular::FormField::name (  )  const [pure virtual]

The internal name of the field, to be used when referring to the field in eg scripts.

virtual QString Okular::FormField::uiName (  )  const [pure virtual]

The visible name of the field, to be used in the user interface (eg in error messages, etc).

bool FormField::isReadOnly (  )  const [virtual]

Whether the field is read-only.

Definition at line 50 of file form.cpp.

bool FormField::isVisible (  )  const [virtual]

Whether this form field is visible.

Definition at line 55 of file form.cpp.


The documentation for this class was generated from the following files:
  • form.h
  • form.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