def get_item_user_text(item):
 return from_qvariant(item.data(0, Qt.UserRole), to_text_string)

def get_item_user_text ( item ) : return from_qvariant ( item . data ( 0 , Qt . UserRole ) , to_text_string )
get qtreewidgetitem user role string .