Preparing search index...

    Layout manager displaying one widget at a time.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    currentIndex: number

    Index of the currently visible widget in the stack.

    enabled: boolean

    Whether the layout is active and responsive to user input.

    isNull: boolean

    Whether this object references a valid layout.

    onCurrentChanged: signal1<number, void>

    Signal fired when the visible widget index changes, passing the new index.

    spacing: number

    Distance between widgets in the layout.

    stackingMode: StackingMode

    Controls how widgets are stacked and which one is visible.

    Methods

    • Inserts a widget at the specified index and returns its position in the stack.

      Parameters

      Returns number

    • Schedule layout for deletion after event processing.

      Returns void

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object refers to the same instance as the given object.

      Parameters

      Returns boolean

    • Set the margins around layout contents.

      Parameters

      • left: number
      • top: number
      • right: number
      • bottom: number

      Returns void