qt_binder.bound_editor

class qt_binder.bound_editor.Bound(binder, *bindings, **kwds)[source]

Bases: traitsui.item.Item

Convenience Item for placing a Binder in a View.


class qt_binder.bound_editor.TraitsUI(item=None, **traits)[source]

Bases: qt_binder.binder.Binder

Place a Traits UI Item into a Bound layout.

The automatically-added traits are only those for QWidget, not whatever widget the root control of the Item may turn out to be. This Binder can only be used in the context of a Bound layout because it needs to be specially recognized and initialized.

item = Instance(Item)

The Traits UI Item to display. Any label is ignored.

initialize_item(ui)[source]

Initialize the item using the Traits UI UI object.

Previous topic

qt_binder.binding

Next topic

qt_binder.raw_widgets

This Page