Module implementing the handler class for reading an XML project session file.
WizardHandler | Class implementing a sax handler to read an XML project session file. |
None |
Class implementing a sax handler to read an XML project session file.
The wizards configuration file must have a <Wizards></Wizards> entry per wizard. Each of these entries must have the following sections.
<Import>: This names the module to be imported.
<Class>: This names the class.
<Translations>: This names the basename of the translation files.
Import and Class are mandatory, Translations is optional.
The value of the Translations section will be combined with the location string determined at startup time and be given an extension of '.qm' to yield the filename to be loaded into a QTranslator object.
An entry of <Separator /> will yield a separator line in the Wizards menu.
WizardHandler | Constructor |
characters | Handler called for ordinary text. |
defaultEndElement | Handler method for the common end tags. |
defaultStartElement | Handler method for common start tags. |
endClass | Handler method for the "Class" end tag. |
endElement | Handler called, when an ending tag is found. |
endImport | Handler method for the "Import" end tag. |
endTranslations | Handler method for the "Translations" end tag. |
endWizard | Handler method for the "Wizard" end tag. |
startDocument | Handler called, when the document parsing is started. |
startElement | Handler called, when a starting tag is found. |
startSeparator | Handler method for the "Separator" start tag. |
startWizard | Handler method for the "Wizard" start tag. |
unescape | Private method used to unescape certain characters. |
utf8_to_code | Private method to convert a string to unicode and encode it for XML. |
Constructor
Handler called for ordinary text.
Handler method for the common end tags.
Handler method for common start tags.
Handler method for the "Class" end tag.
Handler called, when an ending tag is found.
Handler method for the "Import" end tag.
Handler method for the "Translations" end tag.
Handler method for the "Wizard" end tag.
Handler called, when the document parsing is started.
Handler called, when a starting tag is found.
Handler method for the "Separator" start tag.
Handler method for the "Wizard" start tag.
Private method used to unescape certain characters.
Private method to convert a string to unicode and encode it for XML.