The TreeParser class parses the arch (XML) of tree views. More...
Public Member Functions | |
| def | parse |
| This function parses the xml data provided as parameter. | |
The TreeParser class parses the arch (XML) of tree views.
In order to use this function execute the parse() function with the XML data to parse as string. This will fill in the title (string), toolbar (boolean) and fieldsOrder (list).
title contains the 'string' attribute set in the 'tree' tag of the XML or 'Tree' if none was specified. The same applies to the toolbar property with the 'toolbar' attribute. The fieldsOrder property, is the list of field names specified in the XML in the exact same order that appear there.
Definition at line 61 of file TreeWidget.py.
| def Koo::Dialogs::TreeWidget::TreeParser::parse | ( | self, | ||
| xmlData | ||||
| ) |
This function parses the xml data provided as parameter.
This function fills class member properties: title, toolbar and fieldsOrder
Definition at line 76 of file TreeWidget.py.