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

Public Types | |
enum | ChoiceType { ComboBox, ListBox } |
![]() | |
enum | AdditionalActionType { FieldModified, FormatField, ValidateField, CalculateField } |
enum | FieldType { FormButton, FormText, FormChoice, FormSignature } |
Public Member Functions | |
virtual bool | canBeSpellChecked () const |
virtual QStringList | choices () const =0 |
virtual ChoiceType | choiceType () const =0 |
virtual QList< int > | currentChoices () const =0 |
virtual QString | editChoice () const |
QString | exportValueForChoice (const QString &choice) 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 |
![]() | |
Action * | activationAction () const |
Action * | additionalAction (AdditionalActionType type) const |
Action * | additionalAction (Annotation::AdditionalActionType type) const |
QList< Action * > | additionalActions () const |
virtual QString | fullyQualifiedName () const =0 |
virtual int | id () const =0 |
virtual bool | isPrintable () const |
virtual bool | isReadOnly () const |
virtual bool | isVisible () const |
virtual QString | name () const =0 |
Page * | page () const |
virtual NormalizedRect | rect () const =0 |
virtual void | setPrintable (bool value) |
virtual void | setReadOnly (bool value) |
virtual void | setVisible (bool value) |
FieldType | type () const |
virtual QString | uiName () const =0 |
Protected Member Functions | |
void | setExportValues (const QMap< QString, QString > &values) |
![]() | |
void | setActivationAction (Action *action) |
void | setAdditionalAction (AdditionalActionType type, Action *action) |
void | setAdditionalAction (Annotation::AdditionalActionType type, 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
◆ ChoiceType
Member Function Documentation
◆ canBeSpellChecked()
|
virtual |
◆ choices()
|
pure virtual |
The possible choices of the choice field.
◆ choiceType()
|
pure virtual |
The particular type of the choice field.
◆ currentChoices()
|
pure virtual |
The currently selected choices.
Always one element in the list in case of single choice elements.
◆ editChoice()
|
virtual |
◆ exportValueForChoice()
◆ isEditable()
|
virtual |
◆ multiSelect()
|
virtual |
◆ setCurrentChoices()
|
virtual |
◆ setEditChoice()
|
virtual |
◆ setExportValues()
◆ textAlignment()
|
virtual |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 03:57:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 03:57:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.