AbstractMultiField#

class omni.ui.AbstractMultiField#

Bases: Widget, ItemModelHelper

AbstractMultiField is the abstract class that has everything to create a custom widget per model item. The class that wants to create multiple widgets per item needs to reimplement the method _createField.

Methods

__init__(*args, **kwargs)

Attributes

column_count

The max number of fields in a line.

h_spacing

Sets a non-stretchable horizontal space in pixels between child fields.

v_spacing

Sets a non-stretchable vertical space in pixels between child fields.

__init__(*args, **kwargs)#
property column_count#

The max number of fields in a line.

property h_spacing#

Sets a non-stretchable horizontal space in pixels between child fields.

property v_spacing#

Sets a non-stretchable vertical space in pixels between child fields.