Tree¶
This module contains the following function (using console.log):
- Tree.dump(element, prefix, last)¶
- Arguments
element (
item()
) – the QML element (mandatory)prefix (
string()
) – the log output prefix (optional)last (
bool()
) – recursion stop flag (optional, to be ignored)
This function pretty-prints an item on the console with the folowing details:
F points to the focused items inside that item;
A points to the active focused item inside that item;
width x height;
x and y position;
leftMargin and rightMargin;