[poppler] [qt4] Question on the use of the FormFieldChoice class
Adam Reichold
adamreichold at myopera.com
Tue Oct 16 23:30:56 PDT 2012
Hello,
I appended a patch which adds accessors for the editChoice property of
the FormWidgetChoice class. They are modelled on the corresponding
methods for the contents property of FormWidgetText class and its
accessors in FormFieldText. Tested it with a very limited number of PDF
files.
Best regards, Adam.
On 16.10.2012 22:29, Albert Astals Cid wrote:
> El Dimarts, 16 d'octubre de 2012, a les 17:58:58, Adam Reichold va escriure:
>> Hello,
>
> Hi
>
>>
>> Upon making use of the form support in qt4 frontend, I stumbled upon
>> the following question: If a FormFieldChoice of ChoiceType ComboBox is
>> editable, the user can type in any desired value which should then
>> probably be added to the available choices. But how can I add a custom
>> choice as there is no FormFieldChoice::setChoices?
>
> You can't
>
> Seems we forgot to wrap FormFieldChoice::setEditChoice
>
> Do you feel like adding it?
>
> Cheers,
> Albert
>
>>
>> Thanks for any advice. Best regards, Adam.
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_qt4_formfieldchoice_editchoice.patch
Type: text/x-patch
Size: 2036 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121017/ffb5c5bf/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20121017/ffb5c5bf/attachment.pgp>
More information about the poppler
mailing list