"selectedItem"

The attribute "selectedItem" returns the selected item if a tree widget is in single selection mode and an item has been selected.

Synopsis

shape.selectedItem();

Parameters

Parameter Description
shape Name of the object

Description

The attribute "selectedItem" returns the selected item if a tree widget is in single selection mode and an item has been selected.

Assignment

Tree widget