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 <[EMAIL PROTECTED]>

> 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
> [email protected]
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to