okular
#include <form.h>

Public Types | |
enum | FieldType { FormButton, FormText, FormChoice, FormSignature } |
Public Member Functions | |
virtual | ~FormField () |
Action * | activationAction () const |
virtual int | id () const =0 |
virtual bool | isReadOnly () const |
virtual bool | isVisible () const |
virtual QString | name () const =0 |
virtual NormalizedRect | rect () const =0 |
FieldType | type () const |
virtual QString | uiName () const =0 |
Protected Member Functions | |
void | setActivationAction (Action *action) |
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.
Member Enumeration Documentation
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. |
Constructor & Destructor Documentation
Member Function Documentation
|
pure virtual |
The ID of the field.
|
virtual |
|
virtual |
|
pure virtual |
The internal name of the field, to be used when referring to the field in eg scripts.
|
pure virtual |
The bouding rect of the field, in normalized coordinates.
|
protected |
FormField::FieldType FormField::type | ( | ) | const |
|
pure virtual |
The visible name of the field, to be used in the user interface (eg in error messages, etc).
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.