[Qgis-developer] implement "Open/Save File" option into QGIS plugins

Marco Bernasocchi marco at bernawebdesign.ch
Sat Mar 23 12:51:44 PDT 2013


just use a qfiledialog
http://qt-project.org/doc/qt-4.8/qfiledialog.html#details

Marco Bernasocchi (mobile)
http://opengis.ch
On Mar 23, 2013 8:05 PM, "fegyi001" <fegyi001 at gmail.com> wrote:

> Dear Developers!
>
> I'm writing a new plugin in which I'd like to implement some ways to enable
> the user to open and save some contents. For that I need a file browser
> that
> navigates through the file system. How can I make this happen?
>
> On the QGIS documentation I discovered something called
> "QgsStyleV2ExportImportDialog Class". Is this what I need? If yes, how can
> I
> implement it? I'm quite a novice to Python programming and to the QGIS API.
> Any help is highly acknowledged.
>
> Best wishes
>                Gergely
>
> (PS. I know that there is a QGISFileBrowser plugin out there, but I don't
> intend to use another plugin, just want a simple pop-up-file-browser
> whenever the user hits the "Open" or "Save" buttons.)
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/implement-Open-Save-File-option-into-QGIS-plugins-tp5042520.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130323/d5b488d7/attachment.html>


More information about the Qgis-developer mailing list