Okular
form.cpp
virtual void setState(bool state)
Sets the state of the button to the new state .
Definition form.cpp:201
virtual void setIcon(Okular::FormField *field)
Sets the icon of the Button to the Icon of the field parameter.
Definition form.cpp:205
virtual void setCurrentChoices(const QList< int > &choices)
Sets the selected choices to choices .
Definition form.cpp:346
void setAppearanceValue(const QVariant &value) override
Sets the appearance value associated with the form field.
Definition form.cpp:413
QVariant value() const override
Returns the value associated with the choice form field.
Definition form.cpp:400
QString exportValueForChoice(const QString &choice) const
Returns the export value for a given choice.
Definition form.cpp:375
virtual void setEditChoice(const QString &text)
Sets the text entered into an editable combo box choice field.
Definition form.cpp:355
virtual QString editChoice() const
The text entered into an editable combo box choice field.
Definition form.cpp:350
virtual QList< int > currentChoices() const =0
The currently selected choices.
virtual Qt::Alignment textAlignment() const
The alignment of the text within the field.
Definition form.cpp:359
virtual bool multiSelect() const
Whether more than one choice of this ListBox can be selected at the same time.
Definition form.cpp:341
void setExportValues(const QMap< QString, QString > &values)
The possible choices of the choice field.
Definition form.cpp:369
virtual void setAppearanceChoiceText(const QString &text)=0
Sets the text which should be rendered by the PDF in the position of choice FormField.
virtual bool isEditable() const
Whether this ComboBox is editable, ie the user can type in a custom value.
Definition form.cpp:336
virtual ChoiceType choiceType() const =0
The particular type of the choice field.
virtual QStringList choices() const =0
The possible choices of the choice field.
virtual bool canBeSpellChecked() const
Whether the text inserted manually in the field (where possible) can be spell-checked.
Definition form.cpp:364
void setValue(const QVariant &value) override
Sets the value asssociated with the choice form field.
Definition form.cpp:381
virtual void setAppearanceText(const QString &text)=0
Set the text which should be rendered by the PDF.
virtual bool isPassword() const
Whether this text field is a password input, eg its text must be replaced with asterisks.
Definition form.cpp:245
virtual Qt::Alignment textAlignment() const
The alignment of the text within the field.
Definition form.cpp:260
virtual bool isRichText() const
Whether this text field should allow rich text.
Definition form.cpp:250
QVariant value() const override
Returns the value associated with the text form field.
Definition form.cpp:280
void setAppearanceValue(const QVariant &value) override
Sets the appearance value associated with the text form field.
Definition form.cpp:275
virtual int maximumLength() const
The maximum length allowed for the text of text field, or -1 if there is no limitation for the text.
Definition form.cpp:255
virtual void setText(const QString &text)
Sets the new text in the text field.
Definition form.cpp:241
void setValue(const QVariant &value) override
Sets the value associated with the text form field.
Definition form.cpp:270
virtual bool canBeSpellChecked() const
Whether the text inserted manually in the field (where possible) can be spell-checked.
Definition form.cpp:265
Action * additionalAction(AdditionalActionType type) const
Returns the additional action of the given type or nullptr if no action has been defined.
Definition form.cpp:106
void commitFormattedValue(const QString &value)
Updates the value that was last committed in this form field.
Definition form.cpp:163
virtual void setValue(const QVariant &value)
Sets the value associated with the form field.
Definition form.cpp:80
virtual void setAppearanceValue(const QVariant &value)
Sets the appearance value associated with the form field.
Definition form.cpp:84
QString committedValue() const
Returns the value that was last committed in this form field.
Definition form.cpp:145
void commitValue(const QString &value)
Updates the value that was last committed in this form field.
Definition form.cpp:151
QString committedFormattedValue() const
Returns the formatted value that was last committed in this form field.
Definition form.cpp:157
QList< Action * > additionalActions() const
Returns all the additional actions for this form.
Definition form.cpp:132
virtual QVariant value() const
Returns the value associated wit the form field.
Definition form.cpp:88
VehicleSection::Type type(QStringView coachNumber, QStringView coachClassification)
KIOCORE_EXPORT QStringList list(const QString &fileClass)
void append(QList< T > &&value)
iterator begin()
iterator end()
bool isEmpty() const const
qsizetype size() const const
QString number(double n, char format, int precision)
QStringList split(QChar sep, Qt::SplitBehavior behavior, Qt::CaseSensitivity cs) const const
QString join(QChar separator) const const
typedef Alignment
SkipEmptyParts
QVariant fromValue(T &&value)
QString toString() const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.