great thanks Robert! <br>it works all fine!<br>I just don&#39;t know how to create a bug report <br><br><div class="gmail_quote">2011/7/7 Robert Maynard <span dir="ltr">&lt;<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi papa,<br>
<br>
The problem is that we forgot to implement the static method<br>
setAutoApply(bool)! If you could create a bug report I will fix this<br>
issue. For now you can call the static method:<br>
<br>
pqObjectInspectorWidget::setAutoAccept(bool);<br>
<br>
which does the same thing as the reaction but doesn&#39;t save the state<br>
in your settings file.<br>
<br>
<br>
2011/7/7 papa ndéné NDIAYE &lt;<a href="mailto:pnwireframe@gmail.com">pnwireframe@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; I have built a Toolbar plugin in paraview with a button that applies<br>
&gt; extractblock filter to a multiblock dataset<br>
&gt; so as to get all the blocks seperately in different objects in the pipeline<br>
&gt; browser.<br>
&gt;<br>
&gt; I achieve getting the number of blocks from the selected multiblock but I<br>
&gt; don&#39;t<br>
&gt; want to push apply button for each filter that has been created<br>
&gt;<br>
&gt; so got suggested about creating a pqAutoApplyReaction object and setting<br>
&gt; auto-apply to true, creating my filters<br>
&gt; and setting it back to false.<br>
&gt;<br>
&gt; pqAutoApplyReaction * autoapply=new pqAutoApplyReaction();<br>
&gt; gives me an error:<br>
&gt; ASSERT: &quot;parentObject != NULL&quot;<br>
&gt;<br>
&gt; and:<br>
&gt; pqAutoApplyReaction * autoapply=new pqAutoApplyReaction(a);<br>
&gt; where &quot;a&quot; is a QAction* attribute of my GUI class<br>
&gt; gives me an error:<br>
&gt; libGUIMyToolBar.so: undefined symbol:<br>
&gt; _ZN19pqAutoApplyReaction12setAutoApplyEb<br>
&gt;<br>
&gt; do I have to put a specific object in pqAutoApplyReaction constructor?<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Robert Maynard<br>
</font></blockquote></div><br>