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 str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
filename
¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
folder
¶ A value of type str.
Under Python 2 this is a byte string and behaves as Bytes with respect to promotion, under Python 3 it is a unicode string and behaves as Unicode with respect to promotion.
The use of this member is discouraged in Python 2/3 compatible codebase as Bytes and Unicode provide a more homogeneous behavior.
-
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
()¶