Bases: enaml.widgets.container.Container
A Container subclass that arranges its children in two columns.
The left column is typically Labels (but this is not a requirement). The right are the actual widgets for data entry. The children should be in alternating label/widget order. If there are an odd number of children, the last child will span both columns.
The Form provides an extra constraint variable, ‘midline’, which is used as the alignment anchor for the columns.
The ConstraintVariable giving the midline along which the labels and widgets are aligned.
The strength for the form layout constraints.
A form hugs its height strongly by default. Forms are typcially used to display vertical arrangements of widgets, with forms often being stacked on top of each other. For this case, hugging the height is desired.
digraph inheritancef6d4c80d5c { rankdir=LR; width=8.0; ratio=compress; fontsize=14; size="8.0, 12.0"; "QtConstraintsWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.constraints_widget.ConstraintsWidget.html#enaml.qt.qt_constraints_widget.QtConstraintsWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtWidget" -> "QtConstraintsWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtContainer" [style="setlinewidth(0.5)",URL="enaml.widgets.container.Container.html#enaml.qt.qt_container.QtContainer",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtConstraintsWidget" -> "QtContainer" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtForm" [style="setlinewidth(0.5)",URL="#enaml.qt.qt_form.QtForm",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtContainer" -> "QtForm" [arrowsize=0.5,style="setlinewidth(0.5)"]; "QtObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25]; "QtWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.qt.qt_widget.QtWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "QtObject" -> "QtWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
Bases: enaml.qt.qt_container.QtContainer
A Qt implementation of an Enaml Form.
digraph inheritance73bf8381a2 { rankdir=LR; width=8.0; ratio=compress; fontsize=14; size="8.0, 12.0"; "WxConstraintsWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.constraints_widget.ConstraintsWidget.html#enaml.wx.wx_constraints_widget.WxConstraintsWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxWidget" -> "WxConstraintsWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxContainer" [style="setlinewidth(0.5)",URL="enaml.widgets.container.Container.html#enaml.wx.wx_container.WxContainer",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxConstraintsWidget" -> "WxContainer" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxWidget" [style="setlinewidth(0.5)",URL="enaml.widgets.widget.Widget.html#enaml.wx.wx_widget.WxWidget",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxObject" -> "WxWidget" [arrowsize=0.5,style="setlinewidth(0.5)"]; "WxObject" [shape=box,style="setlinewidth(0.5)",fontsize=10,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25]; "WxForm" [style="setlinewidth(0.5)",URL="#enaml.wx.wx_form.WxForm",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,height=0.25,shape=box,fontsize=10]; "WxContainer" -> "WxForm" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
Bases: enaml.wx.wx_container.WxContainer
A Wx implementation of an Enaml Form.