putting: p->findChild<pqObjectInspectorWidget *>(); to find an object that can be cast to pqObjectInspectorWidget returns a NULL pointer.
2011/7/4 papa ndéné NDIAYE <[email protected]> > Hi all, > > I'm adding a toolbar to paraview tha add some filters to the pipeline > and i'm searching for a way to have auto-apply just for my buttons. > what I actually want to do is fom my onAction() slot: > > QObject* p=this->parent(); > > QWidget *objectinspector = p->findChild<QWidget *>("[name] "); > > > so that I cant call it's apply() slot. > > does anybody know if the object inspector widget is a child or a > descendant? > and what value should I give to [name] to get it? > > thanks in advance >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
