exopy.tasks.tasks.task_editor module¶
Widget used to edit a list of tasks.
-
class
exopy.tasks.tasks.task_editor.
EmptyEditorButton
(parent=None, **kwargs)¶ Bases:
enaml.widgets.push_button.PushButton
Button displayed when the edited list of task is empty.
-
editor
¶ 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.tasks.task_editor.
FoldableTaskEditor
(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.Container
Task editor which can be masked.
-
operations
¶
-
refresh
¶
-
root
¶
-
show_editor
¶ 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.
-
task
¶
-
-
class
exopy.tasks.tasks.task_editor.
TaskEditor
(parent=None, **kwargs)¶ Bases:
enaml.widgets.container.Container
Custom container used to edit a list of tasks.
-
destroy
()¶ Overriden destroyer to remove observers.
-
initialize
()¶ Overridden initializer to setup member observers.
-
layout_constraints
()¶ Build the constraints based on the children member order.
-
operations
¶ A value which cannot be changed from its default.
-
padding
¶ A member which will coerce a value to a given instance type.
Unlike Typed or Instance, a Coerced value is not intended to be set to None.
-
refresh
()¶ Ensure that all child views are visible and correctly parented.
-
root
¶ A member class which supports value initialization.
A plain Value provides support for default values and factories, but does not perform any type checking or validation. It serves as a useful base class for scalar members and can be used for cases where type checking is not needed (like private attributes).
-
task
¶ A member class which supports value initialization.
A plain Value provides support for default values and factories, but does not perform any type checking or validation. It serves as a useful base class for scalar members and can be used for cases where type checking is not needed (like private attributes).
-
-
class
exopy.tasks.tasks.task_editor.
TaskEditorButton
(parent=None, **kwargs)¶ Bases:
enaml.widgets.push_button.PushButton
A push button displayed on the right of a task in the editor.
This button generates a popup menu which is used to add, move and remove task directly from the editor.
-
editor
¶ 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.
-
task
¶ 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.
-