okular
Okular::FormFieldChoice Class Reference
#include <form.h>
Inheritance diagram for Okular::FormFieldChoice:

Detailed Description
Interface of a choice form field.This is the base interface to reimplement to represent a choice field, ie a field where the user can select one (of more) element(s) among a set of choices.
Definition at line 258 of file form.h.
Public Types | |
| enum | ChoiceType { ComboBox, ListBox } |
Public Member Functions | |
| virtual bool | canBeSpellChecked () const |
| virtual QStringList | choices () const =0 |
| virtual ChoiceType | choiceType () const =0 |
| virtual QList< int > | currentChoices () const =0 |
| virtual bool | isEditable () const |
| virtual bool | multiSelect () const |
| virtual void | setCurrentChoices (const QList< int > &choices) |
| virtual Qt::Alignment | textAlignment () const |
| virtual | ~FormFieldChoice () |
Protected Member Functions | |
| FormFieldChoice () | |
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
| bool FormFieldChoice::canBeSpellChecked | ( | ) | const [virtual] |
| virtual QStringList Okular::FormFieldChoice::choices | ( | ) | const [pure virtual] |
The possible choices of the choice field.
| virtual ChoiceType Okular::FormFieldChoice::choiceType | ( | ) | const [pure virtual] |
The particular type of the choice field.
| virtual QList< int > Okular::FormFieldChoice::currentChoices | ( | ) | const [pure virtual] |
The currently selected choices.
Always one element in the list in case of single choice elements.
| bool FormFieldChoice::isEditable | ( | ) | const [virtual] |
| bool FormFieldChoice::multiSelect | ( | ) | const [virtual] |
| void FormFieldChoice::setCurrentChoices | ( | const QList< int > & | choices | ) | [virtual] |
| Qt::Alignment FormFieldChoice::textAlignment | ( | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference