Summit II/Testing Framework: Difference between revisions
From ParaQ Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|- | |- | ||
|pqWidgetEventTranslator | |pqWidgetEventTranslator | ||
| | |Abstract interface for objects that can convert low-level Qt events into a high-level string representation. | ||
|- | |- | ||
|pqEventTranslator | |pqEventTranslator | ||
| | |Manages a collection of pqWidgetEventTranslator objects, globally capturing Qt events and marshalling them to the correct translators. | ||
|- | |- | ||
|pqEventObserverStdout | |pqEventObserverStdout | ||
| | |Adapter object that receives high-level events from a pqEventTranslator and prints them to stdout. | ||
|- | |- | ||
|pqEventObserverXML | |pqEventObserverXML | ||
| | |Adapter object that receives high-level events from a pqEventTranslator and writes them to a stream in XML format. | ||
|- | |- | ||
|pqWidgetEventPlayer | |pqWidgetEventPlayer | ||
| | |Abstract interface for objects that convert high-level events back into low-level Qt events, sending them to a QObject. | ||
|- | |- | ||
|pqEventPlayer | |pqEventPlayer | ||
| | |Manages a collection of pqWidgetEventPlayer object, "playing back" a stream of high-level events by marshalling them to the correct players. | ||
|- | |- | ||
|pqEventPlayerXML | |pqEventPlayerXML | ||
| | |Adapter object that reads high-level events from an XML document and sends them to a pqEventPlayer for playback. | ||
|} | |||
{| border="1" cellpadding="5" cellspacing="0" | |||
|- | |||
!Function | |||
!Description | |||
|- | |||
|pqSaveScreenshot | |||
|Captures a screenshot from a vtkRenderWindow and writes it to a file | |||
|- | |||
|pqCompareImage | |||
|Compares the contents of a vtkRenderWindow to a reference image, returning failure if they differ by more than a threshold amount | |||
|} | |} |
Revision as of 15:39, 10 March 2006
Class | Description |
---|---|
pqWidgetEventTranslator | Abstract interface for objects that can convert low-level Qt events into a high-level string representation. |
pqEventTranslator | Manages a collection of pqWidgetEventTranslator objects, globally capturing Qt events and marshalling them to the correct translators. |
pqEventObserverStdout | Adapter object that receives high-level events from a pqEventTranslator and prints them to stdout. |
pqEventObserverXML | Adapter object that receives high-level events from a pqEventTranslator and writes them to a stream in XML format. |
pqWidgetEventPlayer | Abstract interface for objects that convert high-level events back into low-level Qt events, sending them to a QObject. |
pqEventPlayer | Manages a collection of pqWidgetEventPlayer object, "playing back" a stream of high-level events by marshalling them to the correct players. |
pqEventPlayerXML | Adapter object that reads high-level events from an XML document and sends them to a pqEventPlayer for playback. |
Function | Description |
---|---|
pqSaveScreenshot | Captures a screenshot from a vtkRenderWindow and writes it to a file |
pqCompareImage | Compares the contents of a vtkRenderWindow to a reference image, returning failure if they differ by more than a threshold amount |