Hi Duarte, from my experience it is not possible. You can of course re-use the ui file and implement the whole functionality on your own based on the cpp file, basically a translation from C++ to Python. I've done this before and it is not a complex process, but it requires time.
By the way, the folder app of QGIS source code contains QGIS-application-specific code, so I would say you won't find there functionality available in PyQGIS, for that you would have to have a look to the gui and core folders. Perhaps there are other ways to set the project file programmatically from Python, but I don't know them, sorry. Regards, Germán 2011/12/14 Duarte Carreira <[email protected]> > Using python is it possible to call QgsEmbedLayerDialog and set the > project file programmatically (mProjectFileLineEdit)?**** > > ** ** > > > https://github.com/qgis/Quantum-GIS/blob/release-1_8/src/app/qgsembedlayerdialog.cpp > **** > > > https://github.com/qgis/Quantum-GIS/blob/release-1_8/src/ui/qgsembedlayerdialogbase.ui > **** > > ** ** > > Thanks, > Duarte Carreira**** > > ** ** > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > > -- ----------- |\__ (:>__)( |/ Soluciones Geoinformáticas Libres http://geotux.tuxfamily.org/
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
