cytoflowgui.editors.vertical_notebook#

The model for cytoflowgui.editors.vertical_notebook_editor.VerticalNotebookEditor.

class cytoflowgui.editors.vertical_notebook.VerticalNotebookPage[source]#

Bases: HasPrivateTraits

A class representing a vertical page within a notebook.

name#

The name of the page (displayed on its ‘tab’)

description#

The description of the page (displayed in smaller text in the button)

ui#

The Traits UI associated with this page

data#

Optional client data associated with the page

name_object#

The HasTraits object whose trait we look at to set the page name

name_object_trait#

The name of the name_object trait that signals a page name change

description_object#

The HasTraits object whose trait we look at to set the page description

description_object_trait#

The name of the description_object trait that signals a page description change

icon#

The icon for the page button – a Str that is the name of an ImageResource

icon_object#

The HasTraits object whose trait we look at to set the page icon

icon_object_trait#

The name of the icon_object trait that signals an icon change

deletable#

If the notebook has “delete” buttons, can this page be deleted?

deletable_object#

The HasTraits object whose trait we look at to set the delete button enabled or disabled

deletable_object_trait#

The name of the deletable_object trait that signals a deletable change

parent#

The parent window for the client page

is_open#

The current open status of the notebook page

min_size#

The minimum size for the page

dispose()[source]#

Removes this notebook page.

register_name_listener(model, trait)[source]#

Registers a listener on the specified object trait for a page name change.

register_description_listener(model, trait)[source]#

Registers a listener on the specified object trait for a page description change

register_icon_listener(model, trait)[source]#

Registers a listener on the specified object trait for a page icon change

register_deletable_listener(model, trait)[source]#

Registers a listener on the specified object trait for the delete button enable/disable

class cytoflowgui.editors.vertical_notebook.VerticalNotebook[source]#

Bases: HasPrivateTraits

Defines a ThemedVerticalNotebook class for displaying a series of pages organized vertically, as opposed to horizontally like a standard notebook.

multiple_open#

Allow multiple open pages at once?

delete#

can the editor delete list items?

pages#

The pages contained in the notebook

editor#

The traits UI editor this notebook is associated with (if any)

create_control(parent)[source]#

Creates the underlying Qt window used for the notebook.

create_page()[source]#

Creates a new VerticalNotebook object representing a notebook page and returns it as the result.

open(page)[source]#

Handles opening a specified notebook page.

close(page)[source]#

Handles closing a specified notebook page.