exopy.tasks.widgets.saving module

Widgets dedicated to saving tasks.

class exopy.tasks.widgets.saving.TemplateSaverDialog(parent=None, **kwargs)

Bases: enaml.widgets.dialog.Dialog

Simple dialog to save a template.

get_infos
manager

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

show_result

A value which allows objects of a given type or types.

Values will be tested using the PyObject_IsInstance C API call. This call is equivalent to isinstance(value, kind) and all the same rules apply.

The value of an Instance may be set to None.

class exopy.tasks.widgets.saving.TemplateSaverModel(**kwargs)

Bases: atom.atom.Atom

Model for the Template saver dialog.

accept_template_info(ui)

Whether or not the provided infos allows to save the template.

Parameters

ui – Widget calling this method, used as a parent for the dialogs this method might need to open.

doc

A value of type unicode.

By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.

filename

A value of type unicode.

By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.

folder

A value of type unicode.

By default, plain strings will be promoted to unicode strings. Pass strict=True to the constructor to enable strict unicode checking.

manager

A Typed which delays resolving the type definition.

The first time the value is accessed or modified, the type will be resolved and the forward typed will behave identically to a normal typed.

ready

A value of type bool.

class exopy.tasks.widgets.saving.TemplateViewer(parent=None, **kwargs)

Bases: enaml.widgets.dialog.Dialog

Dialog to display a template file.

text
exopy.tasks.widgets.saving.task_manager()