Poppler Qt5 24.12.0
|
#include <poppler-form.h>
Public Types | |
enum | ButtonType { Push , CheckBox , Radio } |
Public Types inherited from Poppler::FormField | |
enum | AdditionalActionType { FieldModified , FormatField , ValidateField , CalculateField } |
enum | FormType { FormButton , FormText , FormChoice , FormSignature } |
Public Member Functions | |
ButtonType | buttonType () const |
QString | caption () const |
FormFieldIcon | icon () const |
void | setIcon (const FormFieldIcon &icon) |
void | setState (bool state) |
QList< int > | siblings () const |
bool | state () const |
FormType | type () const override |
Public Member Functions inherited from Poppler::FormField | |
Link * | activationAction () const |
Link * | additionalAction (AdditionalActionType type) const |
Link * | additionalAction (Annotation::AdditionalActionType type) const |
QString | fullyQualifiedName () const |
int | id () const |
bool | isPrintable () const |
bool | isReadOnly () const |
bool | isVisible () const |
QString | name () const |
QRectF | rect () const |
void | setName (const QString &name) const |
void | setPrintable (bool value) |
void | setReadOnly (bool value) |
void | setVisible (bool value) |
QString | uiName () const |
A form field that represents a "button".
FormFieldIcon Poppler::FormFieldButton::icon | ( | ) | const |
Gets the icon used by the button.
void Poppler::FormFieldButton::setIcon | ( | const FormFieldIcon & | icon | ) |
Sets a new icon for the button, it has to be a icon returned by FormFieldButton::icon.
QList< int > Poppler::FormFieldButton::siblings | ( | ) | const |
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.
|
overridevirtual |
The type of the field.
Implements Poppler::FormField.