[Paraview] Adding Scroll to Custom Object Panel

Paul Edwards paul.m.edwards at gmail.com
Tue Dec 2 09:57:10 EST 2008


Rafael,

Have you created a user interface with designer?  If so, why not just add
the scroll area there?

Regards,
Paul

2008/12/2 Rafael March <rafaelmarch3 at yahoo.com>

> 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.
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081202/ac7bbd19/attachment.htm>


More information about the ParaView mailing list