[Paraview] Browsing server files from plugin
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Wed Feb 11 09:23:21 EST 2009
To get the server:
pqApplicationCore::instance()->getServerManagerModel()->getItemAtIndex<pqServer*>(0);
Utkarsh
On Tue, Feb 10, 2009 at 6:34 PM, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> I have a plugin that adds toolbar actions. From one of these actions I want
> to be able to open a dialog box to browse files on the server. From within
> the plugin action, how do I get the active pqServer to point to the right
> connection?
>
> As an added bonus, how do I get a reference to the main window so that the
> dialog boxes have an appropriate parent?
>
> -Ken
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
> ***********
> *** *** *** email: kmorel at sandia.gov
> ** *** ** phone: (505) 844-8919
> *** web: http://www.cs.unm.edu/~kmorel
>
>
> _______________________________________________
> 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
>
>
More information about the ParaView
mailing list