class openalea.oalab.testing.mimedata.SampleCustomData(num, letter)[source]

Bases: object

class openalea.oalab.testing.mimedata.SampleCustomDataCodec[source]

Bases: openalea.oalab.mimedata.qcodec.QMimeCodec

decode(raw_data, mimetype_in, mimetype_out)[source]
encode(data, mimetype_in, mimetype_out)[source]
class openalea.oalab.testing.mimedata.SampleCustomDataCodecPlugin[source]

Bases: openalea.oalab.mimedata.plugin.QMimeCodecPlugin

criteria
implementation
mimetype_desc = {'openalealab/control': {'title': 'Control'}, 'text/plain.verbose': {'title': 'Long Text'}, 'text/plain': {'title': 'Short Text'}, 'custom/data': {'title': 'Custom data'}}
qtdecode = [('custom/data', 'custom/data'), ('custom/data', 'openalealab/control'), ('custom/data', 'text/plain'), ('custom/data', 'text/plain.verbose')]
qtencode = [('custom/data', 'custom/data')]

Previous topic

<no title>

Next topic

<no title>

This Page