<?xml version="1.0" ?>
<pqevents>
  <!--
    This test tests different aspects of using the Clip panel/filter including:
    * undo/redo
    * clip plane linking
    * camera properties dialog
    * pick-to-select object
  -->
  <pqevent object="pqClientMainWindow/MainControlsToolbar/actionOpenData" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/Data/can.ex2" />
  <pqevent object="pqClientMainWindow/VCRToolbar/actionVCRFirstFrame" command="activate" arguments="" />  
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ArrayStatus/SelectionWidget/1QHeaderView0" command="mousePress" arguments="1,1,0,0,0,0" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ArrayStatus/SelectionWidget/1QHeaderView0" command="mouseRelease" arguments="1,0,0,0,0,0" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveZ" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/cameraToolbar/actionNegativeZ" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/cameraToolbar/actionPositiveY" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/cameraToolbar/actionNegativeY" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/menubar/menuFilters/Common" command="activate" arguments="Clip" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/ClipFunction/pqImplicitPlaneWidget/useYNormal" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/MainControlsToolbar/actionUndo" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/MainControlsToolbar/actionUndo" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/MainControlsToolbar/actionRedo" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/menubar/menu_File" command="activate" arguments="actionFileOpen" />
  <pqevent object="pqClientMainWindow/FileOpenDialog" command="filesSelected" arguments="$PARAVIEW_DATA_ROOT/Data/can.ex2" />
  <pqevent object="pqClientMainWindow/VCRToolbar/actionVCRFirstFrame" command="activate" arguments="" />  
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ArrayStatus/SelectionWidget/1QHeaderView0" command="mousePress" arguments="1,1,0,0,0,0" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/ArrayStatus/SelectionWidget/1QHeaderView0" command="mouseRelease" arguments="1,0,0,0,0,0" />

  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />

  <!-- Extra accept to let old Mac to catch-up their breath and populate the variable combobox -->
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />

  <pqevent object="pqClientMainWindow/variableToolbar/displayColor/Variables" command="set_string" arguments="ACCL" />
  <pqevent object="pqClientMainWindow/variableToolbar/displayColor/Components" command="set_string" arguments="X" />
  <pqevent object="pqClientMainWindow/menubar/menuFilters/pqProxyGroupMenuManager0/Clip" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/ClipFunction/pqImplicitPlaneWidget/useYNormal" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/InsideOut" command="set_boolean" arguments="true" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/menubar/menuTools" command="activate" arguments="actionToolsManageLinks" />
  <pqevent object="pqClientMainWindow/pqLinksManager/addButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mousePress" arguments="1,1,0,-10,16,/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mouseRelease" arguments="1,0,0,-10,16,/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mousePress" arguments="1,1,0,-13,8,/1:0/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mouseRelease" arguments="1,0,0,-13,8,/1:0/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mousePress" arguments="1,1,0,16,7,/1:0/1:0/0:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy1" command="mouseRelease" arguments="1,0,0,16,7,/1:0/1:0/0:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mousePress" arguments="1,1,0,-13,12,/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mouseRelease" arguments="1,0,0,-13,12,/1:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mousePress" arguments="1,1,0,-9,10,/1:0/3:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mouseRelease" arguments="1,0,0,-9,10,/1:0/3:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mousePress" arguments="1,1,0,10,9,/1:0/3:0/0:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/stackedWidget/page/ObjectTreeProxy2" command="mouseRelease" arguments="1,0,0,10,9,/1:0/3:0/0:0" />
  <pqevent object="pqClientMainWindow/pqLinksManager/pqLinksEditor/buttonBox/1QPushButton0" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqLinksManager/buttonBox/1QPushButton0" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mousePress" arguments="1,1,0,49,13,/0:0/0:0/0:0" />
  <pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mouseRelease" arguments="1,0,0,49,13,/0:0/0:0/0:0" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/ClipFunction/pqImplicitPlaneWidget/useYNormal" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/ClipFunction/pqImplicitPlaneWidget/useXNormal" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/scrollArea/qt_scrollarea_viewport/scrollAreaWidgetContents/PropertiesFrame/ProxyPanel/1pqObjectPanelPropertyWidget0/1pqClipPanel0/ClipFunction/pqImplicitPlaneWidget/useZNormal" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/propertiesDock/propertiesPanel/Accept" command="activate" arguments="" />

  <!-- Add some test for the Camera Setting Dialog -->
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/CameraButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewXPlus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewXMinus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup" command="mouseMove" arguments="1,0,0,88,46" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup" command="mouseRelease" arguments="1,0,0,88,46" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewYPlus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewYMinus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/rollAngle" command="spin" arguments="up" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/rollAngle" command="spin" arguments="up" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/rollButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/elevationAngle" command="spin" arguments="up" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/elevationAngle" command="spin" arguments="up" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/elevationButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/azimuthAngle" command="spin" arguments="up" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/azimuthButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/azimuthAngle" command="set_double" arguments="0" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/azimuthButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/elevationAngle" command="set_double" arguments="0" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/elevationButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/rollAngle" command="set_double" arguments="0" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/orientationsGroup/rollButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewZPlus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/groupBox_2/viewsGroup/viewYMinus" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/pqCameraDialog/closeButton" command="activate" arguments="" />
  <pqevent object="pqClientMainWindow/cameraToolbar/actionResetCamera" command="activate" arguments="" />

  <!-- Do some pick-to-select testing -->
  <pqevent object="pqClientMainWindow/menubar" command="activate" arguments="menuTools" />
  <pqevent object="pqClientMainWindow/menubar/menuTools" command="activate" arguments="actionTesting_Window_Size" />
  <pqevent object="pqClientMainWindow/selectionToolbar/actionPickObject" command="set_boolean" arguments="true" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mousePress" arguments="(0.61,0.733333,1,1,0)" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mouseMove" arguments="(0.61,0.733333,1,0,0)" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mouseRelease" arguments="(0.61,0.733333,1,0,0)" />
  <pqevent object="pqClientMainWindow/selectionToolbar/actionPickObject" command="set_boolean" arguments="true" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mousePress" arguments="(0.58,0.266667,1,1,0)" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mouseMove" arguments="(0.58,0.266667,1,0,0)" />
  <pqevent object="pqClientMainWindow/centralwidget/MultiViewWidget/CoreWidget/qt_tabwidget_stackedwidget/MultiViewWidget1/Frame.0/Viewport" command="mouseRelease" arguments="(0.58,0.266667,1,0,0)" />

  <!-- Make sure the clip filter is selected so the widget is visible -->
  <pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mousePress" arguments="1,1,0,54,11,/0:0/1:0/0:0" />
  <pqevent object="pqClientMainWindow/pipelineBrowserDock/pipelineBrowser" command="mouseRelease" arguments="1,0,0,54,11,/0:0/1:0/0:0" />

</pqevents>
