Re: [QGIS-Developer] How to get the name for a QgsLayoutDesignerInterface object?

2022-07-29 Thread John Gitau via QGIS-Developer
eveloper@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > -- John Gitau ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

Re: [QGIS-Developer] Question on QGIS Authentication API

2020-02-03 Thread John Gitau
Hi Calvin, You can retrieve the name from the base config object as follows: auth_mgr = QgsApplication.authManager() conf_map = auth_mgr.availableAuthMethodConfigs() for id, conf in conf_map.iteritems(): conf_name = conf.name() print conf_name I hope this helps. Cheers, John On Fri,

Re: [Qgis-developer] itemChanged signal use on a QgsComposerItem

2016-01-13 Thread John Gitau
Hi, Have you tried the 'sizeChanged' signal? Also, have a look at the QgsComposerItemWidget class, specifically this function: https://github.com/qgis/QGIS/blob/master/src/app/composer/qgscomposeritemwidget.cpp#L378. It might contain some pointers for your use case. All the best. Regards,

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread John Gitau
Hi Jakob, A workaround would be to have a plugin that creates a new composer view object: *custom_composer = self.iface.createNewComposer(My Composer)* Then get a reference to the main window in the composer view: *main_window = custom_composer.composerWindow()* Then you can either add a new

Re: [Qgis-developer] Building QGIS with VS/Win7 PATH to Bison

2014-07-17 Thread John Gitau
Hi, A workaround can be to explicitly set the path for Bison in Visual Studio 2008 under *Tools Options Projects and Solutions VC++ Directories * *Executable files*. See this link for more info: http://msdn.microsoft.com/en-us/library/t9az1d21(v=vs.90).aspx Regards, John On Thu, Jul 17,