Public Member Functions | |
def | storeXML |
Stores content of Main Window widgets into XML file. | |
def | loadXML |
Loads content of peach XML file into Main Window widgets. | |
def | storeElements |
Stores content of Main Window widgets into our XML element tree. | |
def | loadElements |
Loads content of our XML element tree into Main Window widgets. | |
def | storeServerAgent |
Stores content of Main Window widgets associated with server agent into our XML element tree. | |
def | storeClientAgent |
Stores content of Main Window widgets associated with client agent into our XML element tree. | |
def | storePublishers |
Stores content of Main Window widgets associated with publisher into our XML element tree. | |
def | loadServerAgent |
Loads content of our XML element tree into Main Window widgets associated with server agent. | |
def | loadClientAgent |
Loads content of our XML element tree into Main Window widgets associated with client agent. | |
def | loadPublishers |
Loads content of our XML element tree into Main Window widgets associated with publisher. | |
def | clearElements |
Clear all necessary Main window elements. |
Class used for storing/loading content of Main Widow to/from peach XML file, which is used for recording. This class reads and modifies content of first tab of Main Window. It's used to visualize and modify some parts of peach XML. It uses peachXmlWriter and peachXmlReader for writing and storing XML files.
This class represents link between Main Window content and our XML element tree.
def xmlmanipulators::recordingXmlManipulator::clearElements | ( | self | ) |
Clear all necessary Main window elements.
This function is used before loading new XML element tree into Main Window
self | The object pointer. |
def xmlmanipulators::recordingXmlManipulator::loadClientAgent | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Loads content of our XML element tree into Main Window widgets associated with client agent.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach". |
def xmlmanipulators::recordingXmlManipulator::loadElements | ( | self, | ||
silent = False | ||||
) |
Loads content of our XML element tree into Main Window widgets.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. |
def xmlmanipulators::recordingXmlManipulator::loadPublishers | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Loads content of our XML element tree into Main Window widgets associated with publisher.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach". |
def xmlmanipulators::recordingXmlManipulator::loadServerAgent | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Loads content of our XML element tree into Main Window widgets associated with server agent.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach". |
def xmlmanipulators::recordingXmlManipulator::loadXML | ( | self, | ||
path, | ||||
silent = False | ||||
) |
Loads content of peach XML file into Main Window widgets.
self | The object pointer. | |
path | Path to XML file. | |
silent | Indicates whether to display error QMessageBox on failure. |
def xmlmanipulators::recordingXmlManipulator::storeClientAgent | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Stores content of Main Window widgets associated with client agent into our XML element tree.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach" |
def xmlmanipulators::recordingXmlManipulator::storeElements | ( | self, | ||
loggerPath, | ||||
silent = False | ||||
) |
Stores content of Main Window widgets into our XML element tree.
self | The object pointer. | |
loggerPath | Path where to store crashes. | |
silent | Indicates whether to display error QMessageBox on failure. |
def xmlmanipulators::recordingXmlManipulator::storePublishers | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Stores content of Main Window widgets associated with publisher into our XML element tree.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach". |
def xmlmanipulators::recordingXmlManipulator::storeServerAgent | ( | self, | ||
root, | ||||
silent = False | ||||
) |
Stores content of Main Window widgets associated with server agent into our XML element tree.
self | The object pointer. | |
silent | Indicates whether to display error QMessageBox on failure. | |
root | Tree node which tag is named "Peach". |
def xmlmanipulators::recordingXmlManipulator::storeXML | ( | self, | ||
path, | ||||
loggerPath = None , |
||||
silent = False | ||||
) |
Stores content of Main Window widgets into XML file.
self | The object pointer. | |
path | Path to XML file. | |
loggerPath | Path where to store crashes. | |
silent | Indicates whether to display error QMessageBox on failure. |