Skip to content
ben-sangster edited this page Nov 10, 2010 · 3 revisions

Description

The base class for all Layout objects and cannot be directly created.

Signals

N/A

Function Calls

int indexOf (Widget widget)

  • Returns the index in the layout of the widget if it is in the layout

Widget at (int index)

  • Returns the widget in the layout at index.

int enabled (Bool enable)

  • If called with an argument, set layout enabled status to enable.

  • If not called with an argument, return widget's enabled status.

int count ()

  • Returns the number of items in the layout.

UIObject parent ()

  • Returns the UIObject that is the parent of the current layout. This can be either a layout or a widget.

Widget parentWidget ()

  • Returns the Widget parent of the current layout. Unlike the parent function call, if the immediate parent is a layout, this function will recursively query for parents until a Widget is found.

API

layout

Clone this wiki locally