81 virtual int GetID ()
const = 0;
87 virtual QString
GetName ()
const = 0;
153 virtual QString
GetText ()
const = 0;
161 virtual void SetText (
const QString& text) = 0;
virtual ~IFormFieldText()=default
Virtual destructor.
std::shared_ptr< IFormField > IFormField_ptr
A shared pointer to a IFormField.
A single- and multiple choice field.
A simple text annotation.
Interface to be implemented by text fields.
virtual bool IsRichText() const =0
Returns whether rich text should be accepted.
virtual bool IsPassword() const =0
Returns whether this is a password entry field.
virtual Type GetTextType() const =0
Returns the exact type of this text entry field.
virtual int GetMaximumLength() const =0
Returns the maximum length of the text.
virtual QString GetText() const =0
Returns the current text value of this field.
Type
Describes various types of text entry fields.
FormType
Describes the possible types of a form field.
A push button, radio button or check box.
std::variant< NoAction, NavigationAction, ExternalNavigationAction, UrlAction, CustomAction > LinkAction
virtual void SetText(const QString &text)=0
Sets the current text value of this field to text.