Poppler Qt5  0.74.0
Public Types | Public Member Functions | List of all members
Poppler::FormFieldButton Class Reference

#include <poppler-form.h>

Inheritance diagram for Poppler::FormFieldButton:
Inheritance graph
[legend]
Collaboration diagram for Poppler::FormFieldButton:
Collaboration graph
[legend]

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
 
void setState (bool state)
 
QList< int > siblings () const
 
bool state () const
 
FormType type () const override
 
- Public Member Functions inherited from Poppler::FormField
LinkactivationAction () const
 
LinkadditionalAction (AdditionalActionType type) const
 
LinkadditionalAction (Annotation::AdditionalActionType type) const
 
QString fullyQualifiedName () const
 
int id () const
 
bool isReadOnly () const
 
bool isVisible () const
 
QString name () const
 
QRectF rect () const
 
void setName (const QString &name) const
 
void setReadOnly (bool value)
 
void setVisible (bool value)
 
QString uiName () const
 

Detailed Description

A form field that represents a "button".

Since
0.8

Member Enumeration Documentation

◆ ButtonType

The types of button field.

Enumerator
Push 

A simple push button.

CheckBox 

A check box.

Radio 

A radio button.

Member Function Documentation

◆ siblings()

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.


The documentation for this class was generated from the following file: