Switch to: V12V11V10V9V8V7V6V5

Form Editor - BoxLayout Help

Form Editor - BoxLayout - Horizontal

Form Editor - BoxLayout - Vertical

The BoxLayout lines up controls horizontally or vertically.

BoxLayout takes the space it gets (from its parent layout or from the parent control), divides it up into a row of boxes, and makes each managed control fill one box.

Properties

Form Editor - BoxLayout Properties

  • Name – The name of the layout.
  • Orientation – The orientation of layout: Vertical or Horizontal.
  • Spacing – Sets the width between neighboring boxes.

Margins

These properties set the width of the outer borders on each side of the control. This is the width of the reserved space along each of the BoxLayout's four sides.

  • Left – The left margin.
  • Top – The top margin.
  • Right – The right margin.
  • Bottom – The bottom margin.

Signals

Form Editor - BoxLayout Signals

QObject

  • created – This signal is emitted after the object is created.
  • destroyed – This signal is emitted immediately before the object is destroyed, and can not be blocked. All the objects's children are destroyed immediately after this signal is emitted.
  • needUpdate – This signal is emitted when the control needs to be updated.
  • objectNameChanged – This signal is emitted after the object's name has been changed.