Poppler Qt6 22.09.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
 
FormFieldIcon icon () const
 
void setIcon (const FormFieldIcon &icon)
 
void setState (bool state)
 
QList< int > siblings () const
 
bool state () const
 
FormType type () const override
 
 ~FormFieldButton () override
 
- Public Member Functions inherited from Poppler::FormField
std::unique_ptr< LinkactivationAction () const
 
std::unique_ptr< LinkadditionalAction (AdditionalActionType type) const
 
std::unique_ptr< LinkadditionalAction (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)
 
virtual FormType type () const =0
 
QString uiName () const
 

Detailed Description

A form field that represents a "button".

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.

◆ type()

FormType Poppler::FormFieldButton::type ( ) const
overridevirtual

The type of the field.

Implements Poppler::FormField.


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