qt_binder.bound_editor
¶
-
class
qt_binder.bound_editor.
Bound
(binder, *bindings, **kwds)[source]¶ Bases:
traitsui.item.Item
Convenience
Item
for placing aBinder
in aView
.
-
class
qt_binder.bound_editor.
TraitsUI
(item=None, **traits)[source]¶ Bases:
qt_binder.binder.Binder
Place a Traits UI
Item
into aBound
layout.The automatically-added traits are only those for
QWidget
, not whatever widget the root control of theItem
may turn out to be. ThisBinder
can only be used in the context of aBound
layout because it needs to be specially recognized and initialized.-
item
= Instance(Item)¶ The Traits UI Item to display. Any label is ignored.
-