Rafael,<br><br>Have you created a user interface with designer? If so, why not just add the scroll area there?<br><br>Regards,<br>Paul<br><br><div class="gmail_quote">2008/12/2 Rafael March <span dir="ltr"><<a href="mailto:rafaelmarch3@yahoo.com">rafaelmarch3@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hey all,<br>
<br>
have you ever added a QT Scroll to the custom Object Panel of a Filter ? I have tryied adding the following code:<br>
<br>
QScrollArea* s = new QScrollArea(this);<br>
s->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);<br>
s->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);<br>
s->setWidgetResizable(true);<br>
s->setObjectName("scrollArea");<br>
s->setVisible(true);<br>
<br>
to my Panel constructor, which extends pqLoadedFormObjectPanel, but I've got no success ! <br>
<br>
Any tips ?<br>
<br>
Thanks all,<br>
Rafael March.<br>
</td></tr></tbody></table><br>
<br>_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>