MantisBT - ParaView
View Issue Details
0006632ParaView(No Category)public2008-03-20 10:052009-05-13 13:59
Berk Geveci 
Clinton Stimpson 
highfeaturehave not tried
closedfixed 
 
3.43.4 
0006632: Add testing support to the contour widget
I want to be able to write a python test that sets contour values, performs undo/redo and reads the values back from the widget. Currently, this is not possible because I cannot access the values of the widget through python.
No tags attached.
Issue History
2008-03-20 10:05Berk GeveciNew Issue
2008-03-20 10:05Berk GeveciStatusbacklog => tabled
2008-03-20 10:05Berk GeveciAssigned To => Clinton Stimpson
2008-03-25 18:42Clinton StimpsonStatustabled => closed
2008-03-25 18:42Clinton StimpsonNote Added: 0010910
2008-03-25 18:42Clinton StimpsonResolutionopen => fixed
2009-05-13 13:58Utkarsh AyachitTarget Version => 3.4
2009-05-13 13:59Utkarsh AyachitFixed in Version => 3.4
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0010910)
Clinton Stimpson   
2008-03-25 18:42   
/cvsroot/ParaView3/ParaView3/Qt/Testing/pqPythonEventSource.cxx,v <-- pqPythonEventSource.cxx
new revision: 1.27; previous revision: 1.26
/cvsroot/ParaView3/ParaView3/Qt/Testing/pqPythonEventSource.h,v <-- pqPythonEventSource.h
new revision: 1.10; previous revision: 1.9

/cvsroot/ParaView3/ParaView3/Qt/Components/pqSampleScalarWidget.h,v <-- pqSampleScalarWidget.h
new revision: 1.8; previous revision: 1.7


You can set the samples by doing something like this

QtTesting.setProperty('MainWindow/objectInspectorDock/1pqProxyTabWidget0/qt_tabwidget_stackedwidget/objectInspector/ScrollArea/qt_scrollarea_viewport/PanelArea/Editor/1pqCollapsedGroup1/pqSampleScalarWidget',
                      'samples', '120;130;140;150')