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

Public Types | |
enum | ChoiceType { ComboBox, ListBox } |
![]() | |
enum | FieldType { FormButton, FormText, FormChoice, FormSignature } |
Public Member Functions | |
virtual | ~FormFieldChoice () |
virtual bool | canBeSpellChecked () const |
virtual QStringList | choices () const =0 |
virtual ChoiceType | choiceType () const =0 |
virtual QList< int > | currentChoices () const =0 |
virtual QString | editChoice () const |
virtual bool | isEditable () const |
virtual bool | multiSelect () const |
virtual void | setCurrentChoices (const QList< int > &choices) |
virtual void | setEditChoice (const QString &text) |
virtual Qt::Alignment | textAlignment () const |
![]() | |
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 | |
FormFieldChoice () | |
![]() | |
void | setActivationAction (Action *action) |
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.
Member Enumeration Documentation
Constructor & Destructor Documentation
Member Function Documentation
|
virtual |
|
pure virtual |
The possible choices of the choice field.
|
pure virtual |
The particular type of the choice field.
|
pure virtual |
The currently selected choices.
Always one element in the list in case of single choice elements.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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.