Okular::FormFieldButton
Okular::FormFieldButton Class Referenceabstract
#include <form.h>
Inheritance diagram for Okular::FormFieldButton:
Public Types | |
enum | ButtonType { Push , CheckBox , Radio } |
Public Types inherited from Okular::FormField | |
enum | AdditionalActionType { FieldModified , FormatField , ValidateField , CalculateField } |
enum | FieldType { FormButton , FormText , FormChoice , FormSignature } |
Public Member Functions | |
virtual ButtonType | buttonType () const =0 |
virtual QString | caption () const =0 |
virtual void | setIcon (Okular::FormField *field) |
virtual void | setState (bool state) |
virtual QList< int > | siblings () const =0 |
virtual bool | state () const =0 |
Public Member Functions inherited from Okular::FormField | |
Action * | activationAction () const |
Action * | additionalAction (AdditionalActionType type) const |
Action * | additionalAction (Annotation::AdditionalActionType type) const |
QList< Action * > | additionalActions () const |
void | commitFormattedValue (const QString &value) |
QString | committedFormattedValue () const |
QString | committedValue () const |
void | commitValue (const QString &value) |
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 | setAppearanceValue (const QVariant &value) |
virtual void | setPrintable (bool value) |
virtual void | setReadOnly (bool value) |
virtual void | setValue (const QVariant &value) |
virtual void | setVisible (bool value) |
FieldType | type () const |
virtual QString | uiName () const =0 |
virtual QVariant | value () const |
Additional Inherited Members | |
Protected Member Functions inherited from Okular::FormField | |
void | setActivationAction (Action *action) |
void | setAdditionalAction (AdditionalActionType type, Action *action) |
void | setAdditionalAction (Annotation::AdditionalActionType type, Action *action) |
Detailed Description
Interface of a button form field.
This is the base interface to reimplement to represent a button field, like a push button, a check box or a radio button.
- Since
- 0.7 (KDE 4.1)
Member Enumeration Documentation
◆ ButtonType
Constructor & Destructor Documentation
◆ ~FormFieldButton()
◆ FormFieldButton()
Member Function Documentation
◆ buttonType()
|
pure virtual |
The particular type of the button field.
◆ caption()
|
pure virtual |
The caption to be used for the button.
◆ setIcon()
|
virtual |
◆ setState()
|
virtual |
◆ siblings()
|
pure virtual |
The list with the IDs of siblings (ie, buttons belonging to the same group as the current one.
Valid only for Radio buttons, an empty list otherwise.
◆ state()
|
pure virtual |
The state of the button.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.