[Paraview] Adding Scroll to Custom Object Panel
Rafael March
rafaelmarch3 at yahoo.com
Tue Dec 2 09:08:43 EST 2008
Hey all,
have you ever added a QT Scroll to the custom Object Panel of a Filter ? I have tryied adding the following code:
QScrollArea* s = new QScrollArea(this);
s->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
s->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
s->setWidgetResizable(true);
s->setObjectName("scrollArea");
s->setVisible(true);
to my Panel constructor, which extends pqLoadedFormObjectPanel, but I've got no success !
Any tips ?
Thanks all,
Rafael March.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081202/71a7c708/attachment.htm>
More information about the ParaView
mailing list