eric6.E5XML.ShortcutsWriter
Module implementing the writer class for writing an XML shortcuts file.
Global Attributes
Classes
ShortcutsWriter |
Class implementing the writer class for writing an XML shortcuts file. |
Functions
ShortcutsWriter
Class implementing the writer class for writing an XML shortcuts file.
Derived from
XMLStreamWriterBase
Class Attributes
Class Methods
Methods
Static Methods
ShortcutsWriter (Constructor)
ShortcutsWriter(device)
Constructor
- device
-
reference to the I/O device to write to (QIODevice)
ShortcutsWriter.__writeActions
__writeActions(category, actions)
Private method to write the shortcuts for the given actions.
- category
-
category the actions belong to (string)
- actions
-
list of actions to write (E5Action)
ShortcutsWriter.writeXML
writeXML(helpViewer=None)
Public method to write the XML to the file.
- helpViewer
-
reference to the help window object